Skip to content

Commit 8064691

Browse files
[storedvalue] Automated update from Adyen/adyen-openapi@0a007ce
1 parent 2c4b657 commit 8064691

File tree

2 files changed

+25
-19
lines changed

2 files changed

+25
-19
lines changed

src/main/java/com/adyen/model/storedvalue/Amount.java

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@ public Amount() {}
4444

4545
/**
4646
* The three-character [ISO currency
47-
* code](https://docs.adyen.com/development-resources/currency-codes).
47+
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
48+
* amount.
4849
*
4950
* @param currency The three-character [ISO currency
50-
* code](https://docs.adyen.com/development-resources/currency-codes).
51+
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
52+
* amount.
5153
* @return the current {@code Amount} instance, allowing for method chaining
5254
*/
5355
public Amount currency(String currency) {
@@ -58,10 +60,12 @@ public Amount currency(String currency) {
5860

5961
/**
6062
* The three-character [ISO currency
61-
* code](https://docs.adyen.com/development-resources/currency-codes).
63+
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
64+
* amount.
6265
*
6366
* @return currency The three-character [ISO currency
64-
* code](https://docs.adyen.com/development-resources/currency-codes).
67+
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
68+
* amount.
6569
*/
6670
@JsonProperty(JSON_PROPERTY_CURRENCY)
6771
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -71,10 +75,12 @@ public String getCurrency() {
7175

7276
/**
7377
* The three-character [ISO currency
74-
* code](https://docs.adyen.com/development-resources/currency-codes).
78+
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
79+
* amount.
7580
*
7681
* @param currency The three-character [ISO currency
77-
* code](https://docs.adyen.com/development-resources/currency-codes).
82+
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
83+
* amount.
7884
*/
7985
@JsonProperty(JSON_PROPERTY_CURRENCY)
8086
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -84,11 +90,11 @@ public void setCurrency(String currency) {
8490
}
8591

8692
/**
87-
* The amount of the transaction, in [minor
88-
* units](https://docs.adyen.com/development-resources/currency-codes).
93+
* The numeric value of the amount, in [minor
94+
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
8995
*
90-
* @param value The amount of the transaction, in [minor
91-
* units](https://docs.adyen.com/development-resources/currency-codes).
96+
* @param value The numeric value of the amount, in [minor
97+
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
9298
* @return the current {@code Amount} instance, allowing for method chaining
9399
*/
94100
public Amount value(Long value) {
@@ -98,11 +104,11 @@ public Amount value(Long value) {
98104
}
99105

100106
/**
101-
* The amount of the transaction, in [minor
102-
* units](https://docs.adyen.com/development-resources/currency-codes).
107+
* The numeric value of the amount, in [minor
108+
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
103109
*
104-
* @return value The amount of the transaction, in [minor
105-
* units](https://docs.adyen.com/development-resources/currency-codes).
110+
* @return value The numeric value of the amount, in [minor
111+
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
106112
*/
107113
@JsonProperty(JSON_PROPERTY_VALUE)
108114
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -111,11 +117,11 @@ public Long getValue() {
111117
}
112118

113119
/**
114-
* The amount of the transaction, in [minor
115-
* units](https://docs.adyen.com/development-resources/currency-codes).
120+
* The numeric value of the amount, in [minor
121+
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
116122
*
117-
* @param value The amount of the transaction, in [minor
118-
* units](https://docs.adyen.com/development-resources/currency-codes).
123+
* @param value The numeric value of the amount, in [minor
124+
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
119125
*/
120126
@JsonProperty(JSON_PROPERTY_VALUE)
121127
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

src/test/java/com/adyen/CheckoutTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ public void testForwardCardDetails() throws Exception {
889889

890890
CheckoutForwardResponse response = recurringApi.forward(checkoutForwardRequest);
891891

892-
assertNull(response.getStoredPaymentMethodId()); // card is not tokenized
892+
assertNull(response.getStoredPaymentMethodId()); // card is not tokenized
893893
assertNotNull(response.getResponse());
894894
assertEquals(200, (int) response.getResponse().getStatus());
895895
assertTrue(response.getResponse().getBody().contains("PAYMENT_METHOD_ID"));

0 commit comments

Comments
 (0)