UnifiedAddress

Definition

export class UnifiedAddress{
  address1: string;
  address2: string;
  country: string;
  locality: string;
  region: string;
  postalCode: string;
}
Field NameTypeDescriptionDetails/Example
address1stringStreet address.“323 ABC Lane”
address2stringApartment Number.“Apt 4”
countrystringCountry“USA”
localitystringCity."NYC"
regionstringState/province."NY"
postalCodestringZip code / postal code"10010"

Examples

const billingAddress: UnifiedAddress = {
    address1: "323 somethibng lane",
    address2: "apt. B",
    country: "US",
    locality: "NYC",
    region: "NY",
    postalCode: "11222",
};

Related