• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Adyen / adyen-java-api-library / #2660

18 Sep 2023 12:27PM UTC coverage: 13.146%. First build
#2660

push

web-flow
Merge fdf590561 into ba706cfa8

2480 of 2480 new or added lines in 54 files covered. (100.0%)

10283 of 78224 relevant lines covered (13.15%)

0.13 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/adyen/model/transferwebhooks/TransferData.java
1
/*
2
 * Transfer webhooks
3
 *
4
 * The version of the OpenAPI document: 3
5
 * 
6
 *
7
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
 * https://openapi-generator.tech
9
 * Do not edit the class manually.
10
 */
11

12

13
package com.adyen.model.transferwebhooks;
14

15
import java.util.Objects;
16
import java.util.Arrays;
17
import java.util.Map;
18
import java.util.HashMap;
19
import com.adyen.model.transferwebhooks.Amount;
20
import com.adyen.model.transferwebhooks.BalanceMutation;
21
import com.adyen.model.transferwebhooks.CounterpartyV3;
22
import com.adyen.model.transferwebhooks.PaymentInstrument;
23
import com.adyen.model.transferwebhooks.RelayedAuthorisationData;
24
import com.adyen.model.transferwebhooks.ResourceReference;
25
import com.adyen.model.transferwebhooks.TransactionRulesResult;
26
import com.adyen.model.transferwebhooks.TransferEvent;
27
import com.adyen.model.transferwebhooks.TransferNotificationTransferTracking;
28
import com.adyen.model.transferwebhooks.TransferNotificationValidationFact;
29
import com.fasterxml.jackson.annotation.JsonInclude;
30
import com.fasterxml.jackson.annotation.JsonProperty;
31
import com.fasterxml.jackson.annotation.JsonCreator;
32
import com.fasterxml.jackson.annotation.JsonTypeName;
33
import com.fasterxml.jackson.annotation.JsonValue;
34
import io.swagger.annotations.ApiModel;
35
import io.swagger.annotations.ApiModelProperty;
36
import java.time.OffsetDateTime;
37
import java.util.ArrayList;
38
import java.util.List;
39
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
40
import com.fasterxml.jackson.core.JsonProcessingException;
41

42

43
/**
44
 * TransferData
45
 */
46
@JsonPropertyOrder({
47
  TransferData.JSON_PROPERTY_ACCOUNT_HOLDER,
48
  TransferData.JSON_PROPERTY_AMOUNT,
49
  TransferData.JSON_PROPERTY_BALANCE_ACCOUNT,
50
  TransferData.JSON_PROPERTY_BALANCE_ACCOUNT_ID,
51
  TransferData.JSON_PROPERTY_BALANCE_PLATFORM,
52
  TransferData.JSON_PROPERTY_BALANCES,
53
  TransferData.JSON_PROPERTY_CATEGORY,
54
  TransferData.JSON_PROPERTY_COUNTERPARTY,
55
  TransferData.JSON_PROPERTY_CREATION_DATE,
56
  TransferData.JSON_PROPERTY_DESCRIPTION,
57
  TransferData.JSON_PROPERTY_DIRECTION,
58
  TransferData.JSON_PROPERTY_EVENTS,
59
  TransferData.JSON_PROPERTY_ID,
60
  TransferData.JSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCE,
61
  TransferData.JSON_PROPERTY_MODIFICATION_PSP_REFERENCE,
62
  TransferData.JSON_PROPERTY_PAN_ENTRY_MODE,
63
  TransferData.JSON_PROPERTY_PAYMENT_INSTRUMENT,
64
  TransferData.JSON_PROPERTY_PAYMENT_INSTRUMENT_ID,
65
  TransferData.JSON_PROPERTY_PAYMENT_MERCHANT_REFERENCE,
66
  TransferData.JSON_PROPERTY_PLATFORM_PAYMENT_TYPE,
67
  TransferData.JSON_PROPERTY_PRIORITY,
68
  TransferData.JSON_PROPERTY_PROCESSING_TYPE,
69
  TransferData.JSON_PROPERTY_PSP_PAYMENT_REFERENCE,
70
  TransferData.JSON_PROPERTY_REASON,
71
  TransferData.JSON_PROPERTY_REFERENCE,
72
  TransferData.JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY,
73
  TransferData.JSON_PROPERTY_RELAYED_AUTHORISATION_DATA,
74
  TransferData.JSON_PROPERTY_SEQUENCE_NUMBER,
75
  TransferData.JSON_PROPERTY_STATUS,
76
  TransferData.JSON_PROPERTY_TRACKING,
77
  TransferData.JSON_PROPERTY_TRANSACTION_ID,
78
  TransferData.JSON_PROPERTY_TRANSACTION_RULES_RESULT,
79
  TransferData.JSON_PROPERTY_TYPE,
80
  TransferData.JSON_PROPERTY_VALIDATION_FACTS
81
})
82

