Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorporating changes for App Store Server API v1.10.1 #77

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading