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.

923 B
Raw Blame
using Grand.Infrastructure.Models;

namespace Grand.Web.Models.Checkout;

public class CheckoutPaymentMethodModel : BaseModel
{
    public IList<PaymentMethodModel> PaymentMethods { get; set; } = new List<PaymentMethodModel>();

    public bool DisplayLoyaltyPoints { get; set; }
    public int LoyaltyPointsBalance { get; set; }
    public string LoyaltyPointsAmount { get; set; }
    public bool LoyaltyPointsEnoughToPayForOrder { get; set; }
    public bool UseLoyaltyPoints { get; set; }
    public string PaymentMethod { get; set; }

    #region Nested classes

    public class PaymentMethodModel : BaseModel
    {
        public string PaymentMethodSystemName { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public string Fee { get; set; }
        public bool Selected { get; set; }
        public string LogoUrl { get; set; }
    }

    #endregion
}