GoogleApi.Places.V1.Model.GoogleMapsPlacesV1FuelOptionsFuelPrice (google_api_places v0.11.0)

View Source

Fuel price information for a given type.

Attributes

  • price (type: GoogleApi.Places.V1.Model.GoogleTypeMoney.t, default: nil) - The price of the fuel.
  • type (type: String.t, default: nil) - The type of fuel.
  • updateTime (type: DateTime.t, default: nil) - The time the fuel price was last updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1FuelOptionsFuelPrice{
  price: GoogleApi.Places.V1.Model.GoogleTypeMoney.t() | nil,
  type: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.