Class PosCustomBatchRequestEntry
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class PosCustomBatchRequestEntry : IDirectResponseSchema
Properties
BatchId
An entry ID, unique within the batch request.
Declaration
[JsonProperty("batchId")]
public virtual long? BatchId { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Inventory
The inventory to submit. This should be set only if the method is inventory.
Declaration
[JsonProperty("inventory")]
public virtual PosInventory Inventory { get; set; }
Property Value
| Type | Description |
|---|---|
| PosInventory |
MerchantId
The ID of the POS data provider.
Declaration
[JsonProperty("merchantId")]
public virtual ulong? MerchantId { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
Method
The method of the batch entry. Acceptable values are: - "delete" - "get" - "insert" - "inventory" -
"sale"
Declaration
[JsonProperty("method")]
public virtual string Method { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Sale
The sale information to submit. This should be set only if the method is sale.
Declaration
[JsonProperty("sale")]
public virtual PosSale Sale { get; set; }
Property Value
| Type | Description |
|---|---|
| PosSale |
Store
The store information to submit. This should be set only if the method is insert.
Declaration
[JsonProperty("store")]
public virtual PosStore Store { get; set; }
Property Value
| Type | Description |
|---|---|
| PosStore |
StoreCode
The store code. This should be set only if the method is delete or get.
Declaration
[JsonProperty("storeCode")]
public virtual string StoreCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TargetMerchantId
The ID of the account for which to get/submit data.
Declaration
[JsonProperty("targetMerchantId")]
public virtual ulong? TargetMerchantId { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |