forked from Mirrors/go-iap
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cd5a78348a | |||
|
|
dad27d5283 | ||
|
|
777e3c50ef |
@@ -56,6 +56,7 @@ type NotificationReceipt struct {
|
||||
OriginalPurchaseDate
|
||||
NotificationExpiresDate
|
||||
CancellationDate
|
||||
CancellationReason string `json:"cancellation_reason,omitempty"`
|
||||
}
|
||||
|
||||
type NotificationUnifiedReceipt struct {
|
||||
@@ -84,7 +85,7 @@ type SubscriptionNotification struct {
|
||||
ExpirationIntent string `json:"expiration_intent"`
|
||||
|
||||
// Auto renew info
|
||||
AutoRenewStatus string `json:"auto_renew_status"` // false or true
|
||||
AutoRenewStatus string `json:"auto_renew_status"` // false or true
|
||||
AutoRenewProductID string `json:"auto_renew_product_id"`
|
||||
|
||||
// HACK (msyrus): Separate Subscriptiton Notification from Notification verification response
|
||||
@@ -111,4 +112,5 @@ type SubscriptionNotification struct {
|
||||
|
||||
// Posted only if the notification_type is CANCEL.
|
||||
CancellationDate
|
||||
CancellationReason string `json:"cancellation_reason,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user