Link Search Menu Expand Document

Constructor: postAddress

Back to constructors index

Shipping address

Attributes:

NameTypeRequiredDescription
street_line1stringYesFirst line for the address
street_line2stringYesSecond line for the address
citystringYesCity
statestringYesState, if applicable (empty otherwise)
country_iso2stringYesISO 3166-1 alpha-2 country code
post_codestringYesAddress post code

Type: PostAddress

Example:

$postAddress = ['_' => 'postAddress', 'street_line1' => 'string', 'street_line2' => 'string', 'city' => 'string', 'state' => 'string', 'country_iso2' => 'string', 'post_code' => 'string'];