GoogleApi.AuthorizedBuyersMarketplace.V1.Model.Price (google_api_authorized_buyers_marketplace v0.7.0)

View Source

Represents a price and a pricing type for a deal.

Attributes

  • amount (type: GoogleApi.AuthorizedBuyersMarketplace.V1.Model.Money.t, default: nil) - The actual price with currency specified.
  • type (type: String.t, default: nil) - The pricing type for the deal.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AuthorizedBuyersMarketplace.V1.Model.Price{
  amount: GoogleApi.AuthorizedBuyersMarketplace.V1.Model.Money.t() | nil,
  type: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.