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

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

30 Oct 2023 03:06PM CUT coverage: 12.824%. First build
#2775

push

web-flow
Merge 9921af673 into 891748f22

112 of 112 new or added lines in 12 files covered. (100.0%)

12346 of 96273 relevant lines covered (12.82%)

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/checkout/ThreeDS2RequestFields.java
1
/*
2
 * Adyen Checkout API
3
 *
4
 * The version of the OpenAPI document: 70
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.checkout;
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.checkout.AcctInfo;
20
import com.adyen.model.checkout.DeviceRenderOptions;
21
import com.adyen.model.checkout.Phone;
22
import com.adyen.model.checkout.SDKEphemPubKey;
23
import com.adyen.model.checkout.ThreeDSRequestorAuthenticationInfo;
24
import com.adyen.model.checkout.ThreeDSRequestorPriorAuthenticationInfo;
25
import com.fasterxml.jackson.annotation.JsonInclude;
26
import com.fasterxml.jackson.annotation.JsonProperty;
27
import com.fasterxml.jackson.annotation.JsonCreator;
28
import com.fasterxml.jackson.annotation.JsonTypeName;
29
import com.fasterxml.jackson.annotation.JsonValue;
30
import io.swagger.annotations.ApiModel;
31
import io.swagger.annotations.ApiModelProperty;
32
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
33
import com.fasterxml.jackson.core.JsonProcessingException;
34

35

36
/**
37
 * ThreeDS2RequestFields
38
 */
39
@JsonPropertyOrder({
40
  ThreeDS2RequestFields.JSON_PROPERTY_ACCT_INFO,
41
  ThreeDS2RequestFields.JSON_PROPERTY_ACCT_TYPE,
42
  ThreeDS2RequestFields.JSON_PROPERTY_ACQUIRER_B_I_N,
43
  ThreeDS2RequestFields.JSON_PROPERTY_ACQUIRER_MERCHANT_I_D,
44
  ThreeDS2RequestFields.JSON_PROPERTY_ADDR_MATCH,
45
  ThreeDS2RequestFields.JSON_PROPERTY_AUTHENTICATION_ONLY,
46
  ThreeDS2RequestFields.JSON_PROPERTY_CHALLENGE_INDICATOR,
47
  ThreeDS2RequestFields.JSON_PROPERTY_DEVICE_RENDER_OPTIONS,
48
  ThreeDS2RequestFields.JSON_PROPERTY_HOME_PHONE,
49
  ThreeDS2RequestFields.JSON_PROPERTY_MCC,
50
  ThreeDS2RequestFields.JSON_PROPERTY_MERCHANT_NAME,
51
  ThreeDS2RequestFields.JSON_PROPERTY_MESSAGE_VERSION,
52
  ThreeDS2RequestFields.JSON_PROPERTY_MOBILE_PHONE,
53
  ThreeDS2RequestFields.JSON_PROPERTY_NOTIFICATION_U_R_L,
54
  ThreeDS2RequestFields.JSON_PROPERTY_PAY_TOKEN_IND,
55
  ThreeDS2RequestFields.JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE,
56
  ThreeDS2RequestFields.JSON_PROPERTY_PURCHASE_INSTAL_DATA,
57
  ThreeDS2RequestFields.JSON_PROPERTY_RECURRING_EXPIRY,
58
  ThreeDS2RequestFields.JSON_PROPERTY_RECURRING_FREQUENCY,
59
  ThreeDS2RequestFields.JSON_PROPERTY_SDK_APP_I_D,
60
  ThreeDS2RequestFields.JSON_PROPERTY_SDK_EPHEM_PUB_KEY,
61
  ThreeDS2RequestFields.JSON_PROPERTY_SDK_MAX_TIMEOUT,
62
  ThreeDS2RequestFields.JSON_PROPERTY_SDK_REFERENCE_NUMBER,
63
  ThreeDS2RequestFields.JSON_PROPERTY_SDK_TRANS_I_D,
64
  ThreeDS2RequestFields.JSON_PROPERTY_THREE_D_S_COMP_IND,
65
  ThreeDS2RequestFields.JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_IND,
66
  ThreeDS2RequestFields.JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_INFO,
67
  ThreeDS2RequestFields.JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND,
68
  ThreeDS2RequestFields.JSON_PROPERTY_THREE_D_S_REQUESTOR_I_D,
69
  ThreeDS2RequestFields.JSON_PROPERTY_THREE_D_S_REQUESTOR_NAME,
70
  ThreeDS2RequestFields.JSON_PROPERTY_THREE_D_S_REQUESTOR_PRIOR_AUTHENTICATION_INFO,
71
  ThreeDS2RequestFields.JSON_PROPERTY_THREE_D_S_REQUESTOR_U_R_L,
72
  ThreeDS2RequestFields.JSON_PROPERTY_TRANS_TYPE,
73
  ThreeDS2RequestFields.JSON_PROPERTY_TRANSACTION_TYPE,
74
  ThreeDS2RequestFields.JSON_PROPERTY_WHITE_LIST_STATUS,
75
  ThreeDS2RequestFields.JSON_PROPERTY_WORK_PHONE
76
})
77

78
public class ThreeDS2RequestFields {
79
  public static final String JSON_PROPERTY_ACCT_INFO = "acctInfo";
80
  private AcctInfo acctInfo;
81

82
  /**
83
   * Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit
84
   */
85
  public enum AcctTypeEnum {
×
86
    _01("01"),
×
87
    
88
    _02("02"),
×
89
    
90
    _03("03");
×
91

92
    private String value;
93

94
    AcctTypeEnum(String value) {
×
95
      this.value = value;
×
96
    }
×
97

98
    @JsonValue
99
    public String getValue() {
100
      return value;
×
101
    }
102

103
    @Override
104
    public String toString() {
105
      return String.valueOf(value);
×
106
    }
107

108
    @JsonCreator
109
    public static AcctTypeEnum fromValue(String value) {
110
      for (AcctTypeEnum b : AcctTypeEnum.values()) {
×
111
        if (b.value.equals(value)) {
×
112
          return b;
×
113
        }
114
      }
115
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
116
    }
117
  }
118

119
  public static final String JSON_PROPERTY_ACCT_TYPE = "acctType";
120
  private AcctTypeEnum acctType;
121

122
  public static final String JSON_PROPERTY_ACQUIRER_B_I_N = "acquirerBIN";
123
  private String acquirerBIN;
124

125
  public static final String JSON_PROPERTY_ACQUIRER_MERCHANT_I_D = "acquirerMerchantID";
126
  private String acquirerMerchantID;
127

128
  /**
129
   * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address.
130
   */
131
  public enum AddrMatchEnum {
×
132
    Y("Y"),
×
133
    
134
    N("N");
×
135

136
    private String value;
137

138
    AddrMatchEnum(String value) {
×
139
      this.value = value;
×
140
    }
×
141

142
    @JsonValue
143
    public String getValue() {
144
      return value;
×
145
    }
146

147
    @Override
148
    public String toString() {
149
      return String.valueOf(value);
×
150
    }
151

152
    @JsonCreator
153
    public static AddrMatchEnum fromValue(String value) {
154
      for (AddrMatchEnum b : AddrMatchEnum.values()) {
×
155
        if (b.value.equals(value)) {
×
156
          return b;
×
157
        }
158
      }
159
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
160
    }
161
  }
162

163
  public static final String JSON_PROPERTY_ADDR_MATCH = "addrMatch";
164
  private AddrMatchEnum addrMatch;
165

166
  public static final String JSON_PROPERTY_AUTHENTICATION_ONLY = "authenticationOnly";
167
  private Boolean authenticationOnly = false;
×
168

169
  /**
170
   * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` 
171
   */
172
  public enum ChallengeIndicatorEnum {
×
173
    NOPREFERENCE("noPreference"),
×
174
    
175
    REQUESTNOCHALLENGE("requestNoChallenge"),
×
176
    
177
    REQUESTCHALLENGE("requestChallenge"),
×
178
    
179
    REQUESTCHALLENGEASMANDATE("requestChallengeAsMandate");
×
180

181
    private String value;
182

183
    ChallengeIndicatorEnum(String value) {
×
184
      this.value = value;
×
185
    }
×
186

187
    @JsonValue
188
    public String getValue() {
189
      return value;
×
190
    }
191

192
    @Override
193
    public String toString() {
194
      return String.valueOf(value);
×
195
    }
196

197
    @JsonCreator
198
    public static ChallengeIndicatorEnum fromValue(String value) {
199
      for (ChallengeIndicatorEnum b : ChallengeIndicatorEnum.values()) {
×
200
        if (b.value.equals(value)) {
×
201
          return b;
×
202
        }
203
      }
204
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
205
    }
206
  }
207

208
  public static final String JSON_PROPERTY_CHALLENGE_INDICATOR = "challengeIndicator";
209
  private ChallengeIndicatorEnum challengeIndicator;
210

211
  public static final String JSON_PROPERTY_DEVICE_RENDER_OPTIONS = "deviceRenderOptions";
212
  private DeviceRenderOptions deviceRenderOptions;
213

214
  public static final String JSON_PROPERTY_HOME_PHONE = "homePhone";
215
  private Phone homePhone;
216

217
  public static final String JSON_PROPERTY_MCC = "mcc";
218
  private String mcc;
219

220
  public static final String JSON_PROPERTY_MERCHANT_NAME = "merchantName";
221
  private String merchantName;
222

223
  public static final String JSON_PROPERTY_MESSAGE_VERSION = "messageVersion";
224
  private String messageVersion;
225

226
  public static final String JSON_PROPERTY_MOBILE_PHONE = "mobilePhone";
227
  private Phone mobilePhone;
228

229
  public static final String JSON_PROPERTY_NOTIFICATION_U_R_L = "notificationURL";
230
  private String notificationURL;
231

232
  public static final String JSON_PROPERTY_PAY_TOKEN_IND = "payTokenInd";
233
  private Boolean payTokenInd;
234

235
  public static final String JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE = "paymentAuthenticationUseCase";
236
  private String paymentAuthenticationUseCase;
237

238
  public static final String JSON_PROPERTY_PURCHASE_INSTAL_DATA = "purchaseInstalData";
239
  private String purchaseInstalData;
240

241
  public static final String JSON_PROPERTY_RECURRING_EXPIRY = "recurringExpiry";
242
  private String recurringExpiry;
243

244
  public static final String JSON_PROPERTY_RECURRING_FREQUENCY = "recurringFrequency";
245
  private String recurringFrequency;
246

247
  public static final String JSON_PROPERTY_SDK_APP_I_D = "sdkAppID";
248
  private String sdkAppID;
249

250
  public static final String JSON_PROPERTY_SDK_EPHEM_PUB_KEY = "sdkEphemPubKey";
251
  private SDKEphemPubKey sdkEphemPubKey;
252

253
  public static final String JSON_PROPERTY_SDK_MAX_TIMEOUT = "sdkMaxTimeout";
254
  private Integer sdkMaxTimeout = 60;
×
255

256
  public static final String JSON_PROPERTY_SDK_REFERENCE_NUMBER = "sdkReferenceNumber";
257
  private String sdkReferenceNumber;
258

259
  public static final String JSON_PROPERTY_SDK_TRANS_I_D = "sdkTransID";
260
  private String sdkTransID;
261

262
  public static final String JSON_PROPERTY_THREE_D_S_COMP_IND = "threeDSCompInd";
263
  private String threeDSCompInd;
264

265
  public static final String JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_IND = "threeDSRequestorAuthenticationInd";
266
  private String threeDSRequestorAuthenticationInd;
267

268
  public static final String JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_INFO = "threeDSRequestorAuthenticationInfo";
269
  private ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo;
270

271
  /**
272
   * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only
273
   */
274
  public enum ThreeDSRequestorChallengeIndEnum {
×
275
    _01("01"),
×
276
    
277
    _02("02"),
×
278
    
279
    _03("03"),
×
280
    
281
    _04("04"),
×
282
    
283
    _05("05"),
×
284
    
285
    _06("06");
×
286

287
    private String value;
288

289
    ThreeDSRequestorChallengeIndEnum(String value) {
×
290
      this.value = value;
×
291
    }
×
292

293
    @JsonValue
294
    public String getValue() {
295
      return value;
×
296
    }
297

298
    @Override
299
    public String toString() {
300
      return String.valueOf(value);
×
301
    }
302

303
    @JsonCreator
304
    public static ThreeDSRequestorChallengeIndEnum fromValue(String value) {
305
      for (ThreeDSRequestorChallengeIndEnum b : ThreeDSRequestorChallengeIndEnum.values()) {
×
306
        if (b.value.equals(value)) {
×
307
          return b;
×
308
        }
309
      }
310
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
311
    }
312
  }
313

314
  public static final String JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND = "threeDSRequestorChallengeInd";
315
  private ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd;
316

317
  public static final String JSON_PROPERTY_THREE_D_S_REQUESTOR_I_D = "threeDSRequestorID";
318
  private String threeDSRequestorID;
319

320
  public static final String JSON_PROPERTY_THREE_D_S_REQUESTOR_NAME = "threeDSRequestorName";
321
  private String threeDSRequestorName;
322

323
  public static final String JSON_PROPERTY_THREE_D_S_REQUESTOR_PRIOR_AUTHENTICATION_INFO = "threeDSRequestorPriorAuthenticationInfo";
324
  private ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo;
325

326
  public static final String JSON_PROPERTY_THREE_D_S_REQUESTOR_U_R_L = "threeDSRequestorURL";
327
  private String threeDSRequestorURL;
328

329
  /**
330
   * Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load
331
   */
332
  public enum TransTypeEnum {
×
333
    _01("01"),
×
334
    
335
    _03("03"),
×
336
    
337
    _10("10"),
×
338
    
339
    _11("11"),
×
340
    
341
    _28("28");
×
342

343
    private String value;
344

345
    TransTypeEnum(String value) {
×
346
      this.value = value;
×
347
    }
×
348

349
    @JsonValue
350
    public String getValue() {
351
      return value;
×
352
    }
353

354
    @Override
355
    public String toString() {
356
      return String.valueOf(value);
×
357
    }
358

359
    @JsonCreator
360
    public static TransTypeEnum fromValue(String value) {
361
      for (TransTypeEnum b : TransTypeEnum.values()) {
×
362
        if (b.value.equals(value)) {
×
363
          return b;
×
364
        }
365
      }
366
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
367
    }
368
  }
369

370
  public static final String JSON_PROPERTY_TRANS_TYPE = "transType";
371
  private TransTypeEnum transType;
372

373
  /**
374
   * Identify the type of the transaction being authenticated.
375
   */
376
  public enum TransactionTypeEnum {
×
377
    GOODSORSERVICEPURCHASE("goodsOrServicePurchase"),
×
378
    
379
    CHECKACCEPTANCE("checkAcceptance"),
×
380
    
381
    ACCOUNTFUNDING("accountFunding"),
×
382
    
383
    QUASICASHTRANSACTION("quasiCashTransaction"),
×
384
    
385
    PREPAIDACTIVATIONANDLOAD("prepaidActivationAndLoad");
×
386

387
    private String value;
388

389
    TransactionTypeEnum(String value) {
×
390
      this.value = value;
×
391
    }
×
392

393
    @JsonValue
394
    public String getValue() {
395
      return value;
×
396
    }
397

398
    @Override
399
    public String toString() {
400
      return String.valueOf(value);
×
401
    }
402

403
    @JsonCreator
404
    public static TransactionTypeEnum fromValue(String value) {
405
      for (TransactionTypeEnum b : TransactionTypeEnum.values()) {
×
406
        if (b.value.equals(value)) {
×
407
          return b;
×
408
        }
409
      }
410
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
×
411
    }
412
  }
413

414
  public static final String JSON_PROPERTY_TRANSACTION_TYPE = "transactionType";
415
  private TransactionTypeEnum transactionType;
416

417
  public static final String JSON_PROPERTY_WHITE_LIST_STATUS = "whiteListStatus";
418
  private String whiteListStatus;
419

420
  public static final String JSON_PROPERTY_WORK_PHONE = "workPhone";
421
  private Phone workPhone;
422

423
  public ThreeDS2RequestFields() { 
×
424
  }
×
425

426
  public ThreeDS2RequestFields acctInfo(AcctInfo acctInfo) {
427
    this.acctInfo = acctInfo;
×
428
    return this;
×
429
  }
430

431
   /**
432
   * Get acctInfo
433
   * @return acctInfo
434
  **/
435
  @ApiModelProperty(value = "")
436
  @JsonProperty(JSON_PROPERTY_ACCT_INFO)
437
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
438

439
  public AcctInfo getAcctInfo() {
440
    return acctInfo;
×
441
  }
442

443

444
  @JsonProperty(JSON_PROPERTY_ACCT_INFO)
445
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
446
  public void setAcctInfo(AcctInfo acctInfo) {
447
    this.acctInfo = acctInfo;
×
448
  }
×
449

450

451
  public ThreeDS2RequestFields acctType(AcctTypeEnum acctType) {
452
    this.acctType = acctType;
×
453
    return this;
×
454
  }
455

456
   /**
457
   * Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit
458
   * @return acctType
459
  **/
460
  @ApiModelProperty(value = "Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit")
461
  @JsonProperty(JSON_PROPERTY_ACCT_TYPE)
462
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
463

464
  public AcctTypeEnum getAcctType() {
465
    return acctType;
×
466
  }
467

468

469
  @JsonProperty(JSON_PROPERTY_ACCT_TYPE)
470
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
471
  public void setAcctType(AcctTypeEnum acctType) {
472
    this.acctType = acctType;
×
473
  }
×
474

475

476
  public ThreeDS2RequestFields acquirerBIN(String acquirerBIN) {
477
    this.acquirerBIN = acquirerBIN;
×
478
    return this;
×
479
  }
480

481
   /**
482
   * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform.
483
   * @return acquirerBIN
484
  **/
485
  @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform.")
486
  @JsonProperty(JSON_PROPERTY_ACQUIRER_B_I_N)
487
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
488

489
  public String getAcquirerBIN() {
490
    return acquirerBIN;
×
491
  }
492

493

494
  @JsonProperty(JSON_PROPERTY_ACQUIRER_B_I_N)
495
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
496
  public void setAcquirerBIN(String acquirerBIN) {
497
    this.acquirerBIN = acquirerBIN;
×
498
  }
×
499

500

501
  public ThreeDS2RequestFields acquirerMerchantID(String acquirerMerchantID) {
502
    this.acquirerMerchantID = acquirerMerchantID;
×
503
    return this;
×
504
  }
505

506
   /**
507
   * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform.
508
   * @return acquirerMerchantID
509
  **/
510
  @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchantId that is enrolled for 3D Secure 2 by the merchant's acquirer. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform.")
511
  @JsonProperty(JSON_PROPERTY_ACQUIRER_MERCHANT_I_D)
512
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
513

514
  public String getAcquirerMerchantID() {
515
    return acquirerMerchantID;
×
516
  }
517

518

519
  @JsonProperty(JSON_PROPERTY_ACQUIRER_MERCHANT_I_D)
520
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
521
  public void setAcquirerMerchantID(String acquirerMerchantID) {
522
    this.acquirerMerchantID = acquirerMerchantID;
×
523
  }
×
524

525

526
  public ThreeDS2RequestFields addrMatch(AddrMatchEnum addrMatch) {
527
    this.addrMatch = addrMatch;
×
528
    return this;
×
529
  }
530

531
   /**
532
   * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address.
533
   * @return addrMatch
534
  **/
535
  @ApiModelProperty(value = "Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address.")
536
  @JsonProperty(JSON_PROPERTY_ADDR_MATCH)
537
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
538

539
  public AddrMatchEnum getAddrMatch() {
540
    return addrMatch;
×
541
  }
542

543

544
  @JsonProperty(JSON_PROPERTY_ADDR_MATCH)
545
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
546
  public void setAddrMatch(AddrMatchEnum addrMatch) {
547
    this.addrMatch = addrMatch;
×
548
  }
×
549

550

551
  public ThreeDS2RequestFields authenticationOnly(Boolean authenticationOnly) {
552
    this.authenticationOnly = authenticationOnly;
×
553
    return this;
×
554
  }
555

556
   /**
557
   * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.
558
   * @return authenticationOnly
559
   * @deprecated
560
  **/
561
  @Deprecated
562
  @ApiModelProperty(value = "If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation.")
563
  @JsonProperty(JSON_PROPERTY_AUTHENTICATION_ONLY)
564
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
565

566
  public Boolean getAuthenticationOnly() {
567
    return authenticationOnly;
×
568
  }
569

570

571
  @Deprecated
572
  @JsonProperty(JSON_PROPERTY_AUTHENTICATION_ONLY)
573
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
574
  public void setAuthenticationOnly(Boolean authenticationOnly) {
575
    this.authenticationOnly = authenticationOnly;
×
576
  }
×
577

578

579
  public ThreeDS2RequestFields challengeIndicator(ChallengeIndicatorEnum challengeIndicator) {
580
    this.challengeIndicator = challengeIndicator;
×
581
    return this;
×
582
  }
583

584
   /**
585
   * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` 
586
   * @return challengeIndicator
587
   * @deprecated
588
  **/
589
  @Deprecated
590
  @ApiModelProperty(value = "Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` ")
591
  @JsonProperty(JSON_PROPERTY_CHALLENGE_INDICATOR)
592
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
593

594
  public ChallengeIndicatorEnum getChallengeIndicator() {
595
    return challengeIndicator;
×
596
  }
597

598

599
  @Deprecated
600
  @JsonProperty(JSON_PROPERTY_CHALLENGE_INDICATOR)
601
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
602
  public void setChallengeIndicator(ChallengeIndicatorEnum challengeIndicator) {
603
    this.challengeIndicator = challengeIndicator;
×
604
  }
×
605

606

607
  public ThreeDS2RequestFields deviceRenderOptions(DeviceRenderOptions deviceRenderOptions) {
608
    this.deviceRenderOptions = deviceRenderOptions;
×
609
    return this;
×
610
  }
611

612
   /**
613
   * Get deviceRenderOptions
614
   * @return deviceRenderOptions
615
  **/
616
  @ApiModelProperty(value = "")
617
  @JsonProperty(JSON_PROPERTY_DEVICE_RENDER_OPTIONS)
618
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
619

620
  public DeviceRenderOptions getDeviceRenderOptions() {
621
    return deviceRenderOptions;
×
622
  }
623

624

625
  @JsonProperty(JSON_PROPERTY_DEVICE_RENDER_OPTIONS)
626
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
627
  public void setDeviceRenderOptions(DeviceRenderOptions deviceRenderOptions) {
628
    this.deviceRenderOptions = deviceRenderOptions;
×
629
  }
×
630

631

632
  public ThreeDS2RequestFields homePhone(Phone homePhone) {
633
    this.homePhone = homePhone;
×
634
    return this;
×
635
  }
636

637
   /**
638
   * Get homePhone
639
   * @return homePhone
640
  **/
641
  @ApiModelProperty(value = "")
642
  @JsonProperty(JSON_PROPERTY_HOME_PHONE)
643
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
644

645
  public Phone getHomePhone() {
646
    return homePhone;
×
647
  }
648

649

650
  @JsonProperty(JSON_PROPERTY_HOME_PHONE)
651
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
652
  public void setHomePhone(Phone homePhone) {
653
    this.homePhone = homePhone;
×
654
  }
×
655

656

657
  public ThreeDS2RequestFields mcc(String mcc) {
658
    this.mcc = mcc;
×
659
    return this;
×
660
  }
661

662
   /**
663
   * Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme.
664
   * @return mcc
665
  **/
666
  @ApiModelProperty(value = "Required for merchants that have been enrolled for 3D Secure 2 by another party than Adyen, mostly [authentication-only integrations](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The `mcc` is a four-digit code with which the previously given `acquirerMerchantID` is registered at the scheme.")
667
  @JsonProperty(JSON_PROPERTY_MCC)
668
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
669

670
  public String getMcc() {
671
    return mcc;
×
672
  }
673

674

675
  @JsonProperty(JSON_PROPERTY_MCC)
676
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
677
  public void setMcc(String mcc) {
678
    this.mcc = mcc;
×
679
  }
×
680

681

682
  public ThreeDS2RequestFields merchantName(String merchantName) {
683
    this.merchantName = merchantName;
×
684
    return this;
×
685
  }
686

687
   /**
688
   * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account.
689
   * @return merchantName
690
  **/
691
  @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The merchant name that the issuer presents to the shopper if they get a challenge. We recommend to use the same value that you will use in the authorization. Maximum length is 40 characters. > Optional for a [full 3D Secure 2 integration](https://docs.adyen.com/online-payments/3d-secure/native-3ds2/api-integration). Use this field if you are enrolled for 3D Secure 2 with us and want to override the merchant name already configured on your account.")
692
  @JsonProperty(JSON_PROPERTY_MERCHANT_NAME)
693
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
694

695
  public String getMerchantName() {
696
    return merchantName;
×
697
  }
698

699

700
  @JsonProperty(JSON_PROPERTY_MERCHANT_NAME)
701
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
702
  public void setMerchantName(String merchantName) {
703
    this.merchantName = merchantName;
×
704
  }
×
705

706

707
  public ThreeDS2RequestFields messageVersion(String messageVersion) {
708
    this.messageVersion = messageVersion;
×
709
    return this;
×
710
  }
711

712
   /**
713
   * The `messageVersion` value indicating the 3D Secure 2 protocol version.
714
   * @return messageVersion
715
  **/
716
  @ApiModelProperty(value = "The `messageVersion` value indicating the 3D Secure 2 protocol version.")
717
  @JsonProperty(JSON_PROPERTY_MESSAGE_VERSION)
718
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
719

720
  public String getMessageVersion() {
721
    return messageVersion;
×
722
  }
723

724

725
  @JsonProperty(JSON_PROPERTY_MESSAGE_VERSION)
726
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
727
  public void setMessageVersion(String messageVersion) {
728
    this.messageVersion = messageVersion;
×
729
  }
×
730

731

732
  public ThreeDS2RequestFields mobilePhone(Phone mobilePhone) {
733
    this.mobilePhone = mobilePhone;
×
734
    return this;
×
735
  }
736

737
   /**
738
   * Get mobilePhone
739
   * @return mobilePhone
740
  **/
741
  @ApiModelProperty(value = "")
742
  @JsonProperty(JSON_PROPERTY_MOBILE_PHONE)
743
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
744

745
  public Phone getMobilePhone() {
746
    return mobilePhone;
×
747
  }
748

749

750
  @JsonProperty(JSON_PROPERTY_MOBILE_PHONE)
751
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
752
  public void setMobilePhone(Phone mobilePhone) {
753
    this.mobilePhone = mobilePhone;
×
754
  }
×
755

756

757
  public ThreeDS2RequestFields notificationURL(String notificationURL) {
758
    this.notificationURL = notificationURL;
×
759
    return this;
×
760
  }
761

762
   /**
763
   * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**.
764
   * @return notificationURL
765
  **/
766
  @ApiModelProperty(value = "URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**.")
767
  @JsonProperty(JSON_PROPERTY_NOTIFICATION_U_R_L)
768
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
769

770
  public String getNotificationURL() {
771
    return notificationURL;
×
772
  }
773

774

775
  @JsonProperty(JSON_PROPERTY_NOTIFICATION_U_R_L)
776
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
777
  public void setNotificationURL(String notificationURL) {
778
    this.notificationURL = notificationURL;
×
779
  }
×
780

781

782
  public ThreeDS2RequestFields payTokenInd(Boolean payTokenInd) {
783
    this.payTokenInd = payTokenInd;
×
784
    return this;
×
785
  }
786

787
   /**
788
   * Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS.
789
   * @return payTokenInd
790
  **/
791
  @ApiModelProperty(value = "Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS.")
792
  @JsonProperty(JSON_PROPERTY_PAY_TOKEN_IND)
793
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
794

795
  public Boolean getPayTokenInd() {
796
    return payTokenInd;
×
797
  }
798

799

800
  @JsonProperty(JSON_PROPERTY_PAY_TOKEN_IND)
801
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
802
  public void setPayTokenInd(Boolean payTokenInd) {
803
    this.payTokenInd = payTokenInd;
×
804
  }
×
805

806

807
  public ThreeDS2RequestFields paymentAuthenticationUseCase(String paymentAuthenticationUseCase) {
808
    this.paymentAuthenticationUseCase = paymentAuthenticationUseCase;
×
809
    return this;
×
810
  }
811

812
   /**
813
   * Indicates the type of payment for which an authentication is requested (message extension)
814
   * @return paymentAuthenticationUseCase
815
  **/
816
  @ApiModelProperty(value = "Indicates the type of payment for which an authentication is requested (message extension)")
817
  @JsonProperty(JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE)
818
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
819

820
  public String getPaymentAuthenticationUseCase() {
821
    return paymentAuthenticationUseCase;
×
822
  }
823

824

825
  @JsonProperty(JSON_PROPERTY_PAYMENT_AUTHENTICATION_USE_CASE)
826
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
827
  public void setPaymentAuthenticationUseCase(String paymentAuthenticationUseCase) {
828
    this.paymentAuthenticationUseCase = paymentAuthenticationUseCase;
×
829
  }
×
830

831

832
  public ThreeDS2RequestFields purchaseInstalData(String purchaseInstalData) {
833
    this.purchaseInstalData = purchaseInstalData;
×
834
    return this;
×
835
  }
836

837
   /**
838
   * Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters.
839
   * @return purchaseInstalData
840
  **/
841
  @ApiModelProperty(value = "Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters.")
842
  @JsonProperty(JSON_PROPERTY_PURCHASE_INSTAL_DATA)
843
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
844

845
  public String getPurchaseInstalData() {
846
    return purchaseInstalData;
×
847
  }
848

849

850
  @JsonProperty(JSON_PROPERTY_PURCHASE_INSTAL_DATA)
851
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
852
  public void setPurchaseInstalData(String purchaseInstalData) {
853
    this.purchaseInstalData = purchaseInstalData;
×
854
  }
×
855

856

857
  public ThreeDS2RequestFields recurringExpiry(String recurringExpiry) {
858
    this.recurringExpiry = recurringExpiry;
×
859
    return this;
×
860
  }
861

862
   /**
863
   * Date after which no further authorisations shall be performed. Format: YYYYMMDD
864
   * @return recurringExpiry
865
  **/
866
  @ApiModelProperty(value = "Date after which no further authorisations shall be performed. Format: YYYYMMDD")
867
  @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY)
868
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
869

870
  public String getRecurringExpiry() {
871
    return recurringExpiry;
×
872
  }
873

874

875
  @JsonProperty(JSON_PROPERTY_RECURRING_EXPIRY)
876
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
877
  public void setRecurringExpiry(String recurringExpiry) {
878
    this.recurringExpiry = recurringExpiry;
×
879
  }
×
880

881

882
  public ThreeDS2RequestFields recurringFrequency(String recurringFrequency) {
883
    this.recurringFrequency = recurringFrequency;
×
884
    return this;
×
885
  }
886

887
   /**
888
   * Indicates the minimum number of days between authorisations. Maximum length: 4 characters.
889
   * @return recurringFrequency
890
  **/
891
  @ApiModelProperty(value = "Indicates the minimum number of days between authorisations. Maximum length: 4 characters.")
892
  @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY)
893
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
894

895
  public String getRecurringFrequency() {
896
    return recurringFrequency;
×
897
  }
898

899

900
  @JsonProperty(JSON_PROPERTY_RECURRING_FREQUENCY)
901
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
902
  public void setRecurringFrequency(String recurringFrequency) {
903
    this.recurringFrequency = recurringFrequency;
×
904
  }
×
905

906

907
  public ThreeDS2RequestFields sdkAppID(String sdkAppID) {
908
    this.sdkAppID = sdkAppID;
×
909
    return this;
×
910
  }
911

912
   /**
913
   * The `sdkAppID` value as received from the 3D Secure 2 SDK.
914
   * @return sdkAppID
915
  **/
916
  @ApiModelProperty(value = "The `sdkAppID` value as received from the 3D Secure 2 SDK.")
917
  @JsonProperty(JSON_PROPERTY_SDK_APP_I_D)
918
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
919

920
  public String getSdkAppID() {
921
    return sdkAppID;
×
922
  }
923

924

925
  @JsonProperty(JSON_PROPERTY_SDK_APP_I_D)
926
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
927
  public void setSdkAppID(String sdkAppID) {
928
    this.sdkAppID = sdkAppID;
×
929
  }
×
930

931

932
  public ThreeDS2RequestFields sdkEphemPubKey(SDKEphemPubKey sdkEphemPubKey) {
933
    this.sdkEphemPubKey = sdkEphemPubKey;
×
934
    return this;
×
935
  }
936

937
   /**
938
   * Get sdkEphemPubKey
939
   * @return sdkEphemPubKey
940
  **/
941
  @ApiModelProperty(value = "")
942
  @JsonProperty(JSON_PROPERTY_SDK_EPHEM_PUB_KEY)
943
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
944

945
  public SDKEphemPubKey getSdkEphemPubKey() {
946
    return sdkEphemPubKey;
×
947
  }
948

949

950
  @JsonProperty(JSON_PROPERTY_SDK_EPHEM_PUB_KEY)
951
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
952
  public void setSdkEphemPubKey(SDKEphemPubKey sdkEphemPubKey) {
953
    this.sdkEphemPubKey = sdkEphemPubKey;
×
954
  }
×
955

956

957
  public ThreeDS2RequestFields sdkMaxTimeout(Integer sdkMaxTimeout) {
958
    this.sdkMaxTimeout = sdkMaxTimeout;
×
959
    return this;
×
960
  }
961

962
   /**
963
   * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes.
964
   * @return sdkMaxTimeout
965
  **/
966
  @ApiModelProperty(value = "The maximum amount of time in minutes for the 3D Secure 2 authentication process. Optional and only for `deviceChannel` set to **app**. Defaults to **60** minutes.")
967
  @JsonProperty(JSON_PROPERTY_SDK_MAX_TIMEOUT)
