@@ -48,6 +48,7 @@ class CardDonations implements ModelInterface, ArrayAccess, \JsonSerializable
48
48
'checkoutAttemptId ' => 'string ' ,
49
49
'cupsecureplusSmscode ' => 'string ' ,
50
50
'cvc ' => 'string ' ,
51
+ 'encryptedCard ' => 'string ' ,
51
52
'encryptedCardNumber ' => 'string ' ,
52
53
'encryptedExpiryMonth ' => 'string ' ,
53
54
'encryptedExpiryYear ' => 'string ' ,
@@ -81,6 +82,7 @@ class CardDonations implements ModelInterface, ArrayAccess, \JsonSerializable
81
82
'checkoutAttemptId ' => null ,
82
83
'cupsecureplusSmscode ' => null ,
83
84
'cvc ' => null ,
85
+ 'encryptedCard ' => null ,
84
86
'encryptedCardNumber ' => null ,
85
87
'encryptedExpiryMonth ' => null ,
86
88
'encryptedExpiryYear ' => null ,
@@ -112,6 +114,7 @@ class CardDonations implements ModelInterface, ArrayAccess, \JsonSerializable
112
114
'checkoutAttemptId ' => false ,
113
115
'cupsecureplusSmscode ' => false ,
114
116
'cvc ' => false ,
117
+ 'encryptedCard ' => false ,
115
118
'encryptedCardNumber ' => false ,
116
119
'encryptedExpiryMonth ' => false ,
117
120
'encryptedExpiryYear ' => false ,
@@ -223,6 +226,7 @@ public function isNullableSetToNull(string $property): bool
223
226
'checkoutAttemptId ' => 'checkoutAttemptId ' ,
224
227
'cupsecureplusSmscode ' => 'cupsecureplus.smscode ' ,
225
228
'cvc ' => 'cvc ' ,
229
+ 'encryptedCard ' => 'encryptedCard ' ,
226
230
'encryptedCardNumber ' => 'encryptedCardNumber ' ,
227
231
'encryptedExpiryMonth ' => 'encryptedExpiryMonth ' ,
228
232
'encryptedExpiryYear ' => 'encryptedExpiryYear ' ,
@@ -254,6 +258,7 @@ public function isNullableSetToNull(string $property): bool
254
258
'checkoutAttemptId ' => 'setCheckoutAttemptId ' ,
255
259
'cupsecureplusSmscode ' => 'setCupsecureplusSmscode ' ,
256
260
'cvc ' => 'setCvc ' ,
261
+ 'encryptedCard ' => 'setEncryptedCard ' ,
257
262
'encryptedCardNumber ' => 'setEncryptedCardNumber ' ,
258
263
'encryptedExpiryMonth ' => 'setEncryptedExpiryMonth ' ,
259
264
'encryptedExpiryYear ' => 'setEncryptedExpiryYear ' ,
@@ -285,6 +290,7 @@ public function isNullableSetToNull(string $property): bool
285
290
'checkoutAttemptId ' => 'getCheckoutAttemptId ' ,
286
291
'cupsecureplusSmscode ' => 'getCupsecureplusSmscode ' ,
287
292
'cvc ' => 'getCvc ' ,
293
+ 'encryptedCard ' => 'getEncryptedCard ' ,
288
294
'encryptedCardNumber ' => 'getEncryptedCardNumber ' ,
289
295
'encryptedExpiryMonth ' => 'getEncryptedExpiryMonth ' ,
290
296
'encryptedExpiryYear ' => 'getEncryptedExpiryYear ' ,
@@ -354,6 +360,7 @@ public function getModelName()
354
360
public const TYPE_NETWORK_TOKEN = 'networkToken ' ;
355
361
public const TYPE_GIFTCARD = 'giftcard ' ;
356
362
public const TYPE_CARD = 'card ' ;
363
+ public const TYPE_CLICKTOPAY = 'clicktopay ' ;
357
364
358
365
/**
359
366
* Gets allowable values of the enum
@@ -380,6 +387,7 @@ public function getTypeAllowableValues()
380
387
self ::TYPE_NETWORK_TOKEN ,
381
388
self ::TYPE_GIFTCARD ,
382
389
self ::TYPE_CARD ,
390
+ self ::TYPE_CLICKTOPAY ,
383
391
];
384
392
}
385
393
/**
@@ -401,6 +409,7 @@ public function __construct(array $data = null)
401
409
$ this ->setIfExists ('checkoutAttemptId ' , $ data ?? [], null );
402
410
$ this ->setIfExists ('cupsecureplusSmscode ' , $ data ?? [], null );
403
411
$ this ->setIfExists ('cvc ' , $ data ?? [], null );
412
+ $ this ->setIfExists ('encryptedCard ' , $ data ?? [], null );
404
413
$ this ->setIfExists ('encryptedCardNumber ' , $ data ?? [], null );
405
414
$ this ->setIfExists ('encryptedExpiryMonth ' , $ data ?? [], null );
406
415
$ this ->setIfExists ('encryptedExpiryYear ' , $ data ?? [], null );
@@ -580,6 +589,30 @@ public function setCvc($cvc)
580
589
return $ this ;
581
590
}
582
591
592
+ /**
593
+ * Gets encryptedCard
594
+ *
595
+ * @return string|null
596
+ */
597
+ public function getEncryptedCard ()
598
+ {
599
+ return $ this ->container ['encryptedCard ' ];
600
+ }
601
+
602
+ /**
603
+ * Sets encryptedCard
604
+ *
605
+ * @param string|null $encryptedCard Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
606
+ *
607
+ * @return self
608
+ */
609
+ public function setEncryptedCard ($ encryptedCard )
610
+ {
611
+ $ this ->container ['encryptedCard ' ] = $ encryptedCard ;
612
+
613
+ return $ this ;
614
+ }
615
+
583
616
/**
584
617
* Gets encryptedCardNumber
585
618
*
0 commit comments