Merge pull request #3 from Purchase-Fly/car

Add cancellation reason field for notification
This commit is contained in:
Sanjidul Hoque
2020-05-14 22:07:31 +06:00
committed by GitHub

View File

@@ -56,6 +56,7 @@ type NotificationReceipt struct {
OriginalPurchaseDate OriginalPurchaseDate
NotificationExpiresDate NotificationExpiresDate
CancellationDate CancellationDate
CancellationReason string `json:"cancellation_reason,omitempty"`
} }
type NotificationUnifiedReceipt struct { type NotificationUnifiedReceipt struct {
@@ -111,4 +112,5 @@ type SubscriptionNotification struct {
// Posted only if the notification_type is CANCEL. // Posted only if the notification_type is CANCEL.
CancellationDate CancellationDate
CancellationReason string `json:"cancellation_reason,omitempty"`
} }