View Source GoogleApi.AdExchangeBuyer.V2beta1.Model.Price (google_api_ad_exchange_buyer v0.41.0)

Represents a price and a pricing type for a product / deal.

Attributes

  • amount (type: GoogleApi.AdExchangeBuyer.V2beta1.Model.Money.t, default: nil) - The actual price with currency specified.
  • pricingType (type: String.t, default: nil) - The pricing type for the deal/product. (default: CPM)

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AdExchangeBuyer.V2beta1.Model.Price{
  amount: GoogleApi.AdExchangeBuyer.V2beta1.Model.Money.t() | nil,
  pricingType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.