Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Notifications

import type { Notifications } from "https://googleapis.deno.dev/v1/walletobjects:v1.ts";

Indicates 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.

interface Notifications {
expiryNotification?: ExpiryNotification;
upcomingNotification?: UpcomingNotification;
}

§Properties

§
expiryNotification?: ExpiryNotification
[src]

A notification would be triggered at a specific time before the card expires.

§
upcomingNotification?: UpcomingNotification
[src]

A notification would be triggered at a specific time before the card becomes usable.