Skip to content

Commit

Permalink
Merge pull request #77 from alexanderjordanbaker/ASSA1.10.1
Browse files Browse the repository at this point in the history
Incorporating changes for App Store Server API v1.10.1
  • Loading branch information
alexanderjordanbaker authored Mar 28, 2024
2 parents e0b9302 + 12848ac commit 45d497d
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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 <a href="https://developer.apple.com/documentation/appstoreserverapi/price">price</a>
**/
public Integer getPrice() {
public Long getPrice() {
return price;
}

public void setPrice(Integer price) {
public void setPrice(Long price) {
this.price = price;
}

Expand Down

0 comments on commit 45d497d

Please sign in to comment.