3 Commits

Author SHA1 Message Date
cd5a78348a „go.mod“ ändern 2020-05-20 10:22:53 +00:00
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
2 changed files with 5 additions and 3 deletions

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

4
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/awa/go-iap
module git.deineagentur.com/DeineAgenturUG/go-iap
go 1.12
go 1.13
require (
cloud.google.com/go v0.39.0 // indirect