ShippingAddress
class ShippingAddress
This object represents a shipping address.
Methods
__construct(string $country_code, string $state, string $city, string $street_line1, string $street_line2, string $post_code)
No description
string
getCountryCode()
Two-letter ISO 3166-1 alpha-2 country code.
string
getState()
State, if applicable.
string
getCity()
City.
string
getStreetLine1()
First line for the address.
string
getStreetLine2()
Second line for the address.
string
getPostCode()
Address post code.
Details
at line 18
__construct(string $country_code, string $state, string $city, string $street_line1, string $street_line2, string $post_code)
No description
at line 31
string
getCountryCode()
Two-letter ISO 3166-1 alpha-2 country code.
at line 39
string
getState()
State, if applicable.
at line 47
string
getCity()
City.
at line 55
string
getStreetLine1()
First line for the address.
at line 63
string
getStreetLine2()
Second line for the address.
at line 71
string
getPostCode()
Address post code.