appstoreserverlibrary.models.JWSRenewalInfoDecodedPayload module

class appstoreserverlibrary.models.JWSRenewalInfoDecodedPayload.JWSRenewalInfoDecodedPayload(expirationIntent: ExpirationIntent | None = None, originalTransactionId: str | None = None, autoRenewProductId: str | None = None, productId: str | None = None, autoRenewStatus: AutoRenewStatus | None = None, isInBillingRetryPeriod: bool | None = None, priceIncreaseStatus: PriceIncreaseStatus | None = None, gracePeriodExpiresDate: int | None = None, offerType: OfferType | None = None, offerIdentifier: str | None = None, signedDate: int | None = None, environment: Environment | None = None, recentSubscriptionStartDate: int | None = None, renewalDate: int | None = None, currency: str | None = None, renewalPrice: int | None = None, offerDiscountType: OfferDiscountType | None = None, eligibleWinBackOfferIds: List[str] | None = None, appAccountToken: str | None = None, appTransactionId: str | None = None, offerPeriod: str | None = None, *, rawExpirationIntent: int | None = None, rawAutoRenewStatus: int | None = None, rawPriceIncreaseStatus: int | None = None, rawOfferType: int | None = None, rawEnvironment: str | None = None, rawOfferDiscountType: str | None = None)[source]

Bases: AttrsRawValueAware

A decoded payload containing subscription renewal information for an auto-renewable subscription.

https://developer.apple.com/documentation/appstoreserverapi/jwsrenewalinfodecodedpayload

appAccountToken: str | None

The UUID that an app optionally generates to map a customer’s in-app purchase with its resulting App Store transaction.

https://developer.apple.com/documentation/appstoreserverapi/appaccounttoken

appTransactionId: str | None

The unique identifier of the app download transaction.

https://developer.apple.com/documentation/appstoreserverapi/appTransactionId

autoRenewProductId: str | None

The product identifier of the product that will renew at the next billing period.

https://developer.apple.com/documentation/appstoreserverapi/autorenewproductid

autoRenewStatus: AutoRenewStatus | None

The renewal status of the auto-renewable subscription.

https://developer.apple.com/documentation/appstoreserverapi/autorenewstatus

currency: str | None

The currency code for the renewalPrice of the subscription.

https://developer.apple.com/documentation/appstoreserverapi/currency

eligibleWinBackOfferIds: List[str] | None

An array of win-back offer identifiers that a customer is eligible to redeem, which sorts the identifiers to present the better offers first.

https://developer.apple.com/documentation/appstoreserverapi/eligiblewinbackofferids

environment: Environment | None

The server environment, either sandbox or production.

https://developer.apple.com/documentation/appstoreserverapi/environment

expirationIntent: ExpirationIntent | None

The reason the subscription expired.

https://developer.apple.com/documentation/appstoreserverapi/expirationintent

gracePeriodExpiresDate: int | None

The time when the billing grace period for subscription renewals expires.

https://developer.apple.com/documentation/appstoreserverapi/graceperiodexpiresdate

isInBillingRetryPeriod: bool | None

A Boolean value that indicates whether the App Store is attempting to automatically renew an expired subscription.

https://developer.apple.com/documentation/appstoreserverapi/isinbillingretryperiod

offerDiscountType: OfferDiscountType | None

The payment mode of the discount offer.

https://developer.apple.com/documentation/appstoreserverapi/offerdiscounttype

offerIdentifier: str | None

The identifier that contains the promo code or the promotional offer identifier.

https://developer.apple.com/documentation/appstoreserverapi/offeridentifier

offerPeriod: str | None

The duration of the offer.

https://developer.apple.com/documentation/appstoreserverapi/offerPeriod

offerType: OfferType | None

The type of the subscription offer.

https://developer.apple.com/documentation/appstoreserverapi/offertype

originalTransactionId: str | None

The original transaction identifier of a purchase.

https://developer.apple.com/documentation/appstoreserverapi/originaltransactionid

priceIncreaseStatus: PriceIncreaseStatus | None

The status that indicates whether the auto-renewable subscription is subject to a price increase.

https://developer.apple.com/documentation/appstoreserverapi/priceincreasestatus

productId: str | None

The unique identifier for the product, that you create in App Store Connect.

https://developer.apple.com/documentation/appstoreserverapi/productid

rawAutoRenewStatus: int | None

See autoRenewStatus

rawEnvironment: str | None

See environment

rawExpirationIntent: int | None

See expirationIntent

rawOfferDiscountType: str | None

See offerDiscountType

rawOfferType: int | None

See offerType

rawPriceIncreaseStatus: int | None

See priceIncreaseStatus

recentSubscriptionStartDate: int | None

The earliest start date of a subscription in a series of auto-renewable subscription purchases that ignores all lapses of paid service shorter than 60 days.

https://developer.apple.com/documentation/appstoreserverapi/recentsubscriptionstartdate

renewalDate: int | None

The UNIX time, in milliseconds, that the most recent auto-renewable subscription purchase expires.

https://developer.apple.com/documentation/appstoreserverapi/renewaldate

renewalPrice: int | None

The renewal price, in milliunits, of the auto-renewable subscription that renews at the next billing period.

https://developer.apple.com/documentation/appstoreserverapi/renewalprice

signedDate: int | None

The UNIX time, in milliseconds, that the App Store signed the JSON Web Signature data.

https://developer.apple.com/documentation/appstoreserverapi/signeddate