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

View Source

Constraints that all must be met for the module to be shown.

Attributes

  • displayInterval (type: GoogleApi.WalletObjects.V1.Model.TimeInterval.t, default: nil) - The period of time that the module will be displayed to users. Can define both a startTime and endTime. The module is displayed immediately after insertion unless a startTime is set. The module is displayed indefinitely if endTime is not set.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.ModuleViewConstraints{
  displayInterval: GoogleApi.WalletObjects.V1.Model.TimeInterval.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.