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

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

Attributes

  • 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

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.