Class PosCustomBatchRequestEntry
Inheritance
System.Object
PosCustomBatchRequestEntry
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ShoppingContent.v2.Data
Assembly: Google.Apis.ShoppingContent.v2.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 |
---|---|
System.Nullable<System.Int64> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Nullable<System.UInt64> |
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 |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.Nullable<System.UInt64> |
Implements
Google.Apis.Requests.IDirectResponseSchema