Skip to content

Commit 85614c3

Browse files
AdyenAutomationBotAdyenAutomationBot
and
AdyenAutomationBot
authored
Update all services (#714)
* [reformat][adyen-sdk-automation] automated change * style(fmt): code formatted --------- Co-authored-by: AdyenAutomationBot <Adyen Automation [email protected]>
1 parent a573952 commit 85614c3

File tree

64 files changed

+9975
-91
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+9975
-91
lines changed

src/Adyen/Model/AcsWebhooks/Amount.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ public function getCurrency()
302302
/**
303303
* Sets currency
304304
*
305-
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
305+
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
306306
*
307307
* @return self
308308
*/
@@ -326,7 +326,7 @@ public function getValue()
326326
/**
327327
* Sets value
328328
*
329-
* @param int $value The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
329+
* @param int $value The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
330330
*
331331
* @return self
332332
*/

src/Adyen/Model/AcsWebhooks/AuthenticationNotificationRequest.php

+31
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ class AuthenticationNotificationRequest implements ModelInterface, ArrayAccess,
4646
protected static $openAPITypes = [
4747
'data' => '\Adyen\Model\AcsWebhooks\AuthenticationNotificationData',
4848
'environment' => 'string',
49+
'timestamp' => '\DateTime',
4950
'type' => 'string'
5051
];
5152

@@ -59,6 +60,7 @@ class AuthenticationNotificationRequest implements ModelInterface, ArrayAccess,
5960
protected static $openAPIFormats = [
6061
'data' => null,
6162
'environment' => null,
63+
'timestamp' => 'date-time',
6264
'type' => null
6365
];
6466

@@ -70,6 +72,7 @@ class AuthenticationNotificationRequest implements ModelInterface, ArrayAccess,
7072
protected static $openAPINullables = [
7173
'data' => false,
7274
'environment' => false,
75+
'timestamp' => false,
7376
'type' => false
7477
];
7578

@@ -161,6 +164,7 @@ public function isNullableSetToNull(string $property): bool
161164
protected static $attributeMap = [
162165
'data' => 'data',
163166
'environment' => 'environment',
167+
'timestamp' => 'timestamp',
164168
'type' => 'type'
165169
];
166170

@@ -172,6 +176,7 @@ public function isNullableSetToNull(string $property): bool
172176
protected static $setters = [
173177
'data' => 'setData',
174178
'environment' => 'setEnvironment',
179+
'timestamp' => 'setTimestamp',
175180
'type' => 'setType'
176181
];
177182

@@ -183,6 +188,7 @@ public function isNullableSetToNull(string $property): bool
183188
protected static $getters = [
184189
'data' => 'getData',
185190
'environment' => 'getEnvironment',
191+
'timestamp' => 'getTimestamp',
186192
'type' => 'getType'
187193
];
188194

@@ -257,6 +263,7 @@ public function __construct(array $data = null)
257263
{
258264
$this->setIfExists('data', $data ?? [], null);
259265
$this->setIfExists('environment', $data ?? [], null);
266+
$this->setIfExists('timestamp', $data ?? [], null);
260267
$this->setIfExists('type', $data ?? [], null);
261268
}
262269

@@ -368,6 +375,30 @@ public function setEnvironment($environment)
368375
return $this;
369376
}
370377

378+
/**
379+
* Gets timestamp
380+
*
381+
* @return \DateTime|null
382+
*/
383+
public function getTimestamp()
384+
{
385+
return $this->container['timestamp'];
386+
}
387+
388+
/**
389+
* Sets timestamp
390+
*
391+
* @param \DateTime|null $timestamp When the event was queued.
392+
*
393+
* @return self
394+
*/
395+
public function setTimestamp($timestamp)
396+
{
397+
$this->container['timestamp'] = $timestamp;
398+
399+
return $this;
400+
}
401+
371402
/**
372403
* Gets type
373404
*

src/Adyen/Model/BinLookup/Amount.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ public function getCurrency()
302302
/**
303303
* Sets currency
304304
*
305-
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
305+
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
306306
*
307307
* @return self
308308
*/
@@ -326,7 +326,7 @@ public function getValue()
326326
/**
327327
* Sets value
328328
*
329-
* @param int $value The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
329+
* @param int $value The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
330330
*
331331
* @return self
332332
*/

src/Adyen/Model/Checkout/Amount.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ public function getCurrency()
302302
/**
303303
* Sets currency
304304
*
305-
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
305+
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
306306
*
307307
* @return self
308308
*/
@@ -326,7 +326,7 @@ public function getValue()
326326
/**
327327
* Sets value
328328
*
329-
* @param int $value The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes).
329+
* @param int $value The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
330330
*
331331
* @return self
332332
*/

src/Adyen/Model/Checkout/CardDetails.php

+33
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class CardDetails implements ModelInterface, ArrayAccess, \JsonSerializable
4848
'checkoutAttemptId' => 'string',
4949
'cupsecureplusSmscode' => 'string',
5050
'cvc' => 'string',
51+
'encryptedCard' => 'string',
5152
'encryptedCardNumber' => 'string',
5253
'encryptedExpiryMonth' => 'string',
5354
'encryptedExpiryYear' => 'string',
@@ -81,6 +82,7 @@ class CardDetails implements ModelInterface, ArrayAccess, \JsonSerializable
8182
'checkoutAttemptId' => null,
8283
'cupsecureplusSmscode' => null,
8384
'cvc' => null,
85+
'encryptedCard' => null,
8486
'encryptedCardNumber' => null,
8587
'encryptedExpiryMonth' => null,
8688
'encryptedExpiryYear' => null,
@@ -112,6 +114,7 @@ class CardDetails implements ModelInterface, ArrayAccess, \JsonSerializable
112114
'checkoutAttemptId' => false,
113115
'cupsecureplusSmscode' => false,
114116
'cvc' => false,
117+
'encryptedCard' => false,
115118
'encryptedCardNumber' => false,
116119
'encryptedExpiryMonth' => false,
117120
'encryptedExpiryYear' => false,
@@ -223,6 +226,7 @@ public function isNullableSetToNull(string $property): bool
223226
'checkoutAttemptId' => 'checkoutAttemptId',
224227
'cupsecureplusSmscode' => 'cupsecureplus.smscode',
225228
'cvc' => 'cvc',
229+
'encryptedCard' => 'encryptedCard',
226230
'encryptedCardNumber' => 'encryptedCardNumber',
227231
'encryptedExpiryMonth' => 'encryptedExpiryMonth',
228232
'encryptedExpiryYear' => 'encryptedExpiryYear',
@@ -254,6 +258,7 @@ public function isNullableSetToNull(string $property): bool
254258
'checkoutAttemptId' => 'setCheckoutAttemptId',
255259
'cupsecureplusSmscode' => 'setCupsecureplusSmscode',
256260
'cvc' => 'setCvc',
261+
'encryptedCard' => 'setEncryptedCard',
257262
'encryptedCardNumber' => 'setEncryptedCardNumber',
258263
'encryptedExpiryMonth' => 'setEncryptedExpiryMonth',
259264
'encryptedExpiryYear' => 'setEncryptedExpiryYear',
@@ -285,6 +290,7 @@ public function isNullableSetToNull(string $property): bool
285290
'checkoutAttemptId' => 'getCheckoutAttemptId',
286291
'cupsecureplusSmscode' => 'getCupsecureplusSmscode',
287292
'cvc' => 'getCvc',
293+
'encryptedCard' => 'getEncryptedCard',
288294
'encryptedCardNumber' => 'getEncryptedCardNumber',
289295
'encryptedExpiryMonth' => 'getEncryptedExpiryMonth',
290296
'encryptedExpiryYear' => 'getEncryptedExpiryYear',
@@ -354,6 +360,7 @@ public function getModelName()
354360
public const TYPE_NETWORK_TOKEN = 'networkToken';
355361
public const TYPE_GIFTCARD = 'giftcard';
356362
public const TYPE_CARD = 'card';
363+
public const TYPE_CLICKTOPAY = 'clicktopay';
357364

358365
/**
359366
* Gets allowable values of the enum
@@ -380,6 +387,7 @@ public function getTypeAllowableValues()
380387
self::TYPE_NETWORK_TOKEN,
381388
self::TYPE_GIFTCARD,
382389
self::TYPE_CARD,
390+
self::TYPE_CLICKTOPAY,
383391
];
384392
}
385393
/**
@@ -401,6 +409,7 @@ public function __construct(array $data = null)
401409
$this->setIfExists('checkoutAttemptId', $data ?? [], null);
402410
$this->setIfExists('cupsecureplusSmscode', $data ?? [], null);
403411
$this->setIfExists('cvc', $data ?? [], null);
412+
$this->setIfExists('encryptedCard', $data ?? [], null);
404413
$this->setIfExists('encryptedCardNumber', $data ?? [], null);
405414
$this->setIfExists('encryptedExpiryMonth', $data ?? [], null);
406415
$this->setIfExists('encryptedExpiryYear', $data ?? [], null);
@@ -580,6 +589,30 @@ public function setCvc($cvc)
580589
return $this;
581590
}
582591

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+
583616
/**
584617
* Gets encryptedCardNumber
585618
*

src/Adyen/Model/Checkout/CardDonations.php

+33
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class CardDonations implements ModelInterface, ArrayAccess, \JsonSerializable
4848
'checkoutAttemptId' => 'string',
4949
'cupsecureplusSmscode' => 'string',
5050
'cvc' => 'string',
51+
'encryptedCard' => 'string',
5152
'encryptedCardNumber' => 'string',
5253
'encryptedExpiryMonth' => 'string',
5354
'encryptedExpiryYear' => 'string',
@@ -81,6 +82,7 @@ class CardDonations implements ModelInterface, ArrayAccess, \JsonSerializable
8182
'checkoutAttemptId' => null,
8283
'cupsecureplusSmscode' => null,
8384
'cvc' => null,
85+
'encryptedCard' => null,
8486
'encryptedCardNumber' => null,
8587
'encryptedExpiryMonth' => null,
8688
'encryptedExpiryYear' => null,
@@ -112,6 +114,7 @@ class CardDonations implements ModelInterface, ArrayAccess, \JsonSerializable
112114
'checkoutAttemptId' => false,
113115
'cupsecureplusSmscode' => false,
114116
'cvc' => false,
117+
'encryptedCard' => false,
115118
'encryptedCardNumber' => false,
116119
'encryptedExpiryMonth' => false,
117120
'encryptedExpiryYear' => false,
@@ -223,6 +226,7 @@ public function isNullableSetToNull(string $property): bool
223226
'checkoutAttemptId' => 'checkoutAttemptId',
224227
'cupsecureplusSmscode' => 'cupsecureplus.smscode',
225228
'cvc' => 'cvc',
229+
'encryptedCard' => 'encryptedCard',
226230
'encryptedCardNumber' => 'encryptedCardNumber',
227231
'encryptedExpiryMonth' => 'encryptedExpiryMonth',
228232
'encryptedExpiryYear' => 'encryptedExpiryYear',
@@ -254,6 +258,7 @@ public function isNullableSetToNull(string $property): bool
254258
'checkoutAttemptId' => 'setCheckoutAttemptId',
255259
'cupsecureplusSmscode' => 'setCupsecureplusSmscode',
256260
'cvc' => 'setCvc',
261+
'encryptedCard' => 'setEncryptedCard',
257262
'encryptedCardNumber' => 'setEncryptedCardNumber',
258263
'encryptedExpiryMonth' => 'setEncryptedExpiryMonth',
259264
'encryptedExpiryYear' => 'setEncryptedExpiryYear',
@@ -285,6 +290,7 @@ public function isNullableSetToNull(string $property): bool
285290
'checkoutAttemptId' => 'getCheckoutAttemptId',
286291
'cupsecureplusSmscode' => 'getCupsecureplusSmscode',
287292
'cvc' => 'getCvc',
293+
'encryptedCard' => 'getEncryptedCard',
288294
'encryptedCardNumber' => 'getEncryptedCardNumber',
289295
'encryptedExpiryMonth' => 'getEncryptedExpiryMonth',
290296
'encryptedExpiryYear' => 'getEncryptedExpiryYear',
@@ -354,6 +360,7 @@ public function getModelName()
354360
public const TYPE_NETWORK_TOKEN = 'networkToken';
355361
public const TYPE_GIFTCARD = 'giftcard';
356362
public const TYPE_CARD = 'card';
363+
public const TYPE_CLICKTOPAY = 'clicktopay';
357364

358365
/**
359366
* Gets allowable values of the enum
@@ -380,6 +387,7 @@ public function getTypeAllowableValues()
380387
self::TYPE_NETWORK_TOKEN,
381388
self::TYPE_GIFTCARD,
382389
self::TYPE_CARD,
390+
self::TYPE_CLICKTOPAY,
383391
];
384392
}
385393
/**
@@ -401,6 +409,7 @@ public function __construct(array $data = null)
401409
$this->setIfExists('checkoutAttemptId', $data ?? [], null);
402410
$this->setIfExists('cupsecureplusSmscode', $data ?? [], null);
403411
$this->setIfExists('cvc', $data ?? [], null);
412+
$this->setIfExists('encryptedCard', $data ?? [], null);
404413
$this->setIfExists('encryptedCardNumber', $data ?? [], null);
405414
$this->setIfExists('encryptedExpiryMonth', $data ?? [], null);
406415
$this->setIfExists('encryptedExpiryYear', $data ?? [], null);
@@ -580,6 +589,30 @@ public function setCvc($cvc)
580589
return $this;
581590
}
582591

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+
583616
/**
584617
* Gets encryptedCardNumber
585618
*

0 commit comments

Comments
 (0)