forked from Mirrors/go-iap
Compare commits
3 Commits
androidpub
...
v1.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c0e16f820 | ||
|
|
e895c80eb0 | ||
|
|
062102b0f3 |
@@ -76,6 +76,13 @@ type (
|
|||||||
CancellationDatePST string `json:"cancellation_date_pst,omitempty"`
|
CancellationDatePST string `json:"cancellation_date_pst,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The GracePeriodDate type indicates the grace period date for the subscription
|
||||||
|
GracePeriodDate struct {
|
||||||
|
GracePeriodDate string `json:"grace_period_expires_date,omitempty"`
|
||||||
|
GracePeriodDateMS string `json:"grace_period_expires_date_ms,omitempty"`
|
||||||
|
GracePeriodDatePST string `json:"grace_period_expires_date_pst,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
// The InApp type has the receipt attributes
|
// The InApp type has the receipt attributes
|
||||||
InApp struct {
|
InApp struct {
|
||||||
Quantity string `json:"quantity"`
|
Quantity string `json:"quantity"`
|
||||||
@@ -120,6 +127,8 @@ type (
|
|||||||
SubscriptionPriceConsentStatus string `json:"price_consent_status"`
|
SubscriptionPriceConsentStatus string `json:"price_consent_status"`
|
||||||
ProductID string `json:"product_id"`
|
ProductID string `json:"product_id"`
|
||||||
OriginalTransactionID string `json:"original_transaction_id"`
|
OriginalTransactionID string `json:"original_transaction_id"`
|
||||||
|
|
||||||
|
GracePeriodDate
|
||||||
}
|
}
|
||||||
|
|
||||||
// The IAPResponse type has the response properties
|
// The IAPResponse type has the response properties
|
||||||
|
|||||||
Reference in New Issue
Block a user