Skip to content

Commit

Permalink
Merge pull request #299 from Shugyousha/add_more_renewal_info_fields
Browse files Browse the repository at this point in the history
feat(appstore): add two more fields to JWSRenewalInfoDecodedPayload
  • Loading branch information
takecy authored Oct 24, 2024
2 parents 0a7d3ba + 35b659c commit 1c60340
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions appstore/notification_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ type (
JWSRenewalInfoDecodedPayload struct {
AutoRenewProductId string `json:"autoRenewProductId"`
AutoRenewStatus AutoRenewStatus `json:"autoRenewStatus"`
Currency string `json:"currency"`
Environment Environment `json:"environment"`
ExpirationIntent ExpirationIntent `json:"expirationIntent"`
GracePeriodExpiresDate int64 `json:"gracePeriodExpiresDate"`
Expand All @@ -213,6 +214,7 @@ type (
ProductId string `json:"productId"`
RecentSubscriptionStartDate int64 `json:"recentSubscriptionStartDate"`
RenewalDate int64 `json:"renewalDate"`
RenewalPrice int64 `json:"renewalPrice"`
SignedDate int64 `json:"signedDate"`
jwt.RegisteredClaims
}
Expand Down

0 comments on commit 1c60340

Please sign in to comment.