Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(appstore): add two more fields to JWSRenewalInfoDecodedPayload #299

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading