Skip to content

Commit 55ff810

Browse files
[checkout] Automated update from Adyen/adyen-openapi@4ce16a2
1 parent 043387b commit 55ff810

23 files changed

+4484
-89
lines changed

src/Adyen/Model/Checkout/AlmaDetails.php

Lines changed: 561 additions & 0 deletions
Large diffs are not rendered by default.

src/Adyen/Model/Checkout/CardDetailsRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ public function getCountryCode()
341341
/**
342342
* Sets countryCode
343343
*
344-
* @param string|null $countryCode The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE
344+
* @param string|null $countryCode The shopper country code. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE
345345
*
346346
* @return self
347347
*/

src/Adyen/Model/Checkout/CheckoutForwardRequest.php

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class CheckoutForwardRequest implements ModelInterface, ArrayAccess, \JsonSerial
4141
* @var string[]
4242
*/
4343
protected static $openAPITypes = [
44+
'amount' => '\Adyen\Model\Checkout\Amount',
4445
'baseUrl' => 'string',
4546
'merchantAccount' => 'string',
4647
'merchantReference' => 'string',
@@ -59,6 +60,7 @@ class CheckoutForwardRequest implements ModelInterface, ArrayAccess, \JsonSerial
5960
* @psalm-var array<string, string|null>
6061
*/
6162
protected static $openAPIFormats = [
63+
'amount' => null,
6264
'baseUrl' => null,
6365
'merchantAccount' => null,
6466
'merchantReference' => null,
@@ -75,6 +77,7 @@ class CheckoutForwardRequest implements ModelInterface, ArrayAccess, \JsonSerial
7577
* @var boolean[]
7678
*/
7779
protected static $openAPINullables = [
80+
'amount' => false,
7881
'baseUrl' => false,
7982
'merchantAccount' => false,
8083
'merchantReference' => false,
@@ -171,6 +174,7 @@ public function isNullableSetToNull(string $property): bool
171174
* @var string[]
172175
*/
173176
protected static $attributeMap = [
177+
'amount' => 'amount',
174178
'baseUrl' => 'baseUrl',
175179
'merchantAccount' => 'merchantAccount',
176180
'merchantReference' => 'merchantReference',
@@ -187,6 +191,7 @@ public function isNullableSetToNull(string $property): bool
187191
* @var string[]
188192
*/
189193
protected static $setters = [
194+
'amount' => 'setAmount',
190195
'baseUrl' => 'setBaseUrl',
191196
'merchantAccount' => 'setMerchantAccount',
192197
'merchantReference' => 'setMerchantReference',
@@ -203,6 +208,7 @@ public function isNullableSetToNull(string $property): bool
203208
* @var string[]
204209
*/
205210
protected static $getters = [
211+
'amount' => 'getAmount',
206212
'baseUrl' => 'getBaseUrl',
207213
'merchantAccount' => 'getMerchantAccount',
208214
'merchantReference' => 'getMerchantReference',
@@ -270,6 +276,7 @@ public function getModelName()
270276
*/
271277
public function __construct(?array $data = null)
272278
{
279+
$this->setIfExists('amount', $data ?? [], null);
273280
$this->setIfExists('baseUrl', $data ?? [], null);
274281
$this->setIfExists('merchantAccount', $data ?? [], null);
275282
$this->setIfExists('merchantReference', $data ?? [], null);
@@ -334,6 +341,30 @@ public function valid()
334341
}
335342

336343

344+
/**
345+
* Gets amount
346+
*
347+
* @return \Adyen\Model\Checkout\Amount|null
348+
*/
349+
public function getAmount()
350+
{
351+
return $this->container['amount'];
352+
}
353+
354+
/**
355+
* Sets amount
356+
*
357+
* @param \Adyen\Model\Checkout\Amount|null $amount amount
358+
*
359+
* @return self
360+
*/
361+
public function setAmount($amount)
362+
{
363+
$this->container['amount'] = $amount;
364+
365+
return $this;
366+
}
367+
337368
/**
338369
* Gets baseUrl
339370
*

0 commit comments

Comments
 (0)