Reference documentation and code samples for the Google Shopping Merchant Lfp V1 Client class LfpStoreState.
The state of a specific merchant's store.
Generated from protobuf message google.shopping.merchant.lfp.v1.LfpMerchantState.LfpStoreState
Namespace
Google \ Shopping \ Merchant \ Lfp \ V1 \ LfpMerchantStateMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
data | 
        
          array
          Optional. Data for populating the Message object.  | 
      
↳ store_code | 
        
          string
          Required. Immutable. The identifier of this store.  | 
      
↳ matching_state | 
        
          int
          Output only. The store matching state.  | 
      
↳ matching_state_hint | 
        
          string
          The hint of why the matching has failed (only set if matching_state is FAILED).  | 
      
getStoreCode
Required. Immutable. The identifier of this store.
| Returns | |
|---|---|
| Type | Description | 
string | 
        |
setStoreCode
Required. Immutable. The identifier of this store.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          string
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
getMatchingState
Output only. The store matching state.
| Returns | |
|---|---|
| Type | Description | 
int | 
        Enum of type StoreMatchingState. | 
setMatchingState
Output only. The store matching state.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          int
          Enum of type StoreMatchingState.  | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
getMatchingStateHint
The hint of why the matching has failed (only set if matching_state is FAILED).
| Returns | |
|---|---|
| Type | Description | 
string | 
        |
setMatchingStateHint
The hint of why the matching has failed (only set if matching_state is FAILED).
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          string
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |