3 Commits

Author SHA1 Message Date
Junpei Tsuji
9c0e16f820 Merge pull request #96 from jun06t/appstore-grace-period
Added grace period fields
2019-09-17 13:47:52 +09:00
Junpei Tsuji
e895c80eb0 Added grace period fields 2019-09-17 13:23:05 +09:00
kitakitabauer
062102b0f3 Merge pull request #93 from awa/androidpublisher-v3
Update androidpublisher api v3
2019-06-19 16:36:38 +09:00

View File

@@ -76,6 +76,13 @@ type (
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
InApp struct {
Quantity string `json:"quantity"`
@@ -120,6 +127,8 @@ type (
SubscriptionPriceConsentStatus string `json:"price_consent_status"`
ProductID string `json:"product_id"`
OriginalTransactionID string `json:"original_transaction_id"`
GracePeriodDate
}
// The IAPResponse type has the response properties