GoogleApi.WalletObjects.V1.Model.Notifications (google_api_wallet_objects v0.12.0)
View SourceIndicates if the object needs to have notification enabled. We support only one of ExpiryNotification/UpcomingNotification. expiryNotification
takes precedence over upcomingNotification
. In other words if expiryNotification
is set, we ignore the upcomingNotification
field.
Attributes
-
expiryNotification
(type:GoogleApi.WalletObjects.V1.Model.ExpiryNotification.t
, default:nil
) - A notification would be triggered at a specific time before the card expires. -
upcomingNotification
(type:GoogleApi.WalletObjects.V1.Model.UpcomingNotification.t
, default:nil
) - A notification would be triggered at a specific time before the card becomes usable.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.WalletObjects.V1.Model.Notifications{ expiryNotification: GoogleApi.WalletObjects.V1.Model.ExpiryNotification.t() | nil, upcomingNotification: GoogleApi.WalletObjects.V1.Model.UpcomingNotification.t() | nil }