Google Shopping Merchant Lfp V1beta Client - Class LfpMerchantState (0.4.0)

Reference documentation and code samples for the Google Shopping Merchant Lfp V1beta Client class LfpMerchantState.

The LFP state of a merchant.

Generated from protobuf message google.shopping.merchant.lfp.v1beta.LfpMerchantState

Namespace

Google \ Shopping \ Merchant \ Lfp \ V1beta

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Identifier. The name of the LfpMerchantState resource. Format: accounts/{account}/lfpMerchantStates/{target_merchant}

↳ linked_gbps
int|string

Number of GBPs this merchant has access to.

↳ store_states
array< LfpMerchantState\LfpStoreState >

Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.

↳ inventory_stats
LfpMerchantState\InventoryStats

The inventory statistics for the merchant. The field will be absent if the merchant has no inventory submitted through LFP.

↳ country_settings
array< LfpMerchantState\CountrySettings >

Country-specific settings for the merchant.

getName

Identifier. The name of the LfpMerchantState resource. Format: accounts/{account}/lfpMerchantStates/{target_merchant}

Returns
Type
Description
string

setName

Identifier. The name of the LfpMerchantState resource. Format: accounts/{account}/lfpMerchantStates/{target_merchant}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getLinkedGbps

Number of GBPs this merchant has access to.

Returns
Type
Description
int|string

setLinkedGbps

Number of GBPs this merchant has access to.

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this

getStoreStates

Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.

Returns
Type
Description

setStoreStates

Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.

Parameter
Name
Description
Returns
Type
Description
$this

getInventoryStats

The inventory statistics for the merchant. The field will be absent if the merchant has no inventory submitted through LFP.

Returns
Type
Description

hasInventoryStats

clearInventoryStats

setInventoryStats

The inventory statistics for the merchant. The field will be absent if the merchant has no inventory submitted through LFP.

Parameter
Name
Description
Returns
Type
Description
$this

getCountrySettings

Country-specific settings for the merchant.

Returns
Type
Description

setCountrySettings

Country-specific settings for the merchant.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: