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

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

21 Mar 2024 10:28AM UTC coverage: 12.294%. First build
#3177

push

web-flow
Merge 3d6ff7572 into d61048882

0 of 208 new or added lines in 10 files covered. (0.0%)

12446 of 101233 relevant lines covered (12.29%)

0.12 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/PaymentCompletionDetails.java
1
/*
2
 * Adyen Checkout API
3
 *
4
 * The version of the OpenAPI document: 71
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.fasterxml.jackson.annotation.JsonInclude;
20
import com.fasterxml.jackson.annotation.JsonProperty;
21
import com.fasterxml.jackson.annotation.JsonCreator;
22
import com.fasterxml.jackson.annotation.JsonTypeName;
23
import com.fasterxml.jackson.annotation.JsonValue;
24
import io.swagger.annotations.ApiModel;
25
import io.swagger.annotations.ApiModelProperty;
26
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
27
import com.fasterxml.jackson.core.JsonProcessingException;
28

29

30
/**
31
 * PaymentCompletionDetails
32
 */
33
@JsonPropertyOrder({
34
  PaymentCompletionDetails.JSON_PROPERTY_M_D,
35
  PaymentCompletionDetails.JSON_PROPERTY_PA_REQ,
36
  PaymentCompletionDetails.JSON_PROPERTY_PA_RES,
37
  PaymentCompletionDetails.JSON_PROPERTY_AUTHORIZATION_TOKEN,
38
  PaymentCompletionDetails.JSON_PROPERTY_BILLING_TOKEN,
39
  PaymentCompletionDetails.JSON_PROPERTY_CUPSECUREPLUS_SMSCODE,
40
  PaymentCompletionDetails.JSON_PROPERTY_FACILITATOR_ACCESS_TOKEN,
41
  PaymentCompletionDetails.JSON_PROPERTY_ONE_TIME_PASSCODE,
42
  PaymentCompletionDetails.JSON_PROPERTY_ORDER_I_D,
43
  PaymentCompletionDetails.JSON_PROPERTY_PAYER_I_D,
44
  PaymentCompletionDetails.JSON_PROPERTY_PAYLOAD,
45
  PaymentCompletionDetails.JSON_PROPERTY_PAYMENT_I_D,
46
  PaymentCompletionDetails.JSON_PROPERTY_PAYMENT_STATUS,
47
  PaymentCompletionDetails.JSON_PROPERTY_REDIRECT_RESULT,
48
  PaymentCompletionDetails.JSON_PROPERTY_RESULT_CODE,
49
  PaymentCompletionDetails.JSON_PROPERTY_THREE_D_S_RESULT,
50
  PaymentCompletionDetails.JSON_PROPERTY_THREEDS2_CHALLENGE_RESULT,
51
  PaymentCompletionDetails.JSON_PROPERTY_THREEDS2_FINGERPRINT,
52
  PaymentCompletionDetails.JSON_PROPERTY_VAULT_TOKEN
53
})
54

55
public class PaymentCompletionDetails {
56
  public static final String JSON_PROPERTY_M_D = "MD";
57
  private String MD;
58

59
  public static final String JSON_PROPERTY_PA_REQ = "PaReq";
60
  private String paReq;
61

62
  public static final String JSON_PROPERTY_PA_RES = "PaRes";
63
  private String paRes;
64

65
  public static final String JSON_PROPERTY_AUTHORIZATION_TOKEN = "authorization_token";
66
  private String authorizationToken;
67

68
  public static final String JSON_PROPERTY_BILLING_TOKEN = "billingToken";
69
  private String billingToken;
70

71
  public static final String JSON_PROPERTY_CUPSECUREPLUS_SMSCODE = "cupsecureplus.smscode";
72
  private String cupsecureplusSmscode;
73

74
  public static final String JSON_PROPERTY_FACILITATOR_ACCESS_TOKEN = "facilitatorAccessToken";
75
  private String facilitatorAccessToken;
76

77
  public static final String JSON_PROPERTY_ONE_TIME_PASSCODE = "oneTimePasscode";
78
  private String oneTimePasscode;
79

80
  public static final String JSON_PROPERTY_ORDER_I_D = "orderID";
81
  private String orderID;
82

83
  public static final String JSON_PROPERTY_PAYER_I_D = "payerID";
84
  private String payerID;
85

86
  public static final String JSON_PROPERTY_PAYLOAD = "payload";
87
  private String payload;
88

89
  public static final String JSON_PROPERTY_PAYMENT_I_D = "paymentID";
90
  private String paymentID;
91

92
  public static final String JSON_PROPERTY_PAYMENT_STATUS = "paymentStatus";
93
  private String paymentStatus;
94

95
  public static final String JSON_PROPERTY_REDIRECT_RESULT = "redirectResult";
96
  private String redirectResult;
97

98
  public static final String JSON_PROPERTY_RESULT_CODE = "resultCode";
99
  private String resultCode;
100

101
  public static final String JSON_PROPERTY_THREE_D_S_RESULT = "threeDSResult";
102
  private String threeDSResult;
103

104
  public static final String JSON_PROPERTY_THREEDS2_CHALLENGE_RESULT = "threeds2.challengeResult";
105
  private String threeds2ChallengeResult;
106

107
  public static final String JSON_PROPERTY_THREEDS2_FINGERPRINT = "threeds2.fingerprint";
108
  private String threeds2Fingerprint;
109

110
  public static final String JSON_PROPERTY_VAULT_TOKEN = "vaultToken";
111
  private String vaultToken;
112

113
  public PaymentCompletionDetails() { 
×
114
  }
×
115

116
  public PaymentCompletionDetails MD(String MD) {
117
    this.MD = MD;
×
118
    return this;
×
119
  }
120

121
   /**
122
   * A payment session identifier returned by the card issuer.
123
   * @return MD
124
  **/
125
  @ApiModelProperty(value = "A payment session identifier returned by the card issuer.")
126
  @JsonProperty(JSON_PROPERTY_M_D)
127
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
128

129
  public String getMD() {
130
    return MD;
×
131
  }
132

133

134
 /**
135
  * A payment session identifier returned by the card issuer.
136
  *
137
  * @param MD
138
  */ 
139
  @JsonProperty(JSON_PROPERTY_M_D)
140
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
141
  public void setMD(String MD) {
142
    this.MD = MD;
×
143
  }
×
144

145

146
  public PaymentCompletionDetails paReq(String paReq) {
147
    this.paReq = paReq;
×
148
    return this;
×
149
  }
150

151
   /**
152
   * (3D) Payment Authentication Request data for the card issuer.
153
   * @return paReq
154
  **/
155
  @ApiModelProperty(value = "(3D) Payment Authentication Request data for the card issuer.")
156
  @JsonProperty(JSON_PROPERTY_PA_REQ)
157
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
158

159
  public String getPaReq() {
160
    return paReq;
×
161
  }
162

163

164
 /**
165
  * (3D) Payment Authentication Request data for the card issuer.
166
  *
167
  * @param paReq
168
  */ 
169
  @JsonProperty(JSON_PROPERTY_PA_REQ)
170
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
171
  public void setPaReq(String paReq) {
172
    this.paReq = paReq;
×
173
  }
×
174

175

176
  public PaymentCompletionDetails paRes(String paRes) {
177
    this.paRes = paRes;
×
178
    return this;
×
179
  }
180

181
   /**
182
   * (3D) Payment Authentication Response data by the card issuer.
183
   * @return paRes
184
  **/
185
  @ApiModelProperty(value = "(3D) Payment Authentication Response data by the card issuer.")
186
  @JsonProperty(JSON_PROPERTY_PA_RES)
187
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
188

189
  public String getPaRes() {
190
    return paRes;
×
191
  }
192

193

194
 /**
195
  * (3D) Payment Authentication Response data by the card issuer.
196
  *
197
  * @param paRes
198
  */ 
199
  @JsonProperty(JSON_PROPERTY_PA_RES)
200
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
201
  public void setPaRes(String paRes) {
202
    this.paRes = paRes;
×
203
  }
×
204

205

206
  public PaymentCompletionDetails authorizationToken(String authorizationToken) {
207
    this.authorizationToken = authorizationToken;
×
208
    return this;
×
209
  }
210

211
   /**
212
   * Get authorizationToken
213
   * @return authorizationToken
214
  **/
215
  @ApiModelProperty(value = "")
216
  @JsonProperty(JSON_PROPERTY_AUTHORIZATION_TOKEN)
217
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
218

219
  public String getAuthorizationToken() {
220
    return authorizationToken;
×
221
  }
222

223

224
 /**
225
  * authorizationToken
226
  *
227
  * @param authorizationToken
228
  */ 
229
  @JsonProperty(JSON_PROPERTY_AUTHORIZATION_TOKEN)
230
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
231
  public void setAuthorizationToken(String authorizationToken) {
232
    this.authorizationToken = authorizationToken;
×
233
  }
×
234

235

236
  public PaymentCompletionDetails billingToken(String billingToken) {
237
    this.billingToken = billingToken;
×
238
    return this;
×
239
  }
240

241
   /**
242
   * PayPal-generated token for recurring payments.
243
   * @return billingToken
244
  **/
245
  @ApiModelProperty(value = "PayPal-generated token for recurring payments.")
246
  @JsonProperty(JSON_PROPERTY_BILLING_TOKEN)
247
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
248

249
  public String getBillingToken() {
250
    return billingToken;
×
251
  }
252

253

254
 /**
255
  * PayPal-generated token for recurring payments.
256
  *
257
  * @param billingToken
258
  */ 
259
  @JsonProperty(JSON_PROPERTY_BILLING_TOKEN)
260
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
261
  public void setBillingToken(String billingToken) {
262
    this.billingToken = billingToken;
×
263
  }
×
264

265

266
  public PaymentCompletionDetails cupsecureplusSmscode(String cupsecureplusSmscode) {
267
    this.cupsecureplusSmscode = cupsecureplusSmscode;
×
268
    return this;
×
269
  }
270

271
   /**
272
   * The SMS verification code collected from the shopper.
273
   * @return cupsecureplusSmscode
274
  **/
275
  @ApiModelProperty(value = "The SMS verification code collected from the shopper.")
276
  @JsonProperty(JSON_PROPERTY_CUPSECUREPLUS_SMSCODE)
277
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
278

279
  public String getCupsecureplusSmscode() {
280
    return cupsecureplusSmscode;
×
281
  }
282

283

284
 /**
285
  * The SMS verification code collected from the shopper.
286
  *
287
  * @param cupsecureplusSmscode
288
  */ 
289
  @JsonProperty(JSON_PROPERTY_CUPSECUREPLUS_SMSCODE)
290
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
291
  public void setCupsecureplusSmscode(String cupsecureplusSmscode) {
292
    this.cupsecureplusSmscode = cupsecureplusSmscode;
×
293
  }
×
294

295

296
  public PaymentCompletionDetails facilitatorAccessToken(String facilitatorAccessToken) {
297
    this.facilitatorAccessToken = facilitatorAccessToken;
×
298
    return this;
×
299
  }
300

301
   /**
302
   * PayPal-generated third party access token.
303
   * @return facilitatorAccessToken
304
  **/
305
  @ApiModelProperty(value = "PayPal-generated third party access token.")
306
  @JsonProperty(JSON_PROPERTY_FACILITATOR_ACCESS_TOKEN)
307
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
308

309
  public String getFacilitatorAccessToken() {
310
    return facilitatorAccessToken;
×
311
  }
312

313

314
 /**
315
  * PayPal-generated third party access token.
316
  *
317
  * @param facilitatorAccessToken
318
  */ 
319
  @JsonProperty(JSON_PROPERTY_FACILITATOR_ACCESS_TOKEN)
320
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
321
  public void setFacilitatorAccessToken(String facilitatorAccessToken) {
322
    this.facilitatorAccessToken = facilitatorAccessToken;
×
323
  }
×
324

325

326
  public PaymentCompletionDetails oneTimePasscode(String oneTimePasscode) {
327
    this.oneTimePasscode = oneTimePasscode;
×
328
    return this;
×
329
  }
330

331
   /**
332
   * A random number sent to the mobile phone number of the shopper to verify the payment.
333
   * @return oneTimePasscode
334
  **/
335
  @ApiModelProperty(value = "A random number sent to the mobile phone number of the shopper to verify the payment.")
336
  @JsonProperty(JSON_PROPERTY_ONE_TIME_PASSCODE)
337
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
338

339
  public String getOneTimePasscode() {
340
    return oneTimePasscode;
×
341
  }
342

343

344
 /**
345
  * A random number sent to the mobile phone number of the shopper to verify the payment.
346
  *
347
  * @param oneTimePasscode
348
  */ 
349
  @JsonProperty(JSON_PROPERTY_ONE_TIME_PASSCODE)
350
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
351
  public void setOneTimePasscode(String oneTimePasscode) {
352
    this.oneTimePasscode = oneTimePasscode;
×
353
  }
×
354

355

356
  public PaymentCompletionDetails orderID(String orderID) {
357
    this.orderID = orderID;
×
358
    return this;
×
359
  }
360

361
   /**
362
   * PayPal-assigned ID for the order.
363
   * @return orderID
364
  **/
365
  @ApiModelProperty(value = "PayPal-assigned ID for the order.")
366
  @JsonProperty(JSON_PROPERTY_ORDER_I_D)
367
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
368

369
  public String getOrderID() {
370
    return orderID;
×
371
  }
372

373

374
 /**
375
  * PayPal-assigned ID for the order.
376
  *
377
  * @param orderID
378
  */ 
379
  @JsonProperty(JSON_PROPERTY_ORDER_I_D)
380
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
381
  public void setOrderID(String orderID) {
382
    this.orderID = orderID;
×
383
  }
×
384

385

386
  public PaymentCompletionDetails payerID(String payerID) {
387
    this.payerID = payerID;
×
388
    return this;
×
389
  }
390

391
   /**
392
   * PayPal-assigned ID for the payer (shopper).
393
   * @return payerID
394
  **/
395
  @ApiModelProperty(value = "PayPal-assigned ID for the payer (shopper).")
396
  @JsonProperty(JSON_PROPERTY_PAYER_I_D)
397
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
398

399
  public String getPayerID() {
400
    return payerID;
×
401
  }
402

403

404
 /**
405
  * PayPal-assigned ID for the payer (shopper).
406
  *
407
  * @param payerID
408
  */ 
409
  @JsonProperty(JSON_PROPERTY_PAYER_I_D)
410
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
411
  public void setPayerID(String payerID) {
412
    this.payerID = payerID;
×
413
  }
×
414

415

416
  public PaymentCompletionDetails payload(String payload) {
417
    this.payload = payload;
×
418
    return this;
×
419
  }
420

421
   /**
422
   * Payload appended to the `returnURL` as a result of the redirect.
423
   * @return payload
424
  **/
425
  @ApiModelProperty(value = "Payload appended to the `returnURL` as a result of the redirect.")
426
  @JsonProperty(JSON_PROPERTY_PAYLOAD)
427
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
428

429
  public String getPayload() {
430
    return payload;
×
431
  }
432

433

434
 /**
435
  * Payload appended to the `returnURL` as a result of the redirect.
436
  *
437
  * @param payload
438
  */ 
439
  @JsonProperty(JSON_PROPERTY_PAYLOAD)
440
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
441
  public void setPayload(String payload) {
442
    this.payload = payload;
×
443
  }
×
444

445

446
  public PaymentCompletionDetails paymentID(String paymentID) {
447
    this.paymentID = paymentID;
×
448
    return this;
×
449
  }
450

451
   /**
452
   * PayPal-generated ID for the payment.
453
   * @return paymentID
454
  **/
455
  @ApiModelProperty(value = "PayPal-generated ID for the payment.")
456
  @JsonProperty(JSON_PROPERTY_PAYMENT_I_D)
457
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
458

459
  public String getPaymentID() {
460
    return paymentID;
×
461
  }
462

463

464
 /**
465
  * PayPal-generated ID for the payment.
466
  *
467
  * @param paymentID
468
  */ 
469
  @JsonProperty(JSON_PROPERTY_PAYMENT_I_D)
470
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
471
  public void setPaymentID(String paymentID) {
472
    this.paymentID = paymentID;
×
473
  }
×
474

475

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

481
   /**
482
   * Value passed from the WeChat MiniProgram `wx.requestPayment` **complete** callback. Possible values: any value starting with `requestPayment:`.
483
   * @return paymentStatus
484
  **/
485
  @ApiModelProperty(value = "Value passed from the WeChat MiniProgram `wx.requestPayment` **complete** callback. Possible values: any value starting with `requestPayment:`.")
486
  @JsonProperty(JSON_PROPERTY_PAYMENT_STATUS)
487
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
488

489
  public String getPaymentStatus() {
490
    return paymentStatus;
×
491
  }
492

493

494
 /**
495
  * Value passed from the WeChat MiniProgram `wx.requestPayment` **complete** callback. Possible values: any value starting with `requestPayment:`.
496
  *
497
  * @param paymentStatus
498
  */ 
499
  @JsonProperty(JSON_PROPERTY_PAYMENT_STATUS)
500
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
501
  public void setPaymentStatus(String paymentStatus) {
502
    this.paymentStatus = paymentStatus;
×
503
  }
×
504

505

506
  public PaymentCompletionDetails redirectResult(String redirectResult) {
507
    this.redirectResult = redirectResult;
×
508
    return this;
×
509
  }
510

511
   /**
512
   * The result of the redirect as appended to the `returnURL`.
513
   * @return redirectResult
514
  **/
515
  @ApiModelProperty(value = "The result of the redirect as appended to the `returnURL`.")
516
  @JsonProperty(JSON_PROPERTY_REDIRECT_RESULT)
517
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
518

519
  public String getRedirectResult() {
520
    return redirectResult;
×
521
  }
522

523

524
 /**
525
  * The result of the redirect as appended to the `returnURL`.
526
  *
527
  * @param redirectResult
528
  */ 
529
  @JsonProperty(JSON_PROPERTY_REDIRECT_RESULT)
530
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
531
  public void setRedirectResult(String redirectResult) {
532
    this.redirectResult = redirectResult;
×
533
  }
×
534

535

536
  public PaymentCompletionDetails resultCode(String resultCode) {
537
    this.resultCode = resultCode;
×
538
    return this;
×
539
  }
540

541
   /**
542
   * Value you received from the WeChat Pay SDK.
543
   * @return resultCode
544
  **/
545
  @ApiModelProperty(value = "Value you received from the WeChat Pay SDK.")
546
  @JsonProperty(JSON_PROPERTY_RESULT_CODE)
547
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
548

549
  public String getResultCode() {
550
    return resultCode;
×
551
  }
552

553

554
 /**
555
  * Value you received from the WeChat Pay SDK.
556
  *
557
  * @param resultCode
558
  */ 
559
  @JsonProperty(JSON_PROPERTY_RESULT_CODE)
560
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
561
  public void setResultCode(String resultCode) {
562
    this.resultCode = resultCode;
×
563
  }
×
564

565

566
  public PaymentCompletionDetails threeDSResult(String threeDSResult) {
567
    this.threeDSResult = threeDSResult;
×
568
    return this;
×
569
  }
570

571
   /**
572
   * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameters: `transStatus`, `authorisationToken`.
573
   * @return threeDSResult
574
  **/
575
  @ApiModelProperty(value = "Base64-encoded string returned by the Component after the challenge flow. It contains the following parameters: `transStatus`, `authorisationToken`.")
576
  @JsonProperty(JSON_PROPERTY_THREE_D_S_RESULT)
577
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
578

579
  public String getThreeDSResult() {
580
    return threeDSResult;
×
581
  }
582

583

584
 /**
585
  * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameters: `transStatus`, `authorisationToken`.
586
  *
587
  * @param threeDSResult
588
  */ 
589
  @JsonProperty(JSON_PROPERTY_THREE_D_S_RESULT)
590
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
591
  public void setThreeDSResult(String threeDSResult) {
592
    this.threeDSResult = threeDSResult;
×
593
  }
×
594

595

596
  public PaymentCompletionDetails threeds2ChallengeResult(String threeds2ChallengeResult) {
597
    this.threeds2ChallengeResult = threeds2ChallengeResult;
×
598
    return this;
×
599
  }
600

601
   /**
602
   * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `transStatus`.
603
   * @return threeds2ChallengeResult
604
  **/
605
  @ApiModelProperty(value = "Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `transStatus`.")
606
  @JsonProperty(JSON_PROPERTY_THREEDS2_CHALLENGE_RESULT)
607
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
608

609
  public String getThreeds2ChallengeResult() {
610
    return threeds2ChallengeResult;
×
611
  }
612

613

614
 /**
615
  * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `transStatus`.
616
  *
617
  * @param threeds2ChallengeResult
618
  */ 
619
  @JsonProperty(JSON_PROPERTY_THREEDS2_CHALLENGE_RESULT)
620
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
621
  public void setThreeds2ChallengeResult(String threeds2ChallengeResult) {
622
    this.threeds2ChallengeResult = threeds2ChallengeResult;
×
623
  }
×
624

625

626
  public PaymentCompletionDetails threeds2Fingerprint(String threeds2Fingerprint) {
627
    this.threeds2Fingerprint = threeds2Fingerprint;
×
628
    return this;
×
629
  }
630

631
   /**
632
   * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `threeDSCompInd`.
633
   * @return threeds2Fingerprint
634
  **/
635
  @ApiModelProperty(value = "Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `threeDSCompInd`.")
636
  @JsonProperty(JSON_PROPERTY_THREEDS2_FINGERPRINT)
637
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
638

639
  public String getThreeds2Fingerprint() {
640
    return threeds2Fingerprint;
×
641
  }
642

643

644
 /**
645
  * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `threeDSCompInd`.
646
  *
647
  * @param threeds2Fingerprint
648
  */ 
649
  @JsonProperty(JSON_PROPERTY_THREEDS2_FINGERPRINT)
650
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
651
  public void setThreeds2Fingerprint(String threeds2Fingerprint) {
652
    this.threeds2Fingerprint = threeds2Fingerprint;
×
653
  }
×
654

655

656
  public PaymentCompletionDetails vaultToken(String vaultToken) {
NEW
657
    this.vaultToken = vaultToken;
×
NEW
658
    return this;
×
659
  }
660

661
   /**
662
   * PayPalv2-generated token for recurring payments.
663
   * @return vaultToken
664
  **/
665
  @ApiModelProperty(value = "PayPalv2-generated token for recurring payments.")
666
  @JsonProperty(JSON_PROPERTY_VAULT_TOKEN)
667
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
668

669
  public String getVaultToken() {
NEW
670
    return vaultToken;
×
671
  }
672

673

674
 /**
675
  * PayPalv2-generated token for recurring payments.
676
  *
677
  * @param vaultToken
678
  */ 
679
  @JsonProperty(JSON_PROPERTY_VAULT_TOKEN)
680
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
681
  public void setVaultToken(String vaultToken) {
NEW
682
    this.vaultToken = vaultToken;
×
NEW
683
  }
×
684

685

686
  /**
687
   * Return true if this PaymentCompletionDetails object is equal to o.
688
   */
689
  @Override
690
  public boolean equals(Object o) {
691
    if (this == o) {
×
692
      return true;
×
693
    }
694
    if (o == null || getClass() != o.getClass()) {
×
695
      return false;
×
696
    }
697
    PaymentCompletionDetails paymentCompletionDetails = (PaymentCompletionDetails) o;
×
698
    return Objects.equals(this.MD, paymentCompletionDetails.MD) &&
×
699
        Objects.equals(this.paReq, paymentCompletionDetails.paReq) &&
×
700
        Objects.equals(this.paRes, paymentCompletionDetails.paRes) &&
×
701
        Objects.equals(this.authorizationToken, paymentCompletionDetails.authorizationToken) &&
×
702
        Objects.equals(this.billingToken, paymentCompletionDetails.billingToken) &&
×
703
        Objects.equals(this.cupsecureplusSmscode, paymentCompletionDetails.cupsecureplusSmscode) &&
×
704
        Objects.equals(this.facilitatorAccessToken, paymentCompletionDetails.facilitatorAccessToken) &&
×
705
        Objects.equals(this.oneTimePasscode, paymentCompletionDetails.oneTimePasscode) &&
×
706
        Objects.equals(this.orderID, paymentCompletionDetails.orderID) &&
×
707
        Objects.equals(this.payerID, paymentCompletionDetails.payerID) &&
×
708
        Objects.equals(this.payload, paymentCompletionDetails.payload) &&
×
709
        Objects.equals(this.paymentID, paymentCompletionDetails.paymentID) &&
×
710
        Objects.equals(this.paymentStatus, paymentCompletionDetails.paymentStatus) &&
×
711
        Objects.equals(this.redirectResult, paymentCompletionDetails.redirectResult) &&
×
712
        Objects.equals(this.resultCode, paymentCompletionDetails.resultCode) &&
×
713
        Objects.equals(this.threeDSResult, paymentCompletionDetails.threeDSResult) &&
×
714
        Objects.equals(this.threeds2ChallengeResult, paymentCompletionDetails.threeds2ChallengeResult) &&
×
NEW
715
        Objects.equals(this.threeds2Fingerprint, paymentCompletionDetails.threeds2Fingerprint) &&
×
NEW
716
        Objects.equals(this.vaultToken, paymentCompletionDetails.vaultToken);
×
717
  }
718

719
  @Override
720
  public int hashCode() {
NEW
721
    return Objects.hash(MD, paReq, paRes, authorizationToken, billingToken, cupsecureplusSmscode, facilitatorAccessToken, oneTimePasscode, orderID, payerID, payload, paymentID, paymentStatus, redirectResult, resultCode, threeDSResult, threeds2ChallengeResult, threeds2Fingerprint, vaultToken);
×
722
  }
723

724
  @Override
725
  public String toString() {
726
    StringBuilder sb = new StringBuilder();
×
727
    sb.append("class PaymentCompletionDetails {\n");
×
728
    sb.append("    MD: ").append(toIndentedString(MD)).append("\n");
×
729
    sb.append("    paReq: ").append(toIndentedString(paReq)).append("\n");
×
730
    sb.append("    paRes: ").append(toIndentedString(paRes)).append("\n");
×
731
    sb.append("    authorizationToken: ").append(toIndentedString(authorizationToken)).append("\n");
×
732
    sb.append("    billingToken: ").append(toIndentedString(billingToken)).append("\n");
×
733
    sb.append("    cupsecureplusSmscode: ").append(toIndentedString(cupsecureplusSmscode)).append("\n");
×
734
    sb.append("    facilitatorAccessToken: ").append(toIndentedString(facilitatorAccessToken)).append("\n");
×
735
    sb.append("    oneTimePasscode: ").append(toIndentedString(oneTimePasscode)).append("\n");
×
736
    sb.append("    orderID: ").append(toIndentedString(orderID)).append("\n");
×
737
    sb.append("    payerID: ").append(toIndentedString(payerID)).append("\n");
×
738
    sb.append("    payload: ").append(toIndentedString(payload)).append("\n");
×
739
    sb.append("    paymentID: ").append(toIndentedString(paymentID)).append("\n");
×
740
    sb.append("    paymentStatus: ").append(toIndentedString(paymentStatus)).append("\n");
×
741
    sb.append("    redirectResult: ").append(toIndentedString(redirectResult)).append("\n");
×
742
    sb.append("    resultCode: ").append(toIndentedString(resultCode)).append("\n");
×
743
    sb.append("    threeDSResult: ").append(toIndentedString(threeDSResult)).append("\n");
×
744
    sb.append("    threeds2ChallengeResult: ").append(toIndentedString(threeds2ChallengeResult)).append("\n");
×
745
    sb.append("    threeds2Fingerprint: ").append(toIndentedString(threeds2Fingerprint)).append("\n");
×
NEW
746
    sb.append("    vaultToken: ").append(toIndentedString(vaultToken)).append("\n");
×
747
    sb.append("}");
×
748
    return sb.toString();
×
749
  }
750

751
  /**
752
   * Convert the given object to string with each line indented by 4 spaces
753
   * (except the first line).
754
   */
755
  private String toIndentedString(Object o) {
756
    if (o == null) {
×
757
      return "null";
×
758
    }
759
    return o.toString().replace("\n", "\n    ");
×
760
  }
761

762
/**
763
   * Create an instance of PaymentCompletionDetails given an JSON string
764
   *
765
   * @param jsonString JSON string
766
   * @return An instance of PaymentCompletionDetails
767
   * @throws JsonProcessingException if the JSON string is invalid with respect to PaymentCompletionDetails
768
   */
769
  public static PaymentCompletionDetails fromJson(String jsonString) throws JsonProcessingException {
770
    return JSON.getMapper().readValue(jsonString, PaymentCompletionDetails.class);
×
771
  }
772
/**
773
  * Convert an instance of PaymentCompletionDetails to an JSON string
774
  *
775
  * @return JSON string
776
  */
777
  public String toJson() throws JsonProcessingException {
778
    return JSON.getMapper().writeValueAsString(this);
×
779
  }
780
}
781

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