interface ContactAddress

Represents a physical address from the W3C Contact Picker API.

This interface is used throughout the payment flow to capture shipping and billing address information.

Properties

readonly
optional
city: string

The city or locality

readonly
optional
country: string

The country code (ISO 3166-1 alpha-2)

readonly
optional
dependent_locality: string

The dependent locality or sublocality. For example, used in some countries to represent districts.

readonly
optional
organization: string

The organization name

readonly
optional
phone_number: string

The phone number

readonly
optional
postal_code: string

The postal code or ZIP code

readonly
optional
recipient: string

The recipient name

readonly
optional
region: string

The region, state, or province

readonly
optional
sorting_code: string

The sorting code (used in some countries)

readonly
optional
address_line: readonly string[]

Array of address lines (street address)