Reference documentation and code samples for the Google Shopping Merchant Lfp V1 Client class LfpMerchantState.
The LFP state of a merchant.
Generated from protobuf message google.shopping.merchant.lfp.v1.LfpMerchantState
Namespace
Google \ Shopping \ Merchant \ Lfp \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The name of the LfpMerchantState
resource. Format: accounts/{account}/lfpMerchantStates/{target_merchant}
. For example, accounts/123456/lfpMerchantStates/567890
.
↳ linked_gbps
↳ 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
getName
Identifier. The name of the LfpMerchantState
resource. Format: accounts/{account}/lfpMerchantStates/{target_merchant}
. For example, accounts/123456/lfpMerchantStates/567890
.
string
setName
Identifier. The name of the LfpMerchantState
resource. Format: accounts/{account}/lfpMerchantStates/{target_merchant}
. For example, accounts/123456/lfpMerchantStates/567890
.
var
string
$this
getLinkedGbps
Number of GBPs this merchant has access to.
int|string
setLinkedGbps
Number of GBPs this merchant has access to.
var
int|string
$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.
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.
$this
getInventoryStats
The inventory statistics for the merchant. The field will be absent if the merchant has no inventory submitted through LFP.
hasInventoryStats
clearInventoryStats
setInventoryStats
The inventory statistics for the merchant. The field will be absent if the merchant has no inventory submitted through LFP.
$this
getCountrySettings
Country-specific settings for the merchant.
setCountrySettings
Country-specific settings for the merchant.
$this