2 Commits

Author SHA1 Message Date
Sanjidul Hoque
dad27d5283 Merge pull request #3 from Purchase-Fly/car
Add cancellation reason field for notification
2020-05-14 22:07:31 +06:00
sanjid133
777e3c50ef Add cancellation reason field for notification 2020-05-14 22:05:15 +06:00

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"`
} }