Google Shopping Merchant Accounts V1beta Client - Class OmnichannelSetting (0.9.0)

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

Collection of information related to the omnichannel settings of a merchant.

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

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The resource name of the omnichannel setting. Format: accounts/{account}/omnichannelSettings/{omnichannel_setting}

↳ region_code string

Required. Immutable. Region code defined by CLDR. Must be provided in the Create method, and is immutable.

↳ lsf_type int

Required. The Local Store Front type for this country.

↳ in_stock InStock

Optional. The InStock URI and state for this country.

↳ pickup Pickup

Optional. The Pickup URI and state for this country.

↳ lfp_link LfpLink

Output only. The established link to a LFP provider.

↳ odo OnDisplayToOrder

Optional. The On Display to Order (ODO) policy URI and state for this country.

↳ about About

Optional. The about page URI and state for this country.

↳ inventory_verification InventoryVerification

Optional. The inventory verification contact and state for this country.

getName

Identifier. The resource name of the omnichannel setting. Format: accounts/{account}/omnichannelSettings/{omnichannel_setting}

Returns
Type Description
string

setName

Identifier. The resource name of the omnichannel setting. Format: accounts/{account}/omnichannelSettings/{omnichannel_setting}

Parameter
Name Description
var string
Returns
Type Description
$this

getRegionCode

Required. Immutable. Region code defined by CLDR. Must be provided in the Create method, and is immutable.

Returns
Type Description
string

setRegionCode

Required. Immutable. Region code defined by CLDR. Must be provided in the Create method, and is immutable.

Parameter
Name Description
var string
Returns
Type Description
$this

getLsfType

Required. The Local Store Front type for this country.

Returns
Type Description
int

setLsfType

Required. The Local Store Front type for this country.

Parameter
Name Description
var int
Returns
Type Description
$this

getInStock

Optional. The InStock URI and state for this country.

Returns
Type Description
InStock|null

hasInStock

clearInStock

setInStock

Optional. The InStock URI and state for this country.

Parameter
Name Description
var InStock
Returns
Type Description
$this

getPickup

Optional. The Pickup URI and state for this country.

Returns
Type Description
Pickup|null

hasPickup

clearPickup

setPickup

Optional. The Pickup URI and state for this country.

Parameter
Name Description
var Pickup
Returns
Type Description
$this

Output only. The established link to a LFP provider.

Returns
Type Description
LfpLink|null

Output only. The established link to a LFP provider.

Parameter
Name Description
var LfpLink
Returns
Type Description
$this

getOdo

Optional. The On Display to Order (ODO) policy URI and state for this country.

Returns
Type Description
OnDisplayToOrder|null

hasOdo

clearOdo

setOdo

Optional. The On Display to Order (ODO) policy URI and state for this country.

Parameter
Name Description
var OnDisplayToOrder
Returns
Type Description
$this

getAbout

Optional. The about page URI and state for this country.

Returns
Type Description
About|null

hasAbout

clearAbout

setAbout

Optional. The about page URI and state for this country.

Parameter
Name Description
var About
Returns
Type Description
$this

getInventoryVerification

Optional. The inventory verification contact and state for this country.

Returns
Type Description
InventoryVerification|null

hasInventoryVerification

clearInventoryVerification

setInventoryVerification

Optional. The inventory verification contact and state for this country.

Parameter
Name Description
var InventoryVerification
Returns
Type Description
$this