Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

867 B
Raw Blame
using Grand.Domain.Configuration;

namespace Payments.CashOnDelivery;

public class CashOnDeliveryPaymentSettings : ISettings
{
    public int DisplayOrder { get; set; }

    public string DescriptionText { get; set; }

    /// <summary>
    ///     Gets or sets a value indicating whether to "additional fee" is specified as percentage. true - percentage, false -
    ///     fixed value.
    /// </summary>
    public bool AdditionalFeePercentage { get; set; }

    /// <summary>
    ///     Additional fee
    /// </summary>
    public double AdditionalFee { get; set; }

    /// <summary>
    ///     Gets or sets a value indicating whether shippable products are required in order to display this payment method
    ///     during checkout
    /// </summary>
    public bool ShippableProductRequired { get; set; }

    public bool SkipPaymentInfo { get; set; }
}