Skip to content

Commit 45d497d

Browse files
Merge pull request #77 from alexanderjordanbaker/ASSA1.10.1
Incorporating changes for App Store Server API v1.10.1
2 parents e0b9302 + 12848ac commit 45d497d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/java/com/apple/itunes/storekit/model/JWSTransactionDecodedPayload.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public class JWSTransactionDecodedPayload implements DecodedSignedData {
9494
@JsonProperty(SERIALIZED_NAME_TRANSACTION_REASON)
9595
private String transactionReason;
9696
@JsonProperty(SERIALIZED_NAME_PRICE)
97-
private Integer price;
97+
private Long price;
9898
@JsonProperty(SERIALIZED_NAME_CURRENCY)
9999
private String currency;
100100
@JsonProperty(SERIALIZED_NAME_OFFER_DISCOUNT_TYPE)
@@ -609,22 +609,22 @@ public void setRawTransactionReason(String rawTransactionReason) {
609609
this.transactionReason = rawTransactionReason;
610610
}
611611

612-
public JWSTransactionDecodedPayload price(Integer price) {
612+
public JWSTransactionDecodedPayload price(Long price) {
613613
this.price = price;
614614
return this;
615615
}
616616

617617
/**
618-
* The price of the in-app purchase or subscription offer that you configured in App Store Connect, as an integer.
618+
* The price, in milliunits, of the in-app purchase or subscription offer that you configured in App Store Connect.
619619
*
620620
* @return price
621621
* @see <a href="https://developer.apple.com/documentation/appstoreserverapi/price">price</a>
622622
**/
623-
public Integer getPrice() {
623+
public Long getPrice() {
624624
return price;
625625
}
626626

627-
public void setPrice(Integer price) {
627+
public void setPrice(Long price) {
628628
this.price = price;
629629
}
630630

0 commit comments

Comments
 (0)