Package com.apple.itunes.storekit.model
Class JWSTransactionDecodedPayload
java.lang.Object
com.apple.itunes.storekit.model.JWSTransactionDecodedPayload
- All Implemented Interfaces:
DecodedSignedData
A decoded payload containing transaction information.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappAccountToken
(UUID appAccountToken) environment
(Environment environment) boolean
expiresDate
(Long expiresDate) The UUID that an app optionally generates to map a customer’s in-app purchase with its resulting App Store transaction.The bundle identifier of an app.The three-letter ISO 4217 currency code for the price of the product.The server environment, either sandbox or production.The UNIX time, in milliseconds, an auto-renewable subscription expires or renews.A string that describes whether the transaction was purchased by the user, or is available to them through Family Sharing.The Boolean value that indicates whether the user upgraded to another subscription.The payment mode you configure for an introductory offer, promotional offer, or offer code on an auto-renewable subscription.The identifier that contains the promo code or the promotional offer identifier.A value that represents the promotional offer type.The purchase date of the transaction associated with the original transaction identifier.The original transaction identifier of a purchase.getPrice()
The price, in milliunits, of the in-app purchase or subscription offer that you configured in App Store Connect.The unique identifier for the product, that you create in App Store Connect.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.The number of consumable products purchased.The UNIX time, in milliseconds, that Apple Support refunded a transaction.The reason that the App Store refunded the transaction or revoked it from family sharing.The UNIX time, in milliseconds, that the App Store signed the JSON Web Signature data.The three-letter code that represents the country or region associated with the App Store storefront of the purchase.An Apple-defined value that uniquely identifies an App Store storefront.The identifier of the subscription group that the subscription belongs to.The unique identifier for a transaction such as an in-app purchase, restored in-app purchase, or subscription renewal.The cause of a purchase transaction, which indicates whether it’s a customer’s purchase or a renewal for an auto-renewable subscription that the system initiates.getType()
The type of the in-app purchase.Fields that are not recognized for this objectThe unique identifier of subscription-purchase events across devices, including renewals.int
hashCode()
inAppOwnershipType
(InAppOwnershipType inAppOwnershipType) isUpgraded
(Boolean isUpgraded) offerDiscountType
(OfferDiscountType offerDiscountType) offerIdentifier
(String offerIdentifier) originalPurchaseDate
(Long originalPurchaseDate) originalTransactionId
(String originalTransactionId) purchaseDate
(Long purchaseDate) revocationDate
(Long revocationDate) revocationReason
(RevocationReason revocationReason) void
setAppAccountToken
(UUID appAccountToken) void
setBundleId
(String bundleId) void
setCurrency
(String currency) void
setEnvironment
(Environment environment) void
setExpiresDate
(Long expiresDate) void
setInAppOwnershipType
(InAppOwnershipType inAppOwnershipType) void
setIsUpgraded
(Boolean isUpgraded) void
setOfferDiscountType
(OfferDiscountType offerDiscountType) void
setOfferIdentifier
(String offerIdentifier) void
setOfferType
(OfferType offerType) void
setOriginalPurchaseDate
(Long originalPurchaseDate) void
setOriginalTransactionId
(String originalTransactionId) void
void
setProductId
(String productId) void
setPurchaseDate
(Long purchaseDate) void
setQuantity
(Integer quantity) void
setRawEnvironment
(String rawEnvironment) void
setRawInAppOwnershipType
(String rawInAppOwnershipType) void
setRawOfferDiscountType
(String rawOfferDiscountType) void
setRawOfferType
(Integer rawOfferType) void
setRawRevocationReason
(Integer rawRevocationReason) void
setRawTransactionReason
(String rawTransactionReason) void
setRawType
(String rawType) void
setRevocationDate
(Long revocationDate) void
setRevocationReason
(RevocationReason revocationReason) void
setSignedDate
(Long signedDate) void
setStorefront
(String storefront) void
setStorefrontId
(String storefrontId) void
setSubscriptionGroupIdentifier
(String subscriptionGroupIdentifier) void
setTransactionId
(String transactionId) void
setTransactionReason
(TransactionReason transactionReason) void
void
setUnknownFields
(Map<String, Object> unknownFields) void
setWebOrderLineItemId
(String webOrderLineItemId) signedDate
(Long signedDate) storefront
(String storefront) storefrontId
(String storefrontId) subscriptionGroupIdentifier
(String subscriptionGroupIdentifier) toString()
transactionId
(String transactionId) transactionReason
(TransactionReason transactionReason) unknownFields
(Map<String, Object> unknownFields) webOrderLineItemId
(String webOrderLineItemId)
-
Constructor Details
-
JWSTransactionDecodedPayload
public JWSTransactionDecodedPayload()
-
-
Method Details
-
originalTransactionId
-
getOriginalTransactionId
The original transaction identifier of a purchase.- Returns:
- originalTransactionId
- See Also:
-
setOriginalTransactionId
-
transactionId
-
getTransactionId
The unique identifier for a transaction such as an in-app purchase, restored in-app purchase, or subscription renewal.- Returns:
- transactionId
- See Also:
-
setTransactionId
-
webOrderLineItemId
-
getWebOrderLineItemId
The unique identifier of subscription-purchase events across devices, including renewals.- Returns:
- webOrderLineItemId
- See Also:
-
setWebOrderLineItemId
-
bundleId
-
getBundleId
The bundle identifier of an app.- Returns:
- bundleId
- See Also:
-
setBundleId
-
productId
-
getProductId
The unique identifier for the product, that you create in App Store Connect.- Returns:
- productId
- See Also:
-
setProductId
-
subscriptionGroupIdentifier
-
getSubscriptionGroupIdentifier
The identifier of the subscription group that the subscription belongs to.- Returns:
- subscriptionGroupIdentifier
- See Also:
-
setSubscriptionGroupIdentifier
-
purchaseDate
-
getPurchaseDate
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.- Returns:
- purchaseDate
- See Also:
-
setPurchaseDate
-
originalPurchaseDate
-
getOriginalPurchaseDate
The purchase date of the transaction associated with the original transaction identifier.- Returns:
- originalPurchaseDate
- See Also:
-
setOriginalPurchaseDate
-
expiresDate
-
getExpiresDate
The UNIX time, in milliseconds, an auto-renewable subscription expires or renews.- Returns:
- expiresDate
- See Also:
-
setExpiresDate
-
quantity
-
getQuantity
The number of consumable products purchased.- Returns:
- quantity
- See Also:
-
setQuantity
-
type
-
getType
The type of the in-app purchase.- Returns:
- type
- See Also:
-
getRawType
- See Also:
-
setType
-
setRawType
-
appAccountToken
-
getAppAccountToken
The UUID that an app optionally generates to map a customer’s in-app purchase with its resulting App Store transaction.- Returns:
- appAccountToken
- See Also:
-
setAppAccountToken
-
inAppOwnershipType
-
getInAppOwnershipType
A string that describes whether the transaction was purchased by the user, or is available to them through Family Sharing.- Returns:
- inAppOwnershipType
- See Also:
-
getRawInAppOwnershipType
- See Also:
-
setInAppOwnershipType
-
setRawInAppOwnershipType
-
signedDate
-
getSignedDate
The UNIX time, in milliseconds, that the App Store signed the JSON Web Signature data.- Specified by:
getSignedDate
in interfaceDecodedSignedData
- Returns:
- signedDate
- See Also:
-
setSignedDate
-
revocationReason
-
getRevocationReason
The reason that the App Store refunded the transaction or revoked it from family sharing.- Returns:
- revocationReason
- See Also:
-
getRawRevocationReason
- See Also:
-
setRevocationReason
-
setRawRevocationReason
-
revocationDate
-
getRevocationDate
The UNIX time, in milliseconds, that Apple Support refunded a transaction.- Returns:
- revocationDate
- See Also:
-
setRevocationDate
-
isUpgraded
-
getIsUpgraded
The Boolean value that indicates whether the user upgraded to another subscription.- Returns:
- isUpgraded
- See Also:
-
setIsUpgraded
-
offerType
-
getOfferType
A value that represents the promotional offer type.- Returns:
- offerType
- See Also:
-
getRawOfferType
- See Also:
-
setOfferType
-
setRawOfferType
-
offerIdentifier
-
getOfferIdentifier
The identifier that contains the promo code or the promotional offer identifier.- Returns:
- offerIdentifier
- See Also:
-
setOfferIdentifier
-
environment
-
getEnvironment
The server environment, either sandbox or production.- Returns:
- environment
- See Also:
-
getRawEnvironment
- See Also:
-
setEnvironment
-
setRawEnvironment
-
storefront
-
getStorefront
The three-letter code that represents the country or region associated with the App Store storefront of the purchase.- Returns:
- storefront
- See Also:
-
setStorefront
-
storefrontId
-
getStorefrontId
An Apple-defined value that uniquely identifies an App Store storefront.- Returns:
- storefrontId
- See Also:
-
setStorefrontId
-
transactionReason
-
getTransactionReason
The cause of a purchase transaction, which indicates whether it’s a customer’s purchase or a renewal for an auto-renewable subscription that the system initiates.- Returns:
- transactionReason
- See Also:
-
getRawTransactionReason
- See Also:
-
setTransactionReason
-
setRawTransactionReason
-
price
-
getPrice
The price, in milliunits, of the in-app purchase or subscription offer that you configured in App Store Connect.- Returns:
- price
- See Also:
-
setPrice
-
currency
-
getCurrency
The three-letter ISO 4217 currency code for the price of the product.- Returns:
- currency
- See Also:
-
setCurrency
-
offerDiscountType
-
getOfferDiscountType
The payment mode you configure for an introductory offer, promotional offer, or offer code on an auto-renewable subscription.- Returns:
- offerDiscountType
- See Also:
-
getRawOfferDiscountType
- See Also:
-
setOfferDiscountType
-
setRawOfferDiscountType
-
unknownFields
-
getUnknownFields
Fields that are not recognized for this object- Returns:
- A map of JSON keys to objects
-
setUnknownFields
-
equals
-
hashCode
public int hashCode() -
toString
-