Skip to content

Commit abcd3f4

Browse files
[balanceplatform] Automated update from Adyen/adyen-openapi@ab42e88
1 parent 4a7c8d4 commit abcd3f4

20 files changed

Lines changed: 2560 additions & 93 deletions
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"service": "balanceplatform",
3+
"project": "java",
4+
"generatedAt": "2026-04-13T10:16:31Z",
5+
"openapiCommitSha": "ab42e887fd36d43b82acbd9ff6ea3f5957c43a2e",
6+
"automationCommitSha": "855b6c5526cb5fae757e921687c38df66d31dc4b",
7+
"libraryCommitSha": "4a7c8d4eb02058d9d3215ba0497d4b2aa8905bea"
8+
}

src/main/java/com/adyen/model/balanceplatform/AccountHolder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ public class AccountHolder {
5656
private boolean isSetCapabilities = false;
5757

5858
public static final String JSON_PROPERTY_CONTACT_DETAILS = "contactDetails";
59-
@Deprecated // deprecated
60-
private ContactDetails contactDetails;
59+
/* deprecated */
60+
@Deprecated private ContactDetails contactDetails;
6161

6262
/** Mark when the attribute has been explicitly set. */
6363
private boolean isSetContactDetails = false;
@@ -311,7 +311,7 @@ public void setCapabilities(Map<String, AccountHolderCapability> capabilities) {
311311
* @return the current {@code AccountHolder} instance, allowing for method chaining
312312
* @deprecated
313313
*/
314-
@Deprecated // deprecated
314+
@Deprecated
315315
public AccountHolder contactDetails(ContactDetails contactDetails) {
316316
this.contactDetails = contactDetails;
317317
isSetContactDetails = true; // mark as set
@@ -322,9 +322,9 @@ public AccountHolder contactDetails(ContactDetails contactDetails) {
322322
* Get contactDetails
323323
*
324324
* @return contactDetails
325-
* @deprecated // deprecated
325+
* @deprecated
326326
*/
327-
@Deprecated // deprecated
327+
@Deprecated
328328
@JsonProperty(JSON_PROPERTY_CONTACT_DETAILS)
329329
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
330330
public ContactDetails getContactDetails() {
@@ -337,7 +337,7 @@ public ContactDetails getContactDetails() {
337337
* @param contactDetails
338338
* @deprecated
339339
*/
340-
@Deprecated // deprecated
340+
@Deprecated
341341
@JsonProperty(JSON_PROPERTY_CONTACT_DETAILS)
342342
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
343343
public void setContactDetails(ContactDetails contactDetails) {

src/main/java/com/adyen/model/balanceplatform/AccountHolderInfo.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public class AccountHolderInfo {
4848
private boolean isSetCapabilities = false;
4949

5050
public static final String JSON_PROPERTY_CONTACT_DETAILS = "contactDetails";
51-
@Deprecated // deprecated
52-
private ContactDetails contactDetails;
51+
/* deprecated */
52+
@Deprecated private ContactDetails contactDetails;
5353

5454
/** Mark when the attribute has been explicitly set. */
5555
private boolean isSetContactDetails = false;
@@ -225,7 +225,7 @@ public void setCapabilities(Map<String, AccountHolderCapability> capabilities) {
225225
* @return the current {@code AccountHolderInfo} instance, allowing for method chaining
226226
* @deprecated
227227
*/
228-
@Deprecated // deprecated
228+
@Deprecated
229229
public AccountHolderInfo contactDetails(ContactDetails contactDetails) {
230230
this.contactDetails = contactDetails;
231231
isSetContactDetails = true; // mark as set
@@ -236,9 +236,9 @@ public AccountHolderInfo contactDetails(ContactDetails contactDetails) {
236236
* Get contactDetails
237237
*
238238
* @return contactDetails
239-
* @deprecated // deprecated
239+
* @deprecated
240240
*/
241-
@Deprecated // deprecated
241+
@Deprecated
242242
@JsonProperty(JSON_PROPERTY_CONTACT_DETAILS)
243243
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
244244
public ContactDetails getContactDetails() {
@@ -251,7 +251,7 @@ public ContactDetails getContactDetails() {
251251
* @param contactDetails
252252
* @deprecated
253253
*/
254-
@Deprecated // deprecated
254+
@Deprecated
255255
@JsonProperty(JSON_PROPERTY_CONTACT_DETAILS)
256256
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
257257
public void setContactDetails(ContactDetails contactDetails) {

src/main/java/com/adyen/model/balanceplatform/AccountHolderUpdateRequest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public class AccountHolderUpdateRequest {
5454
private boolean isSetCapabilities = false;
5555

5656
public static final String JSON_PROPERTY_CONTACT_DETAILS = "contactDetails";
57-
@Deprecated // deprecated
58-
private ContactDetails contactDetails;
57+
/* deprecated */
58+
@Deprecated private ContactDetails contactDetails;
5959

6060
/** Mark when the attribute has been explicitly set. */
6161
private boolean isSetContactDetails = false;
@@ -297,7 +297,7 @@ public void setCapabilities(Map<String, AccountHolderCapability> capabilities) {
297297
* @return the current {@code AccountHolderUpdateRequest} instance, allowing for method chaining
298298
* @deprecated
299299
*/
300-
@Deprecated // deprecated
300+
@Deprecated
301301
public AccountHolderUpdateRequest contactDetails(ContactDetails contactDetails) {
302302
this.contactDetails = contactDetails;
303303
isSetContactDetails = true; // mark as set
@@ -308,9 +308,9 @@ public AccountHolderUpdateRequest contactDetails(ContactDetails contactDetails)
308308
* Get contactDetails
309309
*
310310
* @return contactDetails
311-
* @deprecated // deprecated
311+
* @deprecated
312312
*/
313-
@Deprecated // deprecated
313+
@Deprecated
314314
@JsonProperty(JSON_PROPERTY_CONTACT_DETAILS)
315315
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
316316
public ContactDetails getContactDetails() {
@@ -323,7 +323,7 @@ public ContactDetails getContactDetails() {
323323
* @param contactDetails
324324
* @deprecated
325325
*/
326-
@Deprecated // deprecated
326+
@Deprecated
327327
@JsonProperty(JSON_PROPERTY_CONTACT_DETAILS)
328328
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
329329
public void setContactDetails(ContactDetails contactDetails) {

src/main/java/com/adyen/model/balanceplatform/InvalidField.java

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,17 @@
2121

2222
/** InvalidField */
2323
@JsonPropertyOrder({
24+
InvalidField.JSON_PROPERTY_MESSAGE,
2425
InvalidField.JSON_PROPERTY_NAME,
25-
InvalidField.JSON_PROPERTY_VALUE,
26-
InvalidField.JSON_PROPERTY_MESSAGE
26+
InvalidField.JSON_PROPERTY_VALUE
2727
})
2828
public class InvalidField {
29+
public static final String JSON_PROPERTY_MESSAGE = "message";
30+
private String message;
31+
32+
/** Mark when the attribute has been explicitly set. */
33+
private boolean isSetMessage = false;
34+
2935
public static final String JSON_PROPERTY_NAME = "name";
3036
private String name;
3137

@@ -38,12 +44,6 @@ public class InvalidField {
3844
/** Mark when the attribute has been explicitly set. */
3945
private boolean isSetValue = false;
4046

41-
public static final String JSON_PROPERTY_MESSAGE = "message";
42-
private String message;
43-
44-
/** Mark when the attribute has been explicitly set. */
45-
private boolean isSetMessage = false;
46-
4747
/**
4848
* Sets whether attributes with null values should be explicitly included in the JSON payload.
4949
* Default is false.
@@ -52,6 +52,41 @@ public class InvalidField {
5252

5353
public InvalidField() {}
5454

55+
/**
56+
* Description of the validation error.
57+
*
58+
* @param message Description of the validation error.
59+
* @return the current {@code InvalidField} instance, allowing for method chaining
60+
*/
61+
public InvalidField message(String message) {
62+
this.message = message;
63+
isSetMessage = true; // mark as set
64+
return this;
65+
}
66+
67+
/**
68+
* Description of the validation error.
69+
*
70+
* @return message Description of the validation error.
71+
*/
72+
@JsonProperty(JSON_PROPERTY_MESSAGE)
73+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
74+
public String getMessage() {
75+
return message;
76+
}
77+
78+
/**
79+
* Description of the validation error.
80+
*
81+
* @param message Description of the validation error.
82+
*/
83+
@JsonProperty(JSON_PROPERTY_MESSAGE)
84+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
85+
public void setMessage(String message) {
86+
this.message = message;
87+
isSetMessage = true; // mark as set
88+
}
89+
5590
/**
5691
* The field that has an invalid value.
5792
*
@@ -122,41 +157,6 @@ public void setValue(String value) {
122157
isSetValue = true; // mark as set
123158
}
124159

125-
/**
126-
* Description of the validation error.
127-
*
128-
* @param message Description of the validation error.
129-
* @return the current {@code InvalidField} instance, allowing for method chaining
130-
*/
131-
public InvalidField message(String message) {
132-
this.message = message;
133-
isSetMessage = true; // mark as set
134-
return this;
135-
}
136-
137-
/**
138-
* Description of the validation error.
139-
*
140-
* @return message Description of the validation error.
141-
*/
142-
@JsonProperty(JSON_PROPERTY_MESSAGE)
143-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
144-
public String getMessage() {
145-
return message;
146-
}
147-
148-
/**
149-
* Description of the validation error.
150-
*
151-
* @param message Description of the validation error.
152-
*/
153-
@JsonProperty(JSON_PROPERTY_MESSAGE)
154-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
155-
public void setMessage(String message) {
156-
this.message = message;
157-
isSetMessage = true; // mark as set
158-
}
159-
160160
/**
161161
* Configures whether null values are explicitly serialized in the JSON payload. Default is false.
162162
*/
@@ -187,26 +187,26 @@ public boolean equals(Object o) {
187187
return false;
188188
}
189189
InvalidField invalidField = (InvalidField) o;
190-
return Objects.equals(this.name, invalidField.name)
190+
return Objects.equals(this.message, invalidField.message)
191+
&& Objects.equals(this.isSetMessage, invalidField.isSetMessage)
192+
&& Objects.equals(this.name, invalidField.name)
191193
&& Objects.equals(this.isSetName, invalidField.isSetName)
192194
&& Objects.equals(this.value, invalidField.value)
193-
&& Objects.equals(this.isSetValue, invalidField.isSetValue)
194-
&& Objects.equals(this.message, invalidField.message)
195-
&& Objects.equals(this.isSetMessage, invalidField.isSetMessage);
195+
&& Objects.equals(this.isSetValue, invalidField.isSetValue);
196196
}
197197

198198
@Override
199199
public int hashCode() {
200-
return Objects.hash(name, isSetName, value, isSetValue, message, isSetMessage);
200+
return Objects.hash(message, isSetMessage, name, isSetName, value, isSetValue);
201201
}
202202

203203
@Override
204204
public String toString() {
205205
StringBuilder sb = new StringBuilder();
206206
sb.append("class InvalidField {\n");
207+
sb.append(" message: ").append(toIndentedString(message)).append("\n");
207208
sb.append(" name: ").append(toIndentedString(name)).append("\n");
208209
sb.append(" value: ").append(toIndentedString(value)).append("\n");
209-
sb.append(" message: ").append(toIndentedString(message)).append("\n");
210210
sb.append("}");
211211
return sb.toString();
212212
}
@@ -231,15 +231,15 @@ public Map<String, Object> getExplicitNulls() {
231231

232232
Map<String, Object> nulls = new HashMap<>();
233233

234+
if (isSetMessage) {
235+
addIfNull(nulls, JSON_PROPERTY_MESSAGE, this.message);
236+
}
234237
if (isSetName) {
235238
addIfNull(nulls, JSON_PROPERTY_NAME, this.name);
236239
}
237240
if (isSetValue) {
238241
addIfNull(nulls, JSON_PROPERTY_VALUE, this.value);
239242
}
240-
if (isSetMessage) {
241-
addIfNull(nulls, JSON_PROPERTY_MESSAGE, this.message);
242-
}
243243

244244
return nulls;
245245
}

0 commit comments

Comments
 (0)