Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

CountryStateZipModel.cs

using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Plugin.Tax.FixedOrByCountryStateZip.Models;

public record CountryStateZipModel : BaseNopEntityModel
{
    [NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.Store")]
    public int StoreId { get; set; }
    [NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.Store")]
    public string StoreName { get; set; }

    [NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.TaxCategory")]
    public int TaxCategoryId { get; set; }
    [NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.TaxCategory")]
    public string TaxCategoryName { get; set; }

    [NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.Country")]
    public int CountryId { get; set; }
    [NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.Country")]
    public string CountryName { get; set; }

    [NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.StateProvince")]
    public int StateProvinceId { get; set; }
    [NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.StateProvince")]
    public string StateProvinceName { get; set; }

    [NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.Zip")]
    public string Zip { get; set; }

    [NopResourceDisplayName("Plugins.Tax.FixedOrByCountryStateZip.Fields.Percentage")]
    public decimal Percentage { get; set; }
}