Class OrderInfo

Constructors

Properties

email?: string

User email

name?: string

User name

phoneNumber?: string

User's phone number

shippingAddress?: {
    city: string;
    countryCode: string;
    postCode: string;
    state: string;
    streetLine1: string;
    streetLine2: string;
}

This object represents a shipping address

Type declaration

  • city: string
    • City
  • countryCode: string
    • Two-letter ISO 3166-1 alpha-2 country code
  • postCode: string
    • Address post code
  • state: string
    • State, if applicable
  • streetLine1: string
    • First line for the address
  • streetLine2: string
    • Second line for the address