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

Update all services #1369

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
46 changes: 26 additions & 20 deletions src/main/java/com/adyen/model/acswebhooks/Amount.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,66 +45,72 @@ public class Amount {
public Amount() {
}

/**
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
*
* @param currency
* @return the current {@code Amount} instance, allowing for method chaining
*/
public Amount currency(String currency) {
this.currency = currency;
return this;
}

/**
/**
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
* @return currency
**/
*/
@ApiModelProperty(required = true, value = "The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).")
@JsonProperty(JSON_PROPERTY_CURRENCY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public String getCurrency() {
return currency;
}


/**
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
*
* @param currency
*/
/**
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
*
* @param currency
*/
@JsonProperty(JSON_PROPERTY_CURRENCY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCurrency(String currency) {
this.currency = currency;
}


/**
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
*
* @param value
* @return the current {@code Amount} instance, allowing for method chaining
*/
public Amount value(Long value) {
this.value = value;
return this;
}

/**
/**
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
* @return value
**/
*/
@ApiModelProperty(required = true, value = "The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).")
@JsonProperty(JSON_PROPERTY_VALUE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public Long getValue() {
return value;
}


/**
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
*
* @param value
*/
/**
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
*
* @param value
*/
@JsonProperty(JSON_PROPERTY_VALUE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setValue(Long value) {
this.value = value;
}


/**
* Return true if this Amount object is equal to o.
*/
Expand Down
Loading
Loading