A postal address.

interface Address {
    country: string;
    line1?: string;
    line2?: string;
    city?: string;
    state?: string;
    postalCode?: string;
}

Properties

country: string

Two-letter ISO 3166-1 alpha-2 country code.

line1?: string

Address line 1.

line2?: string

Address line 2.

city?: string

City, district, suburb, town, or village.

state?: string

State, county, province, or region.

postalCode?: string

ZIP or postal code.