Shipping address that represents the origin or destination location.

Address

interface Address {
    addressLine1: string;
    addressLine2?: string;
    addressLine3?: string;
    city?: string;
    countryCode: string;
    county?: string;
    district?: string;
    name: string;
    phoneNumber?: string;
    postalCode?: string;
    stateOrRegion: string;
}

Properties

addressLine1: string

First line of the address text.

Address

addressLine2?: string

Optional second line of the address text.

Address

addressLine3?: string

Optional third line of the address text.

Address

city?: string

Optional city where this address is located.

Address

countryCode: string

Two-digit, ISO 3166-1 alpha-2 formatted country code where this address is located.

Address

county?: string

Optional county where this address is located.

Address

district?: string

Optional district where this address is located.

Address

name: string

Name of the person, business, or institution at this address.

Address

phoneNumber?: string

Optional E.164-formatted phone number for an available contact at this address.

Address

postalCode?: string

Optional postal code where this address is located.

Address

stateOrRegion: string

State or region where this address is located. Note that this is contextual to the specified country code.

Address