83
public class TransferData {
84
  public static final String JSON_PROPERTY_ACCOUNT_HOLDER = "accountHolder";
85
  private ResourceReference accountHolder;
86

87
  public static final String JSON_PROPERTY_AMOUNT = "amount";
88
  private Amount amount;
89

90
  public static final String JSON_PROPERTY_BALANCE_ACCOUNT = "balanceAccount";
91
  private ResourceReference balanceAccount;
92

93
  public static final String JSON_PROPERTY_BALANCE_ACCOUNT_ID = "balanceAccountId";
94
  private String balanceAccountId;
95

96
  public static final String JSON_PROPERTY_BALANCE_PLATFORM = "balancePlatform";
97
  private String balancePlatform;
98

99
  public static final String JSON_PROPERTY_BALANCES = "balances";
100
  private List<BalanceMutation> balances = null;
×
101

102
  /**
103
   * The type of transfer.  Possible values:   - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account.  - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform.  - **issuedCard**: Transfer initiated by a Adyen-issued card.  - **platformPayment**: Fund movements related to payments that are acquired for your users.
104
   */
105
  public enum CategoryEnum {
×
106
    BANK("bank"),
×
107
    
108
    INTERNAL("internal"),
×
109
    
110
    ISSUEDCARD("issuedCard"),
×
111
    
112
    PLATFORMPAYMENT("platformPayment");
×
113

114
    private String value;
115

116
    CategoryEnum(String value) {
×
117
      this.value = value;
×
118
    }
×
119

120
    @JsonValue
121
    public String getValue() {
122
      return value;
×
123
    }
124

125
    @Override
126
    public String toString() {
127
      return String.valueOf(value);
×
128
    }
129

130
    @JsonCreator
131
    public static CategoryEnum fromValue(String value) {
132
      for (CategoryEnum b : CategoryEnum.values()) {
×
133
        if (b.value.equals(value)) {
×
134
          return b;
×
135
        }
136
      }
137
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
138
    }
139
  }
140

141
  public static final String JSON_PROPERTY_CATEGORY = "category";
142
  private CategoryEnum category;
143

144
  public static final String JSON_PROPERTY_COUNTERPARTY = "counterparty";
145
  private CounterpartyV3 counterparty;
146

147
  public static final String JSON_PROPERTY_CREATION_DATE = "creationDate";
148
  private OffsetDateTime creationDate;
149

150
  public static final String JSON_PROPERTY_DESCRIPTION = "description";
151
  private String description;
152

153
  /**
154
   * The direction of the transfer.  Possible values: **incoming**, **outgoing**.
155
   */
156
  public enum DirectionEnum {
×
157
    INCOMING("incoming"),
×
158
    
159
    OUTGOING("outgoing");
×
160

161
    private String value;
162

163
    DirectionEnum(String value) {
×
164
      this.value = value;
×
165
    }
×
166

167
    @JsonValue
168
    public String getValue() {
169
      return value;
×
170
    }
171

172
    @Override
173
    public String toString() {
174
      return String.valueOf(value);
×
175
    }
176

177
    @JsonCreator
178
    public static DirectionEnum fromValue(String value) {
179
      for (DirectionEnum b : DirectionEnum.values()) {
×
180
        if (b.value.equals(value)) {
×
181
          return b;
×
182
        }
183
      }
184
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
185
    }
186
  }
187

188
  public static final String JSON_PROPERTY_DIRECTION = "direction";
189
  private DirectionEnum direction;
190

191
  public static final String JSON_PROPERTY_EVENTS = "events";
192
  private List<TransferEvent> events = null;
×
193

194
  public static final String JSON_PROPERTY_ID = "id";
195
  private String id;
196

197
  public static final String JSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCE = "modificationMerchantReference";
198
  private String modificationMerchantReference;
199

200
  public static final String JSON_PROPERTY_MODIFICATION_PSP_REFERENCE = "modificationPspReference";
201
  private String modificationPspReference;
202

203
  /**
204
   * Indicates the method used for entering the PAN to initiate a transaction.  Possible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **ecommerce**, **token**.
205
   */
206
  public enum PanEntryModeEnum {
×
207
    CHIP("chip"),
×
208
    
209
    COF("cof"),
×
210
    
211
    CONTACTLESS("contactless"),
×
212
    
213
    ECOMMERCE("ecommerce"),
×
214
    
215
    MAGSTRIPE("magstripe"),
×
216
    
217
    MANUAL("manual"),
×
218
    
219
    TOKEN("token");
×
220

221
    private String value;
222

223
    PanEntryModeEnum(String value) {
×
224
      this.value = value;
×
225
    }
×
226

227
    @JsonValue
228
    public String getValue() {
229
      return value;
×
230
    }
231

232
    @Override
233
    public String toString() {
234
      return String.valueOf(value);
×
235
    }
236

237
    @JsonCreator
238
    public static PanEntryModeEnum fromValue(String value) {
239
      for (PanEntryModeEnum b : PanEntryModeEnum.values()) {
×
240
        if (b.value.equals(value)) {
×
241
          return b;
×
242
        }
243
      }
244
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
245
    }
246
  }
247

248
  public static final String JSON_PROPERTY_PAN_ENTRY_MODE = "panEntryMode";
249
  private PanEntryModeEnum panEntryMode;
250

251
  public static final String JSON_PROPERTY_PAYMENT_INSTRUMENT = "paymentInstrument";
252
  private PaymentInstrument paymentInstrument;
253

254
  public static final String JSON_PROPERTY_PAYMENT_INSTRUMENT_ID = "paymentInstrumentId";
255
  private String paymentInstrumentId;
256

257
  public static final String JSON_PROPERTY_PAYMENT_MERCHANT_REFERENCE = "paymentMerchantReference";
258
  private String paymentMerchantReference;
259

260
  /**
261
   * The type of the related split.
262
   */
263
  public enum PlatformPaymentTypeEnum {
×
264
    BALANCEACCOUNT("BalanceAccount"),
×
265
    
266
    COMMISSION("Commission"),
×
267
    
268
    DEFAULT("Default"),
×
269
    
270
    PAYMENTFEE("PaymentFee"),
×
271
    
272
    VAT("VAT");
×
273

274
    private String value;
275

276
    PlatformPaymentTypeEnum(String value) {
×
277
      this.value = value;
×
278
    }
×
279

280
    @JsonValue
281
    public String getValue() {
282
      return value;
×
283
    }
284

285
    @Override
286
    public String toString() {
287
      return String.valueOf(value);
×
288
    }
289

290
    @JsonCreator
291
    public static PlatformPaymentTypeEnum fromValue(String value) {
292
      for (PlatformPaymentTypeEnum b : PlatformPaymentTypeEnum.values()) {
×
293
        if (b.value.equals(value)) {
×
294
          return b;
×
295
        }
296
      }
297
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
298
    }
299
  }
300

301
  public static final String JSON_PROPERTY_PLATFORM_PAYMENT_TYPE = "platformPaymentType";
302
  private PlatformPaymentTypeEnum platformPaymentType;
303

304
  /**
305
   * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with &#x60;category&#x60; **bank**.  Possible values:  * **regular**: For normal, low-value transactions.  * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions.  * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions.  * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html).  * **crossBorder**: High-value transfer to a recipient in a different country.  * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN).
306
   */
307
  public enum PriorityEnum {
×
308
    CROSSBORDER("crossBorder"),
×
309
    
310
    DIRECTDEBIT("directDebit"),
×
311
    
312
    FAST("fast"),
×
313
    
314
    INSTANT("instant"),
×
315
    
316
    INTERNAL("internal"),
×
317
    
318
    REGULAR("regular"),
×
319
    
320
    WIRE("wire");
×
321

322
    private String value;
323

324
    PriorityEnum(String value) {
×
325
      this.value = value;
×
326
    }
×
327

328
    @JsonValue
329
    public String getValue() {
330
      return value;
×
331
    }
332

333
    @Override
334
    public String toString() {
335
      return String.valueOf(value);
×
336
    }
337

338
    @JsonCreator
339
    public static PriorityEnum fromValue(String value) {
340
      for (PriorityEnum b : PriorityEnum.values()) {
×
341
        if (b.value.equals(value)) {
×
342
          return b;
×
343
        }
344
      }
345
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
346
    }
347
  }
348

349
  public static final String JSON_PROPERTY_PRIORITY = "priority";
350
  private PriorityEnum priority;
351

352
  /**
353
   * Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments.
354
   */
355
  public enum ProcessingTypeEnum {
×
356
    ATMWITHDRAW("atmWithdraw"),
×
357
    
358
    BALANCEINQUIRY("balanceInquiry"),
×
359
    
360
    ECOMMERCE("ecommerce"),
×
361
    
362
    MOTO("moto"),
×
363
    
364
    POS("pos"),
×
365
    
366
    PURCHASEWITHCASHBACK("purchaseWithCashback"),
×
367
    
368
    RECURRING("recurring"),
×
369
    
370
    TOKEN("token");
×
371

372
    private String value;
373

374
    ProcessingTypeEnum(String value) {
×
375
      this.value = value;
×
376
    }
×
377

378
    @JsonValue
379
    public String getValue() {
380
      return value;
×
381
    }
382

383
    @Override
384
    public String toString() {
385
      return String.valueOf(value);
×
386
    }
387

388
    @JsonCreator
389
    public static ProcessingTypeEnum fromValue(String value) {
390
      for (ProcessingTypeEnum b : ProcessingTypeEnum.values()) {
×
391
        if (b.value.equals(value)) {
×
392
          return b;
×
393
        }
394
      }
395
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
396
    }
397
  }
398

399
  public static final String JSON_PROPERTY_PROCESSING_TYPE = "processingType";
400
  private ProcessingTypeEnum processingType;
401

402
  public static final String JSON_PROPERTY_PSP_PAYMENT_REFERENCE = "pspPaymentReference";
403
  private String pspPaymentReference;
404

405
  /**
406
   * Additional information about the status of the transfer.
407
   */
408
  public enum ReasonEnum {
×
409
    AMOUNTLIMITEXCEEDED("amountLimitExceeded"),
×
410
    
411
    APPROVED("approved"),
×
412
    
413
    COUNTERPARTYACCOUNTBLOCKED("counterpartyAccountBlocked"),
×
414
    
415
    COUNTERPARTYACCOUNTCLOSED("counterpartyAccountClosed"),
×
416
    
417
    COUNTERPARTYACCOUNTNOTFOUND("counterpartyAccountNotFound"),
×
418
    
419
    COUNTERPARTYADDRESSREQUIRED("counterpartyAddressRequired"),
×
420
    
421
    COUNTERPARTYBANKTIMEDOUT("counterpartyBankTimedOut"),
×
422
    
423
    COUNTERPARTYBANKUNAVAILABLE("counterpartyBankUnavailable"),
×
424
    
425
    ERROR("error"),
×
426
    
427
    NOTENOUGHBALANCE("notEnoughBalance"),
×
428
    
429
    REFUSEDBYCOUNTERPARTYBANK("refusedByCounterpartyBank"),
×
430
    
431
    ROUTENOTFOUND("routeNotFound"),
×
432
    
433
    UNKNOWN("unknown");
×
434

435
    private String value;
436

437
    ReasonEnum(String value) {
×
438
      this.value = value;
×
439
    }
×
440

441
    @JsonValue
442
    public String getValue() {
443
      return value;
×
444
    }
445

446
    @Override
447
    public String toString() {
448
      return String.valueOf(value);
×
449
    }
450

451
    @JsonCreator
452
    public static ReasonEnum fromValue(String value) {
453
      for (ReasonEnum b : ReasonEnum.values()) {
×
454
        if (b.value.equals(value)) {
×
455
          return b;
×
456
        }
457
      }
458
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
459
    }
460
  }
461

462
  public static final String JSON_PROPERTY_REASON = "reason";
463
  private ReasonEnum reason;
464

465
  public static final String JSON_PROPERTY_REFERENCE = "reference";
466
  private String reference;
467

468
  public static final String JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY = "referenceForBeneficiary";
469
  private String referenceForBeneficiary;
470

471
  public static final String JSON_PROPERTY_RELAYED_AUTHORISATION_DATA = "relayedAuthorisationData";
472
  private RelayedAuthorisationData relayedAuthorisationData;
473

474
  public static final String JSON_PROPERTY_SEQUENCE_NUMBER = "sequenceNumber";
475
  private Integer sequenceNumber;
476

477
  /**
478
   * The result of the transfer.   For example, **authorised**, **refused**, or **error**.
479
   */
480
  public enum StatusEnum {
×
481
    APPROVALPENDING("approvalPending"),
×
482
    
483
    ATMWITHDRAWAL("atmWithdrawal"),
×
484
    
485
    ATMWITHDRAWALREVERSALPENDING("atmWithdrawalReversalPending"),
×
486
    
487
    ATMWITHDRAWALREVERSED("atmWithdrawalReversed"),
×
488
    
489
    AUTHADJUSTMENTAUTHORISED("authAdjustmentAuthorised"),
×
490
    
491
    AUTHADJUSTMENTERROR("authAdjustmentError"),
×
492
    
493
    AUTHADJUSTMENTREFUSED("authAdjustmentRefused"),
×
494
    
495
    AUTHORISED("authorised"),
×
496
    
497
    BANKTRANSFER("bankTransfer"),
×
498
    
499
    BANKTRANSFERPENDING("bankTransferPending"),
×
500
    
501
    BOOKED("booked"),
×
502
    
503
    BOOKINGPENDING("bookingPending"),
×
504
    
505
    CANCELLED("cancelled"),
×
506
    
507
    CAPTUREPENDING("capturePending"),
×
508
    
509
    CAPTUREREVERSALPENDING("captureReversalPending"),
×
510
    
511
    CAPTUREREVERSED("captureReversed"),
×
512
    
513
    CAPTURED("captured"),
×
514
    
515
    CAPTUREDEXTERNALLY("capturedExternally"),
×
516
    
517
    CHARGEBACK("chargeback"),
×
518
    
519
    CHARGEBACKEXTERNALLY("chargebackExternally"),
×
520
    
521
    CHARGEBACKPENDING("chargebackPending"),
×
522
    
523
    CHARGEBACKREVERSALPENDING("chargebackReversalPending"),
×
524
    
525
    CHARGEBACKREVERSED("chargebackReversed"),
×
526
    
527
    CREDITED("credited"),
×
528
    
529
    DEPOSITCORRECTION("depositCorrection"),
×
530
    
531
    DEPOSITCORRECTIONPENDING("depositCorrectionPending"),
×
532
    
533
    DISPUTE("dispute"),
×
534
    
535
    DISPUTECLOSED("disputeClosed"),
×
536
    
537
    DISPUTEEXPIRED("disputeExpired"),
×
538
    
539
    DISPUTENEEDSREVIEW("disputeNeedsReview"),
×
540
    
541
    ERROR("error"),
×
542
    
543
    EXPIRED("expired"),
×
544
    
545
    FAILED("failed"),
×
546
    
547
    FEE("fee"),
×
548
    
549
    FEEPENDING("feePending"),
×
550
    
551
    INTERNALTRANSFER("internalTransfer"),
×
552
    
553
    INTERNALTRANSFERPENDING("internalTransferPending"),
×
554
    
555
    INVOICEDEDUCTION("invoiceDeduction"),
×
556
    
557
    INVOICEDEDUCTIONPENDING("invoiceDeductionPending"),
×
558
    
559
    MANUALCORRECTIONPENDING("manualCorrectionPending"),
×
560
    
561
    MANUALLYCORRECTED("manuallyCorrected"),
×
562
    
563
    MATCHEDSTATEMENT("matchedStatement"),
×
564
    
565
    MATCHEDSTATEMENTPENDING("matchedStatementPending"),
×
566
    
567
    MERCHANTPAYIN("merchantPayin"),
×
568
    
569
    MERCHANTPAYINPENDING("merchantPayinPending"),
×
570
    
571
    MERCHANTPAYINREVERSED("merchantPayinReversed"),
×
572
    
573
    MERCHANTPAYINREVERSEDPENDING("merchantPayinReversedPending"),
×
574
    
575
    MISCCOST("miscCost"),
×
576
    
577
    MISCCOSTPENDING("miscCostPending"),
×
578
    
579
    OPERATIONAUTHORIZED("operationAuthorized"),
×
580
    
581
    OPERATIONBOOKED("operationBooked"),
×
582
    
583
    OPERATIONPENDING("operationPending"),
×
584
    
585
    OPERATIONRECEIVED("operationReceived"),
×
586
    
587
    PAYMENTCOST("paymentCost"),
×
588
    
589
    PAYMENTCOSTPENDING("paymentCostPending"),
×
590
    
591
    RECEIVED("received"),
×
592
    
593
    REFUNDPENDING("refundPending"),
×
594
    
595
    REFUNDREVERSALPENDING("refundReversalPending"),
×
596
    
597
    REFUNDREVERSED("refundReversed"),
×
598
    
599
    REFUNDED("refunded"),
×
600
    
601
    REFUNDEDEXTERNALLY("refundedExternally"),
×
602
    
603
    REFUSED("refused"),
×
604
    
605
    RESERVEADJUSTMENT("reserveAdjustment"),
×
606
    
607
    RESERVEADJUSTMENTPENDING("reserveAdjustmentPending"),
×
608
    
609
    RETURNED("returned"),
×
610
    
611
    SECONDCHARGEBACK("secondChargeback"),
×
612
    
613
    SECONDCHARGEBACKPENDING("secondChargebackPending"),
×
614
    
615
    UNDEFINED("undefined");
×
616

617
    private String value;
618

619
    StatusEnum(String value) {
×
620
      this.value = value;
×
621
    }
×
622

623
    @JsonValue
624
    public String getValue() {
625
      return value;
×
626
    }
627

628
    @Override
629
    public String toString() {
630
      return String.valueOf(value);
×
631
    }
632

633
    @JsonCreator
634
    public static StatusEnum fromValue(String value) {
635
      for (StatusEnum b : StatusEnum.values()) {
×
636
        if (b.value.equals(value)) {
×
637
          return b;
×
638
        }
639
      }
640
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
641
    }
642
  }
643

644
  public static final String JSON_PROPERTY_STATUS = "status";
645
  private StatusEnum status;
646

647
  public static final String JSON_PROPERTY_TRACKING = "tracking";
648
  private TransferNotificationTransferTracking tracking;
649

650
  public static final String JSON_PROPERTY_TRANSACTION_ID = "transactionId";
651
  private String transactionId;
652

653
  public static final String JSON_PROPERTY_TRANSACTION_RULES_RESULT = "transactionRulesResult";
654
  private TransactionRulesResult transactionRulesResult;
655

656
  /**
657
   * The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**.
658
   */
659
  public enum TypeEnum {
×
660
    ATMWITHDRAWAL("atmWithdrawal"),
×
661
    
662
    ATMWITHDRAWALREVERSAL("atmWithdrawalReversal"),
×
663
    
664
    BALANCEADJUSTMENT("balanceAdjustment"),
×
665
    
666
    BALANCEROLLOVER("balanceRollover"),
×
667
    
668
    BANKTRANSFER("bankTransfer"),
×
669
    
670
    CAPTURE("capture"),
×
671
    
672
    CAPTUREREVERSAL("captureReversal"),
×
673
    
674
    CARDTRANSFER("cardTransfer"),
×
675
    
676
    CHARGEBACK("chargeback"),
×
677
    
678
    CHARGEBACKREVERSAL("chargebackReversal"),
×
679
    
680
    DEPOSITCORRECTION("depositCorrection"),
×
681
    
682
    FEE("fee"),
×
683
    
684
    GRANT("grant"),
×
685
    
686
    INSTALLMENT("installment"),
×
687
    
688
    INSTALLMENTREVERSAL("installmentReversal"),
×
689
    
690
    INTERNALTRANSFER("internalTransfer"),
×
691
    
692
    INVOICEDEDUCTION("invoiceDeduction"),
×
693
    
694
    LEFTOVER("leftover"),
×
695
    
696
    MANUALCORRECTION("manualCorrection"),
×
697
    
698
    MISCCOST("miscCost"),
×
699
    
700
    PAYMENT("payment"),
×
701
    
702
    PAYMENTCOST("paymentCost"),
×
703
    
704
    REFUND("refund"),
×
705
    
706
    REFUNDREVERSAL("refundReversal"),
×
707
    
708
    REPAYMENT("repayment"),
×
709
    
710
    RESERVEADJUSTMENT("reserveAdjustment"),
×
711
    
712
    SECONDCHARGEBACK("secondChargeback");
×
713

714
    private String value;
715

716
    TypeEnum(String value) {
×
717
      this.value = value;
×
718
    }
×
719

720
    @JsonValue
721
    public String getValue() {
722
      return value;
×
723
    }
724

725
    @Override
726
    public String toString() {
727
      return String.valueOf(value);
×
728
    }
729

730
    @JsonCreator
731
    public static TypeEnum fromValue(String value) {
732
      for (TypeEnum b : TypeEnum.values()) {
×
733
        if (b.value.equals(value)) {
×
734
          return b;
×
735
        }
736
      }
737
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
738
    }
739
  }
740

741
  public static final String JSON_PROPERTY_TYPE = "type";
742
  private TypeEnum type;
743

744
  public static final String JSON_PROPERTY_VALIDATION_FACTS = "validationFacts";
745
  private List<TransferNotificationValidationFact> validationFacts = null;
×
746

747
  public TransferData() { 
×
748
  }
×
749

750
  public TransferData accountHolder(ResourceReference accountHolder) {
751
    this.accountHolder = accountHolder;
×
752
    return this;
×
753
  }
754

755
   /**
756
   * Get accountHolder
757
   * @return accountHolder
758
  **/
759
  @ApiModelProperty(value = "")
760
  @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
761
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
762

763
  public ResourceReference getAccountHolder() {
764
    return accountHolder;
×
765
  }
766

767

768
  @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER)
769
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
770
  public void setAccountHolder(ResourceReference accountHolder) {
771
    this.accountHolder = accountHolder;
×
772
  }
×
773

774

775
  public TransferData amount(Amount amount) {
776
    this.amount = amount;
×
777
    return this;
×
778
  }
779

780
   /**
781
   * Get amount
782
   * @return amount
783
  **/
784
  @ApiModelProperty(required = true, value = "")
785
  @JsonProperty(JSON_PROPERTY_AMOUNT)
786
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
787

788
  public Amount getAmount() {
789
    return amount;
×
790
  }
791

792

793
  @JsonProperty(JSON_PROPERTY_AMOUNT)
794
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
795
  public void setAmount(Amount amount) {
796
    this.amount = amount;
×
797
  }
×
798

799

800
  public TransferData balanceAccount(ResourceReference balanceAccount) {
801
    this.balanceAccount = balanceAccount;
×
802
    return this;
×
803
  }
804

805
   /**
806
   * Get balanceAccount
807
   * @return balanceAccount
808
  **/
809
  @ApiModelProperty(value = "")
810
  @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT)
811
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
812

813
  public ResourceReference getBalanceAccount() {
814
    return balanceAccount;
×
815
  }
816

817

818
  @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT)
819
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
820
  public void setBalanceAccount(ResourceReference balanceAccount) {
821
    this.balanceAccount = balanceAccount;
×
822
  }
×
823

824

825
  public TransferData balanceAccountId(String balanceAccountId) {
826
    this.balanceAccountId = balanceAccountId;
×
827
    return this;
×
828
  }
829

830
   /**
831
   * The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id).
832
   * @return balanceAccountId
833
   * @deprecated
834
  **/
835
  @Deprecated
836
  @ApiModelProperty(value = "The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id).")
837
  @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID)
838
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
839

840
  public String getBalanceAccountId() {
841
    return balanceAccountId;
×
842
  }
843

844

845
  @Deprecated
846
  @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID)
847
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
848
  public void setBalanceAccountId(String balanceAccountId) {
849
    this.balanceAccountId = balanceAccountId;
×
850
  }
×
851

852

853
  public TransferData balancePlatform(String balancePlatform) {
854
    this.balancePlatform = balancePlatform;
×
855
    return this;
×
856
  }
857

858
   /**
859
   * The unique identifier of the balance platform.
860
   * @return balancePlatform
861
  **/
862
  @ApiModelProperty(value = "The unique identifier of the balance platform.")
863
  @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM)
864
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
865

866
  public String getBalancePlatform() {
867
    return balancePlatform;
×
868
  }
869

870

871
  @JsonProperty(JSON_PROPERTY_BALANCE_PLATFORM)
872
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
873
  public void setBalancePlatform(String balancePlatform) {
874
    this.balancePlatform = balancePlatform;
×
875
  }
×
876

877

878
  public TransferData balances(List<BalanceMutation> balances) {
879
    this.balances = balances;
×
880
    return this;
×
881
  }
882

883
  public TransferData addBalancesItem(BalanceMutation balancesItem) {
884
    if (this.balances == null) {
×
885
      this.balances = new ArrayList<>();
×
886
    }
887
    this.balances.add(balancesItem);
×
888
    return this;
×
889
  }
890

891
   /**
892
   * The list of the latest balance statuses in the transfer.
893
   * @return balances
894
  **/
895
  @ApiModelProperty(value = "The list of the latest balance statuses in the transfer.")
896
  @JsonProperty(JSON_PROPERTY_BALANCES)
897
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
898

899
  public List<BalanceMutation> getBalances() {
900
    return balances;
×
901
  }
902

903

904
  @JsonProperty(JSON_PROPERTY_BALANCES)
905
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
906
  public void setBalances(List<BalanceMutation> balances) {
907
    this.balances = balances;
×
908
  }
×
909

910

911
  public TransferData category(CategoryEnum category) {
912
    this.category = category;
×
913
    return this;
×
914
  }
915

916
   /**
917
   * The type of transfer.  Possible values:   - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account.  - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform.  - **issuedCard**: Transfer initiated by a Adyen-issued card.  - **platformPayment**: Fund movements related to payments that are acquired for your users.
918
   * @return category
919
  **/
920
  @ApiModelProperty(required = true, value = "The type of transfer.  Possible values:   - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account.  - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform.  - **issuedCard**: Transfer initiated by a Adyen-issued card.  - **platformPayment**: Fund movements related to payments that are acquired for your users.")
921
  @JsonProperty(JSON_PROPERTY_CATEGORY)
922
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
923

924
  public CategoryEnum getCategory() {
925
    return category;
×
926
  }
927

928

929
  @JsonProperty(JSON_PROPERTY_CATEGORY)
930
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
931
  public void setCategory(CategoryEnum category) {
932
    this.category = category;
×
933
  }
×
934

935

936
  public TransferData counterparty(CounterpartyV3 counterparty) {
937
    this.counterparty = counterparty;
×
938
    return this;
×
939
  }
940

941
   /**
942
   * Get counterparty
943
   * @return counterparty
944
  **/
945
  @ApiModelProperty(value = "")
946
  @JsonProperty(JSON_PROPERTY_COUNTERPARTY)
947
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
948

949
  public CounterpartyV3 getCounterparty() {
950
    return counterparty;
×
951
  }
952

953

954
  @JsonProperty(JSON_PROPERTY_COUNTERPARTY)
955
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
956
  public void setCounterparty(CounterpartyV3 counterparty) {
957
    this.counterparty = counterparty;
×
958
  }
×
959

960

961
  public TransferData creationDate(OffsetDateTime creationDate) {
962
    this.creationDate = creationDate;
×
963
    return this;
×
964
  }
965

966
   /**
967
   * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.
968
   * @return creationDate
969
  **/
970
  @ApiModelProperty(value = "The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.")
971
  @JsonProperty(JSON_PROPERTY_CREATION_DATE)
972
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
973

974
  public OffsetDateTime getCreationDate() {
975
    return creationDate;
×
976
  }
977

978

979
  @JsonProperty(JSON_PROPERTY_CREATION_DATE)
980
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
981
  public void setCreationDate(OffsetDateTime creationDate) {
982
    this.creationDate = creationDate;
×
983
  }
×
984

985

986
  public TransferData description(String description) {
987
    this.description = description;
×
988
    return this;
×
989
  }
990

991
   /**
992
   * Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated.  Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , &#39; + Space**  Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] &amp; $ % # @** **~ &#x3D; + - _ &#39; \&quot; ! ?**
993
   * @return description
994
  **/
995
  @ApiModelProperty(value = "Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated.  Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space**  Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?**")
996
  @JsonProperty(JSON_PROPERTY_DESCRIPTION)
997
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
998

999
  public String getDescription() {
1000
    return description;
×
1001
  }
1002

1003

1004
  @JsonProperty(JSON_PROPERTY_DESCRIPTION)
1005
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1006
  public void setDescription(String description) {
1007
    this.description = description;
×
1008
  }
×
1009

1010

1011
  public TransferData direction(DirectionEnum direction) {
1012
    this.direction = direction;
×
1013
    return this;
×
1014
  }
1015

1016
   /**
1017
   * The direction of the transfer.  Possible values: **incoming**, **outgoing**.
1018
   * @return direction
1019
  **/
1020
  @ApiModelProperty(value = "The direction of the transfer.  Possible values: **incoming**, **outgoing**.")
1021
  @JsonProperty(JSON_PROPERTY_DIRECTION)
1022
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1023

1024
  public DirectionEnum getDirection() {
1025
    return direction;
×
1026
  }
1027

1028

1029
  @JsonProperty(JSON_PROPERTY_DIRECTION)
1030
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1031
  public void setDirection(DirectionEnum direction) {
1032
    this.direction = direction;
×
1033
  }
×
1034

1035

1036
  public TransferData events(List<TransferEvent> events) {
1037
    this.events = events;
×
1038
    return this;
×
1039
  }
1040

1041
  public TransferData addEventsItem(TransferEvent eventsItem) {
1042
    if (this.events == null) {
×
1043
      this.events = new ArrayList<>();
×
1044
    }
1045
    this.events.add(eventsItem);
×
1046
    return this;
×
1047
  }
1048

1049
   /**
1050
   * The list of events leading up to the current status of the transfer.
1051
   * @return events
1052
  **/
1053
  @ApiModelProperty(value = "The list of events leading up to the current status of the transfer.")
1054
  @JsonProperty(JSON_PROPERTY_EVENTS)
1055
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1056

1057
  public List<TransferEvent> getEvents() {
1058
    return events;
×
1059
  }
1060

1061

1062
  @JsonProperty(JSON_PROPERTY_EVENTS)
1063
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1064
  public void setEvents(List<TransferEvent> events) {
1065
    this.events = events;
×
1066
  }
×
1067

1068

1069
  public TransferData id(String id) {
1070
    this.id = id;
×
1071
    return this;
×
1072
  }
1073

1074
   /**
1075
   * The ID of the resource.
1076
   * @return id
1077
  **/
1078
  @ApiModelProperty(value = "The ID of the resource.")
1079
  @JsonProperty(JSON_PROPERTY_ID)
1080
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1081

1082
  public String getId() {
1083
    return id;
×
1084
  }
1085

1086

1087
  @JsonProperty(JSON_PROPERTY_ID)
1088
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1089
  public void setId(String id) {
1090
    this.id = id;
×
1091
  }
×
1092

1093

1094
  public TransferData modificationMerchantReference(String modificationMerchantReference) {
1095
    this.modificationMerchantReference = modificationMerchantReference;
×
1096
    return this;
×
1097
  }
1098

1099
   /**
1100
   * The capture&#39;s merchant reference included in the transfer.
1101
   * @return modificationMerchantReference
1102
   * @deprecated
1103
  **/
1104
  @Deprecated
1105
  @ApiModelProperty(value = "The capture's merchant reference included in the transfer.")
1106
  @JsonProperty(JSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCE)
1107
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1108

1109
  public String getModificationMerchantReference() {
1110
    return modificationMerchantReference;
×
1111
  }
1112

1113

1114
  @Deprecated
1115
  @JsonProperty(JSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCE)
1116
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1117
  public void setModificationMerchantReference(String modificationMerchantReference) {
1118
    this.modificationMerchantReference = modificationMerchantReference;
×
1119
  }
×
1120

1121

1122
  public TransferData modificationPspReference(String modificationPspReference) {
1123
    this.modificationPspReference = modificationPspReference;
×
1124
    return this;
×
1125
  }
1126

1127
   /**
1128
   * The capture reference included in the transfer.
1129
   * @return modificationPspReference
1130
   * @deprecated
1131
  **/
1132
  @Deprecated
1133
  @ApiModelProperty(value = "The capture reference included in the transfer.")
1134
  @JsonProperty(JSON_PROPERTY_MODIFICATION_PSP_REFERENCE)
1135
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1136

1137
  public String getModificationPspReference() {
1138
    return modificationPspReference;
×
1139
  }
1140

1141

1142
  @Deprecated
1143
  @JsonProperty(JSON_PROPERTY_MODIFICATION_PSP_REFERENCE)
1144
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1145
  public void setModificationPspReference(String modificationPspReference) {
1146
    this.modificationPspReference = modificationPspReference;
×
1147
  }
×
1148

1149

1150
  public TransferData panEntryMode(PanEntryModeEnum panEntryMode) {
1151
    this.panEntryMode = panEntryMode;
×
1152
    return this;
×
1153
  }
1154

1155
   /**
1156
   * Indicates the method used for entering the PAN to initiate a transaction.  Possible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **ecommerce**, **token**.
1157
   * @return panEntryMode
1158
   * @deprecated
1159
  **/
1160
  @Deprecated
1161
  @ApiModelProperty(value = "Indicates the method used for entering the PAN to initiate a transaction.  Possible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **ecommerce**, **token**.")
1162
  @JsonProperty(JSON_PROPERTY_PAN_ENTRY_MODE)
1163
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1164

1165
  public PanEntryModeEnum getPanEntryMode() {
1166
    return panEntryMode;
×
1167
  }
1168

1169

1170
  @Deprecated
1171
  @JsonProperty(JSON_PROPERTY_PAN_ENTRY_MODE)
1172
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1173
  public void setPanEntryMode(PanEntryModeEnum panEntryMode) {
1174
    this.panEntryMode = panEntryMode;
×
1175
  }
×
1176

1177

1178
  public TransferData paymentInstrument(PaymentInstrument paymentInstrument) {
1179
    this.paymentInstrument = paymentInstrument;
×
1180
    return this;
×
1181
  }
1182

1183
   /**
1184
   * Get paymentInstrument
1185
   * @return paymentInstrument
1186
  **/
1187
  @ApiModelProperty(value = "")
1188
  @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT)
1189
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1190

1191
  public PaymentInstrument getPaymentInstrument() {
1192
    return paymentInstrument;
×
1193
  }
1194

1195

1196
  @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT)
1197
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1198
  public void setPaymentInstrument(PaymentInstrument paymentInstrument) {
1199
    this.paymentInstrument = paymentInstrument;
×
1200
  }
×
1201

1202

1203
  public TransferData paymentInstrumentId(String paymentInstrumentId) {
1204
    this.paymentInstrumentId = paymentInstrumentId;
×
1205
    return this;
×
1206
  }
1207

1208
   /**
1209
   * The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) used in the transfer.
1210
   * @return paymentInstrumentId
1211
   * @deprecated
1212
  **/
1213
  @Deprecated
1214
  @ApiModelProperty(value = "The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) used in the transfer.")
1215
  @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID)
1216
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1217

1218
  public String getPaymentInstrumentId() {
1219
    return paymentInstrumentId;
×
1220
  }
1221

1222

1223
  @Deprecated
1224
  @JsonProperty(JSON_PROPERTY_PAYMENT_INSTRUMENT_ID)
1225
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1226
  public void setPaymentInstrumentId(String paymentInstrumentId) {
1227
    this.paymentInstrumentId = paymentInstrumentId;
×
1228
  }
×
1229

1230

1231
  public TransferData paymentMerchantReference(String paymentMerchantReference) {
1232
    this.paymentMerchantReference = paymentMerchantReference;
×
1233
    return this;
×
1234
  }
1235

1236
   /**
1237
   * The payment&#39;s merchant reference included in the transfer.
1238
   * @return paymentMerchantReference
1239
   * @deprecated
1240
  **/
1241
  @Deprecated
1242
  @ApiModelProperty(value = "The payment's merchant reference included in the transfer.")
1243
  @JsonProperty(JSON_PROPERTY_PAYMENT_MERCHANT_REFERENCE)
1244
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1245

1246
  public String getPaymentMerchantReference() {
1247
    return paymentMerchantReference;
×
1248
  }
1249

1250

1251
  @Deprecated
1252
  @JsonProperty(JSON_PROPERTY_PAYMENT_MERCHANT_REFERENCE)
1253
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1254
  public void setPaymentMerchantReference(String paymentMerchantReference) {
1255
    this.paymentMerchantReference = paymentMerchantReference;
×
1256
  }
×
1257

1258

1259
  public TransferData platformPaymentType(PlatformPaymentTypeEnum platformPaymentType) {
1260
    this.platformPaymentType = platformPaymentType;
×
1261
    return this;
×
1262
  }
1263

1264
   /**
1265
   * The type of the related split.
1266
   * @return platformPaymentType
1267
   * @deprecated
1268
  **/
1269
  @Deprecated
1270
  @ApiModelProperty(value = "The type of the related split.")
1271
  @JsonProperty(JSON_PROPERTY_PLATFORM_PAYMENT_TYPE)
1272
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1273

1274
  public PlatformPaymentTypeEnum getPlatformPaymentType() {
1275
    return platformPaymentType;
×
1276
  }
1277

1278

1279
  @Deprecated
1280
  @JsonProperty(JSON_PROPERTY_PLATFORM_PAYMENT_TYPE)
1281
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1282
  public void setPlatformPaymentType(PlatformPaymentTypeEnum platformPaymentType) {
1283
    this.platformPaymentType = platformPaymentType;
×
1284
  }
×
1285

1286

1287
  public TransferData priority(PriorityEnum priority) {
1288
    this.priority = priority;
×
1289
    return this;
×
1290
  }
1291

1292
   /**
1293
   * The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with &#x60;category&#x60; **bank**.  Possible values:  * **regular**: For normal, low-value transactions.  * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions.  * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions.  * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html).  * **crossBorder**: High-value transfer to a recipient in a different country.  * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN).
1294
   * @return priority
1295
  **/
1296
  @ApiModelProperty(value = "The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**.  Possible values:  * **regular**: For normal, low-value transactions.  * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions.  * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions.  * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html).  * **crossBorder**: High-value transfer to a recipient in a different country.  * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN).")
1297
  @JsonProperty(JSON_PROPERTY_PRIORITY)
1298
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1299

1300
  public PriorityEnum getPriority() {
1301
    return priority;
×
1302
  }
1303

1304

1305
  @JsonProperty(JSON_PROPERTY_PRIORITY)
1306
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1307
  public void setPriority(PriorityEnum priority) {
1308
    this.priority = priority;
×
1309
  }
×
1310

1311

1312
  public TransferData processingType(ProcessingTypeEnum processingType) {
1313
    this.processingType = processingType;
×
1314
    return this;
×
1315
  }
1316

1317
   /**
1318
   * Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments.
1319
   * @return processingType
1320
   * @deprecated
1321
  **/
1322
  @Deprecated
1323
  @ApiModelProperty(value = "Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments.")
1324
  @JsonProperty(JSON_PROPERTY_PROCESSING_TYPE)
1325
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1326

1327
  public ProcessingTypeEnum getProcessingType() {
1328
    return processingType;
×
1329
  }
1330

1331

1332
  @Deprecated
1333
  @JsonProperty(JSON_PROPERTY_PROCESSING_TYPE)
1334
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1335
  public void setProcessingType(ProcessingTypeEnum processingType) {
1336
    this.processingType = processingType;
×
1337
  }
×
1338

1339

1340
  public TransferData pspPaymentReference(String pspPaymentReference) {
1341
    this.pspPaymentReference = pspPaymentReference;
×
1342
    return this;
×
1343
  }
1344

1345
   /**
1346
   * The payment reference included in the transfer.
1347
   * @return pspPaymentReference
1348
   * @deprecated
1349
  **/
1350
  @Deprecated
1351
  @ApiModelProperty(value = "The payment reference included in the transfer.")
1352
  @JsonProperty(JSON_PROPERTY_PSP_PAYMENT_REFERENCE)
1353
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1354

1355
  public String getPspPaymentReference() {
1356
    return pspPaymentReference;
×
1357
  }
1358

1359

1360
  @Deprecated
1361
  @JsonProperty(JSON_PROPERTY_PSP_PAYMENT_REFERENCE)
1362
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1363
  public void setPspPaymentReference(String pspPaymentReference) {
1364
    this.pspPaymentReference = pspPaymentReference;
×
1365
  }
×
1366

1367

1368
  public TransferData reason(ReasonEnum reason) {
1369
    this.reason = reason;
×
1370
    return this;
×
1371
  }
1372

1373
   /**
1374
   * Additional information about the status of the transfer.
1375
   * @return reason
1376
  **/
1377
  @ApiModelProperty(value = "Additional information about the status of the transfer.")
1378
  @JsonProperty(JSON_PROPERTY_REASON)
1379
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1380

1381
  public ReasonEnum getReason() {
1382
    return reason;
×
1383
  }
1384

1385

1386
  @JsonProperty(JSON_PROPERTY_REASON)
1387
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1388
  public void setReason(ReasonEnum reason) {
1389
    this.reason = reason;
×
1390
  }
×
1391

1392

1393
  public TransferData reference(String reference) {
1394
    this.reference = reference;
×
1395
    return this;
×
1396
  }
1397

1398
   /**
1399
   * Your reference for the transfer, used internally within your platform. If you don&#39;t provide this in the request, Adyen generates a unique reference.
1400
   * @return reference
1401
  **/
1402
  @ApiModelProperty(value = "Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference.")
1403
  @JsonProperty(JSON_PROPERTY_REFERENCE)
1404
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1405

1406
  public String getReference() {
1407
    return reference;
×
1408
  }
1409

1410

1411
  @JsonProperty(JSON_PROPERTY_REFERENCE)
1412
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1413
  public void setReference(String reference) {
1414
    this.reference = reference;
×
1415
  }
×
1416

1417

1418
  public TransferData referenceForBeneficiary(String referenceForBeneficiary) {
1419
    this.referenceForBeneficiary = referenceForBeneficiary;
×
1420
    return this;
×
1421
  }
1422

1423
   /**
1424
   *  A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds.   Supported characters: **a-z**, **A-Z**, **0-9**. The maximum length depends on the &#x60;category&#x60;.  - **internal**: 80 characters  - **bank**: 35 characters when transferring to an IBAN, 15 characters for others.
1425
   * @return referenceForBeneficiary
1426
  **/
1427
  @ApiModelProperty(value = " A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both the source and recipient of funds.   Supported characters: **a-z**, **A-Z**, **0-9**. The maximum length depends on the `category`.  - **internal**: 80 characters  - **bank**: 35 characters when transferring to an IBAN, 15 characters for others.")
1428
  @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY)
1429
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1430

1431
  public String getReferenceForBeneficiary() {
1432
    return referenceForBeneficiary;
×
1433
  }
1434

1435

1436
  @JsonProperty(JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY)
1437
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1438
  public void setReferenceForBeneficiary(String referenceForBeneficiary) {
1439
    this.referenceForBeneficiary = referenceForBeneficiary;
×
1440
  }
