Class PosSale
The change of the available quantity of an item at the given store.
Inheritance
System.Object
PosSale
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 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 |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Gtin
Global Trade Item Number.
Declaration
[JsonProperty("gtin")]
public virtual string Gtin { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ItemId
Required. A unique identifier for the item.
Declaration
[JsonProperty("itemId")]
public virtual string ItemId { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.Nullable<System.Int64> |
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 |
---|---|
System.String |
StoreCode
Required. The identifier of the merchant's store. Either a storeCode
inserted via the API or the code of
the store in Google My Business.
Declaration
[JsonProperty("storeCode")]
public virtual string StoreCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TargetCountry
Required. The CLDR territory code for the item.
Declaration
[JsonProperty("targetCountry")]
public virtual string TargetCountry { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Timestamp
Required. The inventory timestamp, in ISO 8601 format.
Declaration
[JsonProperty("timestamp")]
public virtual string Timestamp { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Implements
Google.Apis.Requests.IDirectResponseSchema