968
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
969

970
  public Integer getSdkMaxTimeout() {
971
    return sdkMaxTimeout;
×
972
  }
973

974

975
  @JsonProperty(JSON_PROPERTY_SDK_MAX_TIMEOUT)
976
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
977
  public void setSdkMaxTimeout(Integer sdkMaxTimeout) {
978
    this.sdkMaxTimeout = sdkMaxTimeout;
×
979
  }
×
980

981

982
  public ThreeDS2RequestFields sdkReferenceNumber(String sdkReferenceNumber) {
983
    this.sdkReferenceNumber = sdkReferenceNumber;
×
984
    return this;
×
985
  }
986

987
   /**
988
   * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK.
989
   * @return sdkReferenceNumber
990
  **/
991
  @ApiModelProperty(value = "The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK.")
992
  @JsonProperty(JSON_PROPERTY_SDK_REFERENCE_NUMBER)
993
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
994

995
  public String getSdkReferenceNumber() {
996
    return sdkReferenceNumber;
×
997
  }
998

999

1000
  @JsonProperty(JSON_PROPERTY_SDK_REFERENCE_NUMBER)
1001
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1002
  public void setSdkReferenceNumber(String sdkReferenceNumber) {
1003
    this.sdkReferenceNumber = sdkReferenceNumber;
×
1004
  }
×
1005

1006

1007
  public ThreeDS2RequestFields sdkTransID(String sdkTransID) {
1008
    this.sdkTransID = sdkTransID;
×
1009
    return this;
×
1010
  }
1011

1012
   /**
1013
   * The `sdkTransID` value as received from the 3D Secure 2 SDK.
1014
   * @return sdkTransID
1015
  **/
1016
  @ApiModelProperty(value = "The `sdkTransID` value as received from the 3D Secure 2 SDK.")
1017
  @JsonProperty(JSON_PROPERTY_SDK_TRANS_I_D)
1018
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1019

1020
  public String getSdkTransID() {
1021
    return sdkTransID;
×
1022
  }
1023

1024

1025
  @JsonProperty(JSON_PROPERTY_SDK_TRANS_I_D)
1026
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1027
  public void setSdkTransID(String sdkTransID) {
1028
    this.sdkTransID = sdkTransID;
×
1029
  }
×
1030

1031

