Skip to content

Commit

Permalink
Merge pull request #233 from Daydaylw3/fix_modify_field_type
Browse files Browse the repository at this point in the history
fix(appstore): modify JWSRenewalInfoDecodedPayload, JWSTransaction field type
  • Loading branch information
richzw authored Aug 24, 2023
2 parents 34bac7b + beb6a9f commit c517517
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions appstore/api/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ type JWSRenewalInfoDecodedPayload struct {
Environment Environment `json:"environment"`
ExpirationIntent int32 `json:"expirationIntent"`
GracePeriodExpiresDate int64 `json:"gracePeriodExpiresDate"`
IsInBillingRetryPeriod bool `json:"isInBillingRetryPeriod"`
IsInBillingRetryPeriod *bool `json:"isInBillingRetryPeriod"`
OfferIdentifier string `json:"offerIdentifier"`
OfferType string `json:"offerType"`
OriginalTransactionId string `json:"originalTransactionId"`
PriceIncreaseStatus int32 `json:"priceIncreaseStatus"`
PriceIncreaseStatus *int32 `json:"priceIncreaseStatus"`
ProductId string `json:"productId"`
RecentSubscriptionStartDate int64 `json:"recentSubscriptionStartDate"`
RenewalDate int64 `json:"renewalDate"`
Expand Down Expand Up @@ -149,7 +149,7 @@ type JWSTransaction struct {
OfferType int32 `json:"offerType,omitempty"`
OfferIdentifier string `json:"offerIdentifier,omitempty"`
RevocationDate int64 `json:"revocationDate,omitempty"`
RevocationReason int32 `json:"revocationReason,omitempty"`
RevocationReason *int32 `json:"revocationReason,omitempty"`
IsUpgraded bool `json:"isUpgraded,omitempty"`
Storefront string `json:"storefront,omitempty"`
StorefrontId string `json:"storefrontId,omitempty"`
Expand Down

0 comments on commit c517517

Please sign in to comment.