Class LfpStore
A store for the merchant. This will be used to match to a Google Business Profile listing for the target merchant. If a matching listing can't be found, the inventories or sales submitted with the store code will not be used.
Namespace: Google.Shopping.Merchant.Lfp.V1Beta
Assembly: Google.Shopping.Merchant.Lfp.V1Beta.dll
Syntax
public sealed class LfpStore : IMessage<LfpStore>, IEquatable<LfpStore>, IDeepCloneable<LfpStore>, IBufferMessage, IMessage
Constructors
LfpStore()
Declaration
public LfpStore()
LfpStore(LfpStore)
Declaration
public LfpStore(LfpStore other)
Parameters
Type | Name | Description |
---|---|---|
LfpStore | other |
Properties
GcidCategory
Optional. Google My Business category id.
Declaration
public RepeatedField<string> GcidCategory { get; }
Property Value
Type | Description |
---|---|
RepeatedField<string> |
HasMatchingStateHint
Gets whether the "matching_state_hint" field is set
Declaration
public bool HasMatchingStateHint { get; }
Property Value
Type | Description |
---|---|
bool |
HasPhoneNumber
Gets whether the "phone_number" field is set
Declaration
public bool HasPhoneNumber { get; }
Property Value
Type | Description |
---|---|
bool |
HasPlaceId
Gets whether the "place_id" field is set
Declaration
public bool HasPlaceId { get; }
Property Value
Type | Description |
---|---|
bool |
HasStoreName
Gets whether the "store_name" field is set
Declaration
public bool HasStoreName { get; }
Property Value
Type | Description |
---|---|
bool |
HasWebsiteUri
Gets whether the "website_uri" field is set
Declaration
public bool HasWebsiteUri { get; }
Property Value
Type | Description |
---|---|
bool |
LfpStoreName
LfpStoreName-typed view over the Name resource name property.
Declaration
public LfpStoreName LfpStoreName { get; set; }
Property Value
Type | Description |
---|---|
LfpStoreName |
MatchingState
Optional. Output only. The state of matching to a Google Business Profile listing. See [matchingStateHint][google.shopping.merchant.lfp.v1beta.LfpStore.matching_state_hint] for further details if no match is found.
Declaration
public LfpStore.Types.StoreMatchingState MatchingState { get; set; }
Property Value
Type | Description |
---|---|
LfpStore.Types.StoreMatchingState |
MatchingStateHint
Optional. Output only. The hint of why the matching has failed. This is
only set when
[matchingState][google.shopping.merchant.lfp.v1beta.LfpStore.matching_state]=STORE_MATCHING_STATE_FAILED
.
Possible values are:
- "
linked-store-not-found
": There aren't any Google Business Profile stores available for matching. - "
store-match-not-found
": The providedLfpStore
couldn't be matched to any of the connected Google Business Profile stores. Merchant Center account is connected correctly and stores are available on Google Business Profile, but theLfpStore
location address does not match with Google Business Profile stores' addresses. Update theLfpStore
address or Google Business Profile store address to match correctly. - "
store-match-unverified
": The providedLfpStore
couldn't be matched to any of the connected Google Business Profile stores, as the matched Google Business Profile store is unverified. Go through the Google Business Profile verification process to match correctly.
Declaration
public string MatchingStateHint { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Output only. Identifier. The name of the LfpStore
resource.
Format: accounts/{account}/lfpStores/{target_merchant}~{store_code}
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PhoneNumber
Optional. The store phone number in
E.164 format. Example:
+15556767888
Declaration
public string PhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
string |
PlaceId
Optional. The Google Place Id of the store location.
Declaration
public string PlaceId { get; set; }
Property Value
Type | Description |
---|---|
string |
StoreAddress
Required. The street address of the store. Example: 1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA.
Declaration
public string StoreAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
StoreCode
Required. Immutable. A store identifier that is unique for the target merchant.
Declaration
public string StoreCode { get; set; }
Property Value
Type | Description |
---|---|
string |
StoreName
Optional. The merchant or store name.
Declaration
public string StoreName { get; set; }
Property Value
Type | Description |
---|---|
string |
TargetAccount
Required. The Merchant Center id of the merchant to submit the store for.
Declaration
public long TargetAccount { get; set; }
Property Value
Type | Description |
---|---|
long |
WebsiteUri
Optional. The website URL for the store or merchant.
Declaration
public string WebsiteUri { get; set; }
Property Value
Type | Description |
---|---|
string |