Represents shipping address information during checkout. Provides comprehensive access to the shipping address details.

Hierarchy

  • CheckoutAddress

Properties

Address1: string

Primary address line.

Address2: string

Secondary address line (apartment, suite, etc.).

City: string

City name on the shipping address.

Example

console("Shipping to city: " + CheckoutItem.Address.City);
Company: string

Company name on the shipping address.

Example

if (CheckoutItem.Address.Company) {
console("Business address - company: " + CheckoutItem.Address.Company);
}

Country information for the shipping address.

Email: string

Email address on the shipping address.

FaxNumber: string

Fax number on the shipping address.

FirstName: string

First name on the shipping address.

LastName: string

Last name on the shipping address.

PhoneNumber: string

Phone number on the shipping address.

StateProvince: CheckoutStateProvince

State/province information for the shipping address.

ZipPostalCode: string

ZIP or postal code.

Example

console("Shipping ZIP: " + CheckoutItem.Address.ZipPostalCode);

Generated using TypeDoc