×
1441

1442

1443
  public TransferData relayedAuthorisationData(RelayedAuthorisationData relayedAuthorisationData) {
1444
    this.relayedAuthorisationData = relayedAuthorisationData;
×
1445
    return this;
×
1446
  }
1447

1448
   /**
1449
   * Get relayedAuthorisationData
1450
   * @return relayedAuthorisationData
1451
  **/
1452
  @ApiModelProperty(value = "")
1453
  @JsonProperty(JSON_PROPERTY_RELAYED_AUTHORISATION_DATA)
1454
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1455

1456
  public RelayedAuthorisationData getRelayedAuthorisationData() {
1457
    return relayedAuthorisationData;
×
1458
  }
1459

1460

1461
  @JsonProperty(JSON_PROPERTY_RELAYED_AUTHORISATION_DATA)
1462
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1463
  public void setRelayedAuthorisationData(RelayedAuthorisationData relayedAuthorisationData) {
1464
    this.relayedAuthorisationData = relayedAuthorisationData;
×
1465
  }
×
1466

1467

1468
  public TransferData sequenceNumber(Integer sequenceNumber) {
1469
    this.sequenceNumber = sequenceNumber;
×
1470
    return this;
×
1471
  }
1472

1473
   /**
1474
   * The sequence number of the transfer notification. The numbers start from 1 and increase with each new notification for a specific transfer.  It can help you restore the correct sequence of events even if they arrive out of order.
1475
   * @return sequenceNumber
1476
  **/
1477
  @ApiModelProperty(value = "The sequence number of the transfer notification. The numbers start from 1 and increase with each new notification for a specific transfer.  It can help you restore the correct sequence of events even if they arrive out of order.")
1478
  @JsonProperty(JSON_PROPERTY_SEQUENCE_NUMBER)
1479
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1480

1481
  public Integer getSequenceNumber() {
1482
    return sequenceNumber;
×
1483
  }
1484

1485

1486
  @JsonProperty(JSON_PROPERTY_SEQUENCE_NUMBER)
1487
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1488
  public void setSequenceNumber(Integer sequenceNumber) {
1489
    this.sequenceNumber = sequenceNumber;
×
1490
  }
×
1491

1492

1493
  public TransferData status(StatusEnum status) {
1494
    this.status = status;
×
1495
    return this;
×
1496
  }
1497

1498
   /**
1499
   * The result of the transfer.   For example, **authorised**, **refused**, or **error**.
1500
   * @return status
1501
  **/
1502
  @ApiModelProperty(required = true, value = "The result of the transfer.   For example, **authorised**, **refused**, or **error**.")
1503
  @JsonProperty(JSON_PROPERTY_STATUS)
1504
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1505

1506
  public StatusEnum getStatus() {
1507
    return status;
×
1508
  }
1509

1510

1511
  @JsonProperty(JSON_PROPERTY_STATUS)
1512
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1513
  public void setStatus(StatusEnum status) {
1514
    this.status = status;
×
1515
  }
×
1516

1517

1518
  public TransferData tracking(TransferNotificationTransferTracking tracking) {
1519
    this.tracking = tracking;
×
1520
    return this;
×
1521
  }
1522

1523
   /**
1524
   * Get tracking
1525
   * @return tracking
1526
  **/
1527
  @ApiModelProperty(value = "")
1528
  @JsonProperty(JSON_PROPERTY_TRACKING)
1529
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1530

1531
  public TransferNotificationTransferTracking getTracking() {
1532
    return tracking;
×
1533
  }
1534

1535

1536
  @JsonProperty(JSON_PROPERTY_TRACKING)
1537
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1538
  public void setTracking(TransferNotificationTransferTracking tracking) {
1539
    this.tracking = tracking;
×
1540
  }
×
1541

1542

1543
  public TransferData transactionId(String transactionId) {
1544
    this.transactionId = transactionId;
×
1545
    return this;
×
1546
  }
1547

1548
   /**
1549
   * The ID of the transaction that is created based on the transfer.
1550
   * @return transactionId
1551
   * @deprecated
1552
  **/
1553
  @Deprecated
1554
  @ApiModelProperty(value = "The ID of the transaction that is created based on the transfer.")
1555
  @JsonProperty(JSON_PROPERTY_TRANSACTION_ID)
1556
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1557

1558
  public String getTransactionId() {
1559
    return transactionId;
×
1560
  }
1561

1562

1563
  @Deprecated
1564
  @JsonProperty(JSON_PROPERTY_TRANSACTION_ID)
1565
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1566
  public void setTransactionId(String transactionId) {
1567
    this.transactionId = transactionId;
×
1568
  }
×
1569

1570

1571
  public TransferData transactionRulesResult(TransactionRulesResult transactionRulesResult) {
1572
    this.transactionRulesResult = transactionRulesResult;
×
1573
    return this;
×
1574
  }
1575

1576
   /**
1577
   * Get transactionRulesResult
1578
   * @return transactionRulesResult
1579
  **/
1580
  @ApiModelProperty(value = "")
1581
  @JsonProperty(JSON_PROPERTY_TRANSACTION_RULES_RESULT)
1582
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1583

1584
  public TransactionRulesResult getTransactionRulesResult() {
1585
    return transactionRulesResult;
×
1586
  }
1587

1588

1589
  @JsonProperty(JSON_PROPERTY_TRANSACTION_RULES_RESULT)
1590
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1591
  public void setTransactionRulesResult(TransactionRulesResult transactionRulesResult) {
1592
    this.transactionRulesResult = transactionRulesResult;
×
1593
  }
×
1594

1595

1596
  public TransferData type(TypeEnum type) {
1597
    this.type = type;
×
1598
    return this;
×
1599
  }
1600

1601
   /**
1602
   * The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**.
1603
   * @return type
1604
  **/
1605
  @ApiModelProperty(value = "The type of transfer or transaction. For example, **refund**, **payment**, **internalTransfer**, **bankTransfer**.")
1606
  @JsonProperty(JSON_PROPERTY_TYPE)
1607
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1608

1609
  public TypeEnum getType() {
1610
    return type;
×
1611
  }
1612

1613

1614
  @JsonProperty(JSON_PROPERTY_TYPE)
1615
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1616
  public void setType(TypeEnum type) {
1617
    this.type = type;
×
1618
  }
×
1619

1620

1621
  public TransferData validationFacts(List<TransferNotificationValidationFact> validationFacts) {
1622
    this.validationFacts = validationFacts;
×
1623
    return this;
×
1624
  }
1625

1626
  public TransferData addValidationFactsItem(TransferNotificationValidationFact validationFactsItem) {
1627
    if (this.validationFacts == null) {
×
1628
      this.validationFacts = new ArrayList<>();
×
1629
    }
1630
    this.validationFacts.add(validationFactsItem);
×
1631
    return this;
×
1632
  }
1633

1634
   /**
1635
   * The evaluation of the validation facts. See [validation checks](https://docs.adyen.com/issuing/validation-checks) for more information.
1636
   * @return validationFacts
1637
   * @deprecated
1638
  **/
1639
  @Deprecated
1640
  @ApiModelProperty(value = "The evaluation of the validation facts. See [validation checks](https://docs.adyen.com/issuing/validation-checks) for more information.")
1641
  @JsonProperty(JSON_PROPERTY_VALIDATION_FACTS)
1642
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1643

1644
  public List<TransferNotificationValidationFact> getValidationFacts() {
1645
    return validationFacts;
×
1646
  }
1647

1648

1649
  @Deprecated
1650
  @JsonProperty(JSON_PROPERTY_VALIDATION_FACTS)
1651
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1652
  public void setValidationFacts(List<TransferNotificationValidationFact> validationFacts) {
1653
    this.validationFacts = validationFacts;
×
1654
  }
×
1655

1656

1657
  /**
1658
   * Return true if this TransferData object is equal to o.
1659
   */
1660
  @Override
1661
  public boolean equals(Object o) {
1662
    if (this == o) {
×
1663
      return true;
×
1664
    }
1665
    if (o == null || getClass() != o.getClass()) {
×
1666
      return false;
×
1667
    }
1668
    TransferData transferData = (TransferData) o;
×
1669
    return Objects.equals(this.accountHolder, transferData.accountHolder) &&
×
1670
        Objects.equals(this.amount, transferData.amount) &&
×
1671
        Objects.equals(this.balanceAccount, transferData.balanceAccount) &&
×
1672
        Objects.equals(this.balanceAccountId, transferData.balanceAccountId) &&
×
1673
        Objects.equals(this.balancePlatform, transferData.balancePlatform) &&
×
1674
        Objects.equals(this.balances, transferData.balances) &&
×
1675
        Objects.equals(this.category, transferData.category) &&
×
1676
        Objects.equals(this.counterparty, transferData.counterparty) &&
×
1677
        Objects.equals(this.creationDate, transferData.creationDate) &&
×
1678
        Objects.equals(this.description, transferData.description) &&
×
1679
        Objects.equals(this.direction, transferData.direction) &&
×
1680
        Objects.equals(this.events, transferData.events) &&
×
1681
        Objects.equals(this.id, transferData.id) &&
×
1682
        Objects.equals(this.modificationMerchantReference, transferData.modificationMerchantReference) &&
×
1683
        Objects.equals(this.modificationPspReference, transferData.modificationPspReference) &&
×
1684
        Objects.equals(this.panEntryMode, transferData.panEntryMode) &&
×
1685
        Objects.equals(this.paymentInstrument, transferData.paymentInstrument) &&
×
1686
        Objects.equals(this.paymentInstrumentId, transferData.paymentInstrumentId) &&
×
1687
        Objects.equals(this.paymentMerchantReference, transferData.paymentMerchantReference) &&
×
1688
        Objects.equals(this.platformPaymentType, transferData.platformPaymentType) &&
×
1689
        Objects.equals(this.priority, transferData.priority) &&
×
1690
        Objects.equals(this.processingType, transferData.processingType) &&
×
1691
        Objects.equals(this.pspPaymentReference, transferData.pspPaymentReference) &&
×
1692
        Objects.equals(this.reason, transferData.reason) &&
×
1693
        Objects.equals(this.reference, transferData.reference) &&
×
1694
        Objects.equals(this.referenceForBeneficiary, transferData.referenceForBeneficiary) &&
×
1695
        Objects.equals(this.relayedAuthorisationData, transferData.relayedAuthorisationData) &&
×
1696
        Objects.equals(this.sequenceNumber, transferData.sequenceNumber) &&
×
1697
        Objects.equals(this.status, transferData.status) &&
×
1698
        Objects.equals(this.tracking, transferData.tracking) &&
×
1699
        Objects.equals(this.transactionId, transferData.transactionId) &&
×
1700
        Objects.equals(this.transactionRulesResult, transferData.transactionRulesResult) &&
×
1701
        Objects.equals(this.type, transferData.type) &&
×
1702
        Objects.equals(this.validationFacts, transferData.validationFacts);
×
1703
  }
1704

1705
  @Override
1706
  public int hashCode() {
1707
    return Objects.hash(accountHolder, amount, balanceAccount, balanceAccountId, balancePlatform, balances, category, counterparty, creationDate, description, direction, events, id, modificationMerchantReference, modificationPspReference, panEntryMode, paymentInstrument, paymentInstrumentId, paymentMerchantReference, platformPaymentType, priority, processingType, pspPaymentReference, reason, reference, referenceForBeneficiary, relayedAuthorisationData, sequenceNumber, status, tracking, transactionId, transactionRulesResult, type, validationFacts);
×
1708
  }
1709

1710
  @Override
1711
  public String toString() {
1712
    StringBuilder sb = new StringBuilder();
×
1713
    sb.append("class TransferData {\n");
×
1714
    sb.append("    accountHolder: ").append(toIndentedString(accountHolder)).append("\n");
×
1715
    sb.append("    amount: ").append(toIndentedString(amount)).append("\n");
×
1716
    sb.append("    balanceAccount: ").append(toIndentedString(balanceAccount)).append("\n");
×
1717
    sb.append("    balanceAccountId: ").append(toIndentedString(balanceAccountId)).append("\n");
×
1718
    sb.append("    balancePlatform: ").append(toIndentedString(balancePlatform)).append("\n");
×
1719
    sb.append("    balances: ").append(toIndentedString(balances)).append("\n");
×
1720
    sb.append("    category: ").append(toIndentedString(category)).append("\n");
×
1721
    sb.append("    counterparty: ").append(toIndentedString(counterparty)).append("\n");
×
1722
    sb.append("    creationDate: ").append(toIndentedString(creationDate)).append("\n");
×
1723
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
×
1724
    sb.append("    direction: ").append(toIndentedString(direction)).append("\n");
×
1725
    sb.append("    events: ").append(toIndentedString(events)).append("\n");
×
1726
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
×
1727
    sb.append("    modificationMerchantReference: ").append(toIndentedString(modificationMerchantReference)).append("\n");
×
1728
    sb.append("    modificationPspReference: ").append(toIndentedString(modificationPspReference)).append("\n");
×
1729
    sb.append("    panEntryMode: ").append(toIndentedString(panEntryMode)).append("\n");
×
1730
    sb.append("    paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n");
×
1731
    sb.append("    paymentInstrumentId: ").append(toIndentedString(paymentInstrumentId)).append("\n");
×
1732
    sb.append("    paymentMerchantReference: ").append(toIndentedString(paymentMerchantReference)).append("\n");
×
1733
    sb.append("    platformPaymentType: ").append(toIndentedString(platformPaymentType)).append("\n");
×
1734
    sb.append("    priority: ").append(toIndentedString(priority)).append("\n");
×
1735
    sb.append("    processingType: ").append(toIndentedString(processingType)).append("\n");
×
1736
    sb.append("    pspPaymentReference: ").append(toIndentedString(pspPaymentReference)).append("\n");
×
1737
    sb.append("    reason: ").append(toIndentedString(reason)).append("\n");
×
1738
    sb.append("    reference: ").append(toIndentedString(reference)).append("\n");
×
1739
    sb.append("    referenceForBeneficiary: ").append(toIndentedString(referenceForBeneficiary)).append("\n");
×
1740
    sb.append("    relayedAuthorisationData: ").append(toIndentedString(relayedAuthorisationData)).append("\n");
×
1741
    sb.append("    sequenceNumber: ").append(toIndentedString(sequenceNumber)).append("\n");
×
1742
    sb.append("    status: ").append(toIndentedString(status)).append("\n");
×
1743
    sb.append("    tracking: ").append(toIndentedString(tracking)).append("\n");
×
1744
    sb.append("    transactionId: ").append(toIndentedString(transactionId)).append("\n");
×
1745
    sb.append("    transactionRulesResult: ").append(toIndentedString(transactionRulesResult)).append("\n");
×
1746
    sb.append("    type: ").append(toIndentedString(type)).append("\n");
×
1747
    sb.append("    validationFacts: ").append(toIndentedString(validationFacts)).append("\n");
×
1748
    sb.append("}");
×
1749
    return sb.toString();
×
1750
  }
1751

1752
  /**
1753
   * Convert the given object to string with each line indented by 4 spaces
1754
   * (except the first line).
1755
   */
1756
  private String toIndentedString(Object o) {
1757
    if (o == null) {
×
1758
      return "null";
×
1759
    }
1760
    return o.toString().replace("\n", "\n    ");
×
1761
  }
1762

1763
/**
1764
   * Create an instance of TransferData given an JSON string
1765
   *
1766
   * @param jsonString JSON string
1767
   * @return An instance of TransferData
1768
   * @throws JsonProcessingException if the JSON string is invalid with respect to TransferData
1769
   */
1770
  public static TransferData fromJson(String jsonString) throws JsonProcessingException {
1771
    return JSON.getMapper().readValue(jsonString, TransferData.class);
×
1772
  }
1773
/**
1774
  * Convert an instance of TransferData to an JSON string
1775
  *
1776
  * @return JSON string
1777
  */
1778
  public String toJson() throws JsonProcessingException {
1779
    return JSON.getMapper().writeValueAsString(this);
×
1780
  }
1781
}
1782

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc