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

View Source

Attributes

  • id (type: String.t, default: nil) - The unique identifier for a smart tap. This value should follow the format issuer ID.identifier where the former is issued by Google and latter is the Smart Tap id. The Smart Tap id is a Base64 encoded string which represents the id which was generated by the Google Pay app.
  • infos (type: list(GoogleApi.WalletObjects.V1.Model.IssuerToUserInfo.t), default: nil) - Communication from merchant to user.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "walletobjects#smartTap".
  • merchantId (type: String.t, default: nil) - Smart Tap merchant ID of who engaged in the Smart Tap interaction.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.SmartTap{
  id: String.t() | nil,
  infos: [GoogleApi.WalletObjects.V1.Model.IssuerToUserInfo.t()] | nil,
  kind: String.t() | nil,
  merchantId: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.