Skip to content

Commit 5d9f8ec

Browse files
[configurationwebhooks] Automated update from Adyen/adyen-openapi@0a007ce
1 parent bec8b08 commit 5d9f8ec

File tree

4 files changed

+235
-184
lines changed

4 files changed

+235
-184
lines changed

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

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

3131
/**
3232
* The three-character [ISO currency
33-
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
33+
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
34+
* amount.
3435
*
3536
* @param currency The three-character [ISO currency
36-
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
37+
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
38+
* amount.
3739
* @return the current {@code Amount} instance, allowing for method chaining
3840
*/
3941
public Amount currency(String currency) {
@@ -43,10 +45,12 @@ public Amount currency(String currency) {
4345

4446
/**
4547
* The three-character [ISO currency
46-
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
48+
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
49+
* amount.
4750
*
4851
* @return currency The three-character [ISO currency
49-
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
52+
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
53+
* amount.
5054
*/
5155
@JsonProperty(JSON_PROPERTY_CURRENCY)
5256
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -56,10 +60,12 @@ public String getCurrency() {
5660

5761
/**
5862
* The three-character [ISO currency
59-
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
63+
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
64+
* amount.
6065
*
6166
* @param currency The three-character [ISO currency
62-
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
67+
* code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the
68+
* amount.
6369
*/
6470
@JsonProperty(JSON_PROPERTY_CURRENCY)
6571
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@@ -68,10 +74,10 @@ public void setCurrency(String currency) {
6874
}
6975

7076
/**
71-
* The amount of the transaction, in [minor
77+
* The numeric value of the amount, in [minor
7278
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
7379
*
74-
* @param value The amount of the transaction, in [minor
80+
* @param value The numeric value of the amount, in [minor
7581
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
7682
* @return the current {@code Amount} instance, allowing for method chaining
7783
*/
@@ -81,10 +87,10 @@ public Amount value(Long value) {
8187
}
8288

8389
/**
84-
* The amount of the transaction, in [minor
90+
* The numeric value of the amount, in [minor
8591
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
8692
*
87-
* @return value The amount of the transaction, in [minor
93+
* @return value The numeric value of the amount, in [minor
8894
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
8995
*/
9096
@JsonProperty(JSON_PROPERTY_VALUE)
@@ -94,10 +100,10 @@ public Long getValue() {
94100
}
95101

96102
/**
97-
* The amount of the transaction, in [minor
103+
* The numeric value of the amount, in [minor
98104
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
99105
*
100-
* @param value The amount of the transaction, in [minor
106+
* @param value The numeric value of the amount, in [minor
101107
* units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
102108
*/
103109
@JsonProperty(JSON_PROPERTY_VALUE)

src/main/java/com/adyen/model/configurationwebhooks/BulkAddress.java

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
BulkAddress.JSON_PROPERTY_LINE2,
2929
BulkAddress.JSON_PROPERTY_LINE3,
3030
BulkAddress.JSON_PROPERTY_MOBILE,
31+
BulkAddress.JSON_PROPERTY_NAME,
3132
BulkAddress.JSON_PROPERTY_POSTAL_CODE,
3233
BulkAddress.JSON_PROPERTY_STATE_OR_PROVINCE,
3334
BulkAddress.JSON_PROPERTY_STREET
@@ -60,6 +61,9 @@ public class BulkAddress {
6061
public static final String JSON_PROPERTY_MOBILE = "mobile";
6162
private String mobile;
6263

64+
public static final String JSON_PROPERTY_NAME = "name";
65+
private String name;
66+
6367
public static final String JSON_PROPERTY_POSTAL_CODE = "postalCode";
6468
private String postalCode;
6569

@@ -377,6 +381,39 @@ public void setMobile(String mobile) {
377381
this.mobile = mobile;
378382
}
379383

384+
/**
385+
* The recipient’s name (person or contact), for example ‘John Doe’.
386+
*
387+
* @param name The recipient’s name (person or contact), for example ‘John Doe’.
388+
* @return the current {@code BulkAddress} instance, allowing for method chaining
389+
*/
390+
public BulkAddress name(String name) {
391+
this.name = name;
392+
return this;
393+
}
394+
395+
/**
396+
* The recipient’s name (person or contact), for example ‘John Doe’.
397+
*
398+
* @return name The recipient’s name (person or contact), for example ‘John Doe’.
399+
*/
400+
@JsonProperty(JSON_PROPERTY_NAME)
401+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
402+
public String getName() {
403+
return name;
404+
}
405+
406+
/**
407+
* The recipient’s name (person or contact), for example ‘John Doe’.
408+
*
409+
* @param name The recipient’s name (person or contact), for example ‘John Doe’.
410+
*/
411+
@JsonProperty(JSON_PROPERTY_NAME)
412+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
413+
public void setName(String name) {
414+
this.name = name;
415+
}
416+
380417
/**
381418
* The postal code. Maximum length: * 5 digits for addresses in the US. * 10 characters for all
382419
* other countries.
@@ -507,6 +544,7 @@ public boolean equals(Object o) {
507544
&& Objects.equals(this.line2, bulkAddress.line2)
508545
&& Objects.equals(this.line3, bulkAddress.line3)
509546
&& Objects.equals(this.mobile, bulkAddress.mobile)
547+
&& Objects.equals(this.name, bulkAddress.name)
510548
&& Objects.equals(this.postalCode, bulkAddress.postalCode)
511549
&& Objects.equals(this.stateOrProvince, bulkAddress.stateOrProvince)
512550
&& Objects.equals(this.street, bulkAddress.street);
@@ -524,6 +562,7 @@ public int hashCode() {
524562
line2,
525563
line3,
526564
mobile,
565+
name,
527566
postalCode,
528567
stateOrProvince,
529568
street);
@@ -542,6 +581,7 @@ public String toString() {
542581
sb.append(" line2: ").append(toIndentedString(line2)).append("\n");
543582
sb.append(" line3: ").append(toIndentedString(line3)).append("\n");
544583
sb.append(" mobile: ").append(toIndentedString(mobile)).append("\n");
584+
sb.append(" name: ").append(toIndentedString(name)).append("\n");
545585
sb.append(" postalCode: ").append(toIndentedString(postalCode)).append("\n");
546586
sb.append(" stateOrProvince: ").append(toIndentedString(stateOrProvince)).append("\n");
547587
sb.append(" street: ").append(toIndentedString(street)).append("\n");

0 commit comments

Comments
 (0)