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

View Source

Container for any constraints that may be placed on passes.

Attributes

  • nfcConstraint (type: list(String.t), default: nil) - The NFC constraints for the pass.
  • screenshotEligibility (type: String.t, default: nil) - The screenshot eligibility for the pass.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.PassConstraints{
  nfcConstraint: [String.t()] | nil,
  screenshotEligibility: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.