Skip to content

Commit 622f9de

Browse files
AdyenAutomationBotAdyenAutomationBot
andauthored
[PaymentsAPIs] Code generation: update services and models (#796)
* [reformat][adyen-sdk-automation] automated changes * style(fmt): code formatted --------- Co-authored-by: AdyenAutomationBot <Adyen Automation [email protected]>
1 parent 5eeb6e4 commit 622f9de

File tree

7 files changed

+631
-5
lines changed

7 files changed

+631
-5
lines changed

src/Adyen/Model/Checkout/AdditionalDataAirline.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ public function getAirlineLegFareBaseCode()
869869
/**
870870
* Sets airlineLegFareBaseCode
871871
*
872-
* @param string|null $airlineLegFareBaseCode The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 6 characters * Must not be all spaces * Must not be all zeros.
872+
* @param string|null $airlineLegFareBaseCode The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 15 characters * Must not be all spaces * Must not be all zeros.
873873
*
874874
* @return self
875875
*/

src/Adyen/Model/Checkout/AdditionalDataLevel23.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ public function getEnhancedSchemeDataItemDetailLineItemNrDescription()
566566
/**
567567
* Sets enhancedSchemeDataItemDetailLineItemNrDescription
568568
*
569-
* @param string|null $enhancedSchemeDataItemDetailLineItemNrDescription A description of the item. * Encoding: ASCII * Max length: 26 characters * Must not be a single character. * Must not be blank. * Must not start with a space or be all spaces. * Must not be all zeros.
569+
* @param string|null $enhancedSchemeDataItemDetailLineItemNrDescription A description of the item, that provides details about the purchase. For Visa transactions with level 3 ESD, the description must not be the same or very similar to your merchant name, or, consist only of common words like \"product\", or \"service\". * Encoding: ASCII * Max length: 26 characters * Must not be a single character. * Must not be blank. * Must not be all special characters. * Must not be blank. * Must not start with a space or be all spaces. * Must not be all zeros.
570570
*
571571
* @return self
572572
*/

src/Adyen/Model/Checkout/Leg.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ public function getFareBasisCode()
486486
/**
487487
* Sets fareBasisCode
488488
*
489-
* @param string|null $fareBasisCode The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 6 characters * Must not start with a space or be all spaces. * Must not be all zeros.
489+
* @param string|null $fareBasisCode The [fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code), alphanumeric. * minLength: 1 character * maxLength: 15 characters * Must not start with a space or be all spaces. * Must not be all zeros.
490490
*
491491
* @return self
492492
*/

src/Adyen/Model/Checkout/PaymentDetailsResponse.php

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class PaymentDetailsResponse implements ModelInterface, ArrayAccess, \JsonSerial
4141
* @var string[]
4242
*/
4343
protected static $openAPITypes = [
44+
'action' => '\Adyen\Model\Checkout\PaymentDetailsResponseAction',
4445
'additionalData' => 'array<string,string>',
4546
'amount' => '\Adyen\Model\Checkout\Amount',
4647
'donationToken' => 'string',
@@ -66,6 +67,7 @@ class PaymentDetailsResponse implements ModelInterface, ArrayAccess, \JsonSerial
6667
* @psalm-var array<string, string|null>
6768
*/
6869
protected static $openAPIFormats = [
70+
'action' => null,
6971
'additionalData' => null,
7072
'amount' => null,
7173
'donationToken' => null,
@@ -89,6 +91,7 @@ class PaymentDetailsResponse implements ModelInterface, ArrayAccess, \JsonSerial
8991
* @var boolean[]
9092
*/
9193
protected static $openAPINullables = [
94+
'action' => false,
9295
'additionalData' => false,
9396
'amount' => false,
9497
'donationToken' => false,
@@ -192,6 +195,7 @@ public function isNullableSetToNull(string $property): bool
192195
* @var string[]
193196
*/
194197
protected static $attributeMap = [
198+
'action' => 'action',
195199
'additionalData' => 'additionalData',
196200
'amount' => 'amount',
197201
'donationToken' => 'donationToken',
@@ -215,6 +219,7 @@ public function isNullableSetToNull(string $property): bool
215219
* @var string[]
216220
*/
217221
protected static $setters = [
222+
'action' => 'setAction',
218223
'additionalData' => 'setAdditionalData',
219224
'amount' => 'setAmount',
220225
'donationToken' => 'setDonationToken',
@@ -238,6 +243,7 @@ public function isNullableSetToNull(string $property): bool
238243
* @var string[]
239244
*/
240245
protected static $getters = [
246+
'action' => 'getAction',
241247
'additionalData' => 'getAdditionalData',
242248
'amount' => 'getAmount',
243249
'donationToken' => 'getDonationToken',
@@ -350,6 +356,7 @@ public function getResultCodeAllowableValues()
350356
*/
351357
public function __construct(?array $data = null)
352358
{
359+
$this->setIfExists('action', $data ?? [], null);
353360
$this->setIfExists('additionalData', $data ?? [], null);
354361
$this->setIfExists('amount', $data ?? [], null);
355362
$this->setIfExists('donationToken', $data ?? [], null);
@@ -418,6 +425,30 @@ public function valid()
418425
}
419426

420427

428+
/**
429+
* Gets action
430+
*
431+
* @return \Adyen\Model\Checkout\PaymentDetailsResponseAction|null
432+
*/
433+
public function getAction()
434+
{
435+
return $this->container['action'];
436+
}
437+
438+
/**
439+
* Sets action
440+
*
441+
* @param \Adyen\Model\Checkout\PaymentDetailsResponseAction|null $action action
442+
*
443+
* @return self
444+
*/
445+
public function setAction($action)
446+
{
447+
$this->container['action'] = $action;
448+
449+
return $this;
450+
}
451+
421452
/**
422453
* Gets additionalData
423454
*

0 commit comments

Comments
 (0)