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

Information that represents the customer’s purchase of the app, cryptographically signed by the App Store.

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

appAppleId: int | None

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

https://developer.apple.com/documentation/storekit/apptransaction/3954436-appid

appTransactionId: str | None

The unique identifier of the app download transaction.

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

applicationVersion: str | None

The app version that the app transaction applies to.

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

bundleId: str | None

The bundle identifier that the app transaction applies to.

https://developer.apple.com/documentation/storekit/apptransaction/3954439-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/3954441-deviceverification

deviceVerificationNonce: str | None

The UUID used to compute the device verification value.

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

originalApplicationVersion: str | None

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

https://developer.apple.com/documentation/storekit/apptransaction/3954447-originalappversion

originalPlatform: PurchasePlatform | None

The platform on which the customer originally purchased the app.

https://developer.apple.com/documentation/storekit/apptransaction/originalplatform-4mogz

originalPurchaseDate: int | None

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

https://developer.apple.com/documentation/storekit/apptransaction/3954448-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/storekit/apptransaction/4013175-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/storekit/apptransaction/3954449-signeddate

receiptType: Environment | None

The server environment that signs the app transaction.

https://developer.apple.com/documentation/storekit/apptransaction/3963901-environment

versionExternalIdentifier: int | None

The version external identifier of the app

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