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

View Source

Device context associated with the object.

Attributes

  • deviceToken (type: String.t, default: nil) - If set, redemption information will only be returned to the given device upon activation of the object. This should not be used as a stable identifier to trace a user's device. It can change across different passes for the same device or even across different activations for the same device. When setting this, callers must also set has_linked_device on the object being activated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.DeviceContext{
  deviceToken: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.