Reference documentation and code samples for the Google Shopping Merchant Lfp V1 Client class InsertLfpSaleRequest.
Request message for the InsertLfpSale method.
Generated from protobuf message google.shopping.merchant.lfp.v1.InsertLfpSaleRequest
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_sale | 
        
          LfpSale
          Required. The sale to insert.  | 
      
getParent
Required. The LFP provider account.
Format: accounts/{lfp_partner}
| Returns | |
|---|---|
| Type | Description | 
string | 
        |
setParent
Required. The LFP provider account.
Format: accounts/{lfp_partner}
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          string
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
getLfpSale
Required. The sale to insert.
| Returns | |
|---|---|
| Type | Description | 
LfpSale|null | 
        |
hasLfpSale
clearLfpSale
setLfpSale
Required. The sale to insert.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          LfpSale
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |