here are some field in JWSTransactionDecodedPayload and JWSRenewalInfoDecodedPayload, miss this kind of desc: This field is present only for xxxxx
Such as
-
revocationReason
in JWSTransactionDecodedPayload, this field is present only when transaction is refunded. And its possible value is0
and1
, when this field not present, golang would still unmarshal to default0
forint32
type -
isInBillingRetryPeriod
in JWSRenewalInfoDecodedPayload, this field is present only when transaction in billing-retry state(relative doc), and because this field type is boolean, so possible value istrue
andfalse
, 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
priceIncreaseStatus
in 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.