GoogleApi.Content.V2.Model.PosInventoryResponse (google_api_content v0.58.1) View Source

Attributes

  • contentLanguage (type: String.t, default: nil) - Required. The two-letter ISO 639-1 language code for the item.
  • gtin (type: String.t, default: nil) - Global Trade Item Number.
  • itemId (type: String.t, default: nil) - Required. A unique identifier for the item.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "content#posInventoryResponse".
  • price (type: GoogleApi.Content.V2.Model.Price.t, default: nil) - Required. The current price of the item.
  • quantity (type: String.t, default: nil) - Required. The available quantity of the item.
  • storeCode (type: String.t, default: nil) - 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.
  • targetCountry (type: String.t, default: nil) - Required. The CLDR territory code for the item.
  • timestamp (type: String.t, default: nil) - Required. The inventory timestamp, in ISO 8601 format.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V2.Model.PosInventoryResponse{
  contentLanguage: String.t() | nil,
  gtin: String.t() | nil,
  itemId: String.t() | nil,
  kind: String.t() | nil,
  price: GoogleApi.Content.V2.Model.Price.t() | nil,
  quantity: String.t() | nil,
  storeCode: String.t() | nil,
  targetCountry: String.t() | nil,
  timestamp: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.