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

View Source

Request to send a private pass update notice information to Google, so that devices can then fetch the notice prompting the user to update a pass.

Attributes

  • externalPassId (type: String.t, default: nil) - Required. A fully qualified identifier of the pass that the issuer wants to notify the pass holder(s) about. Formatted as .
  • updateUri (type: String.t, default: nil) - Required. The issuer endpoint URI the pass holder needs to follow in order to receive an updated pass JWT. It can not contain any sensitive information. The endpoint needs to authenticate the user before giving the user the updated JWT. Example update URI https://someissuer.com/update/passId=someExternalPassId
  • updatedPassJwtSignature (type: String.t, default: nil) - Required. The JWT signature of the updated pass that the issuer wants to notify Google about. Only devices that report a different JWT signature than this JWT signature will receive the update notification.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.SetPassUpdateNoticeRequest{
  externalPassId: String.t() | nil,
  updateUri: String.t() | nil,
  updatedPassJwtSignature: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.