Webiant Logo Webiant Logo
  1. No results found.

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

CheckoutBillingAddressModel.cs

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

namespace Nop.Web.Models.Checkout;

public partial record CheckoutBillingAddressModel : BaseNopModel
{
    public CheckoutBillingAddressModel()
    {
        ExistingAddresses = new List();
        InvalidExistingAddresses = new List();
        BillingNewAddress = new AddressModel();
    }

    public IList ExistingAddresses { get; set; }
    public IList InvalidExistingAddresses { get; set; }

    public AddressModel BillingNewAddress { get; set; }

    public bool ShipToSameAddress { get; set; }
    public bool ShipToSameAddressAllowed { get; set; }

    /// 
    /// Used on one-page checkout page
    /// 
    public bool NewAddressPreselected { get; set; }

    public bool EuVatEnabled { get; set; }
    public bool EuVatEnabledForGuests { get; set; }

    [NopResourceDisplayName("Checkout.VatNumber")]
    public string VatNumber { get; set; }
}