appstoreserverlibrary.models.AppTransaction module

class appstoreserverlibrary.models.AppTransaction.AppTransaction(receiptType: Environment | None = None, appAppleId: int | None = None, bundleId: str | None = None, applicationVersion: str | None = None, versionExternalIdentifier: int | None = None, receiptCreationDate: int | None = None, originalPurchaseDate: int | None = None, originalApplicationVersion: str | None = None, deviceVerification: str | None = None, deviceVerificationNonce: str | None = None, preorderDate: int | None = None, appTransactionId: str | None = None, originalPlatform: PurchasePlatform | None = None, *, rawReceiptType: str | None = None, rawOriginalPlatform: str | None = None)[source]

Bases: AttrsRawValueAware

A decoded payload that contains app transaction information.

https://developer.apple.com/documentation/storekit/apptransaction https://developer.apple.com/documentation/appstoreserverapi/jwsapptransactiondecodedpayload

appAppleId: int | None

The unique identifier the App Store uses to identify the app.

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

appTransactionId: str | None

The unique identifier of the app download transaction.

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

applicationVersion: str | None

The app version that the app transaction applies to.

https://developer.apple.com/documentation/storekit/apptransaction/appversion

bundleId: str | None

The bundle identifier that the app transaction applies to.

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

deviceVerification: str | None

The Base64 device verification value to use to verify whether the app transaction belongs to the device.

https://developer.apple.com/documentation/storekit/apptransaction/deviceverification

deviceVerificationNonce: str | None

The UUID used to compute the device verification value.

https://developer.apple.com/documentation/storekit/apptransaction/deviceverificationnonce

originalApplicationVersion: str | None

The app version that the user originally purchased from the App Store.

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

originalPlatform: PurchasePlatform | None

The platform on which the customer originally purchased the app.

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

originalPurchaseDate: int | None

The date the customer originally purchased the app from the App Store.

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

preorderDate: int | None

The date the customer placed an order for the app before it’s available in the App Store.

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

rawOriginalPlatform: str | None

See originalPlatform

rawReceiptType: str | None

See receiptType

receiptCreationDate: int | None

The date that the App Store signed the JWS app transaction.

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

receiptType: Environment | None

The date that the App Store signed the JWS app transaction.

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

versionExternalIdentifier: int | None

The version external identifier of the app

https://developer.apple.com/documentation/storekit/apptransaction/appversionid