View Source GoogleApi.ContentWarehouse.V1.Model.GeostorePriceRangeProto (google_api_content_warehouse v0.4.0)

This message represents a price range of an attribute. The meaning of the price bounds is domain specific. But mainly they are soft bounds for a normal usage. E.g. "restaurant prices" are subject to an higher level of "soft" bounds than "museum admission price"

Attributes

  • currency (type: String.t, default: nil) - Currency code for the price range: a valid currency code from i18n/identifiers/currencycode.h. Lower and upper price are both assumed to use the same currency.
  • lowerPrice (type: float(), default: nil) - This message allows unbounded price ranges. e.g. Lower_price is undefined. At least one of the two prices must be set for the price range to be meaningful.
  • units (type: String.t, default: nil) - clang-format on
  • upperPrice (type: float(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostorePriceRangeProto{
  currency: String.t() | nil,
  lowerPrice: float() | nil,
  units: String.t() | nil,
  upperPrice: float() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.