Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Adyen/Model/Checkout/AdditionalDataAirline.php
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ public function getAirlineLegFareBaseCode()
/**
* Sets airlineLegFareBaseCode
*
* @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.
* @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.
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Checkout/AdditionalDataLevel23.php
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ public function getEnhancedSchemeDataItemDetailLineItemNrDescription()
/**
* Sets enhancedSchemeDataItemDetailLineItemNrDescription
*
* @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.
* @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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The constraint * Must not be blank. is duplicated in the PHPDoc. Please remove one of them to improve clarity.

     * @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 start with a space or be all spaces. * Must not be all zeros.

*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Checkout/Leg.php
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ public function getFareBasisCode()
/**
* Sets fareBasisCode
*
* @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.
* @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.
*
* @return self
*/
Expand Down
31 changes: 31 additions & 0 deletions src/Adyen/Model/Checkout/PaymentDetailsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class PaymentDetailsResponse implements ModelInterface, ArrayAccess, \JsonSerial
* @var string[]
*/
protected static $openAPITypes = [
'action' => '\Adyen\Model\Checkout\PaymentDetailsResponseAction',
'additionalData' => 'array<string,string>',
'amount' => '\Adyen\Model\Checkout\Amount',
'donationToken' => 'string',
Expand All @@ -66,6 +67,7 @@ class PaymentDetailsResponse implements ModelInterface, ArrayAccess, \JsonSerial
* @psalm-var array<string, string|null>
*/
protected static $openAPIFormats = [
'action' => null,
'additionalData' => null,
'amount' => null,
'donationToken' => null,
Expand All @@ -89,6 +91,7 @@ class PaymentDetailsResponse implements ModelInterface, ArrayAccess, \JsonSerial
* @var boolean[]
*/
protected static $openAPINullables = [
'action' => false,
'additionalData' => false,
'amount' => false,
'donationToken' => false,
Expand Down Expand Up @@ -192,6 +195,7 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $attributeMap = [
'action' => 'action',
'additionalData' => 'additionalData',
'amount' => 'amount',
'donationToken' => 'donationToken',
Expand All @@ -215,6 +219,7 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $setters = [
'action' => 'setAction',
'additionalData' => 'setAdditionalData',
'amount' => 'setAmount',
'donationToken' => 'setDonationToken',
Expand All @@ -238,6 +243,7 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $getters = [
'action' => 'getAction',
'additionalData' => 'getAdditionalData',
'amount' => 'getAmount',
'donationToken' => 'getDonationToken',
Expand Down Expand Up @@ -350,6 +356,7 @@ public function getResultCodeAllowableValues()
*/
public function __construct(?array $data = null)
{
$this->setIfExists('action', $data ?? [], null);
$this->setIfExists('additionalData', $data ?? [], null);
$this->setIfExists('amount', $data ?? [], null);
$this->setIfExists('donationToken', $data ?? [], null);
Expand Down Expand Up @@ -418,6 +425,30 @@ public function valid()
}


/**
* Gets action
*
* @return \Adyen\Model\Checkout\PaymentDetailsResponseAction|null
*/
public function getAction()
{
return $this->container['action'];
}

/**
* Sets action
*
* @param \Adyen\Model\Checkout\PaymentDetailsResponseAction|null $action action
*
* @return self
*/
public function setAction($action)
{
$this->container['action'] = $action;

return $this;
}

/**
* Gets additionalData
*
Expand Down
Loading