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

Parameters

string $country_code
string $state
string $city
string $street_line1
string $street_line2
string $post_code

at line 31
string getCountryCode()

Two-letter ISO 3166-1 alpha-2 country code.

Return Value

string

at line 39
string getState()

State, if applicable.

Return Value

string

at line 47
string getCity()

City.

Return Value

string

at line 55
string getStreetLine1()

First line for the address.

Return Value

string

at line 63
string getStreetLine2()

Second line for the address.

Return Value

string

at line 71
string getPostCode()

Address post code.

Return Value

string