google_api_content v0.2.0 GoogleApi.Content.V2.Model.PosSaleRequest View Source

Attributes

  • contentLanguage (String.t): The two-letter ISO 639-1 language code for the item. Defaults to: null.
  • gtin (String.t): Global Trade Item Number. Defaults to: null.
  • itemId (String.t): A unique identifier for the item. Defaults to: null.
  • price (Price): The price of the item. Defaults to: null.
  • quantity (String.t): The relative change of the available quantity. Negative for items returned. Defaults to: null.
  • saleId (String.t): A unique ID to group items from the same sale event. Defaults to: null.
  • storeCode (String.t): The identifier of the merchant's store. Either a storeCode inserted via the API or the code of the store in Google My Business. Defaults to: null.
  • targetCountry (String.t): The CLDR territory code for the item. Defaults to: null.
  • timestamp (String.t): The inventory timestamp, in ISO 8601 format. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Content.V2.Model.PosSaleRequest{
  contentLanguage: any(),
  gtin: any(),
  itemId: any(),
  price: GoogleApi.Content.V2.Model.Price.t(),
  quantity: any(),
  saleId: any(),
  storeCode: any(),
  targetCountry: any(),
  timestamp: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.