Webiant Logo Webiant Logo
  1. No results found.

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

AddressItem.cs

using System.ComponentModel;

namespace Nop.Services.Common.Pdf;

/// 
/// Represents the address
/// 
public partial record AddressItem
{
    #region Ctor

    public AddressItem()
    {
        AddressAttributes = new();
        CustomValues = new();
    }

    #endregion

    #region Properties

    /// 
    /// Gets or sets the company
    /// 
    [DisplayName("Pdf.Address.Company")]
    public string Company { get; set; }

    /// 
    /// Gets or sets the name
    /// 
    [DisplayName("Pdf.Address.Name")]
    public string Name { get; set; }

    /// 
    /// Gets or sets the phone number
    /// 
    [DisplayName("Pdf.Address.Phone")]
    public string Phone { get; set; }

    /// 
    /// Gets or sets the fax number
    /// 
    [DisplayName("Pdf.Address.Fax")]
    public string Fax { get; set; }

    /// 
    /// Gets or sets the address
    /// 
    [DisplayName("Pdf.Address")]
    public string Address { get; set; }

    /// 
    /// Gets or sets the address 2
    /// 
    [DisplayName("Pdf.Address2")]
    public string Address2 { get; set; }

    /// 
    /// Gets or sets address in line
    /// 
    [DisplayName("Pdf.AddressLine")]
    public string AddressLine { get; set; }

    /// 
    /// Gets or sets the county
    /// 
    public string County { get; set; }

    /// 
    /// Gets or sets the country
    /// 
    public string Country { get; set; }

    /// 
    /// Gets or sets the city
    /// 
    public string City { get; set; }

    /// 
    /// Gets or sets the State Province Name
    /// 
    public string StateProvinceName { get; set; }

    /// 
    /// Gets or sets the Zip postal code
    /// 
    public string ZipPostalCode { get; set; }

    /// 
    /// Gets or sets the vat number
    /// 
    [DisplayName("Pdf.Address.VATNumber")]
    public string VATNumber { get; set; }

    /// 
    /// Gets or sets the payment method name
    /// 
    [DisplayName("Pdf.Address.PaymentMethod")]
    public string PaymentMethod { get; set; }

    /// 
    /// Gets or sets the shipping method name
    /// 
    [DisplayName("Pdf.Address.ShippingMethod")]
    public string ShippingMethod { get; set; }

    /// 
    /// Gets or sets the custom attributes (see "AddressAttribute" entity for more info)
    /// 
    public List AddressAttributes { get; set; }

    /// 
    /// Gets or sets the deserialized CustomValues (values from ProcessPaymentRequest)
    /// 
    public Dictionary CustomValues { get; set; }

    #endregion
}