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

View Source

Information about how a class may be discovered and instantiated from within the Google Wallet app. This is done by searching for a loyalty or gift card program and scanning or manually entering.

Attributes

  • merchantSigninInfo (type: GoogleApi.WalletObjects.V1.Model.DiscoverableProgramMerchantSigninInfo.t, default: nil) - Information about the ability to signin and add a valuable for this program through a merchant site. Used when MERCHANT_HOSTED_SIGNIN is enabled.
  • merchantSignupInfo (type: GoogleApi.WalletObjects.V1.Model.DiscoverableProgramMerchantSignupInfo.t, default: nil) - Information about the ability to signup and add a valuable for this program through a merchant site. Used when MERCHANT_HOSTED_SIGNUP is enabled.
  • state (type: String.t, default: nil) - Visibility state of the discoverable program.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.DiscoverableProgram{
  merchantSigninInfo:
    GoogleApi.WalletObjects.V1.Model.DiscoverableProgramMerchantSigninInfo.t()
    | nil,
  merchantSignupInfo:
    GoogleApi.WalletObjects.V1.Model.DiscoverableProgramMerchantSignupInfo.t()
    | nil,
  state: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.