Constructor: postAddress
Shipping address
Attributes:
Name | Type | Required | Description |
---|---|---|---|
street_line1 | string | Yes | First line for the address |
street_line2 | string | Yes | Second line for the address |
city | string | Yes | City |
state | string | Yes | State, if applicable (empty otherwise) |
country_iso2 | string | Yes | ISO 3166-1 alpha-2 country code |
post_code | string | Yes | Address post code |
Type: PostAddress
Example:
$postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' => 'string', 'city' => 'string', 'state' => 'string', 'country_iso2' => 'string', 'post_code' => 'string'];