Skip to content

Commit 1c60340

Browse files
authored
Merge pull request #299 from Shugyousha/add_more_renewal_info_fields
feat(appstore): add two more fields to JWSRenewalInfoDecodedPayload
2 parents 0a7d3ba + 35b659c commit 1c60340

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

appstore/notification_v2.go

+2
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ type (
202202
JWSRenewalInfoDecodedPayload struct {
203203
AutoRenewProductId string `json:"autoRenewProductId"`
204204
AutoRenewStatus AutoRenewStatus `json:"autoRenewStatus"`
205+
Currency string `json:"currency"`
205206
Environment Environment `json:"environment"`
206207
ExpirationIntent ExpirationIntent `json:"expirationIntent"`
207208
GracePeriodExpiresDate int64 `json:"gracePeriodExpiresDate"`
@@ -213,6 +214,7 @@ type (
213214
ProductId string `json:"productId"`
214215
RecentSubscriptionStartDate int64 `json:"recentSubscriptionStartDate"`
215216
RenewalDate int64 `json:"renewalDate"`
217+
RenewalPrice int64 `json:"renewalPrice"`
216218
SignedDate int64 `json:"signedDate"`
217219
jwt.RegisteredClaims
218220
}

0 commit comments

Comments
 (0)