From 12848ac14753df1088f6647bbf2590fdfbe4cbd2 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Tue, 26 Mar 2024 22:29:18 -0700 Subject: [PATCH] Incorporating changes for App Store Server API v1.10.1 https://developer.apple.com/documentation/appstoreserverapi?changes=latest_minor --- .../storekit/model/JWSTransactionDecodedPayload.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/apple/itunes/storekit/model/JWSTransactionDecodedPayload.java b/src/main/java/com/apple/itunes/storekit/model/JWSTransactionDecodedPayload.java index 66503a7e..547acf3b 100644 --- a/src/main/java/com/apple/itunes/storekit/model/JWSTransactionDecodedPayload.java +++ b/src/main/java/com/apple/itunes/storekit/model/JWSTransactionDecodedPayload.java @@ -94,7 +94,7 @@ public class JWSTransactionDecodedPayload implements DecodedSignedData { @JsonProperty(SERIALIZED_NAME_TRANSACTION_REASON) private String transactionReason; @JsonProperty(SERIALIZED_NAME_PRICE) - private Integer price; + private Long price; @JsonProperty(SERIALIZED_NAME_CURRENCY) private String currency; @JsonProperty(SERIALIZED_NAME_OFFER_DISCOUNT_TYPE) @@ -609,22 +609,22 @@ public void setRawTransactionReason(String rawTransactionReason) { this.transactionReason = rawTransactionReason; } - public JWSTransactionDecodedPayload price(Integer price) { + public JWSTransactionDecodedPayload price(Long price) { this.price = price; return this; } /** - * The price of the in-app purchase or subscription offer that you configured in App Store Connect, as an integer. + * The price, in milliunits, of the in-app purchase or subscription offer that you configured in App Store Connect. * * @return price * @see price **/ - public Integer getPrice() { + public Long getPrice() { return price; } - public void setPrice(Integer price) { + public void setPrice(Long price) { this.price = price; }