Google Shopping Merchant Accounts V1beta Client - Class Address (0.3.2)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class Address.

Shipping address of the warehouse.

Generated from protobuf message google.shopping.merchant.accounts.v1beta.Address

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ street_address string

Street-level part of the address. For example: 111w 31st Street.

↳ city string

Required. City, town or commune. May also include dependent localities or sublocalities (For example neighborhoods or suburbs).

↳ administrative_area string

Required. Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC").

↳ postal_code string

Required. Postal code or ZIP (For example "94043").

↳ region_code string

Required. CLDR country code (For example "US").

getStreetAddress

Street-level part of the address. For example: 111w 31st Street.

Returns
Type Description
string

hasStreetAddress

clearStreetAddress

setStreetAddress

Street-level part of the address. For example: 111w 31st Street.

Parameter
Name Description
var string
Returns
Type Description
$this

getCity

Required. City, town or commune. May also include dependent localities or sublocalities (For example neighborhoods or suburbs).

Returns
Type Description
string

hasCity

clearCity

setCity

Required. City, town or commune. May also include dependent localities or sublocalities (For example neighborhoods or suburbs).

Parameter
Name Description
var string
Returns
Type Description
$this

getAdministrativeArea

Required. Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC").

Returns
Type Description
string

hasAdministrativeArea

clearAdministrativeArea

setAdministrativeArea

Required. Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC").

Parameter
Name Description
var string
Returns
Type Description
$this

getPostalCode

Required. Postal code or ZIP (For example "94043").

Returns
Type Description
string

hasPostalCode

clearPostalCode

setPostalCode

Required. Postal code or ZIP (For example "94043").

Parameter
Name Description
var string
Returns
Type Description
$this

getRegionCode

Required. CLDR country code (For example "US").

Returns
Type Description
string

hasRegionCode

clearRegionCode

setRegionCode

Required. CLDR country code (For example "US").

Parameter
Name Description
var string
Returns
Type Description
$this