GoogleApi.WalletObjects.V1.Model.TicketCost (google_api_wallet_objects v0.12.0)

View Source

Attributes

  • discountMessage (type: GoogleApi.WalletObjects.V1.Model.LocalizedString.t, default: nil) - A message describing any kind of discount that was applied.
  • faceValue (type: GoogleApi.WalletObjects.V1.Model.Money.t, default: nil) - The face value of the ticket.
  • purchasePrice (type: GoogleApi.WalletObjects.V1.Model.Money.t, default: nil) - The actual purchase price of the ticket, after tax and/or discounts.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.TicketCost{
  discountMessage: GoogleApi.WalletObjects.V1.Model.LocalizedString.t() | nil,
  faceValue: GoogleApi.WalletObjects.V1.Model.Money.t() | nil,
  purchasePrice: GoogleApi.WalletObjects.V1.Model.Money.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.