Skip to content

Commit 6095e8b

Browse files
AdyenAutomationBotjeandersonbc
authored andcommitted
[balanceplatform] Automated update from Adyen/adyen-openapi@cbc5406
1 parent e6f8311 commit 6095e8b

33 files changed

Lines changed: 2788 additions & 108 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-05-14T14:22:19Z",
5+
"openapiCommitSha": "cbc5406a2df1f24d50e40742f18342f7ca7f21fc",
6+
"automationCommitSha": "6f06b47d0661f0891defe6b85461d2c367fbd284",
7+
"libraryCommitSha": "5790580db2f8a931a68baba2bff9760b8aed2067"
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/AssociationStatus.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@
1414
import com.fasterxml.jackson.annotation.JsonCreator;
1515
import com.fasterxml.jackson.annotation.JsonValue;
1616
import java.util.*;
17+
import java.util.logging.Logger;
1718

1819
/** Gets or Sets AssociationStatus */
1920
public enum AssociationStatus {
2021
PENDINGAPPROVAL("pendingApproval"),
2122

2223
ACTIVE("active");
2324

25+
private static final Logger LOG = Logger.getLogger(AssociationStatus.class.getName());
26+
2427
private String value;
2528

2629
AssociationStatus(String value) {
@@ -44,6 +47,12 @@ public static AssociationStatus fromValue(String value) {
4447
return b;
4548
}
4649
}
47-
throw new IllegalArgumentException("Unexpected value '" + value + "'");
50+
// handling unexpected value
51+
LOG.warning(
52+
"AssociationStatus: unexpected enum value '"
53+
+ value
54+
+ "' - Supported values are "
55+
+ Arrays.toString(AssociationStatus.values()));
56+
return null;
4857
}
4958
}

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,16 @@ public enum BankAccountIdentificationTypesEnum {
5050

5151
IBAN(String.valueOf("iban")),
5252

53+
INLOCAL(String.valueOf("inLocal")),
54+
55+
JPLOCAL(String.valueOf("jpLocal")),
56+
5357
LEGACY(String.valueOf("legacy")),
5458

59+
MXLOCAL(String.valueOf("mxLocal")),
60+
61+
MYLOCAL(String.valueOf("myLocal")),
62+
5563
NOLOCAL(String.valueOf("noLocal")),
5664

5765
NUMBERANDBIC(String.valueOf("numberAndBic")),

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

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
CardConfiguration.JSON_PROPERTY_LANGUAGE,
3535
CardConfiguration.JSON_PROPERTY_LOGO_IMAGE_ID,
3636
CardConfiguration.JSON_PROPERTY_PIN_MAILER,
37+
CardConfiguration.JSON_PROPERTY_PRINT_LINE,
3738
CardConfiguration.JSON_PROPERTY_SHIPMENT_METHOD
3839
})
3940
public class CardConfiguration {
@@ -115,6 +116,12 @@ public class CardConfiguration {
115116
/** Mark when the attribute has been explicitly set. */
116117
private boolean isSetPinMailer = false;
117118

119+
public static final String JSON_PROPERTY_PRINT_LINE = "printLine";
120+
private String printLine;
121+
122+
/** Mark when the attribute has been explicitly set. */
123+
private boolean isSetPrintLine = false;
124+
118125
public static final String JSON_PROPERTY_SHIPMENT_METHOD = "shipmentMethod";
119126
private String shipmentMethod;
120127

@@ -698,6 +705,47 @@ public void setPinMailer(String pinMailer) {
698705
isSetPinMailer = true; // mark as set
699706
}
700707

708+
/**
709+
* Print Line. Text printed on the physical card below the cardholder name. You provide the value,
710+
* which can be up to 26 characters.
711+
*
712+
* @param printLine Print Line. Text printed on the physical card below the cardholder name. You
713+
* provide the value, which can be up to 26 characters.
714+
* @return the current {@code CardConfiguration} instance, allowing for method chaining
715+
*/
716+
public CardConfiguration printLine(String printLine) {
717+
this.printLine = printLine;
718+
isSetPrintLine = true; // mark as set
719+
return this;
720+
}
721+
722+
/**
723+
* Print Line. Text printed on the physical card below the cardholder name. You provide the value,
724+
* which can be up to 26 characters.
725+
*
726+
* @return printLine Print Line. Text printed on the physical card below the cardholder name. You
727+
* provide the value, which can be up to 26 characters.
728+
*/
729+
@JsonProperty(JSON_PROPERTY_PRINT_LINE)
730+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
731+
public String getPrintLine() {
732+
return printLine;
733+
}
734+
735+
/**
736+
* Print Line. Text printed on the physical card below the cardholder name. You provide the value,
737+
* which can be up to 26 characters.
738+
*
739+
* @param printLine Print Line. Text printed on the physical card below the cardholder name. You
740+
* provide the value, which can be up to 26 characters.
741+
*/
742+
@JsonProperty(JSON_PROPERTY_PRINT_LINE)
743+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
744+
public void setPrintLine(String printLine) {
745+
this.printLine = printLine;
746+
isSetPrintLine = true; // mark as set
747+
}
748+
701749
/**
702750
* The logistics company that ships the card. This field overrides the logistics company defined
703751
* in the card configuration profile.
@@ -796,6 +844,8 @@ public boolean equals(Object o) {
796844
&& Objects.equals(this.isSetLogoImageId, cardConfiguration.isSetLogoImageId)
797845
&& Objects.equals(this.pinMailer, cardConfiguration.pinMailer)
798846
&& Objects.equals(this.isSetPinMailer, cardConfiguration.isSetPinMailer)
847+
&& Objects.equals(this.printLine, cardConfiguration.printLine)
848+
&& Objects.equals(this.isSetPrintLine, cardConfiguration.isSetPrintLine)
799849
&& Objects.equals(this.shipmentMethod, cardConfiguration.shipmentMethod)
800850
&& Objects.equals(this.isSetShipmentMethod, cardConfiguration.isSetShipmentMethod);
801851
}
@@ -829,6 +879,8 @@ public int hashCode() {
829879
isSetLogoImageId,
830880
pinMailer,
831881
isSetPinMailer,
882+
printLine,
883+
isSetPrintLine,
832884
shipmentMethod,
833885
isSetShipmentMethod);
834886
}
@@ -852,6 +904,7 @@ public String toString() {
852904
sb.append(" language: ").append(toIndentedString(language)).append("\n");
853905
sb.append(" logoImageId: ").append(toIndentedString(logoImageId)).append("\n");
854906
sb.append(" pinMailer: ").append(toIndentedString(pinMailer)).append("\n");
907+
sb.append(" printLine: ").append(toIndentedString(printLine)).append("\n");
855908
sb.append(" shipmentMethod: ").append(toIndentedString(shipmentMethod)).append("\n");
856909
sb.append("}");
857910
return sb.toString();
@@ -916,6 +969,9 @@ public Map<String, Object> getExplicitNulls() {
916969
if (isSetPinMailer) {
917970
addIfNull(nulls, JSON_PROPERTY_PIN_MAILER, this.pinMailer);
918971
}
972+
if (isSetPrintLine) {
973+
addIfNull(nulls, JSON_PROPERTY_PRINT_LINE, this.printLine);
974+
}
919975
if (isSetShipmentMethod) {
920976
addIfNull(nulls, JSON_PROPERTY_SHIPMENT_METHOD, this.shipmentMethod);
921977
}

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

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,17 @@
2525

2626
/** IbanAccountIdentification */
2727
@JsonPropertyOrder({
28+
IbanAccountIdentification.JSON_PROPERTY_BIC,
2829
IbanAccountIdentification.JSON_PROPERTY_IBAN,
2930
IbanAccountIdentification.JSON_PROPERTY_TYPE
3031
})
3132
public class IbanAccountIdentification {
33+
public static final String JSON_PROPERTY_BIC = "bic";
34+
private String bic;
35+
36+
/** Mark when the attribute has been explicitly set. */
37+
private boolean isSetBic = false;
38+
3239
public static final String JSON_PROPERTY_IBAN = "iban";
3340
private String iban;
3441

@@ -88,6 +95,41 @@ public static TypeEnum fromValue(String value) {
8895

8996
public IbanAccountIdentification() {}
9097

98+
/**
99+
* The bank&#39;s 8- or 11-character BIC or SWIFT code.
100+
*
101+
* @param bic The bank&#39;s 8- or 11-character BIC or SWIFT code.
102+
* @return the current {@code IbanAccountIdentification} instance, allowing for method chaining
103+
*/
104+
public IbanAccountIdentification bic(String bic) {
105+
this.bic = bic;
106+
isSetBic = true; // mark as set
107+
return this;
108+
}
109+
110+
/**
111+
* The bank&#39;s 8- or 11-character BIC or SWIFT code.
112+
*
113+
* @return bic The bank&#39;s 8- or 11-character BIC or SWIFT code.
114+
*/
115+
@JsonProperty(JSON_PROPERTY_BIC)
116+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
117+
public String getBic() {
118+
return bic;
119+
}
120+
121+
/**
122+
* The bank&#39;s 8- or 11-character BIC or SWIFT code.
123+
*
124+
* @param bic The bank&#39;s 8- or 11-character BIC or SWIFT code.
125+
*/
126+
@JsonProperty(JSON_PROPERTY_BIC)
127+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
128+
public void setBic(String bic) {
129+
this.bic = bic;
130+
isSetBic = true; // mark as set
131+
}
132+
91133
/**
92134
* The international bank account number as defined in the
93135
* [ISO-13616](https://www.iso.org/standard/81090.html) standard.
@@ -194,21 +236,24 @@ public boolean equals(Object o) {
194236
return false;
195237
}
196238
IbanAccountIdentification ibanAccountIdentification = (IbanAccountIdentification) o;
197-
return Objects.equals(this.iban, ibanAccountIdentification.iban)
239+
return Objects.equals(this.bic, ibanAccountIdentification.bic)
240+
&& Objects.equals(this.isSetBic, ibanAccountIdentification.isSetBic)
241+
&& Objects.equals(this.iban, ibanAccountIdentification.iban)
198242
&& Objects.equals(this.isSetIban, ibanAccountIdentification.isSetIban)
199243
&& Objects.equals(this.type, ibanAccountIdentification.type)
200244
&& Objects.equals(this.isSetType, ibanAccountIdentification.isSetType);
201245
}
202246

203247
@Override
204248
public int hashCode() {
205-
return Objects.hash(iban, isSetIban, type, isSetType);
249+
return Objects.hash(bic, isSetBic, iban, isSetIban, type, isSetType);
206250
}
207251

208252
@Override
209253
public String toString() {
210254
StringBuilder sb = new StringBuilder();
211255
sb.append("class IbanAccountIdentification {\n");
256+
sb.append(" bic: ").append(toIndentedString(bic)).append("\n");
212257
sb.append(" iban: ").append(toIndentedString(iban)).append("\n");
213258
sb.append(" type: ").append(toIndentedString(type)).append("\n");
214259
sb.append("}");
@@ -235,6 +280,9 @@ public Map<String, Object> getExplicitNulls() {
235280

236281
Map<String, Object> nulls = new HashMap<>();
237282

283+
if (isSetBic) {
284+
addIfNull(nulls, JSON_PROPERTY_BIC, this.bic);
285+
}
238286
if (isSetIban) {
239287
addIfNull(nulls, JSON_PROPERTY_IBAN, this.iban);
240288
}

0 commit comments

Comments
 (0)