Skip to content
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 18 additions & 12 deletions src/main/java/com/adyen/model/transactionwebhooks/Amount.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ public Amount() {}

/**
* The three-character [ISO currency
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
* amount.
*
* @param currency The three-character [ISO currency
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
* amount.
* @return the current {@code Amount} instance, allowing for method chaining
*/
public Amount currency(String currency) {
Expand All @@ -43,10 +45,12 @@ public Amount currency(String currency) {

/**
* The three-character [ISO currency
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
* amount.
*
* @return currency The three-character [ISO currency
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
* amount.
*/
@JsonProperty(JSON_PROPERTY_CURRENCY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand All @@ -56,10 +60,12 @@ public String getCurrency() {

/**
* The three-character [ISO currency
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
* amount.
*
* @param currency The three-character [ISO currency
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
* amount.
*/
@JsonProperty(JSON_PROPERTY_CURRENCY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
Expand All @@ -68,10 +74,10 @@ public void setCurrency(String currency) {
}

/**
* The amount of the transaction, in [minor
* The numeric value of the amount, in [minor
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
*
* @param value The amount of the transaction, in [minor
* @param value The numeric value of the amount, in [minor
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
* @return the current {@code Amount} instance, allowing for method chaining
*/
Expand All @@ -81,10 +87,10 @@ public Amount value(Long value) {
}

/**
* The amount of the transaction, in [minor
* The numeric value of the amount, in [minor
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
*
* @return value The amount of the transaction, in [minor
* @return value The numeric value of the amount, in [minor
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
*/
@JsonProperty(JSON_PROPERTY_VALUE)
Expand All @@ -94,10 +100,10 @@ public Long getValue() {
}

/**
* The amount of the transaction, in [minor
* The numeric value of the amount, in [minor
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
*
* @param value The amount of the transaction, in [minor
* @param value The numeric value of the amount, in [minor
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
*/
@JsonProperty(JSON_PROPERTY_VALUE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ public class BankCategoryData {
/**
* The priority for the bank transfer. This sets the speed at which the transfer is sent and the
* fees that you have to pay. Required for transfers with `category` **bank**. Possible
* values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer
* values: * **regular**: For normal, low-value transactions. * **fast**: A faster way to transfer
* funds, but the fees are higher. Recommended for high-priority, low-value transactions. *
* **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for
* high-priority, high-value transactions. * **instant**: for instant funds transfers within the
* **wire**: The fastest way to transfer funds, but this has the highest fees. Recommended for
* high-priority, high-value transactions. * **instant**: For instant funds transfers within the
* United States and in [SEPA
* locations](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). *
* **crossBorder**: for high-value transfers to a recipient in a different country. *
* **internal**: for transfers to an Adyen-issued business bank account (by bank account
* **crossBorder**: For high-value transfers to a recipient in a different country. *
* **internal**: For transfers to an Adyen-issued business bank account (by bank account
* number/IBAN).
*/
public enum PriorityEnum {
Expand Down Expand Up @@ -135,26 +135,26 @@ public BankCategoryData() {}
/**
* The priority for the bank transfer. This sets the speed at which the transfer is sent and the
* fees that you have to pay. Required for transfers with `category` **bank**. Possible
* values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer
* values: * **regular**: For normal, low-value transactions. * **fast**: A faster way to transfer
* funds, but the fees are higher. Recommended for high-priority, low-value transactions. *
* **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for
* high-priority, high-value transactions. * **instant**: for instant funds transfers within the
* **wire**: The fastest way to transfer funds, but this has the highest fees. Recommended for
* high-priority, high-value transactions. * **instant**: For instant funds transfers within the
* United States and in [SEPA
* locations](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). *
* **crossBorder**: for high-value transfers to a recipient in a different country. *
* **internal**: for transfers to an Adyen-issued business bank account (by bank account
* **crossBorder**: For high-value transfers to a recipient in a different country. *
* **internal**: For transfers to an Adyen-issued business bank account (by bank account
* number/IBAN).
*
* @param priority The priority for the bank transfer. This sets the speed at which the transfer
* is sent and the fees that you have to pay. Required for transfers with `category`
* **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a
* **bank**. Possible values: * **regular**: For normal, low-value transactions. * **fast**: A
* faster way to transfer funds, but the fees are higher. Recommended for high-priority,
* low-value transactions. * **wire**: the fastest way to transfer funds, but this has the
* highest fees. Recommended for high-priority, high-value transactions. * **instant**: for
* low-value transactions. * **wire**: The fastest way to transfer funds, but this has the
* highest fees. Recommended for high-priority, high-value transactions. * **instant**: For
* instant funds transfers within the United States and in [SEPA
* locations](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). *
* **crossBorder**: for high-value transfers to a recipient in a different country. *
* **internal**: for transfers to an Adyen-issued business bank account (by bank account
* **crossBorder**: For high-value transfers to a recipient in a different country. *
* **internal**: For transfers to an Adyen-issued business bank account (by bank account
* number/IBAN).
* @return the current {@code BankCategoryData} instance, allowing for method chaining
*/
Expand All @@ -166,26 +166,26 @@ public BankCategoryData priority(PriorityEnum priority) {
/**
* The priority for the bank transfer. This sets the speed at which the transfer is sent and the
* fees that you have to pay. Required for transfers with `category` **bank**. Possible
* values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer
* values: * **regular**: For normal, low-value transactions. * **fast**: A faster way to transfer
* funds, but the fees are higher. Recommended for high-priority, low-value transactions. *
* **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for
* high-priority, high-value transactions. * **instant**: for instant funds transfers within the
* **wire**: The fastest way to transfer funds, but this has the highest fees. Recommended for
* high-priority, high-value transactions. * **instant**: For instant funds transfers within the
* United States and in [SEPA
* locations](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). *
* **crossBorder**: for high-value transfers to a recipient in a different country. *
* **internal**: for transfers to an Adyen-issued business bank account (by bank account
* **crossBorder**: For high-value transfers to a recipient in a different country. *
* **internal**: For transfers to an Adyen-issued business bank account (by bank account
* number/IBAN).
*
* @return priority The priority for the bank transfer. This sets the speed at which the transfer
* is sent and the fees that you have to pay. Required for transfers with `category`
* **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a
* **bank**. Possible values: * **regular**: For normal, low-value transactions. * **fast**: A
* faster way to transfer funds, but the fees are higher. Recommended for high-priority,
* low-value transactions. * **wire**: the fastest way to transfer funds, but this has the
* highest fees. Recommended for high-priority, high-value transactions. * **instant**: for
* low-value transactions. * **wire**: The fastest way to transfer funds, but this has the
* highest fees. Recommended for high-priority, high-value transactions. * **instant**: For
* instant funds transfers within the United States and in [SEPA
* locations](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). *
* **crossBorder**: for high-value transfers to a recipient in a different country. *
* **internal**: for transfers to an Adyen-issued business bank account (by bank account
* **crossBorder**: For high-value transfers to a recipient in a different country. *
* **internal**: For transfers to an Adyen-issued business bank account (by bank account
* number/IBAN).
*/
@JsonProperty(JSON_PROPERTY_PRIORITY)
Expand All @@ -197,26 +197,26 @@ public PriorityEnum getPriority() {
/**
* The priority for the bank transfer. This sets the speed at which the transfer is sent and the
* fees that you have to pay. Required for transfers with `category` **bank**. Possible
* values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer
* values: * **regular**: For normal, low-value transactions. * **fast**: A faster way to transfer
* funds, but the fees are higher. Recommended for high-priority, low-value transactions. *
* **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for
* high-priority, high-value transactions. * **instant**: for instant funds transfers within the
* **wire**: The fastest way to transfer funds, but this has the highest fees. Recommended for
* high-priority, high-value transactions. * **instant**: For instant funds transfers within the
* United States and in [SEPA
* locations](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). *
* **crossBorder**: for high-value transfers to a recipient in a different country. *
* **internal**: for transfers to an Adyen-issued business bank account (by bank account
* **crossBorder**: For high-value transfers to a recipient in a different country. *
* **internal**: For transfers to an Adyen-issued business bank account (by bank account
* number/IBAN).
*
* @param priority The priority for the bank transfer. This sets the speed at which the transfer
* is sent and the fees that you have to pay. Required for transfers with `category`
* **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a
* **bank**. Possible values: * **regular**: For normal, low-value transactions. * **fast**: A
* faster way to transfer funds, but the fees are higher. Recommended for high-priority,
* low-value transactions. * **wire**: the fastest way to transfer funds, but this has the
* highest fees. Recommended for high-priority, high-value transactions. * **instant**: for
* low-value transactions. * **wire**: The fastest way to transfer funds, but this has the
* highest fees. Recommended for high-priority, high-value transactions. * **instant**: For
* instant funds transfers within the United States and in [SEPA
* locations](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). *
* **crossBorder**: for high-value transfers to a recipient in a different country. *
* **internal**: for transfers to an Adyen-issued business bank account (by bank account
* **crossBorder**: For high-value transfers to a recipient in a different country. *
* **internal**: For transfers to an Adyen-issued business bank account (by bank account
* number/IBAN).
*/
@JsonProperty(JSON_PROPERTY_PRIORITY)
Expand Down
Loading