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

The absolute quantity of an item available at the given store.

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.
  • kind (String.t): Identifies what kind of resource this is. Value: the fixed string "content#posInventory". Defaults to: null.
  • price (Price): The current price of the item. Defaults to: null.
  • quantity (String.t): The available quantity of the item. 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.PosInventory{
  contentLanguage: any(),
  gtin: any(),
  itemId: any(),
  kind: any(),
  price: GoogleApi.Content.V2.Model.Price.t(),
  quantity: 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.