Address extended with recipient's name. Provided by Klarna as a payload of the 'shippingaddresschange' event.

interface AddressWithName {
    city: string;
    country: string;
    familyName?: string;
    givenName?: string;
    postalCode?: string;
    region?: string;
    streetAddress: string;
    streetAddress2?: string;
}

Hierarchy (View Summary)

Properties

city: string

City/town, more precise than region.

Columbus
country: string

2-letter ISO 3166 country code

US
familyName?: string
givenName?: string
postalCode?: string

Postal code formatted to the specification of the country specified in the country field.

43215
region?: string

Region formatted to the specification of the country specified by the country field.

The region should be set to the state (ex. US), county, borough, or municipality depending on the addressing standards of the country.

OH
streetAddress: string
629 N. High St. Suite 300
streetAddress2?: string