From 2400bbbb8d82c0ba6f1dc3c38a30ed41a79a516a Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Wed, 11 Mar 2026 09:30:05 -0700 Subject: [PATCH] Updating AppTransaction documentation --- .../itunes/storekit/model/AppTransaction.java | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/src/main/java/com/apple/itunes/storekit/model/AppTransaction.java b/src/main/java/com/apple/itunes/storekit/model/AppTransaction.java index 17e5f41a..1e1429ce 100644 --- a/src/main/java/com/apple/itunes/storekit/model/AppTransaction.java +++ b/src/main/java/com/apple/itunes/storekit/model/AppTransaction.java @@ -9,9 +9,10 @@ import java.util.UUID; /** - Information that represents the customer’s purchase of the app, cryptographically signed by the App Store. + A decoded payload that contains app transaction information. @see AppTransaction + @see JWSAppTransactionDecodedPayload */ public class AppTransaction implements DecodedSignedData { @@ -62,9 +63,9 @@ public class AppTransaction implements DecodedSignedData { private Map unknownFields; /** - The server environment that signs the app transaction. + The date that the App Store signed the JWS app transaction. - @see environment + @see environment */ public Environment getReceiptType() { return this.receiptType != null ? Environment.fromValue(this.receiptType) : null; @@ -93,7 +94,7 @@ public AppTransaction receiptType(Environment receiptType) { /** The unique identifier the App Store uses to identify the app. - @see appId + @see appId */ public Long getAppAppleId() { return this.appAppleId; @@ -111,7 +112,7 @@ public AppTransaction appAppleId(Long appAppleId) { /** The bundle identifier that the app transaction applies to. - @see bundleId + @see bundleId */ public String getBundleId() { return this.bundleId; @@ -129,7 +130,7 @@ public AppTransaction bundleId(String bundleId) { /** The app version that the app transaction applies to. - @see appVersion + @see appVersion */ public String getApplicationVersion() { return this.applicationVersion; @@ -147,7 +148,7 @@ public AppTransaction applicationVersion(String applicationVersion) { /** The version external identifier of the app - @see appVersionID + @see appVersionID */ public Long getVersionExternalIdentifier() { return this.versionExternalIdentifier; @@ -165,7 +166,7 @@ public AppTransaction versionExternalIdentifier(Long versionExternalIdentifier) /** The date that the App Store signed the JWS app transaction. - @see signedDate + @see receiptCreationDate */ public Long getReceiptCreationDate() { return this.receiptCreationDate; @@ -181,9 +182,9 @@ public AppTransaction receiptCreationDate(Long receiptCreationDate) { } /** - The date the user originally purchased the app from the App Store. + The date the customer originally purchased the app from the App Store. - @see originalPurchaseDate + @see originalPurchaseDate */ public Long getOriginalPurchaseDate() { return this.originalPurchaseDate; @@ -201,7 +202,7 @@ public AppTransaction originalPurchaseDate(Long originalPurchaseDate) { /** The app version that the user originally purchased from the App Store. - @see originalAppVersion + @see originalAppVersion */ public String getOriginalApplicationVersion() { return this.originalApplicationVersion; @@ -219,7 +220,7 @@ public AppTransaction originalApplicationVersion(String originalApplicationVersi /** The Base64 device verification value to use to verify whether the app transaction belongs to the device. - @see deviceVerification + @see deviceVerification */ public String getDeviceVerification() { return this.deviceVerification; @@ -237,7 +238,7 @@ public AppTransaction deviceVerification(String deviceVerification) { /** The UUID used to compute the device verification value. - @see deviceVerificationNonce + @see deviceVerificationNonce */ public UUID getDeviceVerificationNonce() { return deviceVerificationNonce; @@ -256,7 +257,7 @@ public AppTransaction deviceVerificationNonce(UUID deviceVerificationNonce) { /** The date the customer placed an order for the app before it’s available in the App Store. - @see preorderDate + @see preorderDate */ public Long getPreorderDate() { return preorderDate; @@ -275,7 +276,7 @@ public AppTransaction preorderDate(Long preorderDate) { * The unique identifier of the app download transaction. * * @return appTransactionId - * @see appTransactionId + * @see appTransactionId **/ public String getAppTransactionId() { return this.appTransactionId; @@ -299,7 +300,7 @@ public AppTransaction originalPlatform(PurchasePlatform originalPlatform) { * The platform on which the customer originally purchased the app. * * @return originalPlatform - * @see originalPlatform + * @see originalPlatform **/ public PurchasePlatform getOriginalPlatform() { return originalPlatform != null ? PurchasePlatform.fromValue(originalPlatform) : null;