Skip to content

Address

// RB2 Core Connect
namespace CoreConnect.Commerce.Customer;
/// <summary>
/// Customer's address.
/// </summary>
public record Address
{
/// <summary>
/// Id to identify Address
/// </summary>
public string? Id { set; get; }
/// <summary>
/// Gets or sets the first name associated with the address.
/// </summary>
public string? FirstName { get; set; }
/// <summary>
/// Gets or sets the last name associated with the address.
/// </summary>
public string? LastName { get; set; }
/// <summary>
/// Gets or sets the company name associated with the address.
/// </summary>
public string? Company { get; set; }
/// <summary>
/// Gets or sets the first line of the address.
/// </summary>
public string? Address1 { get; set; }
/// <summary>
/// Gets or sets the second line of the address (if applicable).
/// </summary>
public string? Address2 { get; set; }
/// <summary>
/// Gets or Sets HouseNumber
/// </summary>
public string? HouseNumber { get; set; }
/// <summary>
/// Customer's Salutation
/// </summary>
public string? Salutation { get; set; }
/// <summary>
/// Gets or sets the city associated with the address.
/// </summary>
public string? City { get; set; }
/// <summary>
/// Gets or sets the country code of the address (e.g., ISO 3166-1 alpha-2 code).
/// </summary>
public string? CountryCode { get; set; }
/// <summary>
/// Gets or sets the postal code (ZIP code) associated with the address.
/// </summary>
public string? PostalCode { get; set; }
/// <summary>
/// Gets or sets the state or province associated with the address.
/// </summary>
public string? StateOrProvince { get; set; }
/// <summary>
/// Gets or sets the phone number associated with the address.
/// </summary>
public string? Phone { get; set; }
/// <summary>
/// Gets or sets the street number (if applicable).
/// </summary>
public string? StreetNumber { get; set; }
/// <summary>
/// Gets or sets the street name (if applicable).
/// </summary>
public string? StreetName { get; set; }
/// <summary>
/// Gets or sets additional street information (if applicable).
/// </summary>
public string? AdditionalStreetInfo { get; set; }
}