Package com.apple.itunes.storekit.model
Class AppTransaction
java.lang.Object
com.apple.itunes.storekit.model.AppTransaction
- All Implemented Interfaces:
DecodedSignedData
Information that represents the customer’s purchase of the app, cryptographically signed by the App Store.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappAppleId
(Long appAppleId) applicationVersion
(String applicationVersion) appTransactionId
(String appTransactionId) deviceVerification
(String deviceVerification) deviceVerificationNonce
(UUID deviceVerificationNonce) boolean
The unique identifier the App Store uses to identify the app.The app version that the app transaction applies to.The unique identifier of the app download transaction.The bundle identifier that the app transaction applies to.The Base64 device verification value to use to verify whether the app transaction belongs to the device.The UUID used to compute the device verification value.The app version that the user originally purchased from the App Store.The platform on which the customer originally purchased the app.The date the user originally purchased the app from the App Store.The date the customer placed an order for the app before it’s available in the App Store.The date that the App Store signed the JWS app transaction.The server environment that signs the app transaction.Fields that are not recognized for this objectThe version external identifier of the appint
hashCode()
originalApplicationVersion
(String originalApplicationVersion) originalPlatform
(PurchasePlatform originalPlatform) originalPurchaseDate
(Long originalPurchaseDate) preorderDate
(Long preorderDate) receiptCreationDate
(Long receiptCreationDate) receiptType
(Environment receiptType) void
setAppAppleId
(Long appAppleId) void
setApplicationVersion
(String applicationVersion) void
setAppTransactionId
(String appTransactionId) void
setBundleId
(String bundleId) void
setDeviceVerification
(String deviceVerification) void
setDeviceVerificationNonce
(UUID deviceVerificationNonce) void
setOriginalApplicationVersion
(String originalApplicationVersion) void
setOriginalPlatform
(PurchasePlatform originalPlatform) void
setOriginalPurchaseDate
(Long originalPurchaseDate) void
setPreorderDate
(Long preorderDate) void
setRawOriginalPlatform
(String rawOriginalPlatform) void
setRawReceiptType
(String rawReceiptType) void
setReceiptCreationDate
(Long receiptCreationDate) void
setReceiptType
(Environment receiptType) void
setUnknownFields
(Map<String, Object> unknownFields) void
setVersionExternalIdentifier
(Long versionExternalIdentifier) toString()
unknownFields
(Map<String, Object> unknownFields) versionExternalIdentifier
(Long versionExternalIdentifier)
-
Constructor Details
-
AppTransaction
public AppTransaction()
-
-
Method Details
-
getReceiptType
The server environment that signs the app transaction.- See Also:
-
getRawReceiptType
- See Also:
-
setReceiptType
-
setRawReceiptType
-
receiptType
-
getAppAppleId
The unique identifier the App Store uses to identify the app.- See Also:
-
setAppAppleId
-
appAppleId
-
getBundleId
The bundle identifier that the app transaction applies to.- See Also:
-
setBundleId
-
bundleId
-
getApplicationVersion
The app version that the app transaction applies to.- See Also:
-
setApplicationVersion
-
applicationVersion
-
getVersionExternalIdentifier
The version external identifier of the app- See Also:
-
setVersionExternalIdentifier
-
versionExternalIdentifier
-
getReceiptCreationDate
The date that the App Store signed the JWS app transaction.- See Also:
-
setReceiptCreationDate
-
receiptCreationDate
-
getOriginalPurchaseDate
The date the user originally purchased the app from the App Store.- See Also:
-
setOriginalPurchaseDate
-
originalPurchaseDate
-
getOriginalApplicationVersion
The app version that the user originally purchased from the App Store.- See Also:
-
setOriginalApplicationVersion
-
originalApplicationVersion
-
getDeviceVerification
The Base64 device verification value to use to verify whether the app transaction belongs to the device.- See Also:
-
setDeviceVerification
-
deviceVerification
-
getDeviceVerificationNonce
The UUID used to compute the device verification value.- See Also:
-
setDeviceVerificationNonce
-
deviceVerificationNonce
-
getPreorderDate
The date the customer placed an order for the app before it’s available in the App Store.- See Also:
-
setPreorderDate
-
preorderDate
-
getAppTransactionId
The unique identifier of the app download transaction.- Returns:
- appTransactionId
- See Also:
-
setAppTransactionId
-
appTransactionId
-
originalPlatform
-
getOriginalPlatform
The platform on which the customer originally purchased the app.- Returns:
- originalPlatform
- See Also:
-
getRawOriginalPlatform
- See Also:
-
setOriginalPlatform
-
setRawOriginalPlatform
-
getUnknownFields
Fields that are not recognized for this object- Returns:
- A map of JSON keys to objects
-
setUnknownFields
-
unknownFields
-
getSignedDate
- Specified by:
getSignedDate
in interfaceDecodedSignedData
-
equals
-
hashCode
public int hashCode() -
toString
-