1032
  public ThreeDS2RequestFields threeDSCompInd(String threeDSCompInd) {
1033
    this.threeDSCompInd = threeDSCompInd;
×
1034
    return this;
×
1035
  }
1036

1037
   /**
1038
   * Completion indicator for the device fingerprinting.
1039
   * @return threeDSCompInd
1040
  **/
1041
  @ApiModelProperty(value = "Completion indicator for the device fingerprinting.")
1042
  @JsonProperty(JSON_PROPERTY_THREE_D_S_COMP_IND)
1043
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1044

1045
  public String getThreeDSCompInd() {
1046
    return threeDSCompInd;
×
1047
  }
1048

1049

1050
  @JsonProperty(JSON_PROPERTY_THREE_D_S_COMP_IND)
1051
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1052
  public void setThreeDSCompInd(String threeDSCompInd) {
1053
    this.threeDSCompInd = threeDSCompInd;
×
1054
  }
×
1055

1056

1057
  public ThreeDS2RequestFields threeDSRequestorAuthenticationInd(String threeDSRequestorAuthenticationInd) {
1058
    this.threeDSRequestorAuthenticationInd = threeDSRequestorAuthenticationInd;
×
1059
    return this;
×
1060
  }
1061

1062
   /**
1063
   * Indicates the type of Authentication request.
1064
   * @return threeDSRequestorAuthenticationInd
1065
  **/
1066
  @ApiModelProperty(value = "Indicates the type of Authentication request.")
1067
  @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_IND)
1068
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1069

1070
  public String getThreeDSRequestorAuthenticationInd() {
1071
    return threeDSRequestorAuthenticationInd;
×
1072
  }
1073

1074

1075
  @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_IND)
1076
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1077
  public void setThreeDSRequestorAuthenticationInd(String threeDSRequestorAuthenticationInd) {
1078
    this.threeDSRequestorAuthenticationInd = threeDSRequestorAuthenticationInd;
×
1079
  }
×
1080

1081

1082
  public ThreeDS2RequestFields threeDSRequestorAuthenticationInfo(ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo) {
1083
    this.threeDSRequestorAuthenticationInfo = threeDSRequestorAuthenticationInfo;
×
1084
    return this;
×
1085
  }
1086

1087
   /**
1088
   * Get threeDSRequestorAuthenticationInfo
1089
   * @return threeDSRequestorAuthenticationInfo
1090
  **/
1091
  @ApiModelProperty(value = "")
1092
  @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_INFO)
1093
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1094

1095
  public ThreeDSRequestorAuthenticationInfo getThreeDSRequestorAuthenticationInfo() {
1096
    return threeDSRequestorAuthenticationInfo;
×
1097
  }
1098

1099

1100
  @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_AUTHENTICATION_INFO)
1101
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1102
  public void setThreeDSRequestorAuthenticationInfo(ThreeDSRequestorAuthenticationInfo threeDSRequestorAuthenticationInfo) {
1103
    this.threeDSRequestorAuthenticationInfo = threeDSRequestorAuthenticationInfo;
×
1104
  }
×
1105

1106

1107
  public ThreeDS2RequestFields threeDSRequestorChallengeInd(ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd) {
1108
    this.threeDSRequestorChallengeInd = threeDSRequestorChallengeInd;
×
1109
    return this;
×
1110
  }
1111

1112
   /**
1113
   * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only
1114
   * @return threeDSRequestorChallengeInd
1115
  **/
1116
  @ApiModelProperty(value = "Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only")
1117
  @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND)
1118
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1119

1120
  public ThreeDSRequestorChallengeIndEnum getThreeDSRequestorChallengeInd() {
1121
    return threeDSRequestorChallengeInd;
×
1122
  }
1123

1124

1125
  @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_CHALLENGE_IND)
1126
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1127
  public void setThreeDSRequestorChallengeInd(ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd) {
1128
    this.threeDSRequestorChallengeInd = threeDSRequestorChallengeInd;
×
1129
  }
×
1130

1131

1132
  public ThreeDS2RequestFields threeDSRequestorID(String threeDSRequestorID) {
1133
    this.threeDSRequestorID = threeDSRequestorID;
×
1134
    return this;
×
1135
  }
1136

1137
   /**
1138
   * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2.
1139
   * @return threeDSRequestorID
1140
  **/
1141
  @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2.")
1142
  @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_I_D)
1143
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1144

1145
  public String getThreeDSRequestorID() {
1146
    return threeDSRequestorID;
×
1147
  }
1148

1149

1150
  @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_I_D)
1151
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1152
  public void setThreeDSRequestorID(String threeDSRequestorID) {
1153
    this.threeDSRequestorID = threeDSRequestorID;
×
1154
  }
×
1155

1156

1157
  public ThreeDS2RequestFields threeDSRequestorName(String threeDSRequestorName) {
1158
    this.threeDSRequestorName = threeDSRequestorName;
×
1159
    return this;
×
1160
  }
1161

1162
   /**
1163
   * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2.
1164
   * @return threeDSRequestorName
1165
  **/
1166
  @ApiModelProperty(value = "Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2.")
1167
  @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_NAME)
1168
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1169

1170
  public String getThreeDSRequestorName() {
1171
    return threeDSRequestorName;
×
1172
  }
1173

1174

1175
  @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_NAME)
1176
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1177
  public void setThreeDSRequestorName(String threeDSRequestorName) {
1178
    this.threeDSRequestorName = threeDSRequestorName;
×
1179
  }
×
1180

1181

1182
  public ThreeDS2RequestFields threeDSRequestorPriorAuthenticationInfo(ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo) {
1183
    this.threeDSRequestorPriorAuthenticationInfo = threeDSRequestorPriorAuthenticationInfo;
×
1184
    return this;
×
1185
  }
1186

1187
   /**
1188
   * Get threeDSRequestorPriorAuthenticationInfo
1189
   * @return threeDSRequestorPriorAuthenticationInfo
1190
  **/
1191
  @ApiModelProperty(value = "")
1192
  @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_PRIOR_AUTHENTICATION_INFO)
1193
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1194

1195
  public ThreeDSRequestorPriorAuthenticationInfo getThreeDSRequestorPriorAuthenticationInfo() {
1196
    return threeDSRequestorPriorAuthenticationInfo;
×
1197
  }
1198

1199

1200
  @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_PRIOR_AUTHENTICATION_INFO)
1201
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1202
  public void setThreeDSRequestorPriorAuthenticationInfo(ThreeDSRequestorPriorAuthenticationInfo threeDSRequestorPriorAuthenticationInfo) {
1203
    this.threeDSRequestorPriorAuthenticationInfo = threeDSRequestorPriorAuthenticationInfo;
×
1204
  }
×
1205

1206

1207
  public ThreeDS2RequestFields threeDSRequestorURL(String threeDSRequestorURL) {
1208
    this.threeDSRequestorURL = threeDSRequestorURL;
×
1209
    return this;
×
1210
  }
1211

1212
   /**
1213
   * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process.
1214
   * @return threeDSRequestorURL
1215
  **/
1216
  @ApiModelProperty(value = "URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process.")
1217
  @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_U_R_L)
1218
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1219

1220
  public String getThreeDSRequestorURL() {
1221
    return threeDSRequestorURL;
×
1222
  }
1223

1224

1225
  @JsonProperty(JSON_PROPERTY_THREE_D_S_REQUESTOR_U_R_L)
