Reference documentation and code samples for the Google Shopping Merchant Lfp V1 Client class LfpMerchantState.
The LFP state of a merchant.
Generated from protobuf messagegoogle.shopping.merchant.lfp.v1.LfpMerchantState
Namespace
Google \ Shopping \ Merchant \ Lfp \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The name of theLfpMerchantStateresource. Format:accounts/{account}/lfpMerchantStates/{target_merchant}. For example,accounts/123456/lfpMerchantStates/567890.
Identifier. The name of theLfpMerchantStateresource. Format:accounts/{account}/lfpMerchantStates/{target_merchant}. For example,accounts/123456/lfpMerchantStates/567890.
Returns
Type
Description
string
setName
Identifier. The name of theLfpMerchantStateresource. Format:accounts/{account}/lfpMerchantStates/{target_merchant}. For example,accounts/123456/lfpMerchantStates/567890.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Shopping Merchant Lfp V1 Client - Class LfpMerchantState (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/php/docs/reference/shopping-merchant-lfp/latest/V1.LfpMerchantState)\n- [0.4.0](/php/docs/reference/shopping-merchant-lfp/0.4.0/V1.LfpMerchantState)\n- [0.3.2](/php/docs/reference/shopping-merchant-lfp/0.3.2/V1.LfpMerchantState)\n- [0.2.0](/php/docs/reference/shopping-merchant-lfp/0.2.0/V1.LfpMerchantState)\n- [0.1.3](/php/docs/reference/shopping-merchant-lfp/0.1.3/V1.LfpMerchantState) \nReference documentation and code samples for the Google Shopping Merchant Lfp V1 Client class LfpMerchantState.\n\nThe LFP state of a merchant.\n\nGenerated from protobuf message `google.shopping.merchant.lfp.v1.LfpMerchantState`\n\nNamespace\n---------\n\nGoogle \\\\ Shopping \\\\ Merchant \\\\ Lfp \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. The name of the `LfpMerchantState` resource. Format:\n`accounts/{account}/lfpMerchantStates/{target_merchant}`. For example,\n`accounts/123456/lfpMerchantStates/567890`.\n\n### setName\n\nIdentifier. The name of the `LfpMerchantState` resource. Format:\n`accounts/{account}/lfpMerchantStates/{target_merchant}`. For example,\n`accounts/123456/lfpMerchantStates/567890`.\n\n### getLinkedGbps\n\nNumber of [GBPs](https://www.google.com/business/) this merchant has access\nto.\n\n### setLinkedGbps\n\nNumber of [GBPs](https://www.google.com/business/) this merchant has access\nto.\n\n### getStoreStates\n\nOutput only. The state per store from the specified merchant. The field\nwill be absent if the merchant has no stores submitted through LFP.\n\n### setStoreStates\n\nOutput only. The state per store from the specified merchant. The field\nwill be absent if the merchant has no stores submitted through LFP.\n\n### getInventoryStats\n\nThe inventory statistics for the merchant. The field will be absent if the\nmerchant has no inventory submitted through LFP.\n\n### hasInventoryStats\n\n### clearInventoryStats\n\n### setInventoryStats\n\nThe inventory statistics for the merchant. The field will be absent if the\nmerchant has no inventory submitted through LFP.\n\n### getCountrySettings\n\nCountry-specific settings for the merchant.\n\n### setCountrySettings\n\nCountry-specific settings for the merchant."]]