View Source GoogleApi.Places.V1.Model.GoogleMapsPlacesV1PriceRange (google_api_places v0.10.0)

The price range associated with a Place. end_price could be unset, which indicates a range without upper bound (e.g. "More than $100").

Attributes

  • endPrice (type: GoogleApi.Places.V1.Model.GoogleTypeMoney.t, default: nil) - The high end of the price range (exclusive). Price should be lower than this amount.
  • startPrice (type: GoogleApi.Places.V1.Model.GoogleTypeMoney.t, default: nil) - The low end of the price range (inclusive). Price should be at or above this amount.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1PriceRange{
  endPrice: GoogleApi.Places.V1.Model.GoogleTypeMoney.t() | nil,
  startPrice: GoogleApi.Places.V1.Model.GoogleTypeMoney.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.