appstoreserverlibrary.models.JWSTransactionDecodedPayload module¶
- class appstoreserverlibrary.models.JWSTransactionDecodedPayload.JWSTransactionDecodedPayload(originalTransactionId: str | None = None, transactionId: str | None = None, webOrderLineItemId: str | None = None, bundleId: str | None = None, productId: str | None = None, subscriptionGroupIdentifier: str | None = None, purchaseDate: int | None = None, originalPurchaseDate: int | None = None, expiresDate: int | None = None, quantity: int | None = None, type: Type | None = None, appAccountToken: str | None = None, inAppOwnershipType: InAppOwnershipType | None = None, signedDate: int | None = None, revocationReason: RevocationReason | None = None, revocationDate: int | None = None, isUpgraded: bool | None = None, offerType: OfferType | None = None, offerIdentifier: str | None = None, environment: Environment | None = None, storefront: str | None = None, storefrontId: str | None = None, transactionReason: TransactionReason | None = None, currency: str | None = None, price: int | None = None, offerDiscountType: OfferDiscountType | None = None, appTransactionId: str | None = None, offerPeriod: str | None = None, *, rawType: str | None = None, rawInAppOwnershipType: str | None = None, rawRevocationReason: int | None = None, rawOfferType: int | None = None, rawEnvironment: str | None = None, rawTransactionReason: str | None = None, rawOfferDiscountType: str | None = None)[source]¶
Bases:
AttrsRawValueAware
A decoded payload containing transaction information.
https://developer.apple.com/documentation/appstoreserverapi/jwstransactiondecodedpayload
- 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
- bundleId: str | None¶
The bundle identifier of an app.
https://developer.apple.com/documentation/appstoreserverapi/bundleid
- currency: str | None¶
The three-letter ISO 4217 currency code for the price of the product.
https://developer.apple.com/documentation/appstoreserverapi/currency
- environment: Environment | None¶
The server environment, either sandbox or production.
https://developer.apple.com/documentation/appstoreserverapi/environment
- expiresDate: int | None¶
The UNIX time, in milliseconds, an auto-renewable subscription expires or renews.
https://developer.apple.com/documentation/appstoreserverapi/expiresdate
- inAppOwnershipType: InAppOwnershipType | None¶
A string that describes whether the transaction was purchased by the user, or is available to them through Family Sharing.
https://developer.apple.com/documentation/appstoreserverapi/inappownershiptype
- isUpgraded: bool | None¶
The Boolean value that indicates whether the user upgraded to another subscription.
https://developer.apple.com/documentation/appstoreserverapi/isupgraded
- offerDiscountType: OfferDiscountType | None¶
The payment mode you configure for an introductory offer, promotional offer, or offer code on an auto-renewable subscription.
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¶
A value that represents the promotional offer type.
https://developer.apple.com/documentation/appstoreserverapi/offertype
- originalPurchaseDate: int | None¶
The purchase date of the transaction associated with the original transaction identifier.
https://developer.apple.com/documentation/appstoreserverapi/originalpurchasedate
- originalTransactionId: str | None¶
The original transaction identifier of a purchase.
https://developer.apple.com/documentation/appstoreserverapi/originaltransactionid
- price: int | None¶
The price, in milliunits, of the in-app purchase or subscription offer that you configured in App Store Connect.
https://developer.apple.com/documentation/appstoreserverapi/price
- productId: str | None¶
The unique identifier for the product, that you create in App Store Connect.
https://developer.apple.com/documentation/appstoreserverapi/productid
- purchaseDate: int | None¶
The time that the App Store charged the user’s account for an in-app purchase, a restored in-app purchase, a subscription, or a subscription renewal after a lapse.
https://developer.apple.com/documentation/appstoreserverapi/purchasedate
- quantity: int | None¶
The number of consumable products purchased.
https://developer.apple.com/documentation/appstoreserverapi/quantity
- rawEnvironment: str | None¶
See environment
- rawInAppOwnershipType: str | None¶
See inAppOwnershipType
- rawOfferDiscountType: str | None¶
See offerDiscountType
- rawOfferType: int | None¶
See offerType
- rawRevocationReason: int | None¶
See revocationReason
- rawTransactionReason: str | None¶
See transactionReason
- rawType: str | None¶
See type
- revocationDate: int | None¶
The UNIX time, in milliseconds, that Apple Support refunded a transaction.
https://developer.apple.com/documentation/appstoreserverapi/revocationdate
- revocationReason: RevocationReason | None¶
The reason that the App Store refunded the transaction or revoked it from family sharing.
https://developer.apple.com/documentation/appstoreserverapi/revocationreason
- 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
- storefront: str | None¶
The three-letter code that represents the country or region associated with the App Store storefront for the purchase.
https://developer.apple.com/documentation/appstoreserverapi/storefront
- storefrontId: str | None¶
An Apple-defined value that uniquely identifies the App Store storefront associated with the purchase.
https://developer.apple.com/documentation/appstoreserverapi/storefrontid
- subscriptionGroupIdentifier: str | None¶
The identifier of the subscription group that the subscription belongs to.
https://developer.apple.com/documentation/appstoreserverapi/subscriptiongroupidentifier
- transactionId: str | None¶
The unique identifier for a transaction such as an in-app purchase, restored in-app purchase, or subscription renewal.
https://developer.apple.com/documentation/appstoreserverapi/transactionid
- transactionReason: TransactionReason | None¶
The reason for the purchase transaction, which indicates whether it’s a customer’s purchase or a renewal for an auto-renewable subscription that the system initiates.
https://developer.apple.com/documentation/appstoreserverapi/transactionreason
- type: Type | None¶
The type of the in-app purchase.
https://developer.apple.com/documentation/appstoreserverapi/type
- webOrderLineItemId: str | None¶
The unique identifier of subscription-purchase events across devices, including renewals.
https://developer.apple.com/documentation/appstoreserverapi/weborderlineitemid