Google Shopping Merchant Accounts V1beta Client - Class PostalCodeArea (0.1.0)

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

A list of postal codes that defines the region area.

Note: All regions defined using postal codes are accessible through the account's ShippingSettings.postalCodeGroups resource.

Generated from protobuf message google.shopping.merchant.accounts.v1beta.Region.PostalCodeArea

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta \ Region

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ region_code string

Required. CLDR territory code or the country the postal code group applies to.

↳ postal_codes array<Google\Shopping\Merchant\Accounts\V1beta\Region\PostalCodeArea\PostalCodeRange>

Required. A range of postal codes.

getRegionCode

Required. CLDR territory code or the country the postal code group applies to.

Returns
Type Description
string

setRegionCode

Required. CLDR territory code or the country the postal code group applies to.

Parameter
Name Description
var string
Returns
Type Description
$this

getPostalCodes

Required. A range of postal codes.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPostalCodes

Required. A range of postal codes.

Parameter
Name Description
var array<Google\Shopping\Merchant\Accounts\V1beta\Region\PostalCodeArea\PostalCodeRange>
Returns
Type Description
$this