using Microsoft.AspNetCore.Mvc.Rendering; using Nop.Web.Framework.Models; using Nop.Web.Framework.Mvc.ModelBinding; namespace Nop.Plugin.Payments.Manual.Models; public record PaymentInfoModel : BaseNopModel { public PaymentInfoModel() { CreditCardTypes = new List(); ExpireMonths = new List(); ExpireYears = new List(); } [NopResourceDisplayName("Payment.SelectCreditCard")] public string CreditCardType { get; set; } [NopResourceDisplayName("Payment.SelectCreditCard")] public IList CreditCardTypes { get; set; } [NopResourceDisplayName("Payment.CardholderName")] public string CardholderName { get; set; } [NopResourceDisplayName("Payment.CardNumber")] public string CardNumber { get; set; } [NopResourceDisplayName("Payment.ExpirationDate")] public string ExpireMonth { get; set; } [NopResourceDisplayName("Payment.ExpirationDate")] public string ExpireYear { get; set; } public IList ExpireMonths { get; set; } public IList ExpireYears { get; set; } [NopResourceDisplayName("Payment.CardCode")] public string CardCode { get; set; } }