16
16
import java .util .Arrays ;
17
17
import java .util .Map ;
18
18
import java .util .HashMap ;
19
- import com .adyen .model .configurationwebhooks .AccountSupportingEntityCapability ;
20
19
import com .adyen .model .configurationwebhooks .CapabilityProblem ;
21
20
import com .adyen .model .configurationwebhooks .CapabilitySettings ;
22
21
import com .fasterxml .jackson .annotation .JsonInclude ;
44
43
AccountHolderCapability .JSON_PROPERTY_REQUESTED ,
45
44
AccountHolderCapability .JSON_PROPERTY_REQUESTED_LEVEL ,
46
45
AccountHolderCapability .JSON_PROPERTY_REQUESTED_SETTINGS ,
47
- AccountHolderCapability .JSON_PROPERTY_TRANSFER_INSTRUMENTS ,
48
46
AccountHolderCapability .JSON_PROPERTY_VERIFICATION_STATUS
49
47
})
50
48
@@ -151,9 +149,6 @@ public static RequestedLevelEnum fromValue(String value) {
151
149
public static final String JSON_PROPERTY_REQUESTED_SETTINGS = "requestedSettings" ;
152
150
private CapabilitySettings requestedSettings ;
153
151
154
- public static final String JSON_PROPERTY_TRANSFER_INSTRUMENTS = "transferInstruments" ;
155
- private List <AccountSupportingEntityCapability > transferInstruments = null ;
156
-
157
152
/**
158
153
* The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability.
159
154
*/
@@ -407,39 +402,6 @@ public void setRequestedSettings(CapabilitySettings requestedSettings) {
407
402
}
408
403
409
404
410
- public AccountHolderCapability transferInstruments (List <AccountSupportingEntityCapability > transferInstruments ) {
411
- this .transferInstruments = transferInstruments ;
412
- return this ;
413
- }
414
-
415
- public AccountHolderCapability addTransferInstrumentsItem (AccountSupportingEntityCapability transferInstrumentsItem ) {
416
- if (this .transferInstruments == null ) {
417
- this .transferInstruments = new ArrayList <>();
418
- }
419
- this .transferInstruments .add (transferInstrumentsItem );
420
- return this ;
421
- }
422
-
423
- /**
424
- * Contains the status of the transfer instruments associated with this capability.
425
- * @return transferInstruments
426
- **/
427
- @ ApiModelProperty (value = "Contains the status of the transfer instruments associated with this capability. " )
428
- @ JsonProperty (JSON_PROPERTY_TRANSFER_INSTRUMENTS )
429
- @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
430
-
431
- public List <AccountSupportingEntityCapability > getTransferInstruments () {
432
- return transferInstruments ;
433
- }
434
-
435
-
436
- @ JsonProperty (JSON_PROPERTY_TRANSFER_INSTRUMENTS )
437
- @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
438
- public void setTransferInstruments (List <AccountSupportingEntityCapability > transferInstruments ) {
439
- this .transferInstruments = transferInstruments ;
440
- }
441
-
442
-
443
405
public AccountHolderCapability verificationStatus (VerificationStatusEnum verificationStatus ) {
444
406
this .verificationStatus = verificationStatus ;
445
407
return this ;
@@ -485,13 +447,12 @@ public boolean equals(Object o) {
485
447
Objects .equals (this .requested , accountHolderCapability .requested ) &&
486
448
Objects .equals (this .requestedLevel , accountHolderCapability .requestedLevel ) &&
487
449
Objects .equals (this .requestedSettings , accountHolderCapability .requestedSettings ) &&
488
- Objects .equals (this .transferInstruments , accountHolderCapability .transferInstruments ) &&
489
450
Objects .equals (this .verificationStatus , accountHolderCapability .verificationStatus );
490
451
}
491
452
492
453
@ Override
493
454
public int hashCode () {
494
- return Objects .hash (allowed , allowedLevel , allowedSettings , enabled , problems , requested , requestedLevel , requestedSettings , transferInstruments , verificationStatus );
455
+ return Objects .hash (allowed , allowedLevel , allowedSettings , enabled , problems , requested , requestedLevel , requestedSettings , verificationStatus );
495
456
}
496
457
497
458
@ Override
@@ -506,7 +467,6 @@ public String toString() {
506
467
sb .append (" requested: " ).append (toIndentedString (requested )).append ("\n " );
507
468
sb .append (" requestedLevel: " ).append (toIndentedString (requestedLevel )).append ("\n " );
508
469
sb .append (" requestedSettings: " ).append (toIndentedString (requestedSettings )).append ("\n " );
509
- sb .append (" transferInstruments: " ).append (toIndentedString (transferInstruments )).append ("\n " );
510
470
sb .append (" verificationStatus: " ).append (toIndentedString (verificationStatus )).append ("\n " );
511
471
sb .append ("}" );
512
472
return sb .toString ();
0 commit comments