From 25ed6e78262fda244b7dc0ef70fa76cbaebd9140 Mon Sep 17 00:00:00 2001 From: dbican Date: Thu, 28 Mar 2024 11:19:27 +0200 Subject: [PATCH] Make JWSRenewalInfoDecodedPayload.OfferType an int32 as in Apple documentation --- appstore/api/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appstore/api/model.go b/appstore/api/model.go index 72d1327..f8242be 100644 --- a/appstore/api/model.go +++ b/appstore/api/model.go @@ -91,7 +91,7 @@ type JWSRenewalInfoDecodedPayload struct { GracePeriodExpiresDate int64 `json:"gracePeriodExpiresDate"` IsInBillingRetryPeriod *bool `json:"isInBillingRetryPeriod"` OfferIdentifier string `json:"offerIdentifier"` - OfferType string `json:"offerType"` + OfferType int32 `json:"offerType"` OriginalTransactionId string `json:"originalTransactionId"` PriceIncreaseStatus *int32 `json:"priceIncreaseStatus"` ProductId string `json:"productId"`