add notification type DID_FAIL_TO_RENEW

This commit is contained in:
tockn
2020-02-19 23:52:19 +09:00
parent c61599bf8e
commit 0aa274084a

View File

@@ -19,6 +19,8 @@ const (
NotificationTypeDidChangeRenewalPreference NotificationType = "DID_CHANGE_RENEWAL_PREF" NotificationTypeDidChangeRenewalPreference NotificationType = "DID_CHANGE_RENEWAL_PREF"
// Customer changed the subscription renewal status. Current active plan is not affected. // Customer changed the subscription renewal status. Current active plan is not affected.
NotificationTypeDidChangeRenewalStatus NotificationType = "DID_CHANGE_RENEWAL_STATUS" NotificationTypeDidChangeRenewalStatus NotificationType = "DID_CHANGE_RENEWAL_STATUS"
// Subscription failed to renew due to a billing issue.
NotificationTypeDidFailToRenew NotificationType = "DID_FAIL_TO_RENEW"
) )
type NotificationEnvironment string type NotificationEnvironment string