Generic Passes support two types of notifications, you can configure either:

1. Upcoming notification
2. Expiry notification

## Upcoming notification

[Upcoming notifications](https://developers.google.com/wallet/generic/rest/v1/genericobject#upcomingnotification)
appear to the user 24 hours before the [time interval](https://developers.google.com/wallet/generic/rest/v1/TimeInterval)
starts.

When the upcoming notification is configured, a notification with the title
**"`genericObject.cardTitle` is available now"** and subtitle **"View pass"** will appear to the user.

To configure upcoming notifications, set the boolean value [UpcomingNotification.enabledNotification](https://developers.google.com/wallet/generic/rest/v1/genericobject#upcomingnotification)
to `true`.

## Expiry notification

[Expiry notifications](https://developers.google.com/wallet/generic/rest/v1/genericobject#expirynotification)
appear 48 hours before the end of the [time interval](https://developers.google.com/wallet/generic/rest/v1/TimeInterval).

When the notification is configured, a notification with the title
**"`genericObject.cardTitle` expires in \[x\] days"** and subtitle **"View pass"** will appear to the user.

To configure upcoming notifications, set the boolean value
[ExpiryNotification.enabledNotification](https://developers.google.com/wallet/generic/rest/v1/genericobject#expirynotification)
to `true`.