Class PosSale
The change of the available quantity of an item at the given store.
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class PosSale : IDirectResponseSchema
Properties
ContentLanguage
Required. The two-letter ISO 639-1 language code for the item.
Declaration
[JsonProperty("contentLanguage")]
public virtual string ContentLanguage { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Gtin
Global Trade Item Number.
Declaration
[JsonProperty("gtin")]
public virtual string Gtin { get; set; }
Property Value
Type | Description |
---|---|
string |
ItemId
Required. A unique identifier for the item.
Declaration
[JsonProperty("itemId")]
public virtual string ItemId { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
Identifies what kind of resource this is. Value: the fixed string "content#posSale
"
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Price
Required. The price of the item.
Declaration
[JsonProperty("price")]
public virtual Price Price { get; set; }
Property Value
Type | Description |
---|---|
Price |
Quantity
Required. The relative change of the available quantity. Negative for items returned.
Declaration
[JsonProperty("quantity")]
public virtual long? Quantity { get; set; }
Property Value
Type | Description |
---|---|
long? |
SaleId
A unique ID to group items from the same sale event.
Declaration
[JsonProperty("saleId")]
public virtual string SaleId { get; set; }
Property Value
Type | Description |
---|---|
string |
StoreCode
Required. The identifier of the merchant's store. Either a storeCode
inserted through the API or the code
of the store in a Business Profile.
Declaration
[JsonProperty("storeCode")]
public virtual string StoreCode { get; set; }
Property Value
Type | Description |
---|---|
string |
TargetCountry
Required. The CLDR territory code for the item.
Declaration
[JsonProperty("targetCountry")]
public virtual string TargetCountry { get; set; }
Property Value
Type | Description |
---|---|
string |
Timestamp
Required. The inventory timestamp, in ISO 8601 format.
Declaration
[JsonProperty("timestamp")]
public virtual string Timestamp { get; set; }
Property Value
Type | Description |
---|---|
string |