here are some field in JWSTransactionDecodedPayload and JWSRenewalInfoDecodedPayload, miss this kind of desc: This field is present only for xxxxx
Such as
-
revocationReasonin JWSTransactionDecodedPayload, this field is present only when transaction is refunded. And its possible value is0and1, when this field not present, golang would still unmarshal to default0forint32type -
isInBillingRetryPeriodin JWSRenewalInfoDecodedPayload, this field is present only when transaction in billing-retry state(relative doc), and because this field type is boolean, so possible value istrueandfalse, base on the old api desc,
true- The App Store is attempting to renew the subscription.false- The App Store has stopped attempting to renew the subscription.
When this field not present, golang would still unmarshal to default false for bool type
priceIncreaseStatusin JWSRenewalInfoDecodedPayload, this field is present only when an auto-renewable subscription price increase that requires customer consent. Its possible value is
0- The customer hasn’t yet responded to an auto-renewable subscription price increase that requires customer consent.1- The customer consented to an auto-renewable subscription price increase that requires customer consent, or the App Store has notified the customer of an auto-renewable subscription price increase that doesn’t require consent.