1226
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1227
  public void setThreeDSRequestorURL(String threeDSRequestorURL) {
1228
    this.threeDSRequestorURL = threeDSRequestorURL;
×
1229
  }
×
1230

1231

1232
  public ThreeDS2RequestFields transType(TransTypeEnum transType) {
1233
    this.transType = transType;
×
1234
    return this;
×
1235
  }
1236

1237
   /**
1238
   * Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load
1239
   * @return transType
1240
  **/
1241
  @ApiModelProperty(value = "Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load")
1242
  @JsonProperty(JSON_PROPERTY_TRANS_TYPE)
1243
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1244

1245
  public TransTypeEnum getTransType() {
1246
    return transType;
×
1247
  }
1248

1249

1250
  @JsonProperty(JSON_PROPERTY_TRANS_TYPE)
1251
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1252
  public void setTransType(TransTypeEnum transType) {
1253
    this.transType = transType;
×
1254
  }
×
1255

1256

1257
  public ThreeDS2RequestFields transactionType(TransactionTypeEnum transactionType) {
1258
    this.transactionType = transactionType;
×
1259
    return this;
×
1260
  }
1261

1262
   /**
1263
   * Identify the type of the transaction being authenticated.
1264
   * @return transactionType
1265
  **/
1266
  @ApiModelProperty(value = "Identify the type of the transaction being authenticated.")
1267
  @JsonProperty(JSON_PROPERTY_TRANSACTION_TYPE)
1268
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1269

1270
  public TransactionTypeEnum getTransactionType() {
1271
    return transactionType;
×
1272
  }
1273

1274

1275
  @JsonProperty(JSON_PROPERTY_TRANSACTION_TYPE)
1276
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1277
  public void setTransactionType(TransactionTypeEnum transactionType) {
1278
    this.transactionType = transactionType;
×
1279
  }
×
1280

1281

1282
  public ThreeDS2RequestFields whiteListStatus(String whiteListStatus) {
1283
    this.whiteListStatus = whiteListStatus;
×
1284
    return this;
×
1285
  }
1286

1287
   /**
1288
   * The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0.
1289
   * @return whiteListStatus
1290
  **/
1291
  @ApiModelProperty(value = "The `whiteListStatus` value returned from a previous 3D Secure 2 transaction, only applicable for 3D Secure 2 protocol version 2.2.0.")
1292
  @JsonProperty(JSON_PROPERTY_WHITE_LIST_STATUS)
1293
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1294

1295
  public String getWhiteListStatus() {
1296
    return whiteListStatus;
×
1297
  }
1298

1299

1300
  @JsonProperty(JSON_PROPERTY_WHITE_LIST_STATUS)
1301
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1302
  public void setWhiteListStatus(String whiteListStatus) {
1303
    this.whiteListStatus = whiteListStatus;
×
1304
  }
×
1305

1306

1307
  public ThreeDS2RequestFields workPhone(Phone workPhone) {
1308
    this.workPhone = workPhone;
×
1309
    return this;
×
1310
  }
1311

1312
   /**
1313
   * Get workPhone
1314
   * @return workPhone
1315
  **/
1316
  @ApiModelProperty(value = "")
1317
  @JsonProperty(JSON_PROPERTY_WORK_PHONE)
1318
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1319

1320
  public Phone getWorkPhone() {
1321
    return workPhone;
×
1322
  }
1323

1324

1325
  @JsonProperty(JSON_PROPERTY_WORK_PHONE)
1326
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
1327
  public void setWorkPhone(Phone workPhone) {
1328
    this.workPhone = workPhone;
×
1329
  }
×
1330

1331

1332
  /**
1333
   * Return true if this ThreeDS2RequestFields object is equal to o.
1334
   */
1335
  @Override
1336
  public boolean equals(Object o) {
1337
    if (this == o) {
×
1338
      return true;
×
1339
    }
1340
    if (o == null || getClass() != o.getClass()) {
×
1341
      return false;
×
1342
    }
1343
    ThreeDS2RequestFields threeDS2RequestFields = (ThreeDS2RequestFields) o;
×
1344
    return Objects.equals(this.acctInfo, threeDS2RequestFields.acctInfo) &&
×
1345
        Objects.equals(this.acctType, threeDS2RequestFields.acctType) &&
×
1346
        Objects.equals(this.acquirerBIN, threeDS2RequestFields.acquirerBIN) &&
×
1347
        Objects.equals(this.acquirerMerchantID, threeDS2RequestFields.acquirerMerchantID) &&
×
1348
        Objects.equals(this.addrMatch, threeDS2RequestFields.addrMatch) &&
×
1349
        Objects.equals(this.authenticationOnly, threeDS2RequestFields.authenticationOnly) &&
×
1350
        Objects.equals(this.challengeIndicator, threeDS2RequestFields.challengeIndicator) &&
×
1351
        Objects.equals(this.deviceRenderOptions, threeDS2RequestFields.deviceRenderOptions) &&
×
1352
        Objects.equals(this.homePhone, threeDS2RequestFields.homePhone) &&
×
1353
        Objects.equals(this.mcc, threeDS2RequestFields.mcc) &&
×
1354
        Objects.equals(this.merchantName, threeDS2RequestFields.merchantName) &&
×
1355
        Objects.equals(this.messageVersion, threeDS2RequestFields.messageVersion) &&
×
1356
        Objects.equals(this.mobilePhone, threeDS2RequestFields.mobilePhone) &&
×
1357
        Objects.equals(this.notificationURL, threeDS2RequestFields.notificationURL) &&
×
1358
        Objects.equals(this.payTokenInd, threeDS2RequestFields.payTokenInd) &&
×
1359
        Objects.equals(this.paymentAuthenticationUseCase, threeDS2RequestFields.paymentAuthenticationUseCase) &&
×
1360
        Objects.equals(this.purchaseInstalData, threeDS2RequestFields.purchaseInstalData) &&
×
1361
        Objects.equals(this.recurringExpiry, threeDS2RequestFields.recurringExpiry) &&
×
1362
        Objects.equals(this.recurringFrequency, threeDS2RequestFields.recurringFrequency) &&
×
1363
        Objects.equals(this.sdkAppID, threeDS2RequestFields.sdkAppID) &&
×
1364
        Objects.equals(this.sdkEphemPubKey, threeDS2RequestFields.sdkEphemPubKey) &&
×
1365
        Objects.equals(this.sdkMaxTimeout, threeDS2RequestFields.sdkMaxTimeout) &&
×
1366
        Objects.equals(this.sdkReferenceNumber, threeDS2RequestFields.sdkReferenceNumber) &&
×
1367
        Objects.equals(this.sdkTransID, threeDS2RequestFields.sdkTransID) &&
×
1368
        Objects.equals(this.threeDSCompInd, threeDS2RequestFields.threeDSCompInd) &&
×
1369
        Objects.equals(this.threeDSRequestorAuthenticationInd, threeDS2RequestFields.threeDSRequestorAuthenticationInd) &&
×
1370
        Objects.equals(this.threeDSRequestorAuthenticationInfo, threeDS2RequestFields.threeDSRequestorAuthenticationInfo) &&
×
1371
        Objects.equals(this.threeDSRequestorChallengeInd, threeDS2RequestFields.threeDSRequestorChallengeInd) &&
×
1372
        Objects.equals(this.threeDSRequestorID, threeDS2RequestFields.threeDSRequestorID) &&
×
1373
        Objects.equals(this.threeDSRequestorName, threeDS2RequestFields.threeDSRequestorName) &&
×
1374
        Objects.equals(this.threeDSRequestorPriorAuthenticationInfo, threeDS2RequestFields.threeDSRequestorPriorAuthenticationInfo) &&
×
1375
        Objects.equals(this.threeDSRequestorURL, threeDS2RequestFields.threeDSRequestorURL) &&
×
1376
        Objects.equals(this.transType, threeDS2RequestFields.transType) &&
×
1377
        Objects.equals(this.transactionType, threeDS2RequestFields.transactionType) &&
×
1378
        Objects.equals(this.whiteListStatus, threeDS2RequestFields.whiteListStatus) &&
×
1379
        Objects.equals(this.workPhone, threeDS2RequestFields.workPhone);
×
1380
  }
1381

1382
  @Override
1383
  public int hashCode() {
1384
    return Objects.hash(acctInfo, acctType, acquirerBIN, acquirerMerchantID, addrMatch, authenticationOnly, challengeIndicator, deviceRenderOptions, homePhone, mcc, merchantName, messageVersion, mobilePhone, notificationURL, payTokenInd, paymentAuthenticationUseCase, purchaseInstalData, recurringExpiry, recurringFrequency, sdkAppID, sdkEphemPubKey, sdkMaxTimeout, sdkReferenceNumber, sdkTransID, threeDSCompInd, threeDSRequestorAuthenticationInd, threeDSRequestorAuthenticationInfo, threeDSRequestorChallengeInd, threeDSRequestorID, threeDSRequestorName, threeDSRequestorPriorAuthenticationInfo, threeDSRequestorURL, transType, transactionType, whiteListStatus, workPhone);
×
1385
  }
1386

1387
  @Override
1388
  public String toString() {
1389
    StringBuilder sb = new StringBuilder();
×
1390
    sb.append("class ThreeDS2RequestFields {\n");
×
1391
    sb.append("    acctInfo: ").append(toIndentedString(acctInfo)).append("\n");
×
1392
    sb.append("    acctType: ").append(toIndentedString(acctType)).append("\n");
×
1393
    sb.append("    acquirerBIN: ").append(toIndentedString(acquirerBIN)).append("\n");
×
1394
    sb.append("    acquirerMerchantID: ").append(toIndentedString(acquirerMerchantID)).append("\n");
×
1395
    sb.append("    addrMatch: ").append(toIndentedString(addrMatch)).append("\n");
×
1396
    sb.append("    authenticationOnly: ").append(toIndentedString(authenticationOnly)).append("\n");
×
1397
    sb.append("    challengeIndicator: ").append(toIndentedString(challengeIndicator)).append("\n");
×
1398
    sb.append("    deviceRenderOptions: ").append(toIndentedString(deviceRenderOptions)).append("\n");
×
1399
    sb.append("    homePhone: ").append(toIndentedString(homePhone)).append("\n");
×
1400
    sb.append("    mcc: ").append(toIndentedString(mcc)).append("\n");
×
1401
    sb.append("    merchantName: ").append(toIndentedString(merchantName)).append("\n");
×
1402
    sb.append("    messageVersion: ").append(toIndentedString(messageVersion)).append("\n");
×
1403
    sb.append("    mobilePhone: ").append(toIndentedString(mobilePhone)).append("\n");
×
1404
    sb.append("    notificationURL: ").append(toIndentedString(notificationURL)).append("\n");
×
1405
    sb.append("    payTokenInd: ").append(toIndentedString(payTokenInd)).append("\n");
×
1406
    sb.append("    paymentAuthenticationUseCase: ").append(toIndentedString(paymentAuthenticationUseCase)).append("\n");
×
1407
    sb.append("    purchaseInstalData: ").append(toIndentedString(purchaseInstalData)).append("\n");
×
1408
    sb.append("    recurringExpiry: ").append(toIndentedString(recurringExpiry)).append("\n");
×
1409
    sb.append("    recurringFrequency: ").append(toIndentedString(recurringFrequency)).append("\n");
×
1410
    sb.append("    sdkAppID: ").append(toIndentedString(sdkAppID)).append("\n");
×
1411
    sb.append("    sdkEphemPubKey: ").append(toIndentedString(sdkEphemPubKey)).append("\n");
×
1412
    sb.append("    sdkMaxTimeout: ").append(toIndentedString(sdkMaxTimeout)).append("\n");
×
1413
    sb.append("    sdkReferenceNumber: ").append(toIndentedString(sdkReferenceNumber)).append("\n");
×
1414
    sb.append("    sdkTransID: ").append(toIndentedString(sdkTransID)).append("\n");
×
1415
    sb.append("    threeDSCompInd: ").append(toIndentedString(threeDSCompInd)).append("\n");
×
1416
    sb.append("    threeDSRequestorAuthenticationInd: ").append(toIndentedString(threeDSRequestorAuthenticationInd)).append("\n");
×
1417
    sb.append("    threeDSRequestorAuthenticationInfo: ").append(toIndentedString(threeDSRequestorAuthenticationInfo)).append("\n");
×
1418
    sb.append("    threeDSRequestorChallengeInd: ").append(toIndentedString(threeDSRequestorChallengeInd)).append("\n");
×
1419
    sb.append("    threeDSRequestorID: ").append(toIndentedString(threeDSRequestorID)).append("\n");
×
1420
    sb.append("    threeDSRequestorName: ").append(toIndentedString(threeDSRequestorName)).append("\n");
×
1421
    sb.append("    threeDSRequestorPriorAuthenticationInfo: ").append(toIndentedString(threeDSRequestorPriorAuthenticationInfo)).append("\n");
×
1422
    sb.append("    threeDSRequestorURL: ").append(toIndentedString(threeDSRequestorURL)).append("\n");
×
1423
    sb.append("    transType: ").append(toIndentedString(transType)).append("\n");
×
1424
    sb.append("    transactionType: ").append(toIndentedString(transactionType)).append("\n");
×
1425
    sb.append("    whiteListStatus: ").append(toIndentedString(whiteListStatus)).append("\n");
×
1426
    sb.append("    workPhone: ").append(toIndentedString(workPhone)).append("\n");
×
1427
    sb.append("}");
×
1428
    return sb.toString();
×
1429
  }
1430

1431
  /**
1432
   * Convert the given object to string with each line indented by 4 spaces
1433
   * (except the first line).
1434
   */
1435
  private String toIndentedString(Object o) {
1436
    if (o == null) {
×
1437
      return "null";
×
1438
    }
1439
    return o.toString().replace("\n", "\n    ");
×
1440
  }
1441

1442
/**
1443
   * Create an instance of ThreeDS2RequestFields given an JSON string
1444
   *
1445
   * @param jsonString JSON string
1446
   * @return An instance of ThreeDS2RequestFields
1447
   * @throws JsonProcessingException if the JSON string is invalid with respect to ThreeDS2RequestFields
1448
   */
1449
  public static ThreeDS2RequestFields fromJson(String jsonString) throws JsonProcessingException {
1450
    return JSON.getMapper().readValue(jsonString, ThreeDS2RequestFields.class);
×
1451
  }
1452
/**
1453
  * Convert an instance of ThreeDS2RequestFields to an JSON string
1454
  *
1455
  * @return JSON string
1456
  */
1457
  public String toJson() throws JsonProcessingException {
1458
    return JSON.getMapper().writeValueAsString(this);
×
1459
  }
1460
}
1461

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