View Source GoogleApi.Content.V21.Model.RegionalInventory (google_api_content v0.61.1)

Regional inventory resource. contains the regional name and all attributes which are overridden for the specified region.


  • availability (type: String.t, default: nil) - The availability of the product.
  • customAttributes (type: list(GoogleApi.Content.V21.Model.CustomAttribute.t), default: nil) - A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "content#regionalInventory".
  • price (type: GoogleApi.Content.V21.Model.Price.t, default: nil) - The price of the product.
  • regionId (type: String.t, default: nil) - The ID uniquely identifying each region.
  • salePrice (type: GoogleApi.Content.V21.Model.Price.t, default: nil) - The sale price of the product. Mandatory if sale_price_effective_date is defined.
  • salePriceEffectiveDate (type: String.t, default: nil) - A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Content.V21.Model.RegionalInventory{
  availability: String.t() | nil,
  customAttributes: [GoogleApi.Content.V21.Model.CustomAttribute.t()] | nil,
  kind: String.t() | nil,
  price: GoogleApi.Content.V21.Model.Price.t() | nil,
  regionId: String.t() | nil,
  salePrice: GoogleApi.Content.V21.Model.Price.t() | nil,
  salePriceEffectiveDate: String.t() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.