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

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

16 Oct 2023 09:08AM UTC coverage: 12.568%. First build
#2703

push

web-flow
Merge 5bb3765b7 into fe719ccb3

6014 of 6014 new or added lines in 86 files covered. (100.0%)

11852 of 94302 relevant lines covered (12.57%)

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/marketpaywebhooks/AccountHolderPayoutNotificationContent.java
1
/*
2
 * Classic Platforms - Notifications
3
 *
4
 * The version of the OpenAPI document: 6
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.marketpaywebhooks;
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.marketpaywebhooks.Amount;
20
import com.adyen.model.marketpaywebhooks.BankAccountDetail;
21
import com.adyen.model.marketpaywebhooks.ErrorFieldType;
22
import com.adyen.model.marketpaywebhooks.OperationStatus;
23
import com.fasterxml.jackson.annotation.JsonInclude;
24
import com.fasterxml.jackson.annotation.JsonProperty;
25
import com.fasterxml.jackson.annotation.JsonCreator;
26
import com.fasterxml.jackson.annotation.JsonTypeName;
27
import com.fasterxml.jackson.annotation.JsonValue;
28
import io.swagger.annotations.ApiModel;
29
import io.swagger.annotations.ApiModelProperty;
30
import java.time.LocalDate;
31
import java.util.ArrayList;
32
import java.util.List;
33
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
34
import com.fasterxml.jackson.core.JsonProcessingException;
35

36

37
/**
38
 * AccountHolderPayoutNotificationContent
39
 */
40
@JsonPropertyOrder({
41
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_ACCOUNT_CODE,
42
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_ACCOUNT_HOLDER_CODE,
43
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_AMOUNTS,
44
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_BANK_ACCOUNT_DETAIL,
45
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_DESCRIPTION,
46
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_ESTIMATED_ARRIVAL_DATE,
47
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_INVALID_FIELDS,
48
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_MERCHANT_REFERENCE,
49
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_ORIGINAL_PSP_REFERENCE,
50
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_PAYOUT_ACCOUNT_COUNTRY,
51
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_PAYOUT_ACCOUNT_NUMBER,
52
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_PAYOUT_BALANCE_ACCOUNT_ID,
53
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_PAYOUT_BANK_NAME,
54
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_PAYOUT_BRANCH_CODE,
55
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_PAYOUT_REFERENCE,
56
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_PAYOUT_SPEED,
57
  AccountHolderPayoutNotificationContent.JSON_PROPERTY_STATUS
58
})
59

60
public class AccountHolderPayoutNotificationContent {
61
  public static final String JSON_PROPERTY_ACCOUNT_CODE = "accountCode";
62
  private String accountCode;
63

64
  public static final String JSON_PROPERTY_ACCOUNT_HOLDER_CODE = "accountHolderCode";
65
  private String accountHolderCode;
66

67
  public static final String JSON_PROPERTY_AMOUNTS = "amounts";
68
  private List<Amount> amounts = null;
×
69

70
  public static final String JSON_PROPERTY_BANK_ACCOUNT_DETAIL = "bankAccountDetail";
71
  private BankAccountDetail bankAccountDetail;
72

73
  public static final String JSON_PROPERTY_DESCRIPTION = "description";
74
  private String description;
75

76
  public static final String JSON_PROPERTY_ESTIMATED_ARRIVAL_DATE = "estimatedArrivalDate";
77
  private LocalDate estimatedArrivalDate;
78

79
  public static final String JSON_PROPERTY_INVALID_FIELDS = "invalidFields";
80
  private List<ErrorFieldType> invalidFields = null;
×
81

82
  public static final String JSON_PROPERTY_MERCHANT_REFERENCE = "merchantReference";
83
  private String merchantReference;
84

85
  public static final String JSON_PROPERTY_ORIGINAL_PSP_REFERENCE = "originalPspReference";
86
  private String originalPspReference;
87

88
  public static final String JSON_PROPERTY_PAYOUT_ACCOUNT_COUNTRY = "payoutAccountCountry";
89
  private String payoutAccountCountry;
90

91
  public static final String JSON_PROPERTY_PAYOUT_ACCOUNT_NUMBER = "payoutAccountNumber";
92
  private String payoutAccountNumber;
93

94
  public static final String JSON_PROPERTY_PAYOUT_BALANCE_ACCOUNT_ID = "payoutBalanceAccountId";
95
  private String payoutBalanceAccountId;
96

97
  public static final String JSON_PROPERTY_PAYOUT_BANK_NAME = "payoutBankName";
98
  private String payoutBankName;
99

100
  public static final String JSON_PROPERTY_PAYOUT_BRANCH_CODE = "payoutBranchCode";
101
  private String payoutBranchCode;
102

103
  public static final String JSON_PROPERTY_PAYOUT_REFERENCE = "payoutReference";
104
  private Long payoutReference;
105

106
  /**
107
   * Speed with which payouts for this account are processed. Permitted values: &#x60;STANDARD&#x60;, &#x60;SAME_DAY&#x60;.
108
   */
109
  public enum PayoutSpeedEnum {
×
110
    INSTANT("INSTANT"),
×
111
    
112
    SAME_DAY("SAME_DAY"),
×
113
    
114
    STANDARD("STANDARD");
×
115

116
    private String value;
117

118
    PayoutSpeedEnum(String value) {
×
119
      this.value = value;
×
120
    }
×
121

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

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

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

143
  public static final String JSON_PROPERTY_PAYOUT_SPEED = "payoutSpeed";
144
  private PayoutSpeedEnum payoutSpeed;
145

146
  public static final String JSON_PROPERTY_STATUS = "status";
147
  private OperationStatus status;
148

149
  public AccountHolderPayoutNotificationContent() { 
×
150
  }
×
151

152
  public AccountHolderPayoutNotificationContent accountCode(String accountCode) {
153
    this.accountCode = accountCode;
×
154
    return this;
×
155
  }
156

157
   /**
158
   * The code of the account from which the payout was made.
159
   * @return accountCode
160
  **/
161
  @ApiModelProperty(value = "The code of the account from which the payout was made.")
162
  @JsonProperty(JSON_PROPERTY_ACCOUNT_CODE)
163
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
164

165
  public String getAccountCode() {
166
    return accountCode;
×
167
  }
168

169

170
  @JsonProperty(JSON_PROPERTY_ACCOUNT_CODE)
171
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
172
  public void setAccountCode(String accountCode) {
173
    this.accountCode = accountCode;
×
174
  }
×
175

176

177
  public AccountHolderPayoutNotificationContent accountHolderCode(String accountHolderCode) {
178
    this.accountHolderCode = accountHolderCode;
×
179
    return this;
×
180
  }
181

182
   /**
183
   * The code of the Account Holder to which the payout was made.
184
   * @return accountHolderCode
185
  **/
186
  @ApiModelProperty(value = "The code of the Account Holder to which the payout was made.")
187
  @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_CODE)
188
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
189

190
  public String getAccountHolderCode() {
191
    return accountHolderCode;
×
192
  }
193

194

195
  @JsonProperty(JSON_PROPERTY_ACCOUNT_HOLDER_CODE)
196
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
197
  public void setAccountHolderCode(String accountHolderCode) {
198
    this.accountHolderCode = accountHolderCode;
×
199
  }
×
200

201

202
  public AccountHolderPayoutNotificationContent amounts(List<Amount> amounts) {
203
    this.amounts = amounts;
×
204
    return this;
×
205
  }
206

207
  public AccountHolderPayoutNotificationContent addAmountsItem(Amount amountsItem) {
208
    if (this.amounts == null) {
×
209
      this.amounts = new ArrayList<>();
×
210
    }
211
    this.amounts.add(amountsItem);
×
212
    return this;
×
213
  }
214

215
   /**
216
   * The payout amounts (per currency).
217
   * @return amounts
218
  **/
219
  @ApiModelProperty(value = "The payout amounts (per currency).")
220
  @JsonProperty(JSON_PROPERTY_AMOUNTS)
221
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
222

223
  public List<Amount> getAmounts() {
224
    return amounts;
×
225
  }
226

227

228
  @JsonProperty(JSON_PROPERTY_AMOUNTS)
229
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
230
  public void setAmounts(List<Amount> amounts) {
231
    this.amounts = amounts;
×
232
  }
×
233

234

235
  public AccountHolderPayoutNotificationContent bankAccountDetail(BankAccountDetail bankAccountDetail) {
236
    this.bankAccountDetail = bankAccountDetail;
×
237
    return this;
×
238
  }
239

240
   /**
241
   * Get bankAccountDetail
242
   * @return bankAccountDetail
243
  **/
244
  @ApiModelProperty(value = "")
245
  @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_DETAIL)
246
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
247

248
  public BankAccountDetail getBankAccountDetail() {
249
    return bankAccountDetail;
×
250
  }
251

252

253
  @JsonProperty(JSON_PROPERTY_BANK_ACCOUNT_DETAIL)
254
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
255
  public void setBankAccountDetail(BankAccountDetail bankAccountDetail) {
256
    this.bankAccountDetail = bankAccountDetail;
×
257
  }
×
258

259

260
  public AccountHolderPayoutNotificationContent description(String description) {
261
    this.description = description;
×
262
    return this;
×
263
  }
264

265
   /**
266
   * A description of the payout.
267
   * @return description
268
  **/
269
  @ApiModelProperty(value = "A description of the payout.")
270
  @JsonProperty(JSON_PROPERTY_DESCRIPTION)
271
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
272

273
  public String getDescription() {
274
    return description;
×
275
  }
276

277

278
  @JsonProperty(JSON_PROPERTY_DESCRIPTION)
279
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
280
  public void setDescription(String description) {
281
    this.description = description;
×
282
  }
×
283

284

285
  public AccountHolderPayoutNotificationContent estimatedArrivalDate(LocalDate estimatedArrivalDate) {
286
    this.estimatedArrivalDate = estimatedArrivalDate;
×
287
    return this;
×
288
  }
289

290
   /**
291
   * Get estimatedArrivalDate
292
   * @return estimatedArrivalDate
293
  **/
294
  @ApiModelProperty(value = "")
295
  @JsonProperty(JSON_PROPERTY_ESTIMATED_ARRIVAL_DATE)
296
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
297

298
  public LocalDate getEstimatedArrivalDate() {
299
    return estimatedArrivalDate;
×
300
  }
301

302

303
  @JsonProperty(JSON_PROPERTY_ESTIMATED_ARRIVAL_DATE)
304
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
305
  public void setEstimatedArrivalDate(LocalDate estimatedArrivalDate) {
306
    this.estimatedArrivalDate = estimatedArrivalDate;
×
307
  }
×
308

309

310
  public AccountHolderPayoutNotificationContent invalidFields(List<ErrorFieldType> invalidFields) {
311
    this.invalidFields = invalidFields;
×
312
    return this;
×
313
  }
314

315
  public AccountHolderPayoutNotificationContent addInvalidFieldsItem(ErrorFieldType invalidFieldsItem) {
316
    if (this.invalidFields == null) {
×
317
      this.invalidFields = new ArrayList<>();
×
318
    }
319
    this.invalidFields.add(invalidFieldsItem);
×
320
    return this;
×
321
  }
322

323
   /**
324
   * Invalid fields list.
325
   * @return invalidFields
326
  **/
327
  @ApiModelProperty(value = "Invalid fields list.")
328
  @JsonProperty(JSON_PROPERTY_INVALID_FIELDS)
329
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
330

331
  public List<ErrorFieldType> getInvalidFields() {
332
    return invalidFields;
×
333
  }
334

335

336
  @JsonProperty(JSON_PROPERTY_INVALID_FIELDS)
337
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
338
  public void setInvalidFields(List<ErrorFieldType> invalidFields) {
339
    this.invalidFields = invalidFields;
×
340
  }
×
341

342

343
  public AccountHolderPayoutNotificationContent merchantReference(String merchantReference) {
344
    this.merchantReference = merchantReference;
×
345
    return this;
×
346
  }
347

348
   /**
349
   * The merchant reference.
350
   * @return merchantReference
351
  **/
352
  @ApiModelProperty(value = "The merchant reference.")
353
  @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE)
354
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
355

356
  public String getMerchantReference() {
357
    return merchantReference;
×
358
  }
359

360

361
  @JsonProperty(JSON_PROPERTY_MERCHANT_REFERENCE)
362
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
363
  public void setMerchantReference(String merchantReference) {
364
    this.merchantReference = merchantReference;
×
365
  }
×
366

367

368
  public AccountHolderPayoutNotificationContent originalPspReference(String originalPspReference) {
369
    this.originalPspReference = originalPspReference;
×
370
    return this;
×
371
  }
372

373
   /**
374
   * The PSP reference of the original payout.
375
   * @return originalPspReference
376
  **/
377
  @ApiModelProperty(value = "The PSP reference of the original payout.")
378
  @JsonProperty(JSON_PROPERTY_ORIGINAL_PSP_REFERENCE)
379
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
380

381
  public String getOriginalPspReference() {
382
    return originalPspReference;
×
383
  }
384

385

386
  @JsonProperty(JSON_PROPERTY_ORIGINAL_PSP_REFERENCE)
387
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
388
  public void setOriginalPspReference(String originalPspReference) {
389
    this.originalPspReference = originalPspReference;
×
390
  }
×
391

392

393
  public AccountHolderPayoutNotificationContent payoutAccountCountry(String payoutAccountCountry) {
394
    this.payoutAccountCountry = payoutAccountCountry;
×
395
    return this;
×
396
  }
397

398
   /**
399
   * The country code of the bank from which the payout was initiated.
400
   * @return payoutAccountCountry
401
  **/
402
  @ApiModelProperty(value = "The country code of the bank from which the payout was initiated.")
403
  @JsonProperty(JSON_PROPERTY_PAYOUT_ACCOUNT_COUNTRY)
404
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
405

406
  public String getPayoutAccountCountry() {
407
    return payoutAccountCountry;
×
408
  }
409

410

411
  @JsonProperty(JSON_PROPERTY_PAYOUT_ACCOUNT_COUNTRY)
412
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
413
  public void setPayoutAccountCountry(String payoutAccountCountry) {
414
    this.payoutAccountCountry = payoutAccountCountry;
×
415
  }
×
416

417

418
  public AccountHolderPayoutNotificationContent payoutAccountNumber(String payoutAccountNumber) {
419
    this.payoutAccountNumber = payoutAccountNumber;
×
420
    return this;
×
421
  }
422

423
   /**
424
   * The account number of the bank from which the payout was initiated.
425
   * @return payoutAccountNumber
426
  **/
427
  @ApiModelProperty(value = "The account number of the bank from which the payout was initiated.")
428
  @JsonProperty(JSON_PROPERTY_PAYOUT_ACCOUNT_NUMBER)
429
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
430

431
  public String getPayoutAccountNumber() {
432
    return payoutAccountNumber;
×
433
  }
434

435

436
  @JsonProperty(JSON_PROPERTY_PAYOUT_ACCOUNT_NUMBER)
437
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
438
  public void setPayoutAccountNumber(String payoutAccountNumber) {
439
    this.payoutAccountNumber = payoutAccountNumber;
×
440
  }
×
441

442

443
  public AccountHolderPayoutNotificationContent payoutBalanceAccountId(String payoutBalanceAccountId) {
444
    this.payoutBalanceAccountId = payoutBalanceAccountId;
×
445
    return this;
×
446
  }
447

448
   /**
449
   * The balance account id to which payment was made
450
   * @return payoutBalanceAccountId
451
  **/
452
  @ApiModelProperty(value = "The balance account id to which payment was made")
453
  @JsonProperty(JSON_PROPERTY_PAYOUT_BALANCE_ACCOUNT_ID)
454
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
455

456
  public String getPayoutBalanceAccountId() {
457
    return payoutBalanceAccountId;
×
458
  }
459

460

461
  @JsonProperty(JSON_PROPERTY_PAYOUT_BALANCE_ACCOUNT_ID)
462
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
463
  public void setPayoutBalanceAccountId(String payoutBalanceAccountId) {
464
    this.payoutBalanceAccountId = payoutBalanceAccountId;
×
465
  }
×
466

467

468
  public AccountHolderPayoutNotificationContent payoutBankName(String payoutBankName) {
469
    this.payoutBankName = payoutBankName;
×
470
    return this;
×
471
  }
472

473
   /**
474
   * The name of the bank the payout from which the payout was initiated.
475
   * @return payoutBankName
476
  **/
477
  @ApiModelProperty(value = "The name of the bank the payout from which the payout was initiated.")
478
  @JsonProperty(JSON_PROPERTY_PAYOUT_BANK_NAME)
479
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
480

481
  public String getPayoutBankName() {
482
    return payoutBankName;
×
483
  }
484

485

486
  @JsonProperty(JSON_PROPERTY_PAYOUT_BANK_NAME)
487
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
488
  public void setPayoutBankName(String payoutBankName) {
489
    this.payoutBankName = payoutBankName;
×
490
  }
×
491

492

493
  public AccountHolderPayoutNotificationContent payoutBranchCode(String payoutBranchCode) {
494
    this.payoutBranchCode = payoutBranchCode;
×
495
    return this;
×
496
  }
497

498
   /**
499
   * The branch code of the bank from which the payout was initiated.
500
   * @return payoutBranchCode
501
  **/
502
  @ApiModelProperty(value = "The branch code of the bank from which the payout was initiated.")
503
  @JsonProperty(JSON_PROPERTY_PAYOUT_BRANCH_CODE)
504
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
505

506
  public String getPayoutBranchCode() {
507
    return payoutBranchCode;
×
508
  }
509

510

511
  @JsonProperty(JSON_PROPERTY_PAYOUT_BRANCH_CODE)
512
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
513
  public void setPayoutBranchCode(String payoutBranchCode) {
514
    this.payoutBranchCode = payoutBranchCode;
×
515
  }
×
516

517

518
  public AccountHolderPayoutNotificationContent payoutReference(Long payoutReference) {
519
    this.payoutReference = payoutReference;
×
520
    return this;
×
521
  }
522

523
   /**
524
   * The unique payout identifier.
525
   * @return payoutReference
526
  **/
527
  @ApiModelProperty(value = "The unique payout identifier.")
528
  @JsonProperty(JSON_PROPERTY_PAYOUT_REFERENCE)
529
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
530

531
  public Long getPayoutReference() {
532
    return payoutReference;
×
533
  }
534

535

536
  @JsonProperty(JSON_PROPERTY_PAYOUT_REFERENCE)
537
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
538
  public void setPayoutReference(Long payoutReference) {
539
    this.payoutReference = payoutReference;
×
540
  }
×
541

542

543
  public AccountHolderPayoutNotificationContent payoutSpeed(PayoutSpeedEnum payoutSpeed) {
544
    this.payoutSpeed = payoutSpeed;
×
545
    return this;
×
546
  }
547

548
   /**
549
   * Speed with which payouts for this account are processed. Permitted values: &#x60;STANDARD&#x60;, &#x60;SAME_DAY&#x60;.
550
   * @return payoutSpeed
551
  **/
552
  @ApiModelProperty(value = "Speed with which payouts for this account are processed. Permitted values: `STANDARD`, `SAME_DAY`.")
553
  @JsonProperty(JSON_PROPERTY_PAYOUT_SPEED)
554
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
555

556
  public PayoutSpeedEnum getPayoutSpeed() {
557
    return payoutSpeed;
×
558
  }
559

560

561
  @JsonProperty(JSON_PROPERTY_PAYOUT_SPEED)
562
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
563
  public void setPayoutSpeed(PayoutSpeedEnum payoutSpeed) {
564
    this.payoutSpeed = payoutSpeed;
×
565
  }
×
566

567

568
  public AccountHolderPayoutNotificationContent status(OperationStatus status) {
569
    this.status = status;
×
570
    return this;
×
571
  }
572

573
   /**
574
   * Get status
575
   * @return status
576
  **/
577
  @ApiModelProperty(value = "")
578
  @JsonProperty(JSON_PROPERTY_STATUS)
579
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
580

581
  public OperationStatus getStatus() {
582
    return status;
×
583
  }
584

585

586
  @JsonProperty(JSON_PROPERTY_STATUS)
587
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
588
  public void setStatus(OperationStatus status) {
589
    this.status = status;
×
590
  }
×
591

592

593
  /**
594
   * Return true if this AccountHolderPayoutNotificationContent object is equal to o.
595
   */
596
  @Override
597
  public boolean equals(Object o) {
598
    if (this == o) {
×
599
      return true;
×
600
    }
601
    if (o == null || getClass() != o.getClass()) {
×
602
      return false;
×
603
    }
604
    AccountHolderPayoutNotificationContent accountHolderPayoutNotificationContent = (AccountHolderPayoutNotificationContent) o;
×
605
    return Objects.equals(this.accountCode, accountHolderPayoutNotificationContent.accountCode) &&
×
606
        Objects.equals(this.accountHolderCode, accountHolderPayoutNotificationContent.accountHolderCode) &&
×
607
        Objects.equals(this.amounts, accountHolderPayoutNotificationContent.amounts) &&
×
608
        Objects.equals(this.bankAccountDetail, accountHolderPayoutNotificationContent.bankAccountDetail) &&
×
609
        Objects.equals(this.description, accountHolderPayoutNotificationContent.description) &&
×
610
        Objects.equals(this.estimatedArrivalDate, accountHolderPayoutNotificationContent.estimatedArrivalDate) &&
×
611
        Objects.equals(this.invalidFields, accountHolderPayoutNotificationContent.invalidFields) &&
×
612
        Objects.equals(this.merchantReference, accountHolderPayoutNotificationContent.merchantReference) &&
×
613
        Objects.equals(this.originalPspReference, accountHolderPayoutNotificationContent.originalPspReference) &&
×
614
        Objects.equals(this.payoutAccountCountry, accountHolderPayoutNotificationContent.payoutAccountCountry) &&
×
615
        Objects.equals(this.payoutAccountNumber, accountHolderPayoutNotificationContent.payoutAccountNumber) &&
×
616
        Objects.equals(this.payoutBalanceAccountId, accountHolderPayoutNotificationContent.payoutBalanceAccountId) &&
×
617
        Objects.equals(this.payoutBankName, accountHolderPayoutNotificationContent.payoutBankName) &&
×
618
        Objects.equals(this.payoutBranchCode, accountHolderPayoutNotificationContent.payoutBranchCode) &&
×
619
        Objects.equals(this.payoutReference, accountHolderPayoutNotificationContent.payoutReference) &&
×
620
        Objects.equals(this.payoutSpeed, accountHolderPayoutNotificationContent.payoutSpeed) &&
×
621
        Objects.equals(this.status, accountHolderPayoutNotificationContent.status);
×
622
  }
623

624
  @Override
625
  public int hashCode() {
626
    return Objects.hash(accountCode, accountHolderCode, amounts, bankAccountDetail, description, estimatedArrivalDate, invalidFields, merchantReference, originalPspReference, payoutAccountCountry, payoutAccountNumber, payoutBalanceAccountId, payoutBankName, payoutBranchCode, payoutReference, payoutSpeed, status);
×
627
  }
628

629
  @Override
630
  public String toString() {
631
    StringBuilder sb = new StringBuilder();
×
632
    sb.append("class AccountHolderPayoutNotificationContent {\n");
×
633
    sb.append("    accountCode: ").append(toIndentedString(accountCode)).append("\n");
×
634
    sb.append("    accountHolderCode: ").append(toIndentedString(accountHolderCode)).append("\n");
×
635
    sb.append("    amounts: ").append(toIndentedString(amounts)).append("\n");
×
636
    sb.append("    bankAccountDetail: ").append(toIndentedString(bankAccountDetail)).append("\n");
×
637
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
×
638
    sb.append("    estimatedArrivalDate: ").append(toIndentedString(estimatedArrivalDate)).append("\n");
×
639
    sb.append("    invalidFields: ").append(toIndentedString(invalidFields)).append("\n");
×
640
    sb.append("    merchantReference: ").append(toIndentedString(merchantReference)).append("\n");
×
641
    sb.append("    originalPspReference: ").append(toIndentedString(originalPspReference)).append("\n");
×
642
    sb.append("    payoutAccountCountry: ").append(toIndentedString(payoutAccountCountry)).append("\n");
×
643
    sb.append("    payoutAccountNumber: ").append(toIndentedString(payoutAccountNumber)).append("\n");
×
644
    sb.append("    payoutBalanceAccountId: ").append(toIndentedString(payoutBalanceAccountId)).append("\n");
×
645
    sb.append("    payoutBankName: ").append(toIndentedString(payoutBankName)).append("\n");
×
646
    sb.append("    payoutBranchCode: ").append(toIndentedString(payoutBranchCode)).append("\n");
×
647
    sb.append("    payoutReference: ").append(toIndentedString(payoutReference)).append("\n");
×
648
    sb.append("    payoutSpeed: ").append(toIndentedString(payoutSpeed)).append("\n");
×
649
    sb.append("    status: ").append(toIndentedString(status)).append("\n");
×
650
    sb.append("}");
×
651
    return sb.toString();
×
652
  }
653

654
  /**
655
   * Convert the given object to string with each line indented by 4 spaces
656
   * (except the first line).
657
   */
658
  private String toIndentedString(Object o) {
659
    if (o == null) {
×
660
      return "null";
×
661
    }
662
    return o.toString().replace("\n", "\n    ");
×
663
  }
664

665
/**
666
   * Create an instance of AccountHolderPayoutNotificationContent given an JSON string
667
   *
668
   * @param jsonString JSON string
669
   * @return An instance of AccountHolderPayoutNotificationContent
670
   * @throws JsonProcessingException if the JSON string is invalid with respect to AccountHolderPayoutNotificationContent
671
   */
672
  public static AccountHolderPayoutNotificationContent fromJson(String jsonString) throws JsonProcessingException {
673
    return JSON.getMapper().readValue(jsonString, AccountHolderPayoutNotificationContent.class);
×
674
  }
675
/**
676
  * Convert an instance of AccountHolderPayoutNotificationContent to an JSON string
677
  *
678
  * @return JSON string
679
  */
680
  public String toJson() throws JsonProcessingException {
681
    return JSON.getMapper().writeValueAsString(this);
×
682
  }
683
}
684

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

© 2025 Coveralls, Inc