Reference documentation and code samples for the Google Shopping Merchant Lfp V1 Client class InsertLfpInventoryRequest.
Request message for the InsertLfpInventory method.
Generated from protobuf message google.shopping.merchant.lfp.v1.InsertLfpInventoryRequest
Namespace
Google \ Shopping \ Merchant \ Lfp \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
data | 
        
          array
          Optional. Data for populating the Message object.  | 
      
↳ parent | 
        
          string
          Required. The LFP provider account. Format:   | 
      
↳ lfp_inventory | 
        
          LfpInventory
          Required. The inventory to insert.  | 
      
getParent
Required. The LFP provider account.
Format: accounts/{account}
| Returns | |
|---|---|
| Type | Description | 
string | 
        |
setParent
Required. The LFP provider account.
Format: accounts/{account}
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          string
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
getLfpInventory
Required. The inventory to insert.
| Returns | |
|---|---|
| Type | Description | 
LfpInventory|null | 
        |
hasLfpInventory
clearLfpInventory
setLfpInventory
Required. The inventory to insert.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          LfpInventory
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |