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

View Source

Attributes

  • frequentFlyerNumber (type: String.t, default: nil) - Frequent flyer number. Required for each nested object of kind walletobjects#frequentFlyerInfo.
  • frequentFlyerProgramName (type: GoogleApi.WalletObjects.V1.Model.LocalizedString.t, default: nil) - Frequent flyer program name. eg: "Lufthansa Miles & More"
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "walletobjects#frequentFlyerInfo".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.FrequentFlyerInfo{
  frequentFlyerNumber: String.t() | nil,
  frequentFlyerProgramName:
    GoogleApi.WalletObjects.V1.Model.LocalizedString.t() | nil,
  kind: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.