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.

904 B
Raw Blame
using Grand.Infrastructure.ModelBinding;
using Grand.Infrastructure.Models;

namespace Grand.Web.AdminShared.Models.Payments;

public class PaymentSettingsModel : BaseModel
{
    [GrandResourceDisplayName("Admin.Configuration.Payment.Settings.AllowRePostingPayments")]
    public bool AllowRePostingPayments { get; set; }

    [GrandResourceDisplayName("Admin.Configuration.Payment.Settings.SkipPaymentIfOnlyOne")]
    public bool SkipPaymentIfOnlyOne { get; set; }

    [GrandResourceDisplayName("Admin.Configuration.Payment.Settings.ShowPaymentIfCartIsZero")]
    public bool ShowPaymentIfCartIsZero { get; set; }

    [GrandResourceDisplayName("Admin.Configuration.Payment.Settings.ShowPaymentDescriptions")]
    public bool ShowPaymentDescriptions { get; set; }

    [GrandResourceDisplayName("Admin.Configuration.Payment.Settings.SkipPaymentInfo")]
    public bool SkipPaymentInfo { get; set; }
}