Skip to content

Commit cce88b9

Browse files
Update all services (#1280)
* false[adyen-sdk-automation] automated change * Fix/configuration webhooks v2 unit tests (#1293) * false[adyen-sdk-automation] automated change * fix unit tests for Banking Webhooks v2 --------- Co-authored-by: Adyen Automation <plugins_dev@adyen.com> --------- Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
1 parent 043846b commit cce88b9

File tree

180 files changed

+10728
-2307
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+10728
-2307
lines changed

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

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
@JsonPropertyOrder({
3434
AULocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER,
3535
AULocalAccountIdentification.JSON_PROPERTY_BSB_CODE,
36-
AULocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR,
3736
AULocalAccountIdentification.JSON_PROPERTY_TYPE
3837
})
3938

@@ -44,9 +43,6 @@ public class AULocalAccountIdentification {
4443
public static final String JSON_PROPERTY_BSB_CODE = "bsbCode";
4544
private String bsbCode;
4645

47-
public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor";
48-
private String formFactor;
49-
5046
/**
5147
* **auLocal**
5248
*/
@@ -146,36 +142,6 @@ public void setBsbCode(String bsbCode) {
146142
}
147143

148144

149-
public AULocalAccountIdentification formFactor(String formFactor) {
150-
this.formFactor = formFactor;
151-
return this;
152-
}
153-
154-
/**
155-
* The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
156-
* @return formFactor
157-
**/
158-
@ApiModelProperty(value = "The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.")
159-
@JsonProperty(JSON_PROPERTY_FORM_FACTOR)
160-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
161-
162-
public String getFormFactor() {
163-
return formFactor;
164-
}
165-
166-
167-
/**
168-
* The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
169-
*
170-
* @param formFactor
171-
*/
172-
@JsonProperty(JSON_PROPERTY_FORM_FACTOR)
173-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
174-
public void setFormFactor(String formFactor) {
175-
this.formFactor = formFactor;
176-
}
177-
178-
179145
public AULocalAccountIdentification type(TypeEnum type) {
180146
this.type = type;
181147
return this;
@@ -220,13 +186,12 @@ public boolean equals(Object o) {
220186
AULocalAccountIdentification auLocalAccountIdentification = (AULocalAccountIdentification) o;
221187
return Objects.equals(this.accountNumber, auLocalAccountIdentification.accountNumber) &&
222188
Objects.equals(this.bsbCode, auLocalAccountIdentification.bsbCode) &&
223-
Objects.equals(this.formFactor, auLocalAccountIdentification.formFactor) &&
224189
Objects.equals(this.type, auLocalAccountIdentification.type);
225190
}
226191

227192
@Override
228193
public int hashCode() {
229-
return Objects.hash(accountNumber, bsbCode, formFactor, type);
194+
return Objects.hash(accountNumber, bsbCode, type);
230195
}
231196

232197
@Override
@@ -235,7 +200,6 @@ public String toString() {
235200
sb.append("class AULocalAccountIdentification {\n");
236201
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
237202
sb.append(" bsbCode: ").append(toIndentedString(bsbCode)).append("\n");
238-
sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n");
239203
sb.append(" type: ").append(toIndentedString(type)).append("\n");
240204
sb.append("}");
241205
return sb.toString();

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

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,13 @@ public class AccountHolder {
8585
private String reference;
8686

8787
/**
88-
* The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **inactive (Deprecated)**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
88+
* The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
8989
*/
9090
public enum StatusEnum {
9191
ACTIVE("active"),
9292

9393
CLOSED("closed"),
9494

95-
INACTIVE("inactive"),
96-
9795
SUSPENDED("suspended");
9896

9997
private String value;
@@ -239,10 +237,10 @@ public AccountHolder description(String description) {
239237
}
240238

241239
/**
242-
* Your description for the account holder, maximum 300 characters.
240+
* Your description for the account holder.
243241
* @return description
244242
**/
245-
@ApiModelProperty(value = "Your description for the account holder, maximum 300 characters.")
243+
@ApiModelProperty(value = "Your description for the account holder.")
246244
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
247245
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
248246

@@ -252,7 +250,7 @@ public String getDescription() {
252250

253251

254252
/**
255-
* Your description for the account holder, maximum 300 characters.
253+
* Your description for the account holder.
256254
*
257255
* @param description
258256
*/
@@ -427,10 +425,10 @@ public AccountHolder reference(String reference) {
427425
}
428426

429427
/**
430-
* Your reference for the account holder, maximum 150 characters.
428+
* Your reference for the account holder.
431429
* @return reference
432430
**/
433-
@ApiModelProperty(value = "Your reference for the account holder, maximum 150 characters.")
431+
@ApiModelProperty(value = "Your reference for the account holder.")
434432
@JsonProperty(JSON_PROPERTY_REFERENCE)
435433
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
436434

@@ -440,7 +438,7 @@ public String getReference() {
440438

441439

442440
/**
443-
* Your reference for the account holder, maximum 150 characters.
441+
* Your reference for the account holder.
444442
*
445443
* @param reference
446444
*/
@@ -457,10 +455,10 @@ public AccountHolder status(StatusEnum status) {
457455
}
458456

459457
/**
460-
* The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **inactive (Deprecated)**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
458+
* The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
461459
* @return status
462460
**/
463-
@ApiModelProperty(value = "The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **inactive (Deprecated)**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.")
461+
@ApiModelProperty(value = "The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.")
464462
@JsonProperty(JSON_PROPERTY_STATUS)
465463
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
466464

@@ -470,7 +468,7 @@ public StatusEnum getStatus() {
470468

471469

472470
/**
473-
* The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **inactive (Deprecated)**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
471+
* The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
474472
*
475473
* @param status
476474
*/

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,10 @@ public AccountHolderInfo description(String description) {
182182
}
183183

184184
/**
185-
* Your description for the account holder, maximum 300 characters.
185+
* Your description for the account holder.
186186
* @return description
187187
**/
188-
@ApiModelProperty(value = "Your description for the account holder, maximum 300 characters.")
188+
@ApiModelProperty(value = "Your description for the account holder.")
189189
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
190190
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
191191

@@ -195,7 +195,7 @@ public String getDescription() {
195195

196196

197197
/**
198-
* Your description for the account holder, maximum 300 characters.
198+
* Your description for the account holder.
199199
*
200200
* @param description
201201
*/
@@ -310,10 +310,10 @@ public AccountHolderInfo reference(String reference) {
310310
}
311311

312312
/**
313-
* Your reference for the account holder, maximum 150 characters.
313+
* Your reference for the account holder.
314314
* @return reference
315315
**/
316-
@ApiModelProperty(value = "Your reference for the account holder, maximum 150 characters.")
316+
@ApiModelProperty(value = "Your reference for the account holder.")
317317
@JsonProperty(JSON_PROPERTY_REFERENCE)
318318
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
319319

@@ -323,7 +323,7 @@ public String getReference() {
323323

324324

325325
/**
326-
* Your reference for the account holder, maximum 150 characters.
326+
* Your reference for the account holder.
327327
*
328328
* @param reference
329329
*/

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

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,13 @@ public class AccountHolderUpdateRequest {
7777
private String reference;
7878

7979
/**
80-
* The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **inactive (Deprecated)**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
80+
* The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
8181
*/
8282
public enum StatusEnum {
8383
ACTIVE("active"),
8484

8585
CLOSED("closed"),
8686

87-
INACTIVE("inactive"),
88-
8987
SUSPENDED("suspended");
9088

9189
private String value;
@@ -231,10 +229,10 @@ public AccountHolderUpdateRequest description(String description) {
231229
}
232230

233231
/**
234-
* Your description for the account holder, maximum 300 characters.
232+
* Your description for the account holder.
235233
* @return description
236234
**/
237-
@ApiModelProperty(value = "Your description for the account holder, maximum 300 characters.")
235+
@ApiModelProperty(value = "Your description for the account holder.")
238236
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
239237
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
240238

@@ -244,7 +242,7 @@ public String getDescription() {
244242

245243

246244
/**
247-
* Your description for the account holder, maximum 300 characters.
245+
* Your description for the account holder.
248246
*
249247
* @param description
250248
*/
@@ -359,10 +357,10 @@ public AccountHolderUpdateRequest reference(String reference) {
359357
}
360358

361359
/**
362-
* Your reference for the account holder, maximum 150 characters.
360+
* Your reference for the account holder.
363361
* @return reference
364362
**/
365-
@ApiModelProperty(value = "Your reference for the account holder, maximum 150 characters.")
363+
@ApiModelProperty(value = "Your reference for the account holder.")
366364
@JsonProperty(JSON_PROPERTY_REFERENCE)
367365
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
368366

@@ -372,7 +370,7 @@ public String getReference() {
372370

373371

374372
/**
375-
* Your reference for the account holder, maximum 150 characters.
373+
* Your reference for the account holder.
376374
*
377375
* @param reference
378376
*/
@@ -389,10 +387,10 @@ public AccountHolderUpdateRequest status(StatusEnum status) {
389387
}
390388

391389
/**
392-
* The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **inactive (Deprecated)**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
390+
* The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
393391
* @return status
394392
**/
395-
@ApiModelProperty(value = "The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **inactive (Deprecated)**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.")
393+
@ApiModelProperty(value = "The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.")
396394
@JsonProperty(JSON_PROPERTY_STATUS)
397395
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
398396

@@ -402,7 +400,7 @@ public StatusEnum getStatus() {
402400

403401

404402
/**
405-
* The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **inactive (Deprecated)**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
403+
* The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
406404
*
407405
* @param status
408406
*/

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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
BRLocalAccountIdentification.JSON_PROPERTY_ACCOUNT_NUMBER,
3535
BRLocalAccountIdentification.JSON_PROPERTY_BANK_CODE,
3636
BRLocalAccountIdentification.JSON_PROPERTY_BRANCH_NUMBER,
37-
BRLocalAccountIdentification.JSON_PROPERTY_FORM_FACTOR,
37+
BRLocalAccountIdentification.JSON_PROPERTY_ISPB,
3838
BRLocalAccountIdentification.JSON_PROPERTY_TYPE
3939
})
4040

@@ -48,8 +48,8 @@ public class BRLocalAccountIdentification {
4848
public static final String JSON_PROPERTY_BRANCH_NUMBER = "branchNumber";
4949
private String branchNumber;
5050

51-
public static final String JSON_PROPERTY_FORM_FACTOR = "formFactor";
52-
private String formFactor;
51+
public static final String JSON_PROPERTY_ISPB = "ispb";
52+
private String ispb;
5353

5454
/**
5555
* **brLocal**
@@ -180,33 +180,33 @@ public void setBranchNumber(String branchNumber) {
180180
}
181181

182182

183-
public BRLocalAccountIdentification formFactor(String formFactor) {
184-
this.formFactor = formFactor;
183+
public BRLocalAccountIdentification ispb(String ispb) {
184+
this.ispb = ispb;
185185
return this;
186186
}
187187

188188
/**
189-
* The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
190-
* @return formFactor
189+
* The 8-digit ISPB, with leading zeros.
190+
* @return ispb
191191
**/
192-
@ApiModelProperty(value = "The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.")
193-
@JsonProperty(JSON_PROPERTY_FORM_FACTOR)
192+
@ApiModelProperty(value = "The 8-digit ISPB, with leading zeros.")
193+
@JsonProperty(JSON_PROPERTY_ISPB)
194194
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
195195

196-
public String getFormFactor() {
197-
return formFactor;
196+
public String getIspb() {
197+
return ispb;
198198
}
199199

200200

201201
/**
202-
* The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
202+
* The 8-digit ISPB, with leading zeros.
203203
*
204-
* @param formFactor
204+
* @param ispb
205205
*/
206-
@JsonProperty(JSON_PROPERTY_FORM_FACTOR)
206+
@JsonProperty(JSON_PROPERTY_ISPB)
207207
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
208-
public void setFormFactor(String formFactor) {
209-
this.formFactor = formFactor;
208+
public void setIspb(String ispb) {
209+
this.ispb = ispb;
210210
}
211211

212212

@@ -255,13 +255,13 @@ public boolean equals(Object o) {
255255
return Objects.equals(this.accountNumber, brLocalAccountIdentification.accountNumber) &&
256256
Objects.equals(this.bankCode, brLocalAccountIdentification.bankCode) &&
257257
Objects.equals(this.branchNumber, brLocalAccountIdentification.branchNumber) &&
258-
Objects.equals(this.formFactor, brLocalAccountIdentification.formFactor) &&
258+
Objects.equals(this.ispb, brLocalAccountIdentification.ispb) &&
259259
Objects.equals(this.type, brLocalAccountIdentification.type);
260260
}
261261

262262
@Override
263263
public int hashCode() {
264-
return Objects.hash(accountNumber, bankCode, branchNumber, formFactor, type);
264+
return Objects.hash(accountNumber, bankCode, branchNumber, ispb, type);
265265
}
266266

267267
@Override
@@ -271,7 +271,7 @@ public String toString() {
271271
sb.append(" accountNumber: ").append(toIndentedString(accountNumber)).append("\n");
272272
sb.append(" bankCode: ").append(toIndentedString(bankCode)).append("\n");
273273
sb.append(" branchNumber: ").append(toIndentedString(branchNumber)).append("\n");
274-
sb.append(" formFactor: ").append(toIndentedString(formFactor)).append("\n");
274+
sb.append(" ispb: ").append(toIndentedString(ispb)).append("\n");
275275
sb.append(" type: ").append(toIndentedString(type)).append("\n");
276276
sb.append("}");
277277
return sb.toString();

0 commit comments

Comments
 (0)