1 Commits
v2 ... car

Author SHA1 Message Date
sanjid133 777e3c50ef Add cancellation reason field for notification 2020-05-14 22:05:15 +06:00
+2
View File
@@ -56,6 +56,7 @@ type NotificationReceipt struct {
OriginalPurchaseDate
NotificationExpiresDate
CancellationDate
CancellationReason string `json:"cancellation_reason,omitempty"`
}
type NotificationUnifiedReceipt struct {
@@ -111,4 +112,5 @@ type SubscriptionNotification struct {
// Posted only if the notification_type is CANCEL.
CancellationDate
CancellationReason string `json:"cancellation_reason,omitempty"`
}