diff --git a/src/Adyen/Model/AcsWebhooks/Amount.php b/src/Adyen/Model/AcsWebhooks/Amount.php index 0d1e0bede..13148c9d1 100644 --- a/src/Adyen/Model/AcsWebhooks/Amount.php +++ b/src/Adyen/Model/AcsWebhooks/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/AcsWebhooks/AuthenticationInfo.php b/src/Adyen/Model/AcsWebhooks/AuthenticationInfo.php index a49096d9e..2a562352b 100644 --- a/src/Adyen/Model/AcsWebhooks/AuthenticationInfo.php +++ b/src/Adyen/Model/AcsWebhooks/AuthenticationInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/AcsWebhooks/AuthenticationNotificationData.php b/src/Adyen/Model/AcsWebhooks/AuthenticationNotificationData.php index ae9a51ee1..a34c384bc 100644 --- a/src/Adyen/Model/AcsWebhooks/AuthenticationNotificationData.php +++ b/src/Adyen/Model/AcsWebhooks/AuthenticationNotificationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/AcsWebhooks/AuthenticationNotificationRequest.php b/src/Adyen/Model/AcsWebhooks/AuthenticationNotificationRequest.php index 2f6027ad8..19ffa867f 100644 --- a/src/Adyen/Model/AcsWebhooks/AuthenticationNotificationRequest.php +++ b/src/Adyen/Model/AcsWebhooks/AuthenticationNotificationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/AcsWebhooks/BalancePlatformNotificationResponse.php b/src/Adyen/Model/AcsWebhooks/BalancePlatformNotificationResponse.php index 343ad050b..994e3c61a 100644 --- a/src/Adyen/Model/AcsWebhooks/BalancePlatformNotificationResponse.php +++ b/src/Adyen/Model/AcsWebhooks/BalancePlatformNotificationResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/AcsWebhooks/ChallengeInfo.php b/src/Adyen/Model/AcsWebhooks/ChallengeInfo.php index 0a07805a7..e84909317 100644 --- a/src/Adyen/Model/AcsWebhooks/ChallengeInfo.php +++ b/src/Adyen/Model/AcsWebhooks/ChallengeInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/AcsWebhooks/ModelInterface.php b/src/Adyen/Model/AcsWebhooks/ModelInterface.php index bc3470681..e6c7377a7 100644 --- a/src/Adyen/Model/AcsWebhooks/ModelInterface.php +++ b/src/Adyen/Model/AcsWebhooks/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/AcsWebhooks/ObjectSerializer.php b/src/Adyen/Model/AcsWebhooks/ObjectSerializer.php index 768dcc7c2..e14421342 100644 --- a/src/Adyen/Model/AcsWebhooks/ObjectSerializer.php +++ b/src/Adyen/Model/AcsWebhooks/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/AcsWebhooks/PurchaseInfo.php b/src/Adyen/Model/AcsWebhooks/PurchaseInfo.php index 2893ec11a..d88885c3a 100644 --- a/src/Adyen/Model/AcsWebhooks/PurchaseInfo.php +++ b/src/Adyen/Model/AcsWebhooks/PurchaseInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/AcsWebhooks/Resource.php b/src/Adyen/Model/AcsWebhooks/Resource.php index 13396ae9c..50bdcc860 100644 --- a/src/Adyen/Model/AcsWebhooks/Resource.php +++ b/src/Adyen/Model/AcsWebhooks/Resource.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalanceControl/Amount.php b/src/Adyen/Model/BalanceControl/Amount.php index 00665e4f6..bf952009b 100644 --- a/src/Adyen/Model/BalanceControl/Amount.php +++ b/src/Adyen/Model/BalanceControl/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalanceControl/BalanceTransferRequest.php b/src/Adyen/Model/BalanceControl/BalanceTransferRequest.php index 139c67dd6..2fdc68bf1 100644 --- a/src/Adyen/Model/BalanceControl/BalanceTransferRequest.php +++ b/src/Adyen/Model/BalanceControl/BalanceTransferRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalanceControl/BalanceTransferResponse.php b/src/Adyen/Model/BalanceControl/BalanceTransferResponse.php index 3299a8908..724a47f8a 100644 --- a/src/Adyen/Model/BalanceControl/BalanceTransferResponse.php +++ b/src/Adyen/Model/BalanceControl/BalanceTransferResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalanceControl/ModelInterface.php b/src/Adyen/Model/BalanceControl/ModelInterface.php index 11f4953c8..a2c6952c8 100644 --- a/src/Adyen/Model/BalanceControl/ModelInterface.php +++ b/src/Adyen/Model/BalanceControl/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalanceControl/ObjectSerializer.php b/src/Adyen/Model/BalanceControl/ObjectSerializer.php index ad7407225..2ed0eb3a0 100644 --- a/src/Adyen/Model/BalanceControl/ObjectSerializer.php +++ b/src/Adyen/Model/BalanceControl/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/BalancePlatform/AULocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/AULocalAccountIdentification.php index f27e0821a..9123f65ee 100644 --- a/src/Adyen/Model/BalancePlatform/AULocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/AULocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/AccountHolder.php b/src/Adyen/Model/BalancePlatform/AccountHolder.php index 365ef4af4..b05a13e0c 100644 --- a/src/Adyen/Model/BalancePlatform/AccountHolder.php +++ b/src/Adyen/Model/BalancePlatform/AccountHolder.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/AccountHolderCapability.php b/src/Adyen/Model/BalancePlatform/AccountHolderCapability.php index 5b4536b7e..a74bdfef9 100644 --- a/src/Adyen/Model/BalancePlatform/AccountHolderCapability.php +++ b/src/Adyen/Model/BalancePlatform/AccountHolderCapability.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/AccountHolderInfo.php b/src/Adyen/Model/BalancePlatform/AccountHolderInfo.php index ca54ccbb7..1de87bce6 100644 --- a/src/Adyen/Model/BalancePlatform/AccountHolderInfo.php +++ b/src/Adyen/Model/BalancePlatform/AccountHolderInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/AccountHolderUpdateRequest.php b/src/Adyen/Model/BalancePlatform/AccountHolderUpdateRequest.php index 33619ca92..4d34899bd 100644 --- a/src/Adyen/Model/BalancePlatform/AccountHolderUpdateRequest.php +++ b/src/Adyen/Model/BalancePlatform/AccountHolderUpdateRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/AccountSupportingEntityCapability.php b/src/Adyen/Model/BalancePlatform/AccountSupportingEntityCapability.php index 8d0cf14b5..6cc7abba0 100644 --- a/src/Adyen/Model/BalancePlatform/AccountSupportingEntityCapability.php +++ b/src/Adyen/Model/BalancePlatform/AccountSupportingEntityCapability.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/ActiveNetworkTokensRestriction.php b/src/Adyen/Model/BalancePlatform/ActiveNetworkTokensRestriction.php index 2b30ca9fa..89eaa0eb9 100644 --- a/src/Adyen/Model/BalancePlatform/ActiveNetworkTokensRestriction.php +++ b/src/Adyen/Model/BalancePlatform/ActiveNetworkTokensRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/AdditionalBankIdentification.php b/src/Adyen/Model/BalancePlatform/AdditionalBankIdentification.php index 35dc29f23..4bb4efaba 100644 --- a/src/Adyen/Model/BalancePlatform/AdditionalBankIdentification.php +++ b/src/Adyen/Model/BalancePlatform/AdditionalBankIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/Address.php b/src/Adyen/Model/BalancePlatform/Address.php index 977c665e0..19e9ed5f5 100644 --- a/src/Adyen/Model/BalancePlatform/Address.php +++ b/src/Adyen/Model/BalancePlatform/Address.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/AddressRequirement.php b/src/Adyen/Model/BalancePlatform/AddressRequirement.php index 041a7a9b6..069c6da72 100644 --- a/src/Adyen/Model/BalancePlatform/AddressRequirement.php +++ b/src/Adyen/Model/BalancePlatform/AddressRequirement.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/Amount.php b/src/Adyen/Model/BalancePlatform/Amount.php index 5afa26e08..5f7633ddc 100644 --- a/src/Adyen/Model/BalancePlatform/Amount.php +++ b/src/Adyen/Model/BalancePlatform/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/AmountMinMaxRequirement.php b/src/Adyen/Model/BalancePlatform/AmountMinMaxRequirement.php index 5f3d37123..612ac11f2 100644 --- a/src/Adyen/Model/BalancePlatform/AmountMinMaxRequirement.php +++ b/src/Adyen/Model/BalancePlatform/AmountMinMaxRequirement.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/Authentication.php b/src/Adyen/Model/BalancePlatform/Authentication.php index 95fcb42c8..d3d4e7ac0 100644 --- a/src/Adyen/Model/BalancePlatform/Authentication.php +++ b/src/Adyen/Model/BalancePlatform/Authentication.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/BRLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/BRLocalAccountIdentification.php index 0f2153959..d54e1bf11 100644 --- a/src/Adyen/Model/BalancePlatform/BRLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/BRLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/Balance.php b/src/Adyen/Model/BalancePlatform/Balance.php index da44b35f2..12233bea8 100644 --- a/src/Adyen/Model/BalancePlatform/Balance.php +++ b/src/Adyen/Model/BalancePlatform/Balance.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/BalanceAccount.php b/src/Adyen/Model/BalancePlatform/BalanceAccount.php index d8456e950..08f45254c 100644 --- a/src/Adyen/Model/BalancePlatform/BalanceAccount.php +++ b/src/Adyen/Model/BalancePlatform/BalanceAccount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/BalanceAccountBase.php b/src/Adyen/Model/BalancePlatform/BalanceAccountBase.php index a82948bbf..64ca3ea7b 100644 --- a/src/Adyen/Model/BalancePlatform/BalanceAccountBase.php +++ b/src/Adyen/Model/BalancePlatform/BalanceAccountBase.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/BalanceAccountInfo.php b/src/Adyen/Model/BalancePlatform/BalanceAccountInfo.php index bccfbacd4..4563f79e7 100644 --- a/src/Adyen/Model/BalancePlatform/BalanceAccountInfo.php +++ b/src/Adyen/Model/BalancePlatform/BalanceAccountInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/BalanceAccountUpdateRequest.php b/src/Adyen/Model/BalancePlatform/BalanceAccountUpdateRequest.php index e477f881a..707bd499d 100644 --- a/src/Adyen/Model/BalancePlatform/BalanceAccountUpdateRequest.php +++ b/src/Adyen/Model/BalancePlatform/BalanceAccountUpdateRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/BalancePlatform.php b/src/Adyen/Model/BalancePlatform/BalancePlatform.php index b8e9719ff..f1d166683 100644 --- a/src/Adyen/Model/BalancePlatform/BalancePlatform.php +++ b/src/Adyen/Model/BalancePlatform/BalancePlatform.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/BalanceSweepConfigurationsResponse.php b/src/Adyen/Model/BalancePlatform/BalanceSweepConfigurationsResponse.php index de3575d97..02d262af8 100644 --- a/src/Adyen/Model/BalancePlatform/BalanceSweepConfigurationsResponse.php +++ b/src/Adyen/Model/BalancePlatform/BalanceSweepConfigurationsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/BankAccount.php b/src/Adyen/Model/BalancePlatform/BankAccount.php index 5327d092f..5dd4ee3da 100644 --- a/src/Adyen/Model/BalancePlatform/BankAccount.php +++ b/src/Adyen/Model/BalancePlatform/BankAccount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/BankAccountAccountIdentification.php b/src/Adyen/Model/BalancePlatform/BankAccountAccountIdentification.php index d808045d8..460bf20ee 100644 --- a/src/Adyen/Model/BalancePlatform/BankAccountAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/BankAccountAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/BankAccountIdentificationTypeRequirement.php b/src/Adyen/Model/BalancePlatform/BankAccountIdentificationTypeRequirement.php index fc9f66de7..172990854 100644 --- a/src/Adyen/Model/BalancePlatform/BankAccountIdentificationTypeRequirement.php +++ b/src/Adyen/Model/BalancePlatform/BankAccountIdentificationTypeRequirement.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/BankAccountIdentificationValidationRequest.php b/src/Adyen/Model/BalancePlatform/BankAccountIdentificationValidationRequest.php index d41a9d2bb..721d3c5e0 100644 --- a/src/Adyen/Model/BalancePlatform/BankAccountIdentificationValidationRequest.php +++ b/src/Adyen/Model/BalancePlatform/BankAccountIdentificationValidationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/BankAccountIdentificationValidationRequestAccountIdentification.php b/src/Adyen/Model/BalancePlatform/BankAccountIdentificationValidationRequestAccountIdentification.php index 13cf1319c..f36d0988e 100644 --- a/src/Adyen/Model/BalancePlatform/BankAccountIdentificationValidationRequestAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/BankAccountIdentificationValidationRequestAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/BankIdentification.php b/src/Adyen/Model/BalancePlatform/BankIdentification.php index cff25d900..2386d7317 100644 --- a/src/Adyen/Model/BalancePlatform/BankIdentification.php +++ b/src/Adyen/Model/BalancePlatform/BankIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/BrandVariantsRestriction.php b/src/Adyen/Model/BalancePlatform/BrandVariantsRestriction.php index c15cef140..f0c9eb28c 100644 --- a/src/Adyen/Model/BalancePlatform/BrandVariantsRestriction.php +++ b/src/Adyen/Model/BalancePlatform/BrandVariantsRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/BulkAddress.php b/src/Adyen/Model/BalancePlatform/BulkAddress.php index c09d4054d..cced8cd23 100644 --- a/src/Adyen/Model/BalancePlatform/BulkAddress.php +++ b/src/Adyen/Model/BalancePlatform/BulkAddress.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/CALocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/CALocalAccountIdentification.php index 814c15d52..4a1dd2bd1 100644 --- a/src/Adyen/Model/BalancePlatform/CALocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/CALocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/CZLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/CZLocalAccountIdentification.php index 7bb4a2fe9..bfead0b4d 100644 --- a/src/Adyen/Model/BalancePlatform/CZLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/CZLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/CapabilityProblem.php b/src/Adyen/Model/BalancePlatform/CapabilityProblem.php index 0ad4e4232..c279fea76 100644 --- a/src/Adyen/Model/BalancePlatform/CapabilityProblem.php +++ b/src/Adyen/Model/BalancePlatform/CapabilityProblem.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/CapabilityProblemEntity.php b/src/Adyen/Model/BalancePlatform/CapabilityProblemEntity.php index 818398a06..a20c971cf 100644 --- a/src/Adyen/Model/BalancePlatform/CapabilityProblemEntity.php +++ b/src/Adyen/Model/BalancePlatform/CapabilityProblemEntity.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/CapabilityProblemEntityRecursive.php b/src/Adyen/Model/BalancePlatform/CapabilityProblemEntityRecursive.php index 4f605b7d7..7a69158e0 100644 --- a/src/Adyen/Model/BalancePlatform/CapabilityProblemEntityRecursive.php +++ b/src/Adyen/Model/BalancePlatform/CapabilityProblemEntityRecursive.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/CapabilitySettings.php b/src/Adyen/Model/BalancePlatform/CapabilitySettings.php index b03b47262..4fffa9e80 100644 --- a/src/Adyen/Model/BalancePlatform/CapabilitySettings.php +++ b/src/Adyen/Model/BalancePlatform/CapabilitySettings.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -358,7 +358,7 @@ public function getAmountPerIndustry() /** * Sets amountPerIndustry * - * @param array|null $amountPerIndustry + * @param array|null $amountPerIndustry * * @return self */ @@ -385,7 +385,7 @@ public function getAuthorizedCardUsers() /** * Sets authorizedCardUsers * - * @param bool|null $authorizedCardUsers + * @param bool|null $authorizedCardUsers * * @return self */ @@ -412,7 +412,7 @@ public function getFundingSource() /** * Sets fundingSource * - * @param string[]|null $fundingSource + * @param string[]|null $fundingSource * * @return self */ @@ -448,7 +448,7 @@ public function getInterval() /** * Sets interval * - * @param string|null $interval + * @param string|null $interval * * @return self */ diff --git a/src/Adyen/Model/BalancePlatform/CapitalBalance.php b/src/Adyen/Model/BalancePlatform/CapitalBalance.php index 251907823..cbb79d994 100644 --- a/src/Adyen/Model/BalancePlatform/CapitalBalance.php +++ b/src/Adyen/Model/BalancePlatform/CapitalBalance.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/CapitalGrantAccount.php b/src/Adyen/Model/BalancePlatform/CapitalGrantAccount.php index d327bc522..b1ad10b00 100644 --- a/src/Adyen/Model/BalancePlatform/CapitalGrantAccount.php +++ b/src/Adyen/Model/BalancePlatform/CapitalGrantAccount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/Card.php b/src/Adyen/Model/BalancePlatform/Card.php index 8a9ab2f62..e1b1a76c1 100644 --- a/src/Adyen/Model/BalancePlatform/Card.php +++ b/src/Adyen/Model/BalancePlatform/Card.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/CardConfiguration.php b/src/Adyen/Model/BalancePlatform/CardConfiguration.php index 14105278f..b9a71ab4d 100644 --- a/src/Adyen/Model/BalancePlatform/CardConfiguration.php +++ b/src/Adyen/Model/BalancePlatform/CardConfiguration.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/CardInfo.php b/src/Adyen/Model/BalancePlatform/CardInfo.php index fc86a8101..6ba673ef9 100644 --- a/src/Adyen/Model/BalancePlatform/CardInfo.php +++ b/src/Adyen/Model/BalancePlatform/CardInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/ContactDetails.php b/src/Adyen/Model/BalancePlatform/ContactDetails.php index c14564ca9..7a18a18bb 100644 --- a/src/Adyen/Model/BalancePlatform/ContactDetails.php +++ b/src/Adyen/Model/BalancePlatform/ContactDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/Counterparty.php b/src/Adyen/Model/BalancePlatform/Counterparty.php index aad3b7832..e6d91b3c4 100644 --- a/src/Adyen/Model/BalancePlatform/Counterparty.php +++ b/src/Adyen/Model/BalancePlatform/Counterparty.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/CounterpartyBankRestriction.php b/src/Adyen/Model/BalancePlatform/CounterpartyBankRestriction.php index fbf6f1f19..2b605ad48 100644 --- a/src/Adyen/Model/BalancePlatform/CounterpartyBankRestriction.php +++ b/src/Adyen/Model/BalancePlatform/CounterpartyBankRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/CountriesRestriction.php b/src/Adyen/Model/BalancePlatform/CountriesRestriction.php index f4accd1dd..fe2db616d 100644 --- a/src/Adyen/Model/BalancePlatform/CountriesRestriction.php +++ b/src/Adyen/Model/BalancePlatform/CountriesRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/CreateSweepConfigurationV2.php b/src/Adyen/Model/BalancePlatform/CreateSweepConfigurationV2.php index 805603649..2357b2876 100644 --- a/src/Adyen/Model/BalancePlatform/CreateSweepConfigurationV2.php +++ b/src/Adyen/Model/BalancePlatform/CreateSweepConfigurationV2.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/DKLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/DKLocalAccountIdentification.php index 26337eff2..8ffb03ff3 100644 --- a/src/Adyen/Model/BalancePlatform/DKLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/DKLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/DayOfWeekRestriction.php b/src/Adyen/Model/BalancePlatform/DayOfWeekRestriction.php index ab5aba40d..620221dd4 100644 --- a/src/Adyen/Model/BalancePlatform/DayOfWeekRestriction.php +++ b/src/Adyen/Model/BalancePlatform/DayOfWeekRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/DeliveryAddress.php b/src/Adyen/Model/BalancePlatform/DeliveryAddress.php index 197ad467f..c886b04d7 100644 --- a/src/Adyen/Model/BalancePlatform/DeliveryAddress.php +++ b/src/Adyen/Model/BalancePlatform/DeliveryAddress.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/DeliveryContact.php b/src/Adyen/Model/BalancePlatform/DeliveryContact.php index 4973f2b86..367e10d80 100644 --- a/src/Adyen/Model/BalancePlatform/DeliveryContact.php +++ b/src/Adyen/Model/BalancePlatform/DeliveryContact.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/DeviceInfo.php b/src/Adyen/Model/BalancePlatform/DeviceInfo.php index 83dab0c3a..b465d7082 100644 --- a/src/Adyen/Model/BalancePlatform/DeviceInfo.php +++ b/src/Adyen/Model/BalancePlatform/DeviceInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/DifferentCurrenciesRestriction.php b/src/Adyen/Model/BalancePlatform/DifferentCurrenciesRestriction.php index 10be5cdaf..603ab8a6a 100644 --- a/src/Adyen/Model/BalancePlatform/DifferentCurrenciesRestriction.php +++ b/src/Adyen/Model/BalancePlatform/DifferentCurrenciesRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/Duration.php b/src/Adyen/Model/BalancePlatform/Duration.php index 2926d654a..70713ea56 100644 --- a/src/Adyen/Model/BalancePlatform/Duration.php +++ b/src/Adyen/Model/BalancePlatform/Duration.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/EntryModesRestriction.php b/src/Adyen/Model/BalancePlatform/EntryModesRestriction.php index 1f8a766fc..5ecbe040b 100644 --- a/src/Adyen/Model/BalancePlatform/EntryModesRestriction.php +++ b/src/Adyen/Model/BalancePlatform/EntryModesRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/Expiry.php b/src/Adyen/Model/BalancePlatform/Expiry.php index aab7f10d5..61f2cca42 100644 --- a/src/Adyen/Model/BalancePlatform/Expiry.php +++ b/src/Adyen/Model/BalancePlatform/Expiry.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/Fee.php b/src/Adyen/Model/BalancePlatform/Fee.php index a7804a1c0..f803d247d 100644 --- a/src/Adyen/Model/BalancePlatform/Fee.php +++ b/src/Adyen/Model/BalancePlatform/Fee.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/GetNetworkTokenResponse.php b/src/Adyen/Model/BalancePlatform/GetNetworkTokenResponse.php index 77f552a91..3cc08549b 100644 --- a/src/Adyen/Model/BalancePlatform/GetNetworkTokenResponse.php +++ b/src/Adyen/Model/BalancePlatform/GetNetworkTokenResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/GetTaxFormResponse.php b/src/Adyen/Model/BalancePlatform/GetTaxFormResponse.php index ea3df25eb..9d5bce9ef 100644 --- a/src/Adyen/Model/BalancePlatform/GetTaxFormResponse.php +++ b/src/Adyen/Model/BalancePlatform/GetTaxFormResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/GrantLimit.php b/src/Adyen/Model/BalancePlatform/GrantLimit.php index 6274ece8c..729175de4 100644 --- a/src/Adyen/Model/BalancePlatform/GrantLimit.php +++ b/src/Adyen/Model/BalancePlatform/GrantLimit.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/GrantOffer.php b/src/Adyen/Model/BalancePlatform/GrantOffer.php index 264f5817b..186f5503a 100644 --- a/src/Adyen/Model/BalancePlatform/GrantOffer.php +++ b/src/Adyen/Model/BalancePlatform/GrantOffer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/GrantOffers.php b/src/Adyen/Model/BalancePlatform/GrantOffers.php index ba0672f95..20f4206c8 100644 --- a/src/Adyen/Model/BalancePlatform/GrantOffers.php +++ b/src/Adyen/Model/BalancePlatform/GrantOffers.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/HKLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/HKLocalAccountIdentification.php index 262c9de65..600242241 100644 --- a/src/Adyen/Model/BalancePlatform/HKLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/HKLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/HULocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/HULocalAccountIdentification.php index 58d44aded..cdf593038 100644 --- a/src/Adyen/Model/BalancePlatform/HULocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/HULocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/IbanAccountIdentification.php b/src/Adyen/Model/BalancePlatform/IbanAccountIdentification.php index cb08b0b23..aa08e52ce 100644 --- a/src/Adyen/Model/BalancePlatform/IbanAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/IbanAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/InternationalTransactionRestriction.php b/src/Adyen/Model/BalancePlatform/InternationalTransactionRestriction.php index 00c47d037..59a49830f 100644 --- a/src/Adyen/Model/BalancePlatform/InternationalTransactionRestriction.php +++ b/src/Adyen/Model/BalancePlatform/InternationalTransactionRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/InvalidField.php b/src/Adyen/Model/BalancePlatform/InvalidField.php index c7ac961d7..9591293bf 100644 --- a/src/Adyen/Model/BalancePlatform/InvalidField.php +++ b/src/Adyen/Model/BalancePlatform/InvalidField.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/ListNetworkTokensResponse.php b/src/Adyen/Model/BalancePlatform/ListNetworkTokensResponse.php index 58c7af8de..48fa0ef44 100644 --- a/src/Adyen/Model/BalancePlatform/ListNetworkTokensResponse.php +++ b/src/Adyen/Model/BalancePlatform/ListNetworkTokensResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/MatchingTransactionsRestriction.php b/src/Adyen/Model/BalancePlatform/MatchingTransactionsRestriction.php index 5bb9e8227..c70186e0d 100644 --- a/src/Adyen/Model/BalancePlatform/MatchingTransactionsRestriction.php +++ b/src/Adyen/Model/BalancePlatform/MatchingTransactionsRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/MccsRestriction.php b/src/Adyen/Model/BalancePlatform/MccsRestriction.php index 0080eb48e..0bc961eff 100644 --- a/src/Adyen/Model/BalancePlatform/MccsRestriction.php +++ b/src/Adyen/Model/BalancePlatform/MccsRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/MerchantAcquirerPair.php b/src/Adyen/Model/BalancePlatform/MerchantAcquirerPair.php index 4fd543cc8..d3bddac72 100644 --- a/src/Adyen/Model/BalancePlatform/MerchantAcquirerPair.php +++ b/src/Adyen/Model/BalancePlatform/MerchantAcquirerPair.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/MerchantNamesRestriction.php b/src/Adyen/Model/BalancePlatform/MerchantNamesRestriction.php index 4d08489ae..a88c301b0 100644 --- a/src/Adyen/Model/BalancePlatform/MerchantNamesRestriction.php +++ b/src/Adyen/Model/BalancePlatform/MerchantNamesRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/MerchantsRestriction.php b/src/Adyen/Model/BalancePlatform/MerchantsRestriction.php index dec44b923..6dcebd8d3 100644 --- a/src/Adyen/Model/BalancePlatform/MerchantsRestriction.php +++ b/src/Adyen/Model/BalancePlatform/MerchantsRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/ModelInterface.php b/src/Adyen/Model/BalancePlatform/ModelInterface.php index adb620136..019ee99d6 100644 --- a/src/Adyen/Model/BalancePlatform/ModelInterface.php +++ b/src/Adyen/Model/BalancePlatform/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/NOLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/NOLocalAccountIdentification.php index f9b9d615d..9532fc4d9 100644 --- a/src/Adyen/Model/BalancePlatform/NOLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/NOLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/NZLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/NZLocalAccountIdentification.php index ff1b67d47..0bfebfff6 100644 --- a/src/Adyen/Model/BalancePlatform/NZLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/NZLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/Name.php b/src/Adyen/Model/BalancePlatform/Name.php index 1125f4899..54884fe91 100644 --- a/src/Adyen/Model/BalancePlatform/Name.php +++ b/src/Adyen/Model/BalancePlatform/Name.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/NetworkToken.php b/src/Adyen/Model/BalancePlatform/NetworkToken.php index d5d4a0ee1..704865beb 100644 --- a/src/Adyen/Model/BalancePlatform/NetworkToken.php +++ b/src/Adyen/Model/BalancePlatform/NetworkToken.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/NumberAndBicAccountIdentification.php b/src/Adyen/Model/BalancePlatform/NumberAndBicAccountIdentification.php index f56df6518..349326300 100644 --- a/src/Adyen/Model/BalancePlatform/NumberAndBicAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/NumberAndBicAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/ObjectSerializer.php b/src/Adyen/Model/BalancePlatform/ObjectSerializer.php index bc0e09bdd..fa9af7e82 100644 --- a/src/Adyen/Model/BalancePlatform/ObjectSerializer.php +++ b/src/Adyen/Model/BalancePlatform/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/BalancePlatform/PLLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/PLLocalAccountIdentification.php index 3d43494ee..607311dc3 100644 --- a/src/Adyen/Model/BalancePlatform/PLLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/PLLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/PaginatedAccountHoldersResponse.php b/src/Adyen/Model/BalancePlatform/PaginatedAccountHoldersResponse.php index 19556386d..1bfccd6a3 100644 --- a/src/Adyen/Model/BalancePlatform/PaginatedAccountHoldersResponse.php +++ b/src/Adyen/Model/BalancePlatform/PaginatedAccountHoldersResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/PaginatedBalanceAccountsResponse.php b/src/Adyen/Model/BalancePlatform/PaginatedBalanceAccountsResponse.php index c09fa929b..a19d50bb3 100644 --- a/src/Adyen/Model/BalancePlatform/PaginatedBalanceAccountsResponse.php +++ b/src/Adyen/Model/BalancePlatform/PaginatedBalanceAccountsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/PaginatedPaymentInstrumentsResponse.php b/src/Adyen/Model/BalancePlatform/PaginatedPaymentInstrumentsResponse.php index 0009db76c..746ed65fe 100644 --- a/src/Adyen/Model/BalancePlatform/PaginatedPaymentInstrumentsResponse.php +++ b/src/Adyen/Model/BalancePlatform/PaginatedPaymentInstrumentsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrument.php b/src/Adyen/Model/BalancePlatform/PaymentInstrument.php index 42057ff3a..303bd04e1 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrument.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrument.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrumentBankAccount.php b/src/Adyen/Model/BalancePlatform/PaymentInstrumentBankAccount.php index 07ad4b4d5..1bbc6d26c 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrumentBankAccount.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrumentBankAccount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrumentGroup.php b/src/Adyen/Model/BalancePlatform/PaymentInstrumentGroup.php index 8f60d8fa4..0ac7d75fe 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrumentGroup.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrumentGroup.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrumentGroupInfo.php b/src/Adyen/Model/BalancePlatform/PaymentInstrumentGroupInfo.php index fcd483bcf..7c188e6de 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrumentGroupInfo.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrumentGroupInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrumentInfo.php b/src/Adyen/Model/BalancePlatform/PaymentInstrumentInfo.php index 3932e4e82..331e62094 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrumentInfo.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrumentInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrumentRequirement.php b/src/Adyen/Model/BalancePlatform/PaymentInstrumentRequirement.php index 00fd465f4..e97bf5511 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrumentRequirement.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrumentRequirement.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrumentRevealInfo.php b/src/Adyen/Model/BalancePlatform/PaymentInstrumentRevealInfo.php index 0c7349dd5..94d036680 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrumentRevealInfo.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrumentRevealInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrumentUpdateRequest.php b/src/Adyen/Model/BalancePlatform/PaymentInstrumentUpdateRequest.php index 894083084..69fe1520c 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrumentUpdateRequest.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrumentUpdateRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/Phone.php b/src/Adyen/Model/BalancePlatform/Phone.php index 7f3f5b4ec..39e9d2736 100644 --- a/src/Adyen/Model/BalancePlatform/Phone.php +++ b/src/Adyen/Model/BalancePlatform/Phone.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/PhoneNumber.php b/src/Adyen/Model/BalancePlatform/PhoneNumber.php index b6beeea48..45ac74747 100644 --- a/src/Adyen/Model/BalancePlatform/PhoneNumber.php +++ b/src/Adyen/Model/BalancePlatform/PhoneNumber.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/PlatformPaymentConfiguration.php b/src/Adyen/Model/BalancePlatform/PlatformPaymentConfiguration.php index 0ea45c5c8..f13605674 100644 --- a/src/Adyen/Model/BalancePlatform/PlatformPaymentConfiguration.php +++ b/src/Adyen/Model/BalancePlatform/PlatformPaymentConfiguration.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/ProcessingTypesRestriction.php b/src/Adyen/Model/BalancePlatform/ProcessingTypesRestriction.php index eaea3f1b6..c17193564 100644 --- a/src/Adyen/Model/BalancePlatform/ProcessingTypesRestriction.php +++ b/src/Adyen/Model/BalancePlatform/ProcessingTypesRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/RemediatingAction.php b/src/Adyen/Model/BalancePlatform/RemediatingAction.php index 42033857e..4f98cf59f 100644 --- a/src/Adyen/Model/BalancePlatform/RemediatingAction.php +++ b/src/Adyen/Model/BalancePlatform/RemediatingAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/Repayment.php b/src/Adyen/Model/BalancePlatform/Repayment.php index 86e0100c1..659568478 100644 --- a/src/Adyen/Model/BalancePlatform/Repayment.php +++ b/src/Adyen/Model/BalancePlatform/Repayment.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/RepaymentTerm.php b/src/Adyen/Model/BalancePlatform/RepaymentTerm.php index 72ed3f35c..60fa8a8c2 100644 --- a/src/Adyen/Model/BalancePlatform/RepaymentTerm.php +++ b/src/Adyen/Model/BalancePlatform/RepaymentTerm.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/RestServiceError.php b/src/Adyen/Model/BalancePlatform/RestServiceError.php index cef78e4f9..45c5f9c34 100644 --- a/src/Adyen/Model/BalancePlatform/RestServiceError.php +++ b/src/Adyen/Model/BalancePlatform/RestServiceError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/SELocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/SELocalAccountIdentification.php index 42886f6fa..da9c3f722 100644 --- a/src/Adyen/Model/BalancePlatform/SELocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/SELocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/SGLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/SGLocalAccountIdentification.php index 768da1518..74a9914cc 100644 --- a/src/Adyen/Model/BalancePlatform/SGLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/SGLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/SameAmountRestriction.php b/src/Adyen/Model/BalancePlatform/SameAmountRestriction.php index a69e037b9..58ff0bfe5 100644 --- a/src/Adyen/Model/BalancePlatform/SameAmountRestriction.php +++ b/src/Adyen/Model/BalancePlatform/SameAmountRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/SameCounterpartyRestriction.php b/src/Adyen/Model/BalancePlatform/SameCounterpartyRestriction.php index 8f0d5adc1..991f179b9 100644 --- a/src/Adyen/Model/BalancePlatform/SameCounterpartyRestriction.php +++ b/src/Adyen/Model/BalancePlatform/SameCounterpartyRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/StringMatch.php b/src/Adyen/Model/BalancePlatform/StringMatch.php index d14d37407..2ac87c457 100644 --- a/src/Adyen/Model/BalancePlatform/StringMatch.php +++ b/src/Adyen/Model/BalancePlatform/StringMatch.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/SweepConfigurationV2.php b/src/Adyen/Model/BalancePlatform/SweepConfigurationV2.php index 9a5e1b56e..0a860af04 100644 --- a/src/Adyen/Model/BalancePlatform/SweepConfigurationV2.php +++ b/src/Adyen/Model/BalancePlatform/SweepConfigurationV2.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/SweepCounterparty.php b/src/Adyen/Model/BalancePlatform/SweepCounterparty.php index 3c4ab9b41..fe1e9cbf6 100644 --- a/src/Adyen/Model/BalancePlatform/SweepCounterparty.php +++ b/src/Adyen/Model/BalancePlatform/SweepCounterparty.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/SweepSchedule.php b/src/Adyen/Model/BalancePlatform/SweepSchedule.php index bf132e224..ffbea35d4 100644 --- a/src/Adyen/Model/BalancePlatform/SweepSchedule.php +++ b/src/Adyen/Model/BalancePlatform/SweepSchedule.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/ThresholdRepayment.php b/src/Adyen/Model/BalancePlatform/ThresholdRepayment.php index 626106254..f8be61e14 100644 --- a/src/Adyen/Model/BalancePlatform/ThresholdRepayment.php +++ b/src/Adyen/Model/BalancePlatform/ThresholdRepayment.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/TimeOfDay.php b/src/Adyen/Model/BalancePlatform/TimeOfDay.php index 3a56136a1..d4a6e566f 100644 --- a/src/Adyen/Model/BalancePlatform/TimeOfDay.php +++ b/src/Adyen/Model/BalancePlatform/TimeOfDay.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/TimeOfDayRestriction.php b/src/Adyen/Model/BalancePlatform/TimeOfDayRestriction.php index 1c47f0cc8..2237f5317 100644 --- a/src/Adyen/Model/BalancePlatform/TimeOfDayRestriction.php +++ b/src/Adyen/Model/BalancePlatform/TimeOfDayRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/TotalAmountRestriction.php b/src/Adyen/Model/BalancePlatform/TotalAmountRestriction.php index 754e4cb8a..7fa1a6713 100644 --- a/src/Adyen/Model/BalancePlatform/TotalAmountRestriction.php +++ b/src/Adyen/Model/BalancePlatform/TotalAmountRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/TransactionRule.php b/src/Adyen/Model/BalancePlatform/TransactionRule.php index e43fd3b94..0e8b9f95e 100644 --- a/src/Adyen/Model/BalancePlatform/TransactionRule.php +++ b/src/Adyen/Model/BalancePlatform/TransactionRule.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/TransactionRuleEntityKey.php b/src/Adyen/Model/BalancePlatform/TransactionRuleEntityKey.php index 6a9cf9e66..9252d99cb 100644 --- a/src/Adyen/Model/BalancePlatform/TransactionRuleEntityKey.php +++ b/src/Adyen/Model/BalancePlatform/TransactionRuleEntityKey.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/TransactionRuleInfo.php b/src/Adyen/Model/BalancePlatform/TransactionRuleInfo.php index 6d9c1702a..7ab59cf4f 100644 --- a/src/Adyen/Model/BalancePlatform/TransactionRuleInfo.php +++ b/src/Adyen/Model/BalancePlatform/TransactionRuleInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/TransactionRuleInterval.php b/src/Adyen/Model/BalancePlatform/TransactionRuleInterval.php index 7af7f754e..3f832d0eb 100644 --- a/src/Adyen/Model/BalancePlatform/TransactionRuleInterval.php +++ b/src/Adyen/Model/BalancePlatform/TransactionRuleInterval.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/TransactionRuleResponse.php b/src/Adyen/Model/BalancePlatform/TransactionRuleResponse.php index 9a252f1a7..39056765d 100644 --- a/src/Adyen/Model/BalancePlatform/TransactionRuleResponse.php +++ b/src/Adyen/Model/BalancePlatform/TransactionRuleResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/TransactionRuleRestrictions.php b/src/Adyen/Model/BalancePlatform/TransactionRuleRestrictions.php index e4c005f8a..13f02509a 100644 --- a/src/Adyen/Model/BalancePlatform/TransactionRuleRestrictions.php +++ b/src/Adyen/Model/BalancePlatform/TransactionRuleRestrictions.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/TransactionRulesResponse.php b/src/Adyen/Model/BalancePlatform/TransactionRulesResponse.php index 0a1f4a2b5..8af9753a7 100644 --- a/src/Adyen/Model/BalancePlatform/TransactionRulesResponse.php +++ b/src/Adyen/Model/BalancePlatform/TransactionRulesResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/TransferRoute.php b/src/Adyen/Model/BalancePlatform/TransferRoute.php index f7ac9b9df..45d43dbb7 100644 --- a/src/Adyen/Model/BalancePlatform/TransferRoute.php +++ b/src/Adyen/Model/BalancePlatform/TransferRoute.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/TransferRouteRequest.php b/src/Adyen/Model/BalancePlatform/TransferRouteRequest.php index d16303a25..755f3109a 100644 --- a/src/Adyen/Model/BalancePlatform/TransferRouteRequest.php +++ b/src/Adyen/Model/BalancePlatform/TransferRouteRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/TransferRouteRequirements.php b/src/Adyen/Model/BalancePlatform/TransferRouteRequirements.php index 74f39f20d..df4d6e3c4 100644 --- a/src/Adyen/Model/BalancePlatform/TransferRouteRequirements.php +++ b/src/Adyen/Model/BalancePlatform/TransferRouteRequirements.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/TransferRouteResponse.php b/src/Adyen/Model/BalancePlatform/TransferRouteResponse.php index b26b034a1..83c1460b4 100644 --- a/src/Adyen/Model/BalancePlatform/TransferRouteResponse.php +++ b/src/Adyen/Model/BalancePlatform/TransferRouteResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/UKLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/UKLocalAccountIdentification.php index 4bad25012..11a815ca1 100644 --- a/src/Adyen/Model/BalancePlatform/UKLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/UKLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/USLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/USLocalAccountIdentification.php index b17e284f8..16abfbe15 100644 --- a/src/Adyen/Model/BalancePlatform/USLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/USLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/UpdateNetworkTokenRequest.php b/src/Adyen/Model/BalancePlatform/UpdateNetworkTokenRequest.php index 218c6ebfa..5a5689e2a 100644 --- a/src/Adyen/Model/BalancePlatform/UpdateNetworkTokenRequest.php +++ b/src/Adyen/Model/BalancePlatform/UpdateNetworkTokenRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/UpdatePaymentInstrument.php b/src/Adyen/Model/BalancePlatform/UpdatePaymentInstrument.php index 15f69aa6b..93dbae0ab 100644 --- a/src/Adyen/Model/BalancePlatform/UpdatePaymentInstrument.php +++ b/src/Adyen/Model/BalancePlatform/UpdatePaymentInstrument.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/UpdateSweepConfigurationV2.php b/src/Adyen/Model/BalancePlatform/UpdateSweepConfigurationV2.php index f728eba4b..e403b7087 100644 --- a/src/Adyen/Model/BalancePlatform/UpdateSweepConfigurationV2.php +++ b/src/Adyen/Model/BalancePlatform/UpdateSweepConfigurationV2.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/VerificationDeadline.php b/src/Adyen/Model/BalancePlatform/VerificationDeadline.php index 821f264fd..0c1152dee 100644 --- a/src/Adyen/Model/BalancePlatform/VerificationDeadline.php +++ b/src/Adyen/Model/BalancePlatform/VerificationDeadline.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/VerificationError.php b/src/Adyen/Model/BalancePlatform/VerificationError.php index fa32d607d..5bf4ae7b7 100644 --- a/src/Adyen/Model/BalancePlatform/VerificationError.php +++ b/src/Adyen/Model/BalancePlatform/VerificationError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BalancePlatform/VerificationErrorRecursive.php b/src/Adyen/Model/BalancePlatform/VerificationErrorRecursive.php index c087d6b47..022023081 100644 --- a/src/Adyen/Model/BalancePlatform/VerificationErrorRecursive.php +++ b/src/Adyen/Model/BalancePlatform/VerificationErrorRecursive.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BinLookup/Amount.php b/src/Adyen/Model/BinLookup/Amount.php index bcd742fda..eca0e656d 100644 --- a/src/Adyen/Model/BinLookup/Amount.php +++ b/src/Adyen/Model/BinLookup/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 54 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BinLookup/BinDetail.php b/src/Adyen/Model/BinLookup/BinDetail.php index 59bf66a35..3b463c2bc 100644 --- a/src/Adyen/Model/BinLookup/BinDetail.php +++ b/src/Adyen/Model/BinLookup/BinDetail.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 54 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BinLookup/CardBin.php b/src/Adyen/Model/BinLookup/CardBin.php index aa37d4bd2..938310f90 100644 --- a/src/Adyen/Model/BinLookup/CardBin.php +++ b/src/Adyen/Model/BinLookup/CardBin.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 54 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BinLookup/CostEstimateAssumptions.php b/src/Adyen/Model/BinLookup/CostEstimateAssumptions.php index 5f7d2ce77..609dbb314 100644 --- a/src/Adyen/Model/BinLookup/CostEstimateAssumptions.php +++ b/src/Adyen/Model/BinLookup/CostEstimateAssumptions.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 54 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BinLookup/CostEstimateRequest.php b/src/Adyen/Model/BinLookup/CostEstimateRequest.php index 765ab300b..d29b4373b 100644 --- a/src/Adyen/Model/BinLookup/CostEstimateRequest.php +++ b/src/Adyen/Model/BinLookup/CostEstimateRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 54 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BinLookup/CostEstimateResponse.php b/src/Adyen/Model/BinLookup/CostEstimateResponse.php index 3e743edce..3b2e18fdd 100644 --- a/src/Adyen/Model/BinLookup/CostEstimateResponse.php +++ b/src/Adyen/Model/BinLookup/CostEstimateResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 54 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BinLookup/DSPublicKeyDetail.php b/src/Adyen/Model/BinLookup/DSPublicKeyDetail.php index 52c30a926..2499a4783 100644 --- a/src/Adyen/Model/BinLookup/DSPublicKeyDetail.php +++ b/src/Adyen/Model/BinLookup/DSPublicKeyDetail.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 54 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BinLookup/MerchantDetails.php b/src/Adyen/Model/BinLookup/MerchantDetails.php index 82a7a5633..ebcc5dd96 100644 --- a/src/Adyen/Model/BinLookup/MerchantDetails.php +++ b/src/Adyen/Model/BinLookup/MerchantDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 54 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BinLookup/ModelInterface.php b/src/Adyen/Model/BinLookup/ModelInterface.php index 62b445071..8c6a41375 100644 --- a/src/Adyen/Model/BinLookup/ModelInterface.php +++ b/src/Adyen/Model/BinLookup/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 54 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BinLookup/ObjectSerializer.php b/src/Adyen/Model/BinLookup/ObjectSerializer.php index 9ca7ca593..09437b7d8 100644 --- a/src/Adyen/Model/BinLookup/ObjectSerializer.php +++ b/src/Adyen/Model/BinLookup/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 54 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/BinLookup/Recurring.php b/src/Adyen/Model/BinLookup/Recurring.php index a7bf98bdd..b480f9c44 100644 --- a/src/Adyen/Model/BinLookup/Recurring.php +++ b/src/Adyen/Model/BinLookup/Recurring.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 54 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BinLookup/ServiceError.php b/src/Adyen/Model/BinLookup/ServiceError.php index eda7c9771..36af9c8ba 100644 --- a/src/Adyen/Model/BinLookup/ServiceError.php +++ b/src/Adyen/Model/BinLookup/ServiceError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 54 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BinLookup/ThreeDS2CardRangeDetail.php b/src/Adyen/Model/BinLookup/ThreeDS2CardRangeDetail.php index fd4531787..3f1999520 100644 --- a/src/Adyen/Model/BinLookup/ThreeDS2CardRangeDetail.php +++ b/src/Adyen/Model/BinLookup/ThreeDS2CardRangeDetail.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 54 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BinLookup/ThreeDSAvailabilityRequest.php b/src/Adyen/Model/BinLookup/ThreeDSAvailabilityRequest.php index 48b8592b9..733c83bff 100644 --- a/src/Adyen/Model/BinLookup/ThreeDSAvailabilityRequest.php +++ b/src/Adyen/Model/BinLookup/ThreeDSAvailabilityRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 54 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/BinLookup/ThreeDSAvailabilityResponse.php b/src/Adyen/Model/BinLookup/ThreeDSAvailabilityResponse.php index 770acf282..c9d363cfb 100644 --- a/src/Adyen/Model/BinLookup/ThreeDSAvailabilityResponse.php +++ b/src/Adyen/Model/BinLookup/ThreeDSAvailabilityResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 54 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AccountInfo.php b/src/Adyen/Model/Checkout/AccountInfo.php index 706aef35d..1dfed679b 100644 --- a/src/Adyen/Model/Checkout/AccountInfo.php +++ b/src/Adyen/Model/Checkout/AccountInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AcctInfo.php b/src/Adyen/Model/Checkout/AcctInfo.php index e4c7f8261..a2f5c76b3 100644 --- a/src/Adyen/Model/Checkout/AcctInfo.php +++ b/src/Adyen/Model/Checkout/AcctInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AchDetails.php b/src/Adyen/Model/Checkout/AchDetails.php index d76671d9a..4557c901d 100644 --- a/src/Adyen/Model/Checkout/AchDetails.php +++ b/src/Adyen/Model/Checkout/AchDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalData3DSecure.php b/src/Adyen/Model/Checkout/AdditionalData3DSecure.php index 6820a19f8..03bc1bd65 100644 --- a/src/Adyen/Model/Checkout/AdditionalData3DSecure.php +++ b/src/Adyen/Model/Checkout/AdditionalData3DSecure.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataAirline.php b/src/Adyen/Model/Checkout/AdditionalDataAirline.php index f9a2a0cd7..0377b28e8 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataAirline.php +++ b/src/Adyen/Model/Checkout/AdditionalDataAirline.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataCarRental.php b/src/Adyen/Model/Checkout/AdditionalDataCarRental.php index 46581be72..ac0f9d613 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataCarRental.php +++ b/src/Adyen/Model/Checkout/AdditionalDataCarRental.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataCommon.php b/src/Adyen/Model/Checkout/AdditionalDataCommon.php index c5a1daba4..ac0475271 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataCommon.php +++ b/src/Adyen/Model/Checkout/AdditionalDataCommon.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataLevel23.php b/src/Adyen/Model/Checkout/AdditionalDataLevel23.php index ef41a31d2..a382d6f7a 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataLevel23.php +++ b/src/Adyen/Model/Checkout/AdditionalDataLevel23.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataLodging.php b/src/Adyen/Model/Checkout/AdditionalDataLodging.php index 10c346cc3..5a0ea90a1 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataLodging.php +++ b/src/Adyen/Model/Checkout/AdditionalDataLodging.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php b/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php index 8a8c29dd0..ec258a967 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php +++ b/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataOpi.php b/src/Adyen/Model/Checkout/AdditionalDataOpi.php index 2db0d1d6f..d9891d229 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataOpi.php +++ b/src/Adyen/Model/Checkout/AdditionalDataOpi.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataRatepay.php b/src/Adyen/Model/Checkout/AdditionalDataRatepay.php index 8d7ce42e7..56677942c 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRatepay.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRatepay.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataRetry.php b/src/Adyen/Model/Checkout/AdditionalDataRetry.php index 5060355af..0e82b6a7d 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRetry.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRetry.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataRisk.php b/src/Adyen/Model/Checkout/AdditionalDataRisk.php index 423796d69..c0901c440 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRisk.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRisk.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php b/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php index 612b2ddd8..e044f870b 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php b/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php index 6f5c8cdb7..f3dad0dad 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php +++ b/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php b/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php index 7ee94ef05..af5bfbebc 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php +++ b/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataWallets.php b/src/Adyen/Model/Checkout/AdditionalDataWallets.php index 52c553276..2ddbf6995 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataWallets.php +++ b/src/Adyen/Model/Checkout/AdditionalDataWallets.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Address.php b/src/Adyen/Model/Checkout/Address.php index 319a35e6e..c1949a378 100644 --- a/src/Adyen/Model/Checkout/Address.php +++ b/src/Adyen/Model/Checkout/Address.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AfterpayDetails.php b/src/Adyen/Model/Checkout/AfterpayDetails.php index 9e4634e00..be27ce340 100644 --- a/src/Adyen/Model/Checkout/AfterpayDetails.php +++ b/src/Adyen/Model/Checkout/AfterpayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AmazonPayDetails.php b/src/Adyen/Model/Checkout/AmazonPayDetails.php index 20cad0c7f..f79fa037a 100644 --- a/src/Adyen/Model/Checkout/AmazonPayDetails.php +++ b/src/Adyen/Model/Checkout/AmazonPayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Amount.php b/src/Adyen/Model/Checkout/Amount.php index dd41d2056..b069e038f 100644 --- a/src/Adyen/Model/Checkout/Amount.php +++ b/src/Adyen/Model/Checkout/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AndroidPayDetails.php b/src/Adyen/Model/Checkout/AndroidPayDetails.php index 0d8a98089..98fef1a2b 100644 --- a/src/Adyen/Model/Checkout/AndroidPayDetails.php +++ b/src/Adyen/Model/Checkout/AndroidPayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ApplePayDetails.php b/src/Adyen/Model/Checkout/ApplePayDetails.php index 9cf96a163..0a390ecc6 100644 --- a/src/Adyen/Model/Checkout/ApplePayDetails.php +++ b/src/Adyen/Model/Checkout/ApplePayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ApplePaySessionRequest.php b/src/Adyen/Model/Checkout/ApplePaySessionRequest.php index b0c9bfc7a..b2eb387ba 100644 --- a/src/Adyen/Model/Checkout/ApplePaySessionRequest.php +++ b/src/Adyen/Model/Checkout/ApplePaySessionRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ApplePaySessionResponse.php b/src/Adyen/Model/Checkout/ApplePaySessionResponse.php index 096115eb0..3edcd83dd 100644 --- a/src/Adyen/Model/Checkout/ApplePaySessionResponse.php +++ b/src/Adyen/Model/Checkout/ApplePaySessionResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ApplicationInfo.php b/src/Adyen/Model/Checkout/ApplicationInfo.php index 718886c97..8caca5b79 100644 --- a/src/Adyen/Model/Checkout/ApplicationInfo.php +++ b/src/Adyen/Model/Checkout/ApplicationInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AuthenticationData.php b/src/Adyen/Model/Checkout/AuthenticationData.php index 4c7027a8d..470fc04fd 100644 --- a/src/Adyen/Model/Checkout/AuthenticationData.php +++ b/src/Adyen/Model/Checkout/AuthenticationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Avs.php b/src/Adyen/Model/Checkout/Avs.php index 5fcf2dacb..a19609fd6 100644 --- a/src/Adyen/Model/Checkout/Avs.php +++ b/src/Adyen/Model/Checkout/Avs.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php b/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php index c1ec35741..b41f808ed 100644 --- a/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php +++ b/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/BalanceCheckRequest.php b/src/Adyen/Model/Checkout/BalanceCheckRequest.php index 599a485a8..01f8f6d3d 100644 --- a/src/Adyen/Model/Checkout/BalanceCheckRequest.php +++ b/src/Adyen/Model/Checkout/BalanceCheckRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/BalanceCheckResponse.php b/src/Adyen/Model/Checkout/BalanceCheckResponse.php index cb54f6e1b..f6e9a3722 100644 --- a/src/Adyen/Model/Checkout/BalanceCheckResponse.php +++ b/src/Adyen/Model/Checkout/BalanceCheckResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/BankAccount.php b/src/Adyen/Model/Checkout/BankAccount.php index 1a3cc3e5c..01a3f510f 100644 --- a/src/Adyen/Model/Checkout/BankAccount.php +++ b/src/Adyen/Model/Checkout/BankAccount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/BillDeskDetails.php b/src/Adyen/Model/Checkout/BillDeskDetails.php index e5b94af6a..b94921dfe 100644 --- a/src/Adyen/Model/Checkout/BillDeskDetails.php +++ b/src/Adyen/Model/Checkout/BillDeskDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/BillingAddress.php b/src/Adyen/Model/Checkout/BillingAddress.php index a6e3c3cce..a060c1e20 100644 --- a/src/Adyen/Model/Checkout/BillingAddress.php +++ b/src/Adyen/Model/Checkout/BillingAddress.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/BlikDetails.php b/src/Adyen/Model/Checkout/BlikDetails.php index 26e91d75b..635e73ef7 100644 --- a/src/Adyen/Model/Checkout/BlikDetails.php +++ b/src/Adyen/Model/Checkout/BlikDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/BrowserInfo.php b/src/Adyen/Model/Checkout/BrowserInfo.php index b6cef3e06..bf69ebe29 100644 --- a/src/Adyen/Model/Checkout/BrowserInfo.php +++ b/src/Adyen/Model/Checkout/BrowserInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CancelOrderRequest.php b/src/Adyen/Model/Checkout/CancelOrderRequest.php index 6aa4f5fec..1f1ece2aa 100644 --- a/src/Adyen/Model/Checkout/CancelOrderRequest.php +++ b/src/Adyen/Model/Checkout/CancelOrderRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CancelOrderResponse.php b/src/Adyen/Model/Checkout/CancelOrderResponse.php index 76a1a6662..57dd3143f 100644 --- a/src/Adyen/Model/Checkout/CancelOrderResponse.php +++ b/src/Adyen/Model/Checkout/CancelOrderResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Card.php b/src/Adyen/Model/Checkout/Card.php index aba06c6b7..2c7659fa2 100644 --- a/src/Adyen/Model/Checkout/Card.php +++ b/src/Adyen/Model/Checkout/Card.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CardBrandDetails.php b/src/Adyen/Model/Checkout/CardBrandDetails.php index 9ea153813..114393cec 100644 --- a/src/Adyen/Model/Checkout/CardBrandDetails.php +++ b/src/Adyen/Model/Checkout/CardBrandDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CardDetails.php b/src/Adyen/Model/Checkout/CardDetails.php index 2ec7a7274..88e177299 100644 --- a/src/Adyen/Model/Checkout/CardDetails.php +++ b/src/Adyen/Model/Checkout/CardDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CardDetailsRequest.php b/src/Adyen/Model/Checkout/CardDetailsRequest.php index 15524d64e..1d50f1559 100644 --- a/src/Adyen/Model/Checkout/CardDetailsRequest.php +++ b/src/Adyen/Model/Checkout/CardDetailsRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CardDetailsResponse.php b/src/Adyen/Model/Checkout/CardDetailsResponse.php index c1ff06287..cc6c71a1f 100644 --- a/src/Adyen/Model/Checkout/CardDetailsResponse.php +++ b/src/Adyen/Model/Checkout/CardDetailsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CellulantDetails.php b/src/Adyen/Model/Checkout/CellulantDetails.php index 218342c67..790177290 100644 --- a/src/Adyen/Model/Checkout/CellulantDetails.php +++ b/src/Adyen/Model/Checkout/CellulantDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutAwaitAction.php b/src/Adyen/Model/Checkout/CheckoutAwaitAction.php index 5a1afd4a5..699701044 100644 --- a/src/Adyen/Model/Checkout/CheckoutAwaitAction.php +++ b/src/Adyen/Model/Checkout/CheckoutAwaitAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php b/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php index 38b7dbf34..5561764ac 100644 --- a/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php +++ b/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php b/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php index 609f01bfc..62fe8cf5e 100644 --- a/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php +++ b/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutOrderResponse.php b/src/Adyen/Model/Checkout/CheckoutOrderResponse.php index 2946f527a..9f869297e 100644 --- a/src/Adyen/Model/Checkout/CheckoutOrderResponse.php +++ b/src/Adyen/Model/Checkout/CheckoutOrderResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php b/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php index 3014e4214..2bf4dff4f 100644 --- a/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php +++ b/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -1644,7 +1644,7 @@ public function getShopperEmail() /** * Sets shopperEmail * - * @param string $shopperEmail + * @param string $shopperEmail * * @return self */ @@ -1671,7 +1671,7 @@ public function getTelephoneNumber() /** * Sets telephoneNumber * - * @param string $telephoneNumber + * @param string $telephoneNumber * * @return self */ diff --git a/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php b/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php index 1d1daf3b7..3d1639d9f 100644 --- a/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php +++ b/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutRedirectAction.php b/src/Adyen/Model/Checkout/CheckoutRedirectAction.php index 4d4483a52..c3fd6f4fe 100644 --- a/src/Adyen/Model/Checkout/CheckoutRedirectAction.php +++ b/src/Adyen/Model/Checkout/CheckoutRedirectAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutSDKAction.php b/src/Adyen/Model/Checkout/CheckoutSDKAction.php index 5516c3425..30c89c85c 100644 --- a/src/Adyen/Model/Checkout/CheckoutSDKAction.php +++ b/src/Adyen/Model/Checkout/CheckoutSDKAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php b/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php index d17175a63..0a17d2f4b 100644 --- a/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php +++ b/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php b/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php index fd842145e..baf01352e 100644 --- a/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php +++ b/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutVoucherAction.php b/src/Adyen/Model/Checkout/CheckoutVoucherAction.php index 474c89f38..417f5f7f4 100644 --- a/src/Adyen/Model/Checkout/CheckoutVoucherAction.php +++ b/src/Adyen/Model/Checkout/CheckoutVoucherAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CommonField.php b/src/Adyen/Model/Checkout/CommonField.php index 40b106866..3ef6a90f7 100644 --- a/src/Adyen/Model/Checkout/CommonField.php +++ b/src/Adyen/Model/Checkout/CommonField.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Company.php b/src/Adyen/Model/Checkout/Company.php index d9c1dbed7..553a01ca5 100644 --- a/src/Adyen/Model/Checkout/Company.php +++ b/src/Adyen/Model/Checkout/Company.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Configuration.php b/src/Adyen/Model/Checkout/Configuration.php index acd853e6d..b7aae8cd0 100644 --- a/src/Adyen/Model/Checkout/Configuration.php +++ b/src/Adyen/Model/Checkout/Configuration.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php b/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php index 019ecab87..f578763a9 100644 --- a/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php +++ b/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -2358,7 +2358,7 @@ public function getThemeId() /** * Sets themeId * - * @param string|null $themeId Sets a custom theme for the Adyen-hosted payment page. The value can be any of the **Theme ID** values from your Customer Area. + * @param string|null $themeId Sets a custom theme for [Hosted Checkout](https://docs.adyen.com/online-payments/build-your-integration/?platform=Web&integration=Hosted+Checkout). The value can be any of the **Theme ID** values from your Customer Area. * * @return self */ diff --git a/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php b/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php index 654c205d3..8fc838f79 100644 --- a/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php +++ b/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -2439,7 +2439,7 @@ public function getThemeId() /** * Sets themeId * - * @param string|null $themeId Sets a custom theme for the Adyen-hosted payment page. The value can be any of the **Theme ID** values from your Customer Area. + * @param string|null $themeId Sets a custom theme for [Hosted Checkout](https://docs.adyen.com/online-payments/build-your-integration/?platform=Web&integration=Hosted+Checkout). The value can be any of the **Theme ID** values from your Customer Area. * * @return self */ diff --git a/src/Adyen/Model/Checkout/CreateOrderRequest.php b/src/Adyen/Model/Checkout/CreateOrderRequest.php index 829393a4d..a4f0cb2ab 100644 --- a/src/Adyen/Model/Checkout/CreateOrderRequest.php +++ b/src/Adyen/Model/Checkout/CreateOrderRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CreateOrderResponse.php b/src/Adyen/Model/Checkout/CreateOrderResponse.php index 0db7824ba..277237313 100644 --- a/src/Adyen/Model/Checkout/CreateOrderResponse.php +++ b/src/Adyen/Model/Checkout/CreateOrderResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DeliveryAddress.php b/src/Adyen/Model/Checkout/DeliveryAddress.php index f7d24133a..144917909 100644 --- a/src/Adyen/Model/Checkout/DeliveryAddress.php +++ b/src/Adyen/Model/Checkout/DeliveryAddress.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php b/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php index b926ff170..c0be6578a 100644 --- a/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php +++ b/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DeviceRenderOptions.php b/src/Adyen/Model/Checkout/DeviceRenderOptions.php index 8d13b7700..1e8146f0b 100644 --- a/src/Adyen/Model/Checkout/DeviceRenderOptions.php +++ b/src/Adyen/Model/Checkout/DeviceRenderOptions.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DokuDetails.php b/src/Adyen/Model/Checkout/DokuDetails.php index c7713317d..2a6e428c7 100644 --- a/src/Adyen/Model/Checkout/DokuDetails.php +++ b/src/Adyen/Model/Checkout/DokuDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DonationPaymentMethod.php b/src/Adyen/Model/Checkout/DonationPaymentMethod.php index 9adb16267..03d339ae5 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentMethod.php +++ b/src/Adyen/Model/Checkout/DonationPaymentMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DonationPaymentRequest.php b/src/Adyen/Model/Checkout/DonationPaymentRequest.php index 6ed687297..266b57bb6 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentRequest.php +++ b/src/Adyen/Model/Checkout/DonationPaymentRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DonationPaymentResponse.php b/src/Adyen/Model/Checkout/DonationPaymentResponse.php index 0ed91010c..749d65837 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentResponse.php +++ b/src/Adyen/Model/Checkout/DonationPaymentResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DotpayDetails.php b/src/Adyen/Model/Checkout/DotpayDetails.php index 7fc3c7bae..e9164300b 100644 --- a/src/Adyen/Model/Checkout/DotpayDetails.php +++ b/src/Adyen/Model/Checkout/DotpayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DragonpayDetails.php b/src/Adyen/Model/Checkout/DragonpayDetails.php index f795c17db..82316fe45 100644 --- a/src/Adyen/Model/Checkout/DragonpayDetails.php +++ b/src/Adyen/Model/Checkout/DragonpayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/EcontextVoucherDetails.php b/src/Adyen/Model/Checkout/EcontextVoucherDetails.php index 3afc1c385..6a690c8c9 100644 --- a/src/Adyen/Model/Checkout/EcontextVoucherDetails.php +++ b/src/Adyen/Model/Checkout/EcontextVoucherDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/EncryptedOrderData.php b/src/Adyen/Model/Checkout/EncryptedOrderData.php index a0d2dfbfb..004257872 100644 --- a/src/Adyen/Model/Checkout/EncryptedOrderData.php +++ b/src/Adyen/Model/Checkout/EncryptedOrderData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ExternalPlatform.php b/src/Adyen/Model/Checkout/ExternalPlatform.php index 283276919..a87f8391f 100644 --- a/src/Adyen/Model/Checkout/ExternalPlatform.php +++ b/src/Adyen/Model/Checkout/ExternalPlatform.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ForexQuote.php b/src/Adyen/Model/Checkout/ForexQuote.php index 87577ad45..17f4e62d6 100644 --- a/src/Adyen/Model/Checkout/ForexQuote.php +++ b/src/Adyen/Model/Checkout/ForexQuote.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/FraudCheckResult.php b/src/Adyen/Model/Checkout/FraudCheckResult.php index 265c57b35..d743ad334 100644 --- a/src/Adyen/Model/Checkout/FraudCheckResult.php +++ b/src/Adyen/Model/Checkout/FraudCheckResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/FraudResult.php b/src/Adyen/Model/Checkout/FraudResult.php index b23ed4dfd..e21cf0279 100644 --- a/src/Adyen/Model/Checkout/FraudResult.php +++ b/src/Adyen/Model/Checkout/FraudResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/FundOrigin.php b/src/Adyen/Model/Checkout/FundOrigin.php index d82127fb5..64280a585 100644 --- a/src/Adyen/Model/Checkout/FundOrigin.php +++ b/src/Adyen/Model/Checkout/FundOrigin.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/FundRecipient.php b/src/Adyen/Model/Checkout/FundRecipient.php index ab2664de4..6354f61a1 100644 --- a/src/Adyen/Model/Checkout/FundRecipient.php +++ b/src/Adyen/Model/Checkout/FundRecipient.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php b/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php index c819d7d9f..0568f60b1 100644 --- a/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php +++ b/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/GiropayDetails.php b/src/Adyen/Model/Checkout/GiropayDetails.php index 25cef0437..6a369f01a 100644 --- a/src/Adyen/Model/Checkout/GiropayDetails.php +++ b/src/Adyen/Model/Checkout/GiropayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/GooglePayDetails.php b/src/Adyen/Model/Checkout/GooglePayDetails.php index 1d99626dd..accd43fae 100644 --- a/src/Adyen/Model/Checkout/GooglePayDetails.php +++ b/src/Adyen/Model/Checkout/GooglePayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/IdealDetails.php b/src/Adyen/Model/Checkout/IdealDetails.php index 6926cf79c..0b35c439d 100644 --- a/src/Adyen/Model/Checkout/IdealDetails.php +++ b/src/Adyen/Model/Checkout/IdealDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/InputDetail.php b/src/Adyen/Model/Checkout/InputDetail.php index fa77258d0..2a9f71bee 100644 --- a/src/Adyen/Model/Checkout/InputDetail.php +++ b/src/Adyen/Model/Checkout/InputDetail.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/InstallmentOption.php b/src/Adyen/Model/Checkout/InstallmentOption.php index ea065932b..d0915e04d 100644 --- a/src/Adyen/Model/Checkout/InstallmentOption.php +++ b/src/Adyen/Model/Checkout/InstallmentOption.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Installments.php b/src/Adyen/Model/Checkout/Installments.php index 6136c947b..9742f80c0 100644 --- a/src/Adyen/Model/Checkout/Installments.php +++ b/src/Adyen/Model/Checkout/Installments.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/InstallmentsNumber.php b/src/Adyen/Model/Checkout/InstallmentsNumber.php index 38245fb37..33d210608 100644 --- a/src/Adyen/Model/Checkout/InstallmentsNumber.php +++ b/src/Adyen/Model/Checkout/InstallmentsNumber.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Item.php b/src/Adyen/Model/Checkout/Item.php index 2b92a46b4..3693d15e9 100644 --- a/src/Adyen/Model/Checkout/Item.php +++ b/src/Adyen/Model/Checkout/Item.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/KlarnaDetails.php b/src/Adyen/Model/Checkout/KlarnaDetails.php index 7fe4e2d8a..81dc81d46 100644 --- a/src/Adyen/Model/Checkout/KlarnaDetails.php +++ b/src/Adyen/Model/Checkout/KlarnaDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/LineItem.php b/src/Adyen/Model/Checkout/LineItem.php index ea9bce2f8..ef80aa933 100644 --- a/src/Adyen/Model/Checkout/LineItem.php +++ b/src/Adyen/Model/Checkout/LineItem.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php b/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php index ada358aae..88214bb72 100644 --- a/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php +++ b/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Mandate.php b/src/Adyen/Model/Checkout/Mandate.php index 9e19599be..70a646ddf 100644 --- a/src/Adyen/Model/Checkout/Mandate.php +++ b/src/Adyen/Model/Checkout/Mandate.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/MasterpassDetails.php b/src/Adyen/Model/Checkout/MasterpassDetails.php index 40bfbcfef..02e2cd876 100644 --- a/src/Adyen/Model/Checkout/MasterpassDetails.php +++ b/src/Adyen/Model/Checkout/MasterpassDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/MbwayDetails.php b/src/Adyen/Model/Checkout/MbwayDetails.php index 3ee8c045d..a63457b23 100644 --- a/src/Adyen/Model/Checkout/MbwayDetails.php +++ b/src/Adyen/Model/Checkout/MbwayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -364,7 +364,7 @@ public function getShopperEmail() /** * Sets shopperEmail * - * @param string $shopperEmail + * @param string $shopperEmail * * @return self */ @@ -391,7 +391,7 @@ public function getTelephoneNumber() /** * Sets telephoneNumber * - * @param string $telephoneNumber + * @param string $telephoneNumber * * @return self */ diff --git a/src/Adyen/Model/Checkout/MerchantDevice.php b/src/Adyen/Model/Checkout/MerchantDevice.php index 42793e929..a471e76dd 100644 --- a/src/Adyen/Model/Checkout/MerchantDevice.php +++ b/src/Adyen/Model/Checkout/MerchantDevice.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/MerchantRiskIndicator.php b/src/Adyen/Model/Checkout/MerchantRiskIndicator.php index 793b15ce4..17ad8213b 100644 --- a/src/Adyen/Model/Checkout/MerchantRiskIndicator.php +++ b/src/Adyen/Model/Checkout/MerchantRiskIndicator.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/MobilePayDetails.php b/src/Adyen/Model/Checkout/MobilePayDetails.php index a00b9d54b..f17a736c8 100644 --- a/src/Adyen/Model/Checkout/MobilePayDetails.php +++ b/src/Adyen/Model/Checkout/MobilePayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ModelInterface.php b/src/Adyen/Model/Checkout/ModelInterface.php index 661c821be..db5493a75 100644 --- a/src/Adyen/Model/Checkout/ModelInterface.php +++ b/src/Adyen/Model/Checkout/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/MolPayDetails.php b/src/Adyen/Model/Checkout/MolPayDetails.php index bb50be1c4..041e740f6 100644 --- a/src/Adyen/Model/Checkout/MolPayDetails.php +++ b/src/Adyen/Model/Checkout/MolPayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Name.php b/src/Adyen/Model/Checkout/Name.php index b4bcdd2bd..35c27d373 100644 --- a/src/Adyen/Model/Checkout/Name.php +++ b/src/Adyen/Model/Checkout/Name.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ObjectSerializer.php b/src/Adyen/Model/Checkout/ObjectSerializer.php index 29dd654c7..628f63adc 100644 --- a/src/Adyen/Model/Checkout/ObjectSerializer.php +++ b/src/Adyen/Model/Checkout/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/Checkout/OpenInvoiceDetails.php b/src/Adyen/Model/Checkout/OpenInvoiceDetails.php index efbb7c144..0d4e5c822 100644 --- a/src/Adyen/Model/Checkout/OpenInvoiceDetails.php +++ b/src/Adyen/Model/Checkout/OpenInvoiceDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PayPalDetails.php b/src/Adyen/Model/Checkout/PayPalDetails.php index d15a46ebc..f8de39edc 100644 --- a/src/Adyen/Model/Checkout/PayPalDetails.php +++ b/src/Adyen/Model/Checkout/PayPalDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PayUUpiDetails.php b/src/Adyen/Model/Checkout/PayUUpiDetails.php index 64c309842..1fbf215af 100644 --- a/src/Adyen/Model/Checkout/PayUUpiDetails.php +++ b/src/Adyen/Model/Checkout/PayUUpiDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PayWithGoogleDetails.php b/src/Adyen/Model/Checkout/PayWithGoogleDetails.php index 9b8bcf98b..9417cc0cf 100644 --- a/src/Adyen/Model/Checkout/PayWithGoogleDetails.php +++ b/src/Adyen/Model/Checkout/PayWithGoogleDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php b/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php index 62a133fa5..7d1726b6d 100644 --- a/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php +++ b/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php b/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php index dc9051a3e..e2186c8f4 100644 --- a/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php +++ b/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentCancelRequest.php b/src/Adyen/Model/Checkout/PaymentCancelRequest.php index 51bdd5da6..5aa0b1c67 100644 --- a/src/Adyen/Model/Checkout/PaymentCancelRequest.php +++ b/src/Adyen/Model/Checkout/PaymentCancelRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentCancelResponse.php b/src/Adyen/Model/Checkout/PaymentCancelResponse.php index a38995416..1e2666baa 100644 --- a/src/Adyen/Model/Checkout/PaymentCancelResponse.php +++ b/src/Adyen/Model/Checkout/PaymentCancelResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentCaptureRequest.php b/src/Adyen/Model/Checkout/PaymentCaptureRequest.php index 73f605141..3881d1ab3 100644 --- a/src/Adyen/Model/Checkout/PaymentCaptureRequest.php +++ b/src/Adyen/Model/Checkout/PaymentCaptureRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentCaptureResponse.php b/src/Adyen/Model/Checkout/PaymentCaptureResponse.php index ce142575e..7636d83c8 100644 --- a/src/Adyen/Model/Checkout/PaymentCaptureResponse.php +++ b/src/Adyen/Model/Checkout/PaymentCaptureResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentCompletionDetails.php b/src/Adyen/Model/Checkout/PaymentCompletionDetails.php index 619d151ac..22e27e134 100644 --- a/src/Adyen/Model/Checkout/PaymentCompletionDetails.php +++ b/src/Adyen/Model/Checkout/PaymentCompletionDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentDetails.php b/src/Adyen/Model/Checkout/PaymentDetails.php index 1ca42e366..262007e52 100644 --- a/src/Adyen/Model/Checkout/PaymentDetails.php +++ b/src/Adyen/Model/Checkout/PaymentDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentDetailsRequest.php b/src/Adyen/Model/Checkout/PaymentDetailsRequest.php index e06b80e40..a406b54ef 100644 --- a/src/Adyen/Model/Checkout/PaymentDetailsRequest.php +++ b/src/Adyen/Model/Checkout/PaymentDetailsRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentDetailsResponse.php b/src/Adyen/Model/Checkout/PaymentDetailsResponse.php index da3648270..19ea4eede 100644 --- a/src/Adyen/Model/Checkout/PaymentDetailsResponse.php +++ b/src/Adyen/Model/Checkout/PaymentDetailsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentLinkRequest.php b/src/Adyen/Model/Checkout/PaymentLinkRequest.php index 444921400..d60de2330 100644 --- a/src/Adyen/Model/Checkout/PaymentLinkRequest.php +++ b/src/Adyen/Model/Checkout/PaymentLinkRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentLinkResponse.php b/src/Adyen/Model/Checkout/PaymentLinkResponse.php index d8ab13e20..249c5a074 100644 --- a/src/Adyen/Model/Checkout/PaymentLinkResponse.php +++ b/src/Adyen/Model/Checkout/PaymentLinkResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentMethod.php b/src/Adyen/Model/Checkout/PaymentMethod.php index 8383fc671..3b50f8f0b 100644 --- a/src/Adyen/Model/Checkout/PaymentMethod.php +++ b/src/Adyen/Model/Checkout/PaymentMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentMethodGroup.php b/src/Adyen/Model/Checkout/PaymentMethodGroup.php index ffa67663b..280b61468 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodGroup.php +++ b/src/Adyen/Model/Checkout/PaymentMethodGroup.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentMethodIssuer.php b/src/Adyen/Model/Checkout/PaymentMethodIssuer.php index 93cb2de32..276c3ccde 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodIssuer.php +++ b/src/Adyen/Model/Checkout/PaymentMethodIssuer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentMethodsRequest.php b/src/Adyen/Model/Checkout/PaymentMethodsRequest.php index 941f23372..16894706d 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodsRequest.php +++ b/src/Adyen/Model/Checkout/PaymentMethodsRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentMethodsResponse.php b/src/Adyen/Model/Checkout/PaymentMethodsResponse.php index 7b42cbf8c..d730b69b2 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodsResponse.php +++ b/src/Adyen/Model/Checkout/PaymentMethodsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentRefundRequest.php b/src/Adyen/Model/Checkout/PaymentRefundRequest.php index ea1c28f65..ca30a1797 100644 --- a/src/Adyen/Model/Checkout/PaymentRefundRequest.php +++ b/src/Adyen/Model/Checkout/PaymentRefundRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -50,7 +50,8 @@ class PaymentRefundRequest implements ModelInterface, ArrayAccess, \JsonSerializ 'merchantAccount' => 'string', 'merchantRefundReason' => 'string', 'reference' => 'string', - 'splits' => '\Adyen\Model\Checkout\Split[]' + 'splits' => '\Adyen\Model\Checkout\Split[]', + 'store' => 'string' ]; /** @@ -67,7 +68,8 @@ class PaymentRefundRequest implements ModelInterface, ArrayAccess, \JsonSerializ 'merchantAccount' => null, 'merchantRefundReason' => null, 'reference' => null, - 'splits' => null + 'splits' => null, + 'store' => null ]; /** @@ -82,7 +84,8 @@ class PaymentRefundRequest implements ModelInterface, ArrayAccess, \JsonSerializ 'merchantAccount' => false, 'merchantRefundReason' => false, 'reference' => false, - 'splits' => false + 'splits' => false, + 'store' => false ]; /** @@ -177,7 +180,8 @@ public function isNullableSetToNull(string $property): bool 'merchantAccount' => 'merchantAccount', 'merchantRefundReason' => 'merchantRefundReason', 'reference' => 'reference', - 'splits' => 'splits' + 'splits' => 'splits', + 'store' => 'store' ]; /** @@ -192,7 +196,8 @@ public function isNullableSetToNull(string $property): bool 'merchantAccount' => 'setMerchantAccount', 'merchantRefundReason' => 'setMerchantRefundReason', 'reference' => 'setReference', - 'splits' => 'setSplits' + 'splits' => 'setSplits', + 'store' => 'setStore' ]; /** @@ -207,7 +212,8 @@ public function isNullableSetToNull(string $property): bool 'merchantAccount' => 'getMerchantAccount', 'merchantRefundReason' => 'getMerchantRefundReason', 'reference' => 'getReference', - 'splits' => 'getSplits' + 'splits' => 'getSplits', + 'store' => 'getStore' ]; /** @@ -294,6 +300,7 @@ public function __construct(array $data = null) $this->setIfExists('merchantRefundReason', $data ?? [], null); $this->setIfExists('reference', $data ?? [], null); $this->setIfExists('splits', $data ?? [], null); + $this->setIfExists('store', $data ?? [], null); } /** @@ -551,6 +558,33 @@ public function setSplits($splits) return $this; } + + /** + * Gets store + * + * @return string|null + */ + public function getStore() + { + return $this->container['store']; + } + + /** + * Sets store + * + * @param string|null $store The online store or [physical store](https://docs.adyen.com/point-of-sale/design-your-integration/determine-account-structure/#create-stores) that is processing the refund. This must be the same as the store name configured in your Customer Area. Otherwise, you get an error and the refund fails. + * + * @return self + */ + public function setStore($store) + { + if (is_null($store)) { + throw new \InvalidArgumentException('non-nullable store cannot be null'); + } + $this->container['store'] = $store; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/Adyen/Model/Checkout/PaymentRefundResponse.php b/src/Adyen/Model/Checkout/PaymentRefundResponse.php index b5864a2b7..8ee8287c7 100644 --- a/src/Adyen/Model/Checkout/PaymentRefundResponse.php +++ b/src/Adyen/Model/Checkout/PaymentRefundResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -52,7 +52,8 @@ class PaymentRefundResponse implements ModelInterface, ArrayAccess, \JsonSeriali 'pspReference' => 'string', 'reference' => 'string', 'splits' => '\Adyen\Model\Checkout\Split[]', - 'status' => 'string' + 'status' => 'string', + 'store' => 'string' ]; /** @@ -71,7 +72,8 @@ class PaymentRefundResponse implements ModelInterface, ArrayAccess, \JsonSeriali 'pspReference' => null, 'reference' => null, 'splits' => null, - 'status' => null + 'status' => null, + 'store' => null ]; /** @@ -88,7 +90,8 @@ class PaymentRefundResponse implements ModelInterface, ArrayAccess, \JsonSeriali 'pspReference' => false, 'reference' => false, 'splits' => false, - 'status' => false + 'status' => false, + 'store' => false ]; /** @@ -185,7 +188,8 @@ public function isNullableSetToNull(string $property): bool 'pspReference' => 'pspReference', 'reference' => 'reference', 'splits' => 'splits', - 'status' => 'status' + 'status' => 'status', + 'store' => 'store' ]; /** @@ -202,7 +206,8 @@ public function isNullableSetToNull(string $property): bool 'pspReference' => 'setPspReference', 'reference' => 'setReference', 'splits' => 'setSplits', - 'status' => 'setStatus' + 'status' => 'setStatus', + 'store' => 'setStore' ]; /** @@ -219,7 +224,8 @@ public function isNullableSetToNull(string $property): bool 'pspReference' => 'getPspReference', 'reference' => 'getReference', 'splits' => 'getSplits', - 'status' => 'getStatus' + 'status' => 'getStatus', + 'store' => 'getStore' ]; /** @@ -320,6 +326,7 @@ public function __construct(array $data = null) $this->setIfExists('reference', $data ?? [], null); $this->setIfExists('splits', $data ?? [], null); $this->setIfExists('status', $data ?? [], null); + $this->setIfExists('store', $data ?? [], null); } /** @@ -659,6 +666,33 @@ public function setStatus($status) return $this; } + + /** + * Gets store + * + * @return string|null + */ + public function getStore() + { + return $this->container['store']; + } + + /** + * Sets store + * + * @param string|null $store The online store or [physical store](https://docs.adyen.com/point-of-sale/design-your-integration/determine-account-structure/#create-stores) that is processing the refund. This must be the same as the store name configured in your Customer Area. Otherwise, you get an error and the refund fails. + * + * @return self + */ + public function setStore($store) + { + if (is_null($store)) { + throw new \InvalidArgumentException('non-nullable store cannot be null'); + } + $this->container['store'] = $store; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/Adyen/Model/Checkout/PaymentRequest.php b/src/Adyen/Model/Checkout/PaymentRequest.php index bd1cb6d36..333505083 100644 --- a/src/Adyen/Model/Checkout/PaymentRequest.php +++ b/src/Adyen/Model/Checkout/PaymentRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentResponse.php b/src/Adyen/Model/Checkout/PaymentResponse.php index 95040ec4f..f9d609857 100644 --- a/src/Adyen/Model/Checkout/PaymentResponse.php +++ b/src/Adyen/Model/Checkout/PaymentResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentResponseAction.php b/src/Adyen/Model/Checkout/PaymentResponseAction.php index b525811d0..4144d958f 100644 --- a/src/Adyen/Model/Checkout/PaymentResponseAction.php +++ b/src/Adyen/Model/Checkout/PaymentResponseAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentReversalRequest.php b/src/Adyen/Model/Checkout/PaymentReversalRequest.php index 484b98273..10e3784f7 100644 --- a/src/Adyen/Model/Checkout/PaymentReversalRequest.php +++ b/src/Adyen/Model/Checkout/PaymentReversalRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentReversalResponse.php b/src/Adyen/Model/Checkout/PaymentReversalResponse.php index 0a2953c0d..739c95bb1 100644 --- a/src/Adyen/Model/Checkout/PaymentReversalResponse.php +++ b/src/Adyen/Model/Checkout/PaymentReversalResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentSetupRequest.php b/src/Adyen/Model/Checkout/PaymentSetupRequest.php index bb6f5edb6..5e6c0651f 100644 --- a/src/Adyen/Model/Checkout/PaymentSetupRequest.php +++ b/src/Adyen/Model/Checkout/PaymentSetupRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentSetupResponse.php b/src/Adyen/Model/Checkout/PaymentSetupResponse.php index 2cae7555a..08c7a7f98 100644 --- a/src/Adyen/Model/Checkout/PaymentSetupResponse.php +++ b/src/Adyen/Model/Checkout/PaymentSetupResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentVerificationRequest.php b/src/Adyen/Model/Checkout/PaymentVerificationRequest.php index 8db20e3f9..cbe96d346 100644 --- a/src/Adyen/Model/Checkout/PaymentVerificationRequest.php +++ b/src/Adyen/Model/Checkout/PaymentVerificationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentVerificationResponse.php b/src/Adyen/Model/Checkout/PaymentVerificationResponse.php index 7a69124b8..a994362ab 100644 --- a/src/Adyen/Model/Checkout/PaymentVerificationResponse.php +++ b/src/Adyen/Model/Checkout/PaymentVerificationResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Phone.php b/src/Adyen/Model/Checkout/Phone.php index 67d26bd86..eeb8d2285 100644 --- a/src/Adyen/Model/Checkout/Phone.php +++ b/src/Adyen/Model/Checkout/Phone.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PlatformChargebackLogic.php b/src/Adyen/Model/Checkout/PlatformChargebackLogic.php index 530eb5a3b..dacd4a0dc 100644 --- a/src/Adyen/Model/Checkout/PlatformChargebackLogic.php +++ b/src/Adyen/Model/Checkout/PlatformChargebackLogic.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/RatepayDetails.php b/src/Adyen/Model/Checkout/RatepayDetails.php index 29055bb4b..3a8b555dc 100644 --- a/src/Adyen/Model/Checkout/RatepayDetails.php +++ b/src/Adyen/Model/Checkout/RatepayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Recurring.php b/src/Adyen/Model/Checkout/Recurring.php index 2a06af608..328a7a9ab 100644 --- a/src/Adyen/Model/Checkout/Recurring.php +++ b/src/Adyen/Model/Checkout/Recurring.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/RecurringDetail.php b/src/Adyen/Model/Checkout/RecurringDetail.php index b70fa2cb1..c0ee39c27 100644 --- a/src/Adyen/Model/Checkout/RecurringDetail.php +++ b/src/Adyen/Model/Checkout/RecurringDetail.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php b/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php index 1b3bbfb9e..de3819532 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php index 7ea9ef74e..c232d9429 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php index 953154f5e..3c48d808b 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php index a17aa34dd..2886cd81e 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataDomesticError.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataDomesticError.php index fbb874a20..da93220ef 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataDomesticError.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataDomesticError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php index 02e20aa68..06e41418e 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php index acf76b612..25d59b246 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php index 40fa6e552..a57145226 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php index 195220692..85229db88 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponsePaymentMethod.php b/src/Adyen/Model/Checkout/ResponsePaymentMethod.php index e0e0787f1..8715daa60 100644 --- a/src/Adyen/Model/Checkout/ResponsePaymentMethod.php +++ b/src/Adyen/Model/Checkout/ResponsePaymentMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/RiskData.php b/src/Adyen/Model/Checkout/RiskData.php index f04428c92..ead5c8043 100644 --- a/src/Adyen/Model/Checkout/RiskData.php +++ b/src/Adyen/Model/Checkout/RiskData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SDKEphemPubKey.php b/src/Adyen/Model/Checkout/SDKEphemPubKey.php index d02c3754d..2057aca7b 100644 --- a/src/Adyen/Model/Checkout/SDKEphemPubKey.php +++ b/src/Adyen/Model/Checkout/SDKEphemPubKey.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SamsungPayDetails.php b/src/Adyen/Model/Checkout/SamsungPayDetails.php index 7e6a0f0e0..cdf52312e 100644 --- a/src/Adyen/Model/Checkout/SamsungPayDetails.php +++ b/src/Adyen/Model/Checkout/SamsungPayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php b/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php index c358ea30a..53c8fd73f 100644 --- a/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php +++ b/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ServiceError.php b/src/Adyen/Model/Checkout/ServiceError.php index 50c56f697..0f3fa0073 100644 --- a/src/Adyen/Model/Checkout/ServiceError.php +++ b/src/Adyen/Model/Checkout/ServiceError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ServiceErrorDetails.php b/src/Adyen/Model/Checkout/ServiceErrorDetails.php index b046de338..abc2a8ae2 100644 --- a/src/Adyen/Model/Checkout/ServiceErrorDetails.php +++ b/src/Adyen/Model/Checkout/ServiceErrorDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SessionResultResponse.php b/src/Adyen/Model/Checkout/SessionResultResponse.php index 8d195dea2..4afaec630 100644 --- a/src/Adyen/Model/Checkout/SessionResultResponse.php +++ b/src/Adyen/Model/Checkout/SessionResultResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ShopperInput.php b/src/Adyen/Model/Checkout/ShopperInput.php index e9a6dffcb..17402b321 100644 --- a/src/Adyen/Model/Checkout/ShopperInput.php +++ b/src/Adyen/Model/Checkout/ShopperInput.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ShopperInteractionDevice.php b/src/Adyen/Model/Checkout/ShopperInteractionDevice.php index 999901d36..bc4286b6d 100644 --- a/src/Adyen/Model/Checkout/ShopperInteractionDevice.php +++ b/src/Adyen/Model/Checkout/ShopperInteractionDevice.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Split.php b/src/Adyen/Model/Checkout/Split.php index 55cb16b5f..6bfdf3111 100644 --- a/src/Adyen/Model/Checkout/Split.php +++ b/src/Adyen/Model/Checkout/Split.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SplitAmount.php b/src/Adyen/Model/Checkout/SplitAmount.php index 614eedfa8..b9ae9ea03 100644 --- a/src/Adyen/Model/Checkout/SplitAmount.php +++ b/src/Adyen/Model/Checkout/SplitAmount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php b/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php index 1041ed8e2..60d65f325 100644 --- a/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php +++ b/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php b/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php index d6f9286ee..5b8b65e76 100644 --- a/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php +++ b/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/StoredDetails.php b/src/Adyen/Model/Checkout/StoredDetails.php index 9ab6ce8d1..ba44eedbb 100644 --- a/src/Adyen/Model/Checkout/StoredDetails.php +++ b/src/Adyen/Model/Checkout/StoredDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethod.php b/src/Adyen/Model/Checkout/StoredPaymentMethod.php index e81aabbca..f7c314443 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethod.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -44,12 +44,15 @@ class StoredPaymentMethod implements ModelInterface, ArrayAccess, \JsonSerializa * @var string[] */ protected static $openAPITypes = [ + 'bankAccountNumber' => 'string', + 'bankLocationId' => 'string', 'brand' => 'string', 'expiryMonth' => 'string', 'expiryYear' => 'string', 'holderName' => 'string', 'iban' => 'string', 'id' => 'string', + 'label' => 'string', 'lastFour' => 'string', 'name' => 'string', 'networkTxReference' => 'string', @@ -68,12 +71,15 @@ class StoredPaymentMethod implements ModelInterface, ArrayAccess, \JsonSerializa * @psalm-var array */ protected static $openAPIFormats = [ + 'bankAccountNumber' => null, + 'bankLocationId' => null, 'brand' => null, 'expiryMonth' => null, 'expiryYear' => null, 'holderName' => null, 'iban' => null, 'id' => null, + 'label' => null, 'lastFour' => null, 'name' => null, 'networkTxReference' => null, @@ -90,12 +96,15 @@ class StoredPaymentMethod implements ModelInterface, ArrayAccess, \JsonSerializa * @var boolean[] */ protected static $openAPINullables = [ + 'bankAccountNumber' => false, + 'bankLocationId' => false, 'brand' => false, 'expiryMonth' => false, 'expiryYear' => false, 'holderName' => false, 'iban' => false, 'id' => false, + 'label' => false, 'lastFour' => false, 'name' => false, 'networkTxReference' => false, @@ -192,12 +201,15 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $attributeMap = [ + 'bankAccountNumber' => 'bankAccountNumber', + 'bankLocationId' => 'bankLocationId', 'brand' => 'brand', 'expiryMonth' => 'expiryMonth', 'expiryYear' => 'expiryYear', 'holderName' => 'holderName', 'iban' => 'iban', 'id' => 'id', + 'label' => 'label', 'lastFour' => 'lastFour', 'name' => 'name', 'networkTxReference' => 'networkTxReference', @@ -214,12 +226,15 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $setters = [ + 'bankAccountNumber' => 'setBankAccountNumber', + 'bankLocationId' => 'setBankLocationId', 'brand' => 'setBrand', 'expiryMonth' => 'setExpiryMonth', 'expiryYear' => 'setExpiryYear', 'holderName' => 'setHolderName', 'iban' => 'setIban', 'id' => 'setId', + 'label' => 'setLabel', 'lastFour' => 'setLastFour', 'name' => 'setName', 'networkTxReference' => 'setNetworkTxReference', @@ -236,12 +251,15 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $getters = [ + 'bankAccountNumber' => 'getBankAccountNumber', + 'bankLocationId' => 'getBankLocationId', 'brand' => 'getBrand', 'expiryMonth' => 'getExpiryMonth', 'expiryYear' => 'getExpiryYear', 'holderName' => 'getHolderName', 'iban' => 'getIban', 'id' => 'getId', + 'label' => 'getLabel', 'lastFour' => 'getLastFour', 'name' => 'getName', 'networkTxReference' => 'getNetworkTxReference', @@ -309,12 +327,15 @@ public function getModelName() */ public function __construct(array $data = null) { + $this->setIfExists('bankAccountNumber', $data ?? [], null); + $this->setIfExists('bankLocationId', $data ?? [], null); $this->setIfExists('brand', $data ?? [], null); $this->setIfExists('expiryMonth', $data ?? [], null); $this->setIfExists('expiryYear', $data ?? [], null); $this->setIfExists('holderName', $data ?? [], null); $this->setIfExists('iban', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); + $this->setIfExists('label', $data ?? [], null); $this->setIfExists('lastFour', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); $this->setIfExists('networkTxReference', $data ?? [], null); @@ -367,6 +388,60 @@ public function valid() } + /** + * Gets bankAccountNumber + * + * @return string|null + */ + public function getBankAccountNumber() + { + return $this->container['bankAccountNumber']; + } + + /** + * Sets bankAccountNumber + * + * @param string|null $bankAccountNumber The bank account number (without separators). + * + * @return self + */ + public function setBankAccountNumber($bankAccountNumber) + { + if (is_null($bankAccountNumber)) { + throw new \InvalidArgumentException('non-nullable bankAccountNumber cannot be null'); + } + $this->container['bankAccountNumber'] = $bankAccountNumber; + + return $this; + } + + /** + * Gets bankLocationId + * + * @return string|null + */ + public function getBankLocationId() + { + return $this->container['bankLocationId']; + } + + /** + * Sets bankLocationId + * + * @param string|null $bankLocationId The location id of the bank. The field value is `nil` in most cases. + * + * @return self + */ + public function setBankLocationId($bankLocationId) + { + if (is_null($bankLocationId)) { + throw new \InvalidArgumentException('non-nullable bankLocationId cannot be null'); + } + $this->container['bankLocationId'] = $bankLocationId; + + return $this; + } + /** * Gets brand * @@ -529,6 +604,33 @@ public function setId($id) return $this; } + /** + * Gets label + * + * @return string|null + */ + public function getLabel() + { + return $this->container['label']; + } + + /** + * Sets label + * + * @param string|null $label The shopper’s issuer account label + * + * @return self + */ + public function setLabel($label) + { + if (is_null($label)) { + throw new \InvalidArgumentException('non-nullable label cannot be null'); + } + $this->container['label'] = $label; + + return $this; + } + /** * Gets lastFour * diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php b/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php index 78fa167e6..e6af578de 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php b/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php index 81b16d608..f3e8776d3 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SubInputDetail.php b/src/Adyen/Model/Checkout/SubInputDetail.php index f8157f0e6..fca20edfc 100644 --- a/src/Adyen/Model/Checkout/SubInputDetail.php +++ b/src/Adyen/Model/Checkout/SubInputDetail.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SubMerchant.php b/src/Adyen/Model/Checkout/SubMerchant.php index 597741329..8c8573dd9 100644 --- a/src/Adyen/Model/Checkout/SubMerchant.php +++ b/src/Adyen/Model/Checkout/SubMerchant.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SubMerchantInfo.php b/src/Adyen/Model/Checkout/SubMerchantInfo.php index b8cd02f02..39388a3f9 100644 --- a/src/Adyen/Model/Checkout/SubMerchantInfo.php +++ b/src/Adyen/Model/Checkout/SubMerchantInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ThreeDS2RequestData.php b/src/Adyen/Model/Checkout/ThreeDS2RequestData.php index ff669ce11..358fe278b 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2RequestData.php +++ b/src/Adyen/Model/Checkout/ThreeDS2RequestData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php b/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php index e86012fd4..9227c8ff7 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php +++ b/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php b/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php index f96bd05b2..3be9cf846 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php +++ b/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ThreeDS2Result.php b/src/Adyen/Model/Checkout/ThreeDS2Result.php index 73605f2f7..16b89965a 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2Result.php +++ b/src/Adyen/Model/Checkout/ThreeDS2Result.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ThreeDSRequestData.php b/src/Adyen/Model/Checkout/ThreeDSRequestData.php index 235a986e1..60218dd46 100644 --- a/src/Adyen/Model/Checkout/ThreeDSRequestData.php +++ b/src/Adyen/Model/Checkout/ThreeDSRequestData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php b/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php index cca5df038..16c5ca5f7 100644 --- a/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php +++ b/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php b/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php index e32addd04..f4542cb1e 100644 --- a/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php +++ b/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ThreeDSecureData.php b/src/Adyen/Model/Checkout/ThreeDSecureData.php index dc727a165..92d359f3a 100644 --- a/src/Adyen/Model/Checkout/ThreeDSecureData.php +++ b/src/Adyen/Model/Checkout/ThreeDSecureData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php b/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php index 1e5b3087b..c964d9637 100644 --- a/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php +++ b/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/UpiCollectDetails.php b/src/Adyen/Model/Checkout/UpiCollectDetails.php index 343cb1dcf..5f048c8d7 100644 --- a/src/Adyen/Model/Checkout/UpiCollectDetails.php +++ b/src/Adyen/Model/Checkout/UpiCollectDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/UpiIntentDetails.php b/src/Adyen/Model/Checkout/UpiIntentDetails.php index 476fd5e01..3c1b198b5 100644 --- a/src/Adyen/Model/Checkout/UpiIntentDetails.php +++ b/src/Adyen/Model/Checkout/UpiIntentDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/UtilityRequest.php b/src/Adyen/Model/Checkout/UtilityRequest.php index 4efba11f8..251892a1c 100644 --- a/src/Adyen/Model/Checkout/UtilityRequest.php +++ b/src/Adyen/Model/Checkout/UtilityRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/UtilityResponse.php b/src/Adyen/Model/Checkout/UtilityResponse.php index b6d6d5bdf..327cdeb14 100644 --- a/src/Adyen/Model/Checkout/UtilityResponse.php +++ b/src/Adyen/Model/Checkout/UtilityResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/VippsDetails.php b/src/Adyen/Model/Checkout/VippsDetails.php index dce8cf45e..cd692465f 100644 --- a/src/Adyen/Model/Checkout/VippsDetails.php +++ b/src/Adyen/Model/Checkout/VippsDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -424,7 +424,7 @@ public function getTelephoneNumber() /** * Sets telephoneNumber * - * @param string $telephoneNumber + * @param string $telephoneNumber * * @return self */ diff --git a/src/Adyen/Model/Checkout/VisaCheckoutDetails.php b/src/Adyen/Model/Checkout/VisaCheckoutDetails.php index 408f48499..098465adf 100644 --- a/src/Adyen/Model/Checkout/VisaCheckoutDetails.php +++ b/src/Adyen/Model/Checkout/VisaCheckoutDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/WeChatPayDetails.php b/src/Adyen/Model/Checkout/WeChatPayDetails.php index a124ec219..7d23fece0 100644 --- a/src/Adyen/Model/Checkout/WeChatPayDetails.php +++ b/src/Adyen/Model/Checkout/WeChatPayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php b/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php index 04e0994ec..1ae26ab9a 100644 --- a/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php +++ b/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ZipDetails.php b/src/Adyen/Model/Checkout/ZipDetails.php index 8b1bb8b39..25bd9c0b4 100644 --- a/src/Adyen/Model/Checkout/ZipDetails.php +++ b/src/Adyen/Model/Checkout/ZipDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/AccountHolder.php b/src/Adyen/Model/ConfigurationWebhooks/AccountHolder.php index 7934b2d1e..8c3906f5b 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/AccountHolder.php +++ b/src/Adyen/Model/ConfigurationWebhooks/AccountHolder.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/AccountHolderCapability.php b/src/Adyen/Model/ConfigurationWebhooks/AccountHolderCapability.php index 78b86ecf1..d9894366a 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/AccountHolderCapability.php +++ b/src/Adyen/Model/ConfigurationWebhooks/AccountHolderCapability.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/AccountHolderNotificationData.php b/src/Adyen/Model/ConfigurationWebhooks/AccountHolderNotificationData.php index 1d1204803..a250dfd5b 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/AccountHolderNotificationData.php +++ b/src/Adyen/Model/ConfigurationWebhooks/AccountHolderNotificationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/AccountHolderNotificationRequest.php b/src/Adyen/Model/ConfigurationWebhooks/AccountHolderNotificationRequest.php index 5b007974b..e79ae279b 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/AccountHolderNotificationRequest.php +++ b/src/Adyen/Model/ConfigurationWebhooks/AccountHolderNotificationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/AccountSupportingEntityCapability.php b/src/Adyen/Model/ConfigurationWebhooks/AccountSupportingEntityCapability.php index 2d02ae5df..ea459e334 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/AccountSupportingEntityCapability.php +++ b/src/Adyen/Model/ConfigurationWebhooks/AccountSupportingEntityCapability.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/Address.php b/src/Adyen/Model/ConfigurationWebhooks/Address.php index d936869a6..787645886 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Address.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Address.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/Amount.php b/src/Adyen/Model/ConfigurationWebhooks/Amount.php index daa12c1cb..4ffa0dd5d 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Amount.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/Authentication.php b/src/Adyen/Model/ConfigurationWebhooks/Authentication.php index 5582a88b1..122458187 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Authentication.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Authentication.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/Balance.php b/src/Adyen/Model/ConfigurationWebhooks/Balance.php index 1855bfb88..e0b3ef81c 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Balance.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Balance.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/BalanceAccount.php b/src/Adyen/Model/ConfigurationWebhooks/BalanceAccount.php index bac903d22..c90037367 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/BalanceAccount.php +++ b/src/Adyen/Model/ConfigurationWebhooks/BalanceAccount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/BalanceAccountNotificationData.php b/src/Adyen/Model/ConfigurationWebhooks/BalanceAccountNotificationData.php index 7dc1eb02c..ec202005b 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/BalanceAccountNotificationData.php +++ b/src/Adyen/Model/ConfigurationWebhooks/BalanceAccountNotificationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/BalanceAccountNotificationRequest.php b/src/Adyen/Model/ConfigurationWebhooks/BalanceAccountNotificationRequest.php index 35ede4461..2f02eca24 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/BalanceAccountNotificationRequest.php +++ b/src/Adyen/Model/ConfigurationWebhooks/BalanceAccountNotificationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/BalancePlatformNotificationResponse.php b/src/Adyen/Model/ConfigurationWebhooks/BalancePlatformNotificationResponse.php index aefaa488b..89b65a0bd 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/BalancePlatformNotificationResponse.php +++ b/src/Adyen/Model/ConfigurationWebhooks/BalancePlatformNotificationResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/BulkAddress.php b/src/Adyen/Model/ConfigurationWebhooks/BulkAddress.php index e6e0f52a2..c56e87742 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/BulkAddress.php +++ b/src/Adyen/Model/ConfigurationWebhooks/BulkAddress.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblem.php b/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblem.php index b9a972492..f71abfb4f 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblem.php +++ b/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblem.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblemEntity.php b/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblemEntity.php index b6499d209..51b831b8e 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblemEntity.php +++ b/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblemEntity.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblemEntityRecursive.php b/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblemEntityRecursive.php index 16d1849bb..2f3d4b3a8 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblemEntityRecursive.php +++ b/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblemEntityRecursive.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/CapabilitySettings.php b/src/Adyen/Model/ConfigurationWebhooks/CapabilitySettings.php index b97ff5fc9..760b44de7 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/CapabilitySettings.php +++ b/src/Adyen/Model/ConfigurationWebhooks/CapabilitySettings.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -358,7 +358,7 @@ public function getAmountPerIndustry() /** * Sets amountPerIndustry * - * @param array|null $amountPerIndustry + * @param array|null $amountPerIndustry * * @return self */ @@ -385,7 +385,7 @@ public function getAuthorizedCardUsers() /** * Sets authorizedCardUsers * - * @param bool|null $authorizedCardUsers + * @param bool|null $authorizedCardUsers * * @return self */ @@ -412,7 +412,7 @@ public function getFundingSource() /** * Sets fundingSource * - * @param string[]|null $fundingSource + * @param string[]|null $fundingSource * * @return self */ @@ -448,7 +448,7 @@ public function getInterval() /** * Sets interval * - * @param string|null $interval + * @param string|null $interval * * @return self */ diff --git a/src/Adyen/Model/ConfigurationWebhooks/Card.php b/src/Adyen/Model/ConfigurationWebhooks/Card.php index a82bb7110..168c5f6d8 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Card.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Card.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/CardConfiguration.php b/src/Adyen/Model/ConfigurationWebhooks/CardConfiguration.php index a051cdcc8..94d3cf388 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/CardConfiguration.php +++ b/src/Adyen/Model/ConfigurationWebhooks/CardConfiguration.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/CardOrderItem.php b/src/Adyen/Model/ConfigurationWebhooks/CardOrderItem.php index 1d432fc03..db3023ca8 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/CardOrderItem.php +++ b/src/Adyen/Model/ConfigurationWebhooks/CardOrderItem.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/CardOrderItemDeliveryStatus.php b/src/Adyen/Model/ConfigurationWebhooks/CardOrderItemDeliveryStatus.php index c1103509e..9d7b80641 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/CardOrderItemDeliveryStatus.php +++ b/src/Adyen/Model/ConfigurationWebhooks/CardOrderItemDeliveryStatus.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/CardOrderNotificationRequest.php b/src/Adyen/Model/ConfigurationWebhooks/CardOrderNotificationRequest.php index f363b8f85..3ccffe510 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/CardOrderNotificationRequest.php +++ b/src/Adyen/Model/ConfigurationWebhooks/CardOrderNotificationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/Contact.php b/src/Adyen/Model/ConfigurationWebhooks/Contact.php index 0c9c5a476..b83261da9 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Contact.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Contact.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/ContactDetails.php b/src/Adyen/Model/ConfigurationWebhooks/ContactDetails.php index dd7381b96..4957ef197 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/ContactDetails.php +++ b/src/Adyen/Model/ConfigurationWebhooks/ContactDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/Expiry.php b/src/Adyen/Model/ConfigurationWebhooks/Expiry.php index e27afa420..f5fd98fc5 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Expiry.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Expiry.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/IbanAccountIdentification.php b/src/Adyen/Model/ConfigurationWebhooks/IbanAccountIdentification.php index 5b6671181..b3f705dd9 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/IbanAccountIdentification.php +++ b/src/Adyen/Model/ConfigurationWebhooks/IbanAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/ModelInterface.php b/src/Adyen/Model/ConfigurationWebhooks/ModelInterface.php index 7aa2d8db3..903c81b07 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/ModelInterface.php +++ b/src/Adyen/Model/ConfigurationWebhooks/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/Name.php b/src/Adyen/Model/ConfigurationWebhooks/Name.php index 18b654310..f225a122c 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Name.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Name.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/ObjectSerializer.php b/src/Adyen/Model/ConfigurationWebhooks/ObjectSerializer.php index 42a2381de..9e8e21d0d 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/ObjectSerializer.php +++ b/src/Adyen/Model/ConfigurationWebhooks/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrument.php b/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrument.php index 0c6520fab..01648d10d 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrument.php +++ b/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrument.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentBankAccount.php b/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentBankAccount.php index a7fe71287..3d8a3dce6 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentBankAccount.php +++ b/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentBankAccount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentNotificationData.php b/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentNotificationData.php index 0cf867f67..9369138ee 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentNotificationData.php +++ b/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentNotificationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentReference.php b/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentReference.php index c9db21465..fcc91b2dc 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentReference.php +++ b/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentReference.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/PaymentNotificationRequest.php b/src/Adyen/Model/ConfigurationWebhooks/PaymentNotificationRequest.php index db2ba16eb..09947cd8f 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/PaymentNotificationRequest.php +++ b/src/Adyen/Model/ConfigurationWebhooks/PaymentNotificationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/PersonalData.php b/src/Adyen/Model/ConfigurationWebhooks/PersonalData.php index 62fa189d1..8f7aa4c38 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/PersonalData.php +++ b/src/Adyen/Model/ConfigurationWebhooks/PersonalData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/Phone.php b/src/Adyen/Model/ConfigurationWebhooks/Phone.php index 970a986f8..efe48cf3a 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Phone.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Phone.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/PhoneNumber.php b/src/Adyen/Model/ConfigurationWebhooks/PhoneNumber.php index 4dd46d823..c2fc00ab9 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/PhoneNumber.php +++ b/src/Adyen/Model/ConfigurationWebhooks/PhoneNumber.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/PlatformPaymentConfiguration.php b/src/Adyen/Model/ConfigurationWebhooks/PlatformPaymentConfiguration.php index af80da79b..1af47ae07 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/PlatformPaymentConfiguration.php +++ b/src/Adyen/Model/ConfigurationWebhooks/PlatformPaymentConfiguration.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/RemediatingAction.php b/src/Adyen/Model/ConfigurationWebhooks/RemediatingAction.php index d1baeb10d..a64f2d9a1 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/RemediatingAction.php +++ b/src/Adyen/Model/ConfigurationWebhooks/RemediatingAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/Resource.php b/src/Adyen/Model/ConfigurationWebhooks/Resource.php index 65e1314df..60bee0855 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Resource.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Resource.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationNotificationData.php b/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationNotificationData.php index 4aa173a5f..662709830 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationNotificationData.php +++ b/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationNotificationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationNotificationRequest.php b/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationNotificationRequest.php index bf7df1474..1c9cab705 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationNotificationRequest.php +++ b/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationNotificationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationV2.php b/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationV2.php index 29af80cc9..33917f8e5 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationV2.php +++ b/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationV2.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/SweepCounterparty.php b/src/Adyen/Model/ConfigurationWebhooks/SweepCounterparty.php index 6538299b0..32e7041b2 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/SweepCounterparty.php +++ b/src/Adyen/Model/ConfigurationWebhooks/SweepCounterparty.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/SweepSchedule.php b/src/Adyen/Model/ConfigurationWebhooks/SweepSchedule.php index d3b3dbaa0..857fb0a7d 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/SweepSchedule.php +++ b/src/Adyen/Model/ConfigurationWebhooks/SweepSchedule.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/USLocalAccountIdentification.php b/src/Adyen/Model/ConfigurationWebhooks/USLocalAccountIdentification.php index a54808c17..231b1246f 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/USLocalAccountIdentification.php +++ b/src/Adyen/Model/ConfigurationWebhooks/USLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/VerificationDeadline.php b/src/Adyen/Model/ConfigurationWebhooks/VerificationDeadline.php index 9aae5e9ca..b5de6ad6c 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/VerificationDeadline.php +++ b/src/Adyen/Model/ConfigurationWebhooks/VerificationDeadline.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/VerificationError.php b/src/Adyen/Model/ConfigurationWebhooks/VerificationError.php index d74b05e0b..d81176b13 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/VerificationError.php +++ b/src/Adyen/Model/ConfigurationWebhooks/VerificationError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ConfigurationWebhooks/VerificationErrorRecursive.php b/src/Adyen/Model/ConfigurationWebhooks/VerificationErrorRecursive.php index 8bd5427f3..b575ee35c 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/VerificationErrorRecursive.php +++ b/src/Adyen/Model/ConfigurationWebhooks/VerificationErrorRecursive.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/DataProtection/ModelInterface.php b/src/Adyen/Model/DataProtection/ModelInterface.php index 5f444796c..585d5a411 100644 --- a/src/Adyen/Model/DataProtection/ModelInterface.php +++ b/src/Adyen/Model/DataProtection/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/DataProtection/ObjectSerializer.php b/src/Adyen/Model/DataProtection/ObjectSerializer.php index 62fa3f0b0..fe8491817 100644 --- a/src/Adyen/Model/DataProtection/ObjectSerializer.php +++ b/src/Adyen/Model/DataProtection/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/DataProtection/ServiceError.php b/src/Adyen/Model/DataProtection/ServiceError.php index d6b6e9e1a..27dd410e6 100644 --- a/src/Adyen/Model/DataProtection/ServiceError.php +++ b/src/Adyen/Model/DataProtection/ServiceError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/DataProtection/SubjectErasureByPspReferenceRequest.php b/src/Adyen/Model/DataProtection/SubjectErasureByPspReferenceRequest.php index 3151ab10c..6d7032426 100644 --- a/src/Adyen/Model/DataProtection/SubjectErasureByPspReferenceRequest.php +++ b/src/Adyen/Model/DataProtection/SubjectErasureByPspReferenceRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/DataProtection/SubjectErasureResponse.php b/src/Adyen/Model/DataProtection/SubjectErasureResponse.php index a89f12b2b..628ef2260 100644 --- a/src/Adyen/Model/DataProtection/SubjectErasureResponse.php +++ b/src/Adyen/Model/DataProtection/SubjectErasureResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Disputes/AcceptDisputeRequest.php b/src/Adyen/Model/Disputes/AcceptDisputeRequest.php index 9fb562274..551e630dd 100644 --- a/src/Adyen/Model/Disputes/AcceptDisputeRequest.php +++ b/src/Adyen/Model/Disputes/AcceptDisputeRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Disputes/AcceptDisputeResponse.php b/src/Adyen/Model/Disputes/AcceptDisputeResponse.php index 7b4048e63..492a140e0 100644 --- a/src/Adyen/Model/Disputes/AcceptDisputeResponse.php +++ b/src/Adyen/Model/Disputes/AcceptDisputeResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Disputes/DefendDisputeRequest.php b/src/Adyen/Model/Disputes/DefendDisputeRequest.php index 9c43e876c..64a255824 100644 --- a/src/Adyen/Model/Disputes/DefendDisputeRequest.php +++ b/src/Adyen/Model/Disputes/DefendDisputeRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Disputes/DefendDisputeResponse.php b/src/Adyen/Model/Disputes/DefendDisputeResponse.php index 7869580b8..76e43fc2f 100644 --- a/src/Adyen/Model/Disputes/DefendDisputeResponse.php +++ b/src/Adyen/Model/Disputes/DefendDisputeResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Disputes/DefenseDocument.php b/src/Adyen/Model/Disputes/DefenseDocument.php index 058738fbf..9a148627d 100644 --- a/src/Adyen/Model/Disputes/DefenseDocument.php +++ b/src/Adyen/Model/Disputes/DefenseDocument.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Disputes/DefenseDocumentType.php b/src/Adyen/Model/Disputes/DefenseDocumentType.php index 310d94609..bc4814653 100644 --- a/src/Adyen/Model/Disputes/DefenseDocumentType.php +++ b/src/Adyen/Model/Disputes/DefenseDocumentType.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Disputes/DefenseReason.php b/src/Adyen/Model/Disputes/DefenseReason.php index 7c84f7921..50788717b 100644 --- a/src/Adyen/Model/Disputes/DefenseReason.php +++ b/src/Adyen/Model/Disputes/DefenseReason.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Disputes/DefenseReasonsRequest.php b/src/Adyen/Model/Disputes/DefenseReasonsRequest.php index f6d7373ee..9d4d2e258 100644 --- a/src/Adyen/Model/Disputes/DefenseReasonsRequest.php +++ b/src/Adyen/Model/Disputes/DefenseReasonsRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Disputes/DefenseReasonsResponse.php b/src/Adyen/Model/Disputes/DefenseReasonsResponse.php index 351ebc2a5..d645f0456 100644 --- a/src/Adyen/Model/Disputes/DefenseReasonsResponse.php +++ b/src/Adyen/Model/Disputes/DefenseReasonsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Disputes/DeleteDefenseDocumentRequest.php b/src/Adyen/Model/Disputes/DeleteDefenseDocumentRequest.php index 1dabe693d..c8d6464da 100644 --- a/src/Adyen/Model/Disputes/DeleteDefenseDocumentRequest.php +++ b/src/Adyen/Model/Disputes/DeleteDefenseDocumentRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Disputes/DeleteDefenseDocumentResponse.php b/src/Adyen/Model/Disputes/DeleteDefenseDocumentResponse.php index 4751dd5d1..fb087b0aa 100644 --- a/src/Adyen/Model/Disputes/DeleteDefenseDocumentResponse.php +++ b/src/Adyen/Model/Disputes/DeleteDefenseDocumentResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Disputes/DisputeServiceResult.php b/src/Adyen/Model/Disputes/DisputeServiceResult.php index 311c22394..3989ff076 100644 --- a/src/Adyen/Model/Disputes/DisputeServiceResult.php +++ b/src/Adyen/Model/Disputes/DisputeServiceResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Disputes/ModelInterface.php b/src/Adyen/Model/Disputes/ModelInterface.php index ad34e3398..f9a6c4ee4 100644 --- a/src/Adyen/Model/Disputes/ModelInterface.php +++ b/src/Adyen/Model/Disputes/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Disputes/ObjectSerializer.php b/src/Adyen/Model/Disputes/ObjectSerializer.php index 37fa3851b..d363f9e2a 100644 --- a/src/Adyen/Model/Disputes/ObjectSerializer.php +++ b/src/Adyen/Model/Disputes/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/Disputes/ServiceError.php b/src/Adyen/Model/Disputes/ServiceError.php index 7a49c53ec..811062597 100644 --- a/src/Adyen/Model/Disputes/ServiceError.php +++ b/src/Adyen/Model/Disputes/ServiceError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Disputes/SupplyDefenseDocumentRequest.php b/src/Adyen/Model/Disputes/SupplyDefenseDocumentRequest.php index ade9755f8..79a9bc138 100644 --- a/src/Adyen/Model/Disputes/SupplyDefenseDocumentRequest.php +++ b/src/Adyen/Model/Disputes/SupplyDefenseDocumentRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Disputes/SupplyDefenseDocumentResponse.php b/src/Adyen/Model/Disputes/SupplyDefenseDocumentResponse.php index 952baad7e..e31e97dfc 100644 --- a/src/Adyen/Model/Disputes/SupplyDefenseDocumentResponse.php +++ b/src/Adyen/Model/Disputes/SupplyDefenseDocumentResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/AULocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/AULocalAccountIdentification.php index bc5d3107b..5fef23b76 100644 --- a/src/Adyen/Model/LegalEntityManagement/AULocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/AULocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.php b/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.php index 0c27341fe..94a7ec489 100644 --- a/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.php +++ b/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceResponse.php b/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceResponse.php index 94f105aaf..080605537 100644 --- a/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/AdditionalBankIdentification.php b/src/Adyen/Model/LegalEntityManagement/AdditionalBankIdentification.php index e3e4d3bb4..676c8a433 100644 --- a/src/Adyen/Model/LegalEntityManagement/AdditionalBankIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/AdditionalBankIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/Address.php b/src/Adyen/Model/LegalEntityManagement/Address.php index f08cb68ee..d4cefb518 100644 --- a/src/Adyen/Model/LegalEntityManagement/Address.php +++ b/src/Adyen/Model/LegalEntityManagement/Address.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/Amount.php b/src/Adyen/Model/LegalEntityManagement/Amount.php index 23faf9e1f..b071d39a5 100644 --- a/src/Adyen/Model/LegalEntityManagement/Amount.php +++ b/src/Adyen/Model/LegalEntityManagement/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/Attachment.php b/src/Adyen/Model/LegalEntityManagement/Attachment.php index b2d763bee..02bec2207 100644 --- a/src/Adyen/Model/LegalEntityManagement/Attachment.php +++ b/src/Adyen/Model/LegalEntityManagement/Attachment.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/BankAccountInfo.php b/src/Adyen/Model/LegalEntityManagement/BankAccountInfo.php index 571557ec0..2333f2037 100644 --- a/src/Adyen/Model/LegalEntityManagement/BankAccountInfo.php +++ b/src/Adyen/Model/LegalEntityManagement/BankAccountInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -44,7 +44,7 @@ class BankAccountInfo implements ModelInterface, ArrayAccess, \JsonSerializable * @var string[] */ protected static $openAPITypes = [ - 'accountIdentification' => '\Adyen\Model\LegalEntityManagement\BankAccount', + 'accountIdentification' => '\Adyen\Model\LegalEntityManagement\BankAccountInfoAccountIdentification', 'accountType' => 'string', 'bankName' => 'string', 'countryCode' => 'string', @@ -307,7 +307,7 @@ public function valid() /** * Gets accountIdentification * - * @return \Adyen\Model\LegalEntityManagement\BankAccount|null + * @return \Adyen\Model\LegalEntityManagement\BankAccountInfoAccountIdentification|null */ public function getAccountIdentification() { @@ -317,7 +317,7 @@ public function getAccountIdentification() /** * Sets accountIdentification * - * @param \Adyen\Model\LegalEntityManagement\BankAccount|null $accountIdentification accountIdentification + * @param \Adyen\Model\LegalEntityManagement\BankAccountInfoAccountIdentification|null $accountIdentification accountIdentification * * @return self */ diff --git a/src/Adyen/Model/LegalEntityManagement/BankAccountInfoAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/BankAccountInfoAccountIdentification.php new file mode 100644 index 000000000..bf43d76e3 --- /dev/null +++ b/src/Adyen/Model/LegalEntityManagement/BankAccountInfoAccountIdentification.php @@ -0,0 +1,864 @@ + + */ +class BankAccountInfoAccountIdentification implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'BankAccountInfo_accountIdentification'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'accountNumber' => 'string', + 'bsbCode' => 'string', + 'type' => 'string', + 'accountType' => 'string', + 'institutionNumber' => 'string', + 'transitNumber' => 'string', + 'bankCode' => 'string', + 'clearingCode' => 'string', + 'iban' => 'string', + 'additionalBankIdentification' => '\Adyen\Model\LegalEntityManagement\AdditionalBankIdentification', + 'bic' => 'string', + 'clearingNumber' => 'string', + 'sortCode' => 'string', + 'routingNumber' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'accountNumber' => null, + 'bsbCode' => null, + 'type' => null, + 'accountType' => null, + 'institutionNumber' => null, + 'transitNumber' => null, + 'bankCode' => null, + 'clearingCode' => null, + 'iban' => null, + 'additionalBankIdentification' => null, + 'bic' => null, + 'clearingNumber' => null, + 'sortCode' => null, + 'routingNumber' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static $openAPINullables = [ + 'accountNumber' => false, + 'bsbCode' => false, + 'type' => false, + 'accountType' => false, + 'institutionNumber' => false, + 'transitNumber' => false, + 'bankCode' => false, + 'clearingCode' => false, + 'iban' => false, + 'additionalBankIdentification' => false, + 'bic' => false, + 'clearingNumber' => false, + 'sortCode' => false, + 'routingNumber' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'accountNumber' => 'accountNumber', + 'bsbCode' => 'bsbCode', + 'type' => 'type', + 'accountType' => 'accountType', + 'institutionNumber' => 'institutionNumber', + 'transitNumber' => 'transitNumber', + 'bankCode' => 'bankCode', + 'clearingCode' => 'clearingCode', + 'iban' => 'iban', + 'additionalBankIdentification' => 'additionalBankIdentification', + 'bic' => 'bic', + 'clearingNumber' => 'clearingNumber', + 'sortCode' => 'sortCode', + 'routingNumber' => 'routingNumber' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'accountNumber' => 'setAccountNumber', + 'bsbCode' => 'setBsbCode', + 'type' => 'setType', + 'accountType' => 'setAccountType', + 'institutionNumber' => 'setInstitutionNumber', + 'transitNumber' => 'setTransitNumber', + 'bankCode' => 'setBankCode', + 'clearingCode' => 'setClearingCode', + 'iban' => 'setIban', + 'additionalBankIdentification' => 'setAdditionalBankIdentification', + 'bic' => 'setBic', + 'clearingNumber' => 'setClearingNumber', + 'sortCode' => 'setSortCode', + 'routingNumber' => 'setRoutingNumber' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'accountNumber' => 'getAccountNumber', + 'bsbCode' => 'getBsbCode', + 'type' => 'getType', + 'accountType' => 'getAccountType', + 'institutionNumber' => 'getInstitutionNumber', + 'transitNumber' => 'getTransitNumber', + 'bankCode' => 'getBankCode', + 'clearingCode' => 'getClearingCode', + 'iban' => 'getIban', + 'additionalBankIdentification' => 'getAdditionalBankIdentification', + 'bic' => 'getBic', + 'clearingNumber' => 'getClearingNumber', + 'sortCode' => 'getSortCode', + 'routingNumber' => 'getRoutingNumber' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->setIfExists('accountNumber', $data ?? [], null); + $this->setIfExists('bsbCode', $data ?? [], null); + $this->setIfExists('type', $data ?? [], 'usLocal'); + $this->setIfExists('accountType', $data ?? [], 'checking'); + $this->setIfExists('institutionNumber', $data ?? [], null); + $this->setIfExists('transitNumber', $data ?? [], null); + $this->setIfExists('bankCode', $data ?? [], null); + $this->setIfExists('clearingCode', $data ?? [], null); + $this->setIfExists('iban', $data ?? [], null); + $this->setIfExists('additionalBankIdentification', $data ?? [], null); + $this->setIfExists('bic', $data ?? [], null); + $this->setIfExists('clearingNumber', $data ?? [], null); + $this->setIfExists('sortCode', $data ?? [], null); + $this->setIfExists('routingNumber', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['accountNumber'] === null) { + $invalidProperties[] = "'accountNumber' can't be null"; + } + if ($this->container['bsbCode'] === null) { + $invalidProperties[] = "'bsbCode' can't be null"; + } + if ($this->container['type'] === null) { + $invalidProperties[] = "'type' can't be null"; + } + + + if ($this->container['institutionNumber'] === null) { + $invalidProperties[] = "'institutionNumber' can't be null"; + } + if ($this->container['transitNumber'] === null) { + $invalidProperties[] = "'transitNumber' can't be null"; + } + if ($this->container['bankCode'] === null) { + $invalidProperties[] = "'bankCode' can't be null"; + } + if ($this->container['clearingCode'] === null) { + $invalidProperties[] = "'clearingCode' can't be null"; + } + if ($this->container['iban'] === null) { + $invalidProperties[] = "'iban' can't be null"; + } + if ($this->container['bic'] === null) { + $invalidProperties[] = "'bic' can't be null"; + } + if ($this->container['clearingNumber'] === null) { + $invalidProperties[] = "'clearingNumber' can't be null"; + } + if ($this->container['sortCode'] === null) { + $invalidProperties[] = "'sortCode' can't be null"; + } + if ($this->container['routingNumber'] === null) { + $invalidProperties[] = "'routingNumber' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets accountNumber + * + * @return string + */ + public function getAccountNumber() + { + return $this->container['accountNumber']; + } + + /** + * Sets accountNumber + * + * @param string $accountNumber The bank account number, without separators or whitespace. + * + * @return self + */ + public function setAccountNumber($accountNumber) + { + if (is_null($accountNumber)) { + throw new \InvalidArgumentException('non-nullable accountNumber cannot be null'); + } + $this->container['accountNumber'] = $accountNumber; + + return $this; + } + + /** + * Gets bsbCode + * + * @return string + */ + public function getBsbCode() + { + return $this->container['bsbCode']; + } + + /** + * Sets bsbCode + * + * @param string $bsbCode The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. + * + * @return self + */ + public function setBsbCode($bsbCode) + { + if (is_null($bsbCode)) { + throw new \InvalidArgumentException('non-nullable bsbCode cannot be null'); + } + $this->container['bsbCode'] = $bsbCode; + + return $this; + } + + /** + * Gets type + * + * @return string + */ + public function getType() + { + return $this->container['type']; + } + + /** + * Sets type + * + * @param string $type **usLocal** + * + * @return self + */ + public function setType($type) + { + if (is_null($type)) { + throw new \InvalidArgumentException('non-nullable type cannot be null'); + } + $this->container['type'] = $type; + + return $this; + } + + /** + * Gets accountType + * + * @return string|null + */ + public function getAccountType() + { + return $this->container['accountType']; + } + + /** + * Sets accountType + * + * @param string|null $accountType The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. + * + * @return self + */ + public function setAccountType($accountType) + { + if (is_null($accountType)) { + throw new \InvalidArgumentException('non-nullable accountType cannot be null'); + } + $this->container['accountType'] = $accountType; + + return $this; + } + + /** + * Gets institutionNumber + * + * @return string + */ + public function getInstitutionNumber() + { + return $this->container['institutionNumber']; + } + + /** + * Sets institutionNumber + * + * @param string $institutionNumber The 3-digit institution number, without separators or whitespace. + * + * @return self + */ + public function setInstitutionNumber($institutionNumber) + { + if (is_null($institutionNumber)) { + throw new \InvalidArgumentException('non-nullable institutionNumber cannot be null'); + } + $this->container['institutionNumber'] = $institutionNumber; + + return $this; + } + + /** + * Gets transitNumber + * + * @return string + */ + public function getTransitNumber() + { + return $this->container['transitNumber']; + } + + /** + * Sets transitNumber + * + * @param string $transitNumber The 5-digit transit number, without separators or whitespace. + * + * @return self + */ + public function setTransitNumber($transitNumber) + { + if (is_null($transitNumber)) { + throw new \InvalidArgumentException('non-nullable transitNumber cannot be null'); + } + $this->container['transitNumber'] = $transitNumber; + + return $this; + } + + /** + * Gets bankCode + * + * @return string + */ + public function getBankCode() + { + return $this->container['bankCode']; + } + + /** + * Sets bankCode + * + * @param string $bankCode The 4-digit bank code (Registreringsnummer) (without separators or whitespace). + * + * @return self + */ + public function setBankCode($bankCode) + { + if (is_null($bankCode)) { + throw new \InvalidArgumentException('non-nullable bankCode cannot be null'); + } + $this->container['bankCode'] = $bankCode; + + return $this; + } + + /** + * Gets clearingCode + * + * @return string + */ + public function getClearingCode() + { + return $this->container['clearingCode']; + } + + /** + * Sets clearingCode + * + * @param string $clearingCode The 3-digit clearing code, without separators or whitespace. + * + * @return self + */ + public function setClearingCode($clearingCode) + { + if (is_null($clearingCode)) { + throw new \InvalidArgumentException('non-nullable clearingCode cannot be null'); + } + $this->container['clearingCode'] = $clearingCode; + + return $this; + } + + /** + * Gets iban + * + * @return string + */ + public function getIban() + { + return $this->container['iban']; + } + + /** + * Sets iban + * + * @param string $iban The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. + * + * @return self + */ + public function setIban($iban) + { + if (is_null($iban)) { + throw new \InvalidArgumentException('non-nullable iban cannot be null'); + } + $this->container['iban'] = $iban; + + return $this; + } + + /** + * Gets additionalBankIdentification + * + * @return \Adyen\Model\LegalEntityManagement\AdditionalBankIdentification|null + */ + public function getAdditionalBankIdentification() + { + return $this->container['additionalBankIdentification']; + } + + /** + * Sets additionalBankIdentification + * + * @param \Adyen\Model\LegalEntityManagement\AdditionalBankIdentification|null $additionalBankIdentification additionalBankIdentification + * + * @return self + */ + public function setAdditionalBankIdentification($additionalBankIdentification) + { + if (is_null($additionalBankIdentification)) { + throw new \InvalidArgumentException('non-nullable additionalBankIdentification cannot be null'); + } + $this->container['additionalBankIdentification'] = $additionalBankIdentification; + + return $this; + } + + /** + * Gets bic + * + * @return string + */ + public function getBic() + { + return $this->container['bic']; + } + + /** + * Sets bic + * + * @param string $bic The bank's 8- or 11-character BIC or SWIFT code. + * + * @return self + */ + public function setBic($bic) + { + if (is_null($bic)) { + throw new \InvalidArgumentException('non-nullable bic cannot be null'); + } + $this->container['bic'] = $bic; + + return $this; + } + + /** + * Gets clearingNumber + * + * @return string + */ + public function getClearingNumber() + { + return $this->container['clearingNumber']; + } + + /** + * Sets clearingNumber + * + * @param string $clearingNumber The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace. + * + * @return self + */ + public function setClearingNumber($clearingNumber) + { + if (is_null($clearingNumber)) { + throw new \InvalidArgumentException('non-nullable clearingNumber cannot be null'); + } + $this->container['clearingNumber'] = $clearingNumber; + + return $this; + } + + /** + * Gets sortCode + * + * @return string + */ + public function getSortCode() + { + return $this->container['sortCode']; + } + + /** + * Sets sortCode + * + * @param string $sortCode The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace. + * + * @return self + */ + public function setSortCode($sortCode) + { + if (is_null($sortCode)) { + throw new \InvalidArgumentException('non-nullable sortCode cannot be null'); + } + $this->container['sortCode'] = $sortCode; + + return $this; + } + + /** + * Gets routingNumber + * + * @return string + */ + public function getRoutingNumber() + { + return $this->container['routingNumber']; + } + + /** + * Sets routingNumber + * + * @param string $routingNumber The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace. + * + * @return self + */ + public function setRoutingNumber($routingNumber) + { + if (is_null($routingNumber)) { + throw new \InvalidArgumentException('non-nullable routingNumber cannot be null'); + } + $this->container['routingNumber'] = $routingNumber; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } +} diff --git a/src/Adyen/Model/LegalEntityManagement/BirthData.php b/src/Adyen/Model/LegalEntityManagement/BirthData.php index 876d681c2..6adbfe991 100644 --- a/src/Adyen/Model/LegalEntityManagement/BirthData.php +++ b/src/Adyen/Model/LegalEntityManagement/BirthData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/BusinessLine.php b/src/Adyen/Model/LegalEntityManagement/BusinessLine.php index b48c4c4dd..bd1b31125 100644 --- a/src/Adyen/Model/LegalEntityManagement/BusinessLine.php +++ b/src/Adyen/Model/LegalEntityManagement/BusinessLine.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -273,7 +273,6 @@ public function getModelName() public const CAPABILITY_RECEIVE_FROM_PLATFORM_PAYMENTS = 'receiveFromPlatformPayments'; public const CAPABILITY_ISSUE_BANK_ACCOUNT = 'issueBankAccount'; public const SERVICE_PAYMENT_PROCESSING = 'paymentProcessing'; - public const SERVICE_ISSUING = 'issuing'; public const SERVICE_BANKING = 'banking'; /** @@ -298,7 +297,6 @@ public function getServiceAllowableValues() { return [ self::SERVICE_PAYMENT_PROCESSING, - self::SERVICE_ISSUING, self::SERVICE_BANKING, ]; } @@ -588,7 +586,7 @@ public function getService() /** * Sets service * - * @param string $service The service for which you are creating the business line. Possible values: **paymentProcessing**, **issuing**, **banking** + * @param string $service The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking** * * @return self */ diff --git a/src/Adyen/Model/LegalEntityManagement/BusinessLineInfo.php b/src/Adyen/Model/LegalEntityManagement/BusinessLineInfo.php index e1fef84c8..f1deee5ff 100644 --- a/src/Adyen/Model/LegalEntityManagement/BusinessLineInfo.php +++ b/src/Adyen/Model/LegalEntityManagement/BusinessLineInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -261,7 +261,6 @@ public function getModelName() public const CAPABILITY_RECEIVE_FROM_PLATFORM_PAYMENTS = 'receiveFromPlatformPayments'; public const CAPABILITY_ISSUE_BANK_ACCOUNT = 'issueBankAccount'; public const SERVICE_PAYMENT_PROCESSING = 'paymentProcessing'; - public const SERVICE_ISSUING = 'issuing'; public const SERVICE_BANKING = 'banking'; /** @@ -286,7 +285,6 @@ public function getServiceAllowableValues() { return [ self::SERVICE_PAYMENT_PROCESSING, - self::SERVICE_ISSUING, self::SERVICE_BANKING, ]; } @@ -517,7 +515,7 @@ public function getService() /** * Sets service * - * @param string $service The service for which you are creating the business line. Possible values: **paymentProcessing**, **issuing**, **banking** + * @param string $service The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking** * * @return self */ diff --git a/src/Adyen/Model/LegalEntityManagement/BusinessLineInfoUpdate.php b/src/Adyen/Model/LegalEntityManagement/BusinessLineInfoUpdate.php index 97c615c03..29bcef54d 100644 --- a/src/Adyen/Model/LegalEntityManagement/BusinessLineInfoUpdate.php +++ b/src/Adyen/Model/LegalEntityManagement/BusinessLineInfoUpdate.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -261,7 +261,6 @@ public function getModelName() public const CAPABILITY_RECEIVE_FROM_PLATFORM_PAYMENTS = 'receiveFromPlatformPayments'; public const CAPABILITY_ISSUE_BANK_ACCOUNT = 'issueBankAccount'; public const SERVICE_PAYMENT_PROCESSING = 'paymentProcessing'; - public const SERVICE_ISSUING = 'issuing'; public const SERVICE_BANKING = 'banking'; /** @@ -286,7 +285,6 @@ public function getServiceAllowableValues() { return [ self::SERVICE_PAYMENT_PROCESSING, - self::SERVICE_ISSUING, self::SERVICE_BANKING, ]; } @@ -508,7 +506,7 @@ public function getService() /** * Sets service * - * @param string|null $service The service for which you are creating the business line. Possible values: **paymentProcessing**, **issuing**, **banking** + * @param string|null $service The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking** * * @return self */ diff --git a/src/Adyen/Model/LegalEntityManagement/BusinessLines.php b/src/Adyen/Model/LegalEntityManagement/BusinessLines.php index 2a9fe05c4..d45f532d7 100644 --- a/src/Adyen/Model/LegalEntityManagement/BusinessLines.php +++ b/src/Adyen/Model/LegalEntityManagement/BusinessLines.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/CALocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/CALocalAccountIdentification.php index 6b06d1b7b..47e87773d 100644 --- a/src/Adyen/Model/LegalEntityManagement/CALocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/CALocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/CZLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/CZLocalAccountIdentification.php index 71ff8217d..c2a258ae5 100644 --- a/src/Adyen/Model/LegalEntityManagement/CZLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/CZLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/CalculateTermsOfServiceStatusResponse.php b/src/Adyen/Model/LegalEntityManagement/CalculateTermsOfServiceStatusResponse.php index 29fe6bdf3..0c10246a1 100644 --- a/src/Adyen/Model/LegalEntityManagement/CalculateTermsOfServiceStatusResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/CalculateTermsOfServiceStatusResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/CapabilityProblem.php b/src/Adyen/Model/LegalEntityManagement/CapabilityProblem.php index 573de8b36..d2a681c1c 100644 --- a/src/Adyen/Model/LegalEntityManagement/CapabilityProblem.php +++ b/src/Adyen/Model/LegalEntityManagement/CapabilityProblem.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/CapabilityProblemEntity.php b/src/Adyen/Model/LegalEntityManagement/CapabilityProblemEntity.php index ae97db0fd..b3c3d08c2 100644 --- a/src/Adyen/Model/LegalEntityManagement/CapabilityProblemEntity.php +++ b/src/Adyen/Model/LegalEntityManagement/CapabilityProblemEntity.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/CapabilityProblemEntityRecursive.php b/src/Adyen/Model/LegalEntityManagement/CapabilityProblemEntityRecursive.php index f8ddbbc68..82a4924b4 100644 --- a/src/Adyen/Model/LegalEntityManagement/CapabilityProblemEntityRecursive.php +++ b/src/Adyen/Model/LegalEntityManagement/CapabilityProblemEntityRecursive.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/CapabilitySettings.php b/src/Adyen/Model/LegalEntityManagement/CapabilitySettings.php index fa68a01b3..bf867e805 100644 --- a/src/Adyen/Model/LegalEntityManagement/CapabilitySettings.php +++ b/src/Adyen/Model/LegalEntityManagement/CapabilitySettings.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/DKLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/DKLocalAccountIdentification.php index 60cb9a7cd..a0f4f18a9 100644 --- a/src/Adyen/Model/LegalEntityManagement/DKLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/DKLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/DataReviewConfirmationResponse.php b/src/Adyen/Model/LegalEntityManagement/DataReviewConfirmationResponse.php new file mode 100644 index 000000000..a3190a287 --- /dev/null +++ b/src/Adyen/Model/LegalEntityManagement/DataReviewConfirmationResponse.php @@ -0,0 +1,384 @@ + + */ +class DataReviewConfirmationResponse implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'DataReviewConfirmationResponse'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'dataReviewedAt' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'dataReviewedAt' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static $openAPINullables = [ + 'dataReviewedAt' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'dataReviewedAt' => 'dataReviewedAt' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'dataReviewedAt' => 'setDataReviewedAt' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'dataReviewedAt' => 'getDataReviewedAt' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->setIfExists('dataReviewedAt', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets dataReviewedAt + * + * @return string|null + */ + public function getDataReviewedAt() + { + return $this->container['dataReviewedAt']; + } + + /** + * Sets dataReviewedAt + * + * @param string|null $dataReviewedAt Date when data review was confirmed. + * + * @return self + */ + public function setDataReviewedAt($dataReviewedAt) + { + if (is_null($dataReviewedAt)) { + throw new \InvalidArgumentException('non-nullable dataReviewedAt cannot be null'); + } + $this->container['dataReviewedAt'] = $dataReviewedAt; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } +} diff --git a/src/Adyen/Model/LegalEntityManagement/Document.php b/src/Adyen/Model/LegalEntityManagement/Document.php index 68d4de712..e2e5ec13c 100644 --- a/src/Adyen/Model/LegalEntityManagement/Document.php +++ b/src/Adyen/Model/LegalEntityManagement/Document.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/DocumentPage.php b/src/Adyen/Model/LegalEntityManagement/DocumentPage.php index bffbfc865..8c95e946f 100644 --- a/src/Adyen/Model/LegalEntityManagement/DocumentPage.php +++ b/src/Adyen/Model/LegalEntityManagement/DocumentPage.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/DocumentReference.php b/src/Adyen/Model/LegalEntityManagement/DocumentReference.php index 5a71d1d70..d24052b90 100644 --- a/src/Adyen/Model/LegalEntityManagement/DocumentReference.php +++ b/src/Adyen/Model/LegalEntityManagement/DocumentReference.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/EntityReference.php b/src/Adyen/Model/LegalEntityManagement/EntityReference.php index 64b04544a..50012c626 100644 --- a/src/Adyen/Model/LegalEntityManagement/EntityReference.php +++ b/src/Adyen/Model/LegalEntityManagement/EntityReference.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/GeneratePciDescriptionRequest.php b/src/Adyen/Model/LegalEntityManagement/GeneratePciDescriptionRequest.php index 8312bd6c0..310815ec2 100644 --- a/src/Adyen/Model/LegalEntityManagement/GeneratePciDescriptionRequest.php +++ b/src/Adyen/Model/LegalEntityManagement/GeneratePciDescriptionRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/GeneratePciDescriptionResponse.php b/src/Adyen/Model/LegalEntityManagement/GeneratePciDescriptionResponse.php index 0be96043a..9bda141f6 100644 --- a/src/Adyen/Model/LegalEntityManagement/GeneratePciDescriptionResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/GeneratePciDescriptionResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/GetPciQuestionnaireInfosResponse.php b/src/Adyen/Model/LegalEntityManagement/GetPciQuestionnaireInfosResponse.php index 195331e8e..3b04bf07f 100644 --- a/src/Adyen/Model/LegalEntityManagement/GetPciQuestionnaireInfosResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/GetPciQuestionnaireInfosResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/GetPciQuestionnaireResponse.php b/src/Adyen/Model/LegalEntityManagement/GetPciQuestionnaireResponse.php index bfd974f30..a978ccb83 100644 --- a/src/Adyen/Model/LegalEntityManagement/GetPciQuestionnaireResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/GetPciQuestionnaireResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceAcceptanceInfosResponse.php b/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceAcceptanceInfosResponse.php index ff96f614a..3fba7582d 100644 --- a/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceAcceptanceInfosResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceAcceptanceInfosResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.php b/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.php index e9900e12e..6056932dd 100644 --- a/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.php +++ b/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentResponse.php b/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentResponse.php index d7093db76..280f3b304 100644 --- a/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/HKLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/HKLocalAccountIdentification.php index d668b0830..f8495e9f4 100644 --- a/src/Adyen/Model/LegalEntityManagement/HKLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/HKLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/HULocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/HULocalAccountIdentification.php index 22a383d7d..f73557bd0 100644 --- a/src/Adyen/Model/LegalEntityManagement/HULocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/HULocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/IbanAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/IbanAccountIdentification.php index 269379def..e587937e1 100644 --- a/src/Adyen/Model/LegalEntityManagement/IbanAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/IbanAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/IdentificationData.php b/src/Adyen/Model/LegalEntityManagement/IdentificationData.php index a236975f3..bab2a7281 100644 --- a/src/Adyen/Model/LegalEntityManagement/IdentificationData.php +++ b/src/Adyen/Model/LegalEntityManagement/IdentificationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/Individual.php b/src/Adyen/Model/LegalEntityManagement/Individual.php index bab28a4fe..8feba1db5 100644 --- a/src/Adyen/Model/LegalEntityManagement/Individual.php +++ b/src/Adyen/Model/LegalEntityManagement/Individual.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/LegalEntity.php b/src/Adyen/Model/LegalEntityManagement/LegalEntity.php index 910c517b6..5f14de3fa 100644 --- a/src/Adyen/Model/LegalEntityManagement/LegalEntity.php +++ b/src/Adyen/Model/LegalEntityManagement/LegalEntity.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/LegalEntityAssociation.php b/src/Adyen/Model/LegalEntityManagement/LegalEntityAssociation.php index 1c9031d18..35992e935 100644 --- a/src/Adyen/Model/LegalEntityManagement/LegalEntityAssociation.php +++ b/src/Adyen/Model/LegalEntityManagement/LegalEntityAssociation.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/LegalEntityCapability.php b/src/Adyen/Model/LegalEntityManagement/LegalEntityCapability.php index 7eec424fd..7ba6346ba 100644 --- a/src/Adyen/Model/LegalEntityManagement/LegalEntityCapability.php +++ b/src/Adyen/Model/LegalEntityManagement/LegalEntityCapability.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/LegalEntityInfo.php b/src/Adyen/Model/LegalEntityManagement/LegalEntityInfo.php index 53a1ab342..d99404afb 100644 --- a/src/Adyen/Model/LegalEntityManagement/LegalEntityInfo.php +++ b/src/Adyen/Model/LegalEntityManagement/LegalEntityInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/LegalEntityInfoRequiredType.php b/src/Adyen/Model/LegalEntityManagement/LegalEntityInfoRequiredType.php index 88bb7e77d..004f6d7ef 100644 --- a/src/Adyen/Model/LegalEntityManagement/LegalEntityInfoRequiredType.php +++ b/src/Adyen/Model/LegalEntityManagement/LegalEntityInfoRequiredType.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/ModelInterface.php b/src/Adyen/Model/LegalEntityManagement/ModelInterface.php index f9a3ba95b..452a98309 100644 --- a/src/Adyen/Model/LegalEntityManagement/ModelInterface.php +++ b/src/Adyen/Model/LegalEntityManagement/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/NOLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/NOLocalAccountIdentification.php index 0ab854013..a75f052a7 100644 --- a/src/Adyen/Model/LegalEntityManagement/NOLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/NOLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/NZLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/NZLocalAccountIdentification.php index 337ee1585..4753cd0dd 100644 --- a/src/Adyen/Model/LegalEntityManagement/NZLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/NZLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/Name.php b/src/Adyen/Model/LegalEntityManagement/Name.php index 8f6922a2d..c0a3bc849 100644 --- a/src/Adyen/Model/LegalEntityManagement/Name.php +++ b/src/Adyen/Model/LegalEntityManagement/Name.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/NumberAndBicAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/NumberAndBicAccountIdentification.php index 2c43aafba..ce9519143 100644 --- a/src/Adyen/Model/LegalEntityManagement/NumberAndBicAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/NumberAndBicAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/ObjectSerializer.php b/src/Adyen/Model/LegalEntityManagement/ObjectSerializer.php index ec2b7909f..66642b915 100644 --- a/src/Adyen/Model/LegalEntityManagement/ObjectSerializer.php +++ b/src/Adyen/Model/LegalEntityManagement/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/LegalEntityManagement/OnboardingLink.php b/src/Adyen/Model/LegalEntityManagement/OnboardingLink.php index c6cc6b891..10b241e94 100644 --- a/src/Adyen/Model/LegalEntityManagement/OnboardingLink.php +++ b/src/Adyen/Model/LegalEntityManagement/OnboardingLink.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/OnboardingLinkInfo.php b/src/Adyen/Model/LegalEntityManagement/OnboardingLinkInfo.php index 250e8a786..909ccc343 100644 --- a/src/Adyen/Model/LegalEntityManagement/OnboardingLinkInfo.php +++ b/src/Adyen/Model/LegalEntityManagement/OnboardingLinkInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/OnboardingTheme.php b/src/Adyen/Model/LegalEntityManagement/OnboardingTheme.php index fe281e365..3072104b7 100644 --- a/src/Adyen/Model/LegalEntityManagement/OnboardingTheme.php +++ b/src/Adyen/Model/LegalEntityManagement/OnboardingTheme.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/OnboardingThemes.php b/src/Adyen/Model/LegalEntityManagement/OnboardingThemes.php index e717b9b5b..38d5c58cb 100644 --- a/src/Adyen/Model/LegalEntityManagement/OnboardingThemes.php +++ b/src/Adyen/Model/LegalEntityManagement/OnboardingThemes.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/Organization.php b/src/Adyen/Model/LegalEntityManagement/Organization.php index 329d5ba48..f0616c5f2 100644 --- a/src/Adyen/Model/LegalEntityManagement/Organization.php +++ b/src/Adyen/Model/LegalEntityManagement/Organization.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/OwnerEntity.php b/src/Adyen/Model/LegalEntityManagement/OwnerEntity.php index 5411c0f48..f45606a92 100644 --- a/src/Adyen/Model/LegalEntityManagement/OwnerEntity.php +++ b/src/Adyen/Model/LegalEntityManagement/OwnerEntity.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/PLLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/PLLocalAccountIdentification.php index bea8ad6db..3871a6b94 100644 --- a/src/Adyen/Model/LegalEntityManagement/PLLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/PLLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/PciDocumentInfo.php b/src/Adyen/Model/LegalEntityManagement/PciDocumentInfo.php index b25e235f4..6e200137e 100644 --- a/src/Adyen/Model/LegalEntityManagement/PciDocumentInfo.php +++ b/src/Adyen/Model/LegalEntityManagement/PciDocumentInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/PciSigningRequest.php b/src/Adyen/Model/LegalEntityManagement/PciSigningRequest.php index 9a5dd9acc..8f460058f 100644 --- a/src/Adyen/Model/LegalEntityManagement/PciSigningRequest.php +++ b/src/Adyen/Model/LegalEntityManagement/PciSigningRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/PciSigningResponse.php b/src/Adyen/Model/LegalEntityManagement/PciSigningResponse.php index 17d94a0a0..d2aecfca8 100644 --- a/src/Adyen/Model/LegalEntityManagement/PciSigningResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/PciSigningResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/PhoneNumber.php b/src/Adyen/Model/LegalEntityManagement/PhoneNumber.php index 8c424a803..7b81931a7 100644 --- a/src/Adyen/Model/LegalEntityManagement/PhoneNumber.php +++ b/src/Adyen/Model/LegalEntityManagement/PhoneNumber.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/RemediatingAction.php b/src/Adyen/Model/LegalEntityManagement/RemediatingAction.php index a1001671d..13829c620 100644 --- a/src/Adyen/Model/LegalEntityManagement/RemediatingAction.php +++ b/src/Adyen/Model/LegalEntityManagement/RemediatingAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/SELocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/SELocalAccountIdentification.php index b92052510..0b3c8079c 100644 --- a/src/Adyen/Model/LegalEntityManagement/SELocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/SELocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/SGLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/SGLocalAccountIdentification.php index bf7536380..6e5e53def 100644 --- a/src/Adyen/Model/LegalEntityManagement/SGLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/SGLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/ServiceError.php b/src/Adyen/Model/LegalEntityManagement/ServiceError.php index ea685ce35..665c8f9a6 100644 --- a/src/Adyen/Model/LegalEntityManagement/ServiceError.php +++ b/src/Adyen/Model/LegalEntityManagement/ServiceError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/SoleProprietorship.php b/src/Adyen/Model/LegalEntityManagement/SoleProprietorship.php index 0e8c25fa9..c3bb83849 100644 --- a/src/Adyen/Model/LegalEntityManagement/SoleProprietorship.php +++ b/src/Adyen/Model/LegalEntityManagement/SoleProprietorship.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -46,6 +46,7 @@ class SoleProprietorship implements ModelInterface, ArrayAccess, \JsonSerializab protected static $openAPITypes = [ 'countryOfGoverningLaw' => 'string', 'dateOfIncorporation' => 'string', + 'description' => 'string', 'doingBusinessAs' => 'string', 'name' => 'string', 'principalPlaceOfBusiness' => '\Adyen\Model\LegalEntityManagement\Address', @@ -66,6 +67,7 @@ class SoleProprietorship implements ModelInterface, ArrayAccess, \JsonSerializab protected static $openAPIFormats = [ 'countryOfGoverningLaw' => null, 'dateOfIncorporation' => null, + 'description' => null, 'doingBusinessAs' => null, 'name' => null, 'principalPlaceOfBusiness' => null, @@ -84,6 +86,7 @@ class SoleProprietorship implements ModelInterface, ArrayAccess, \JsonSerializab protected static $openAPINullables = [ 'countryOfGoverningLaw' => false, 'dateOfIncorporation' => false, + 'description' => false, 'doingBusinessAs' => false, 'name' => false, 'principalPlaceOfBusiness' => false, @@ -182,6 +185,7 @@ public function isNullableSetToNull(string $property): bool protected static $attributeMap = [ 'countryOfGoverningLaw' => 'countryOfGoverningLaw', 'dateOfIncorporation' => 'dateOfIncorporation', + 'description' => 'description', 'doingBusinessAs' => 'doingBusinessAs', 'name' => 'name', 'principalPlaceOfBusiness' => 'principalPlaceOfBusiness', @@ -200,6 +204,7 @@ public function isNullableSetToNull(string $property): bool protected static $setters = [ 'countryOfGoverningLaw' => 'setCountryOfGoverningLaw', 'dateOfIncorporation' => 'setDateOfIncorporation', + 'description' => 'setDescription', 'doingBusinessAs' => 'setDoingBusinessAs', 'name' => 'setName', 'principalPlaceOfBusiness' => 'setPrincipalPlaceOfBusiness', @@ -218,6 +223,7 @@ public function isNullableSetToNull(string $property): bool protected static $getters = [ 'countryOfGoverningLaw' => 'getCountryOfGoverningLaw', 'dateOfIncorporation' => 'getDateOfIncorporation', + 'description' => 'getDescription', 'doingBusinessAs' => 'getDoingBusinessAs', 'name' => 'getName', 'principalPlaceOfBusiness' => 'getPrincipalPlaceOfBusiness', @@ -301,6 +307,7 @@ public function __construct(array $data = null) { $this->setIfExists('countryOfGoverningLaw', $data ?? [], null); $this->setIfExists('dateOfIncorporation', $data ?? [], null); + $this->setIfExists('description', $data ?? [], null); $this->setIfExists('doingBusinessAs', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); $this->setIfExists('principalPlaceOfBusiness', $data ?? [], null); @@ -425,6 +432,33 @@ public function setDateOfIncorporation($dateOfIncorporation) return $this; } + /** + * Gets description + * + * @return string|null + */ + public function getDescription() + { + return $this->container['description']; + } + + /** + * Sets description + * + * @param string|null $description Short description about the Legal Arrangement. + * + * @return self + */ + public function setDescription($description) + { + if (is_null($description)) { + throw new \InvalidArgumentException('non-nullable description cannot be null'); + } + $this->container['description'] = $description; + + return $this; + } + /** * Gets doingBusinessAs * diff --git a/src/Adyen/Model/LegalEntityManagement/SourceOfFunds.php b/src/Adyen/Model/LegalEntityManagement/SourceOfFunds.php index 23b43dee6..0d148cc16 100644 --- a/src/Adyen/Model/LegalEntityManagement/SourceOfFunds.php +++ b/src/Adyen/Model/LegalEntityManagement/SourceOfFunds.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/StockData.php b/src/Adyen/Model/LegalEntityManagement/StockData.php index 61c7172fa..9a5f157c3 100644 --- a/src/Adyen/Model/LegalEntityManagement/StockData.php +++ b/src/Adyen/Model/LegalEntityManagement/StockData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/SupportingEntityCapability.php b/src/Adyen/Model/LegalEntityManagement/SupportingEntityCapability.php index e9f9d7e55..a48b4269e 100644 --- a/src/Adyen/Model/LegalEntityManagement/SupportingEntityCapability.php +++ b/src/Adyen/Model/LegalEntityManagement/SupportingEntityCapability.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/TaxInformation.php b/src/Adyen/Model/LegalEntityManagement/TaxInformation.php index 82d9e4c16..e661f8637 100644 --- a/src/Adyen/Model/LegalEntityManagement/TaxInformation.php +++ b/src/Adyen/Model/LegalEntityManagement/TaxInformation.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/TaxReportingClassification.php b/src/Adyen/Model/LegalEntityManagement/TaxReportingClassification.php index fec5b48ea..786efd19e 100644 --- a/src/Adyen/Model/LegalEntityManagement/TaxReportingClassification.php +++ b/src/Adyen/Model/LegalEntityManagement/TaxReportingClassification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/TermsOfServiceAcceptanceInfo.php b/src/Adyen/Model/LegalEntityManagement/TermsOfServiceAcceptanceInfo.php index d0290d076..0a1c5c0d5 100644 --- a/src/Adyen/Model/LegalEntityManagement/TermsOfServiceAcceptanceInfo.php +++ b/src/Adyen/Model/LegalEntityManagement/TermsOfServiceAcceptanceInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/TransferInstrument.php b/src/Adyen/Model/LegalEntityManagement/TransferInstrument.php index f5e75f6c2..4fa7d1c74 100644 --- a/src/Adyen/Model/LegalEntityManagement/TransferInstrument.php +++ b/src/Adyen/Model/LegalEntityManagement/TransferInstrument.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/TransferInstrumentInfo.php b/src/Adyen/Model/LegalEntityManagement/TransferInstrumentInfo.php index a8938c7da..466793228 100644 --- a/src/Adyen/Model/LegalEntityManagement/TransferInstrumentInfo.php +++ b/src/Adyen/Model/LegalEntityManagement/TransferInstrumentInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/TransferInstrumentReference.php b/src/Adyen/Model/LegalEntityManagement/TransferInstrumentReference.php index 45c3b7437..f6f43352a 100644 --- a/src/Adyen/Model/LegalEntityManagement/TransferInstrumentReference.php +++ b/src/Adyen/Model/LegalEntityManagement/TransferInstrumentReference.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -370,7 +370,7 @@ public function getRealLastFour() /** * Sets realLastFour * - * @param string|null $realLastFour Four last digits of the bank account number. + * @param string|null $realLastFour Four last digits of the bank account number. If the transfer instrument is created using [instant bank account verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding), and it is a virtual bank account, these digits may be different from the last four digits of the masked account number. * * @return self */ diff --git a/src/Adyen/Model/LegalEntityManagement/Trust.php b/src/Adyen/Model/LegalEntityManagement/Trust.php index 4bcac8bfe..38293579d 100644 --- a/src/Adyen/Model/LegalEntityManagement/Trust.php +++ b/src/Adyen/Model/LegalEntityManagement/Trust.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -46,6 +46,7 @@ class Trust implements ModelInterface, ArrayAccess, \JsonSerializable protected static $openAPITypes = [ 'countryOfGoverningLaw' => 'string', 'dateOfIncorporation' => 'string', + 'description' => 'string', 'doingBusinessAs' => 'string', 'name' => 'string', 'principalPlaceOfBusiness' => '\Adyen\Model\LegalEntityManagement\Address', @@ -68,6 +69,7 @@ class Trust implements ModelInterface, ArrayAccess, \JsonSerializable protected static $openAPIFormats = [ 'countryOfGoverningLaw' => null, 'dateOfIncorporation' => null, + 'description' => null, 'doingBusinessAs' => null, 'name' => null, 'principalPlaceOfBusiness' => null, @@ -88,6 +90,7 @@ class Trust implements ModelInterface, ArrayAccess, \JsonSerializable protected static $openAPINullables = [ 'countryOfGoverningLaw' => false, 'dateOfIncorporation' => false, + 'description' => false, 'doingBusinessAs' => false, 'name' => false, 'principalPlaceOfBusiness' => false, @@ -188,6 +191,7 @@ public function isNullableSetToNull(string $property): bool protected static $attributeMap = [ 'countryOfGoverningLaw' => 'countryOfGoverningLaw', 'dateOfIncorporation' => 'dateOfIncorporation', + 'description' => 'description', 'doingBusinessAs' => 'doingBusinessAs', 'name' => 'name', 'principalPlaceOfBusiness' => 'principalPlaceOfBusiness', @@ -208,6 +212,7 @@ public function isNullableSetToNull(string $property): bool protected static $setters = [ 'countryOfGoverningLaw' => 'setCountryOfGoverningLaw', 'dateOfIncorporation' => 'setDateOfIncorporation', + 'description' => 'setDescription', 'doingBusinessAs' => 'setDoingBusinessAs', 'name' => 'setName', 'principalPlaceOfBusiness' => 'setPrincipalPlaceOfBusiness', @@ -228,6 +233,7 @@ public function isNullableSetToNull(string $property): bool protected static $getters = [ 'countryOfGoverningLaw' => 'getCountryOfGoverningLaw', 'dateOfIncorporation' => 'getDateOfIncorporation', + 'description' => 'getDescription', 'doingBusinessAs' => 'getDoingBusinessAs', 'name' => 'getName', 'principalPlaceOfBusiness' => 'getPrincipalPlaceOfBusiness', @@ -353,6 +359,7 @@ public function __construct(array $data = null) { $this->setIfExists('countryOfGoverningLaw', $data ?? [], null); $this->setIfExists('dateOfIncorporation', $data ?? [], null); + $this->setIfExists('description', $data ?? [], null); $this->setIfExists('doingBusinessAs', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); $this->setIfExists('principalPlaceOfBusiness', $data ?? [], null); @@ -491,6 +498,33 @@ public function setDateOfIncorporation($dateOfIncorporation) return $this; } + /** + * Gets description + * + * @return string|null + */ + public function getDescription() + { + return $this->container['description']; + } + + /** + * Sets description + * + * @param string|null $description Short description about the trust. + * + * @return self + */ + public function setDescription($description) + { + if (is_null($description)) { + throw new \InvalidArgumentException('non-nullable description cannot be null'); + } + $this->container['description'] = $description; + + return $this; + } + /** * Gets doingBusinessAs * diff --git a/src/Adyen/Model/LegalEntityManagement/UKLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/UKLocalAccountIdentification.php index 33de7b796..a7af9a848 100644 --- a/src/Adyen/Model/LegalEntityManagement/UKLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/UKLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/USLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/USLocalAccountIdentification.php index 80eda7b60..239cd5ad9 100644 --- a/src/Adyen/Model/LegalEntityManagement/USLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/USLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/UndefinedBeneficiary.php b/src/Adyen/Model/LegalEntityManagement/UndefinedBeneficiary.php index b3811bbdc..ef290e6ca 100644 --- a/src/Adyen/Model/LegalEntityManagement/UndefinedBeneficiary.php +++ b/src/Adyen/Model/LegalEntityManagement/UndefinedBeneficiary.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/UnincorporatedPartnership.php b/src/Adyen/Model/LegalEntityManagement/UnincorporatedPartnership.php index ddbd6c8ce..66ba57ef5 100644 --- a/src/Adyen/Model/LegalEntityManagement/UnincorporatedPartnership.php +++ b/src/Adyen/Model/LegalEntityManagement/UnincorporatedPartnership.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -46,6 +46,7 @@ class UnincorporatedPartnership implements ModelInterface, ArrayAccess, \JsonSer protected static $openAPITypes = [ 'countryOfGoverningLaw' => 'string', 'dateOfIncorporation' => 'string', + 'description' => 'string', 'doingBusinessAs' => 'string', 'name' => 'string', 'principalPlaceOfBusiness' => '\Adyen\Model\LegalEntityManagement\Address', @@ -67,6 +68,7 @@ class UnincorporatedPartnership implements ModelInterface, ArrayAccess, \JsonSer protected static $openAPIFormats = [ 'countryOfGoverningLaw' => null, 'dateOfIncorporation' => null, + 'description' => null, 'doingBusinessAs' => null, 'name' => null, 'principalPlaceOfBusiness' => null, @@ -86,6 +88,7 @@ class UnincorporatedPartnership implements ModelInterface, ArrayAccess, \JsonSer protected static $openAPINullables = [ 'countryOfGoverningLaw' => false, 'dateOfIncorporation' => false, + 'description' => false, 'doingBusinessAs' => false, 'name' => false, 'principalPlaceOfBusiness' => false, @@ -185,6 +188,7 @@ public function isNullableSetToNull(string $property): bool protected static $attributeMap = [ 'countryOfGoverningLaw' => 'countryOfGoverningLaw', 'dateOfIncorporation' => 'dateOfIncorporation', + 'description' => 'description', 'doingBusinessAs' => 'doingBusinessAs', 'name' => 'name', 'principalPlaceOfBusiness' => 'principalPlaceOfBusiness', @@ -204,6 +208,7 @@ public function isNullableSetToNull(string $property): bool protected static $setters = [ 'countryOfGoverningLaw' => 'setCountryOfGoverningLaw', 'dateOfIncorporation' => 'setDateOfIncorporation', + 'description' => 'setDescription', 'doingBusinessAs' => 'setDoingBusinessAs', 'name' => 'setName', 'principalPlaceOfBusiness' => 'setPrincipalPlaceOfBusiness', @@ -223,6 +228,7 @@ public function isNullableSetToNull(string $property): bool protected static $getters = [ 'countryOfGoverningLaw' => 'getCountryOfGoverningLaw', 'dateOfIncorporation' => 'getDateOfIncorporation', + 'description' => 'getDescription', 'doingBusinessAs' => 'getDoingBusinessAs', 'name' => 'getName', 'principalPlaceOfBusiness' => 'getPrincipalPlaceOfBusiness', @@ -347,6 +353,7 @@ public function __construct(array $data = null) { $this->setIfExists('countryOfGoverningLaw', $data ?? [], null); $this->setIfExists('dateOfIncorporation', $data ?? [], null); + $this->setIfExists('description', $data ?? [], null); $this->setIfExists('doingBusinessAs', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); $this->setIfExists('principalPlaceOfBusiness', $data ?? [], null); @@ -484,6 +491,33 @@ public function setDateOfIncorporation($dateOfIncorporation) return $this; } + /** + * Gets description + * + * @return string|null + */ + public function getDescription() + { + return $this->container['description']; + } + + /** + * Sets description + * + * @param string|null $description Short description about the Legal Arrangement. + * + * @return self + */ + public function setDescription($description) + { + if (is_null($description)) { + throw new \InvalidArgumentException('non-nullable description cannot be null'); + } + $this->container['description'] = $description; + + return $this; + } + /** * Gets doingBusinessAs * diff --git a/src/Adyen/Model/LegalEntityManagement/VerificationDeadline.php b/src/Adyen/Model/LegalEntityManagement/VerificationDeadline.php index d56f2546f..5e6ef5eea 100644 --- a/src/Adyen/Model/LegalEntityManagement/VerificationDeadline.php +++ b/src/Adyen/Model/LegalEntityManagement/VerificationDeadline.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -419,7 +419,7 @@ public function getCapabilities() /** * Sets capabilities * - * @param string[] $capabilities The names of the capabilities to be disallowed. + * @param string[] $capabilities The list of capabilities that will be disallowed if information is not reviewed by the time of the deadline * * @return self */ diff --git a/src/Adyen/Model/LegalEntityManagement/VerificationError.php b/src/Adyen/Model/LegalEntityManagement/VerificationError.php index 886494472..e58f91b95 100644 --- a/src/Adyen/Model/LegalEntityManagement/VerificationError.php +++ b/src/Adyen/Model/LegalEntityManagement/VerificationError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/VerificationErrorRecursive.php b/src/Adyen/Model/LegalEntityManagement/VerificationErrorRecursive.php index 2029f9c9d..74af27830 100644 --- a/src/Adyen/Model/LegalEntityManagement/VerificationErrorRecursive.php +++ b/src/Adyen/Model/LegalEntityManagement/VerificationErrorRecursive.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/VerificationErrors.php b/src/Adyen/Model/LegalEntityManagement/VerificationErrors.php index eb48afddd..96dda6e49 100644 --- a/src/Adyen/Model/LegalEntityManagement/VerificationErrors.php +++ b/src/Adyen/Model/LegalEntityManagement/VerificationErrors.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/WebData.php b/src/Adyen/Model/LegalEntityManagement/WebData.php index 0e7a4b132..ce592265c 100644 --- a/src/Adyen/Model/LegalEntityManagement/WebData.php +++ b/src/Adyen/Model/LegalEntityManagement/WebData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/LegalEntityManagement/WebDataExemption.php b/src/Adyen/Model/LegalEntityManagement/WebDataExemption.php index 205d2bc5e..e2d27d8b5 100644 --- a/src/Adyen/Model/LegalEntityManagement/WebDataExemption.php +++ b/src/Adyen/Model/LegalEntityManagement/WebDataExemption.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/AdditionalCommission.php b/src/Adyen/Model/Management/AdditionalCommission.php index c3ab38dcb..f777f9a43 100644 --- a/src/Adyen/Model/Management/AdditionalCommission.php +++ b/src/Adyen/Model/Management/AdditionalCommission.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/AdditionalSettings.php b/src/Adyen/Model/Management/AdditionalSettings.php index 47798f47d..4b380b1be 100644 --- a/src/Adyen/Model/Management/AdditionalSettings.php +++ b/src/Adyen/Model/Management/AdditionalSettings.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/AdditionalSettingsResponse.php b/src/Adyen/Model/Management/AdditionalSettingsResponse.php index 3286dbac0..59eae83b9 100644 --- a/src/Adyen/Model/Management/AdditionalSettingsResponse.php +++ b/src/Adyen/Model/Management/AdditionalSettingsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Address.php b/src/Adyen/Model/Management/Address.php index 9667a431a..c67bf9062 100644 --- a/src/Adyen/Model/Management/Address.php +++ b/src/Adyen/Model/Management/Address.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/AfterpayTouchInfo.php b/src/Adyen/Model/Management/AfterpayTouchInfo.php index 13665c965..60d9a2c65 100644 --- a/src/Adyen/Model/Management/AfterpayTouchInfo.php +++ b/src/Adyen/Model/Management/AfterpayTouchInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/AllowedOrigin.php b/src/Adyen/Model/Management/AllowedOrigin.php index 8aeafda94..549d67dbd 100644 --- a/src/Adyen/Model/Management/AllowedOrigin.php +++ b/src/Adyen/Model/Management/AllowedOrigin.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/AllowedOriginsResponse.php b/src/Adyen/Model/Management/AllowedOriginsResponse.php index c060b88d5..40f263181 100644 --- a/src/Adyen/Model/Management/AllowedOriginsResponse.php +++ b/src/Adyen/Model/Management/AllowedOriginsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Amount.php b/src/Adyen/Model/Management/Amount.php index 1efe8c1ac..ccaf8f2ff 100644 --- a/src/Adyen/Model/Management/Amount.php +++ b/src/Adyen/Model/Management/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/AndroidApp.php b/src/Adyen/Model/Management/AndroidApp.php index 625240ac6..a557147a2 100644 --- a/src/Adyen/Model/Management/AndroidApp.php +++ b/src/Adyen/Model/Management/AndroidApp.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/AndroidAppsResponse.php b/src/Adyen/Model/Management/AndroidAppsResponse.php index 5478fc992..967ceb43a 100644 --- a/src/Adyen/Model/Management/AndroidAppsResponse.php +++ b/src/Adyen/Model/Management/AndroidAppsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/AndroidCertificate.php b/src/Adyen/Model/Management/AndroidCertificate.php index 43e9f968d..f7fc70286 100644 --- a/src/Adyen/Model/Management/AndroidCertificate.php +++ b/src/Adyen/Model/Management/AndroidCertificate.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/AndroidCertificatesResponse.php b/src/Adyen/Model/Management/AndroidCertificatesResponse.php index e4fcb1b1a..3cba386a8 100644 --- a/src/Adyen/Model/Management/AndroidCertificatesResponse.php +++ b/src/Adyen/Model/Management/AndroidCertificatesResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ApiCredential.php b/src/Adyen/Model/Management/ApiCredential.php index d00bd848c..6c107e472 100644 --- a/src/Adyen/Model/Management/ApiCredential.php +++ b/src/Adyen/Model/Management/ApiCredential.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ApiCredentialLinks.php b/src/Adyen/Model/Management/ApiCredentialLinks.php index 97bd6c90c..29b9e8728 100644 --- a/src/Adyen/Model/Management/ApiCredentialLinks.php +++ b/src/Adyen/Model/Management/ApiCredentialLinks.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ApplePayInfo.php b/src/Adyen/Model/Management/ApplePayInfo.php index 89e050797..221f57f5a 100644 --- a/src/Adyen/Model/Management/ApplePayInfo.php +++ b/src/Adyen/Model/Management/ApplePayInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/BcmcInfo.php b/src/Adyen/Model/Management/BcmcInfo.php index 22d4afb2c..03fbff963 100644 --- a/src/Adyen/Model/Management/BcmcInfo.php +++ b/src/Adyen/Model/Management/BcmcInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/BillingEntitiesResponse.php b/src/Adyen/Model/Management/BillingEntitiesResponse.php index f2fe05eb8..5d1bda016 100644 --- a/src/Adyen/Model/Management/BillingEntitiesResponse.php +++ b/src/Adyen/Model/Management/BillingEntitiesResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/BillingEntity.php b/src/Adyen/Model/Management/BillingEntity.php index 04563c70b..8604d13d9 100644 --- a/src/Adyen/Model/Management/BillingEntity.php +++ b/src/Adyen/Model/Management/BillingEntity.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CardholderReceipt.php b/src/Adyen/Model/Management/CardholderReceipt.php index 2f0169f22..9d8362799 100644 --- a/src/Adyen/Model/Management/CardholderReceipt.php +++ b/src/Adyen/Model/Management/CardholderReceipt.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CartesBancairesInfo.php b/src/Adyen/Model/Management/CartesBancairesInfo.php index 7b32bc631..b5af56633 100644 --- a/src/Adyen/Model/Management/CartesBancairesInfo.php +++ b/src/Adyen/Model/Management/CartesBancairesInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ClearpayInfo.php b/src/Adyen/Model/Management/ClearpayInfo.php index 3a1b288e3..0e7337f25 100644 --- a/src/Adyen/Model/Management/ClearpayInfo.php +++ b/src/Adyen/Model/Management/ClearpayInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Commission.php b/src/Adyen/Model/Management/Commission.php index c03362fb3..32cc56e29 100644 --- a/src/Adyen/Model/Management/Commission.php +++ b/src/Adyen/Model/Management/Commission.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Company.php b/src/Adyen/Model/Management/Company.php index e75560d78..25186fa47 100644 --- a/src/Adyen/Model/Management/Company.php +++ b/src/Adyen/Model/Management/Company.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CompanyApiCredential.php b/src/Adyen/Model/Management/CompanyApiCredential.php index 018befc58..680183f77 100644 --- a/src/Adyen/Model/Management/CompanyApiCredential.php +++ b/src/Adyen/Model/Management/CompanyApiCredential.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CompanyLinks.php b/src/Adyen/Model/Management/CompanyLinks.php index a99ab70d2..dfc42652a 100644 --- a/src/Adyen/Model/Management/CompanyLinks.php +++ b/src/Adyen/Model/Management/CompanyLinks.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CompanyUser.php b/src/Adyen/Model/Management/CompanyUser.php index 14d88267a..f3e5a6da7 100644 --- a/src/Adyen/Model/Management/CompanyUser.php +++ b/src/Adyen/Model/Management/CompanyUser.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Configuration.php b/src/Adyen/Model/Management/Configuration.php index 22ce96bcb..a9f382eda 100644 --- a/src/Adyen/Model/Management/Configuration.php +++ b/src/Adyen/Model/Management/Configuration.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -45,6 +45,7 @@ class Configuration implements ModelInterface, ArrayAccess, \JsonSerializable */ protected static $openAPITypes = [ 'brand' => 'string', + 'country' => 'string[]', 'currencies' => '\Adyen\Model\Management\Currency[]', 'sources' => 'string[]' ]; @@ -58,6 +59,7 @@ class Configuration implements ModelInterface, ArrayAccess, \JsonSerializable */ protected static $openAPIFormats = [ 'brand' => null, + 'country' => null, 'currencies' => null, 'sources' => null ]; @@ -69,6 +71,7 @@ class Configuration implements ModelInterface, ArrayAccess, \JsonSerializable */ protected static $openAPINullables = [ 'brand' => false, + 'country' => false, 'currencies' => false, 'sources' => false ]; @@ -160,6 +163,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $attributeMap = [ 'brand' => 'brand', + 'country' => 'country', 'currencies' => 'currencies', 'sources' => 'sources' ]; @@ -171,6 +175,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $setters = [ 'brand' => 'setBrand', + 'country' => 'setCountry', 'currencies' => 'setCurrencies', 'sources' => 'setSources' ]; @@ -182,6 +187,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $getters = [ 'brand' => 'getBrand', + 'country' => 'getCountry', 'currencies' => 'getCurrencies', 'sources' => 'getSources' ]; @@ -244,6 +250,7 @@ public function getModelName() public function __construct(array $data = null) { $this->setIfExists('brand', $data ?? [], null); + $this->setIfExists('country', $data ?? [], null); $this->setIfExists('currencies', $data ?? [], null); $this->setIfExists('sources', $data ?? [], null); } @@ -323,6 +330,33 @@ public function setBrand($brand) return $this; } + /** + * Gets country + * + * @return string[]|null + */ + public function getCountry() + { + return $this->container['country']; + } + + /** + * Sets country + * + * @param string[]|null $country Countries, to filter different surcharge amounts for domestic or international cards. + * + * @return self + */ + public function setCountry($country) + { + if (is_null($country)) { + throw new \InvalidArgumentException('non-nullable country cannot be null'); + } + $this->container['country'] = $country; + + return $this; + } + /** * Gets currencies * diff --git a/src/Adyen/Model/Management/Connectivity.php b/src/Adyen/Model/Management/Connectivity.php index 4f65bdceb..0ee7039eb 100644 --- a/src/Adyen/Model/Management/Connectivity.php +++ b/src/Adyen/Model/Management/Connectivity.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Contact.php b/src/Adyen/Model/Management/Contact.php index 13dfd2184..746511b93 100644 --- a/src/Adyen/Model/Management/Contact.php +++ b/src/Adyen/Model/Management/Contact.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CreateAllowedOriginRequest.php b/src/Adyen/Model/Management/CreateAllowedOriginRequest.php index 5a5867677..3925f020d 100644 --- a/src/Adyen/Model/Management/CreateAllowedOriginRequest.php +++ b/src/Adyen/Model/Management/CreateAllowedOriginRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CreateApiCredentialResponse.php b/src/Adyen/Model/Management/CreateApiCredentialResponse.php index dd437cd4a..d562b5462 100644 --- a/src/Adyen/Model/Management/CreateApiCredentialResponse.php +++ b/src/Adyen/Model/Management/CreateApiCredentialResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CreateCompanyApiCredentialRequest.php b/src/Adyen/Model/Management/CreateCompanyApiCredentialRequest.php index 4d1263420..eb2e65b2a 100644 --- a/src/Adyen/Model/Management/CreateCompanyApiCredentialRequest.php +++ b/src/Adyen/Model/Management/CreateCompanyApiCredentialRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CreateCompanyApiCredentialResponse.php b/src/Adyen/Model/Management/CreateCompanyApiCredentialResponse.php index a67a9863e..a4327385d 100644 --- a/src/Adyen/Model/Management/CreateCompanyApiCredentialResponse.php +++ b/src/Adyen/Model/Management/CreateCompanyApiCredentialResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CreateCompanyUserRequest.php b/src/Adyen/Model/Management/CreateCompanyUserRequest.php index e44907b39..4195c1cab 100644 --- a/src/Adyen/Model/Management/CreateCompanyUserRequest.php +++ b/src/Adyen/Model/Management/CreateCompanyUserRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CreateCompanyUserResponse.php b/src/Adyen/Model/Management/CreateCompanyUserResponse.php index a03ae92f8..70a59f175 100644 --- a/src/Adyen/Model/Management/CreateCompanyUserResponse.php +++ b/src/Adyen/Model/Management/CreateCompanyUserResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CreateCompanyWebhookRequest.php b/src/Adyen/Model/Management/CreateCompanyWebhookRequest.php index f20974c10..6e8b6e1f0 100644 --- a/src/Adyen/Model/Management/CreateCompanyWebhookRequest.php +++ b/src/Adyen/Model/Management/CreateCompanyWebhookRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CreateMerchantApiCredentialRequest.php b/src/Adyen/Model/Management/CreateMerchantApiCredentialRequest.php index c6f5fa67f..5db13d1cb 100644 --- a/src/Adyen/Model/Management/CreateMerchantApiCredentialRequest.php +++ b/src/Adyen/Model/Management/CreateMerchantApiCredentialRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CreateMerchantRequest.php b/src/Adyen/Model/Management/CreateMerchantRequest.php index bbbbc21cd..8a6874c2b 100644 --- a/src/Adyen/Model/Management/CreateMerchantRequest.php +++ b/src/Adyen/Model/Management/CreateMerchantRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CreateMerchantResponse.php b/src/Adyen/Model/Management/CreateMerchantResponse.php index 0db65f7c5..ce91cce3c 100644 --- a/src/Adyen/Model/Management/CreateMerchantResponse.php +++ b/src/Adyen/Model/Management/CreateMerchantResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CreateMerchantUserRequest.php b/src/Adyen/Model/Management/CreateMerchantUserRequest.php index 665967ff4..25fa87c08 100644 --- a/src/Adyen/Model/Management/CreateMerchantUserRequest.php +++ b/src/Adyen/Model/Management/CreateMerchantUserRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CreateMerchantWebhookRequest.php b/src/Adyen/Model/Management/CreateMerchantWebhookRequest.php index 7a7b9d101..0fb742f5f 100644 --- a/src/Adyen/Model/Management/CreateMerchantWebhookRequest.php +++ b/src/Adyen/Model/Management/CreateMerchantWebhookRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/CreateUserResponse.php b/src/Adyen/Model/Management/CreateUserResponse.php index a22a68b9e..618975e12 100644 --- a/src/Adyen/Model/Management/CreateUserResponse.php +++ b/src/Adyen/Model/Management/CreateUserResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Currency.php b/src/Adyen/Model/Management/Currency.php index ef6151fa8..239103943 100644 --- a/src/Adyen/Model/Management/Currency.php +++ b/src/Adyen/Model/Management/Currency.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -46,7 +46,7 @@ class Currency implements ModelInterface, ArrayAccess, \JsonSerializable protected static $openAPITypes = [ 'amount' => 'int', 'currencyCode' => 'string', - 'percentage' => 'float' + 'percentage' => 'double' ]; /** @@ -348,7 +348,7 @@ public function setCurrencyCode($currencyCode) /** * Gets percentage * - * @return float|null + * @return double|null */ public function getPercentage() { @@ -358,7 +358,7 @@ public function getPercentage() /** * Sets percentage * - * @param float|null $percentage Surcharge percentage per transaction. The maximum number of decimal places is two. For example, **1%** or **2.27%**. + * @param double|null $percentage Surcharge percentage per transaction. The maximum number of decimal places is two. For example, **1%** or **2.27%**. * * @return self */ diff --git a/src/Adyen/Model/Management/CustomNotification.php b/src/Adyen/Model/Management/CustomNotification.php index 55e7de259..a68c335be 100644 --- a/src/Adyen/Model/Management/CustomNotification.php +++ b/src/Adyen/Model/Management/CustomNotification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/DataCenter.php b/src/Adyen/Model/Management/DataCenter.php index 1dd99c944..9294d77e9 100644 --- a/src/Adyen/Model/Management/DataCenter.php +++ b/src/Adyen/Model/Management/DataCenter.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/EventUrl.php b/src/Adyen/Model/Management/EventUrl.php index cc6161974..02830bf2a 100644 --- a/src/Adyen/Model/Management/EventUrl.php +++ b/src/Adyen/Model/Management/EventUrl.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ExternalTerminalAction.php b/src/Adyen/Model/Management/ExternalTerminalAction.php index 9b611cd21..9a30500a3 100644 --- a/src/Adyen/Model/Management/ExternalTerminalAction.php +++ b/src/Adyen/Model/Management/ExternalTerminalAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/File.php b/src/Adyen/Model/Management/File.php index 135d29e56..159c18e57 100644 --- a/src/Adyen/Model/Management/File.php +++ b/src/Adyen/Model/Management/File.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/GenerateApiKeyResponse.php b/src/Adyen/Model/Management/GenerateApiKeyResponse.php index fbf55e35a..652966884 100644 --- a/src/Adyen/Model/Management/GenerateApiKeyResponse.php +++ b/src/Adyen/Model/Management/GenerateApiKeyResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/GenerateClientKeyResponse.php b/src/Adyen/Model/Management/GenerateClientKeyResponse.php index 71ca951a0..a19db1457 100644 --- a/src/Adyen/Model/Management/GenerateClientKeyResponse.php +++ b/src/Adyen/Model/Management/GenerateClientKeyResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/GenerateHmacKeyResponse.php b/src/Adyen/Model/Management/GenerateHmacKeyResponse.php index 3d2a8ba6b..e8b980e0f 100644 --- a/src/Adyen/Model/Management/GenerateHmacKeyResponse.php +++ b/src/Adyen/Model/Management/GenerateHmacKeyResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/GenericPmWithTdiInfo.php b/src/Adyen/Model/Management/GenericPmWithTdiInfo.php index 3450f2520..d5f5a6f2d 100644 --- a/src/Adyen/Model/Management/GenericPmWithTdiInfo.php +++ b/src/Adyen/Model/Management/GenericPmWithTdiInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/GiroPayInfo.php b/src/Adyen/Model/Management/GiroPayInfo.php index 35b341c7b..43df4ee27 100644 --- a/src/Adyen/Model/Management/GiroPayInfo.php +++ b/src/Adyen/Model/Management/GiroPayInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/GooglePayInfo.php b/src/Adyen/Model/Management/GooglePayInfo.php index 461dc678a..2f81200a8 100644 --- a/src/Adyen/Model/Management/GooglePayInfo.php +++ b/src/Adyen/Model/Management/GooglePayInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Gratuity.php b/src/Adyen/Model/Management/Gratuity.php index e193247f8..4651d8b9e 100644 --- a/src/Adyen/Model/Management/Gratuity.php +++ b/src/Adyen/Model/Management/Gratuity.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Hardware.php b/src/Adyen/Model/Management/Hardware.php index acb9adaae..b2ffce054 100644 --- a/src/Adyen/Model/Management/Hardware.php +++ b/src/Adyen/Model/Management/Hardware.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/IdName.php b/src/Adyen/Model/Management/IdName.php index 03dfa7f83..07e382ee6 100644 --- a/src/Adyen/Model/Management/IdName.php +++ b/src/Adyen/Model/Management/IdName.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/InstallAndroidAppDetails.php b/src/Adyen/Model/Management/InstallAndroidAppDetails.php index 8bc552812..d1095a557 100644 --- a/src/Adyen/Model/Management/InstallAndroidAppDetails.php +++ b/src/Adyen/Model/Management/InstallAndroidAppDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/InstallAndroidCertificateDetails.php b/src/Adyen/Model/Management/InstallAndroidCertificateDetails.php index 4ccd0ca9d..da8673226 100644 --- a/src/Adyen/Model/Management/InstallAndroidCertificateDetails.php +++ b/src/Adyen/Model/Management/InstallAndroidCertificateDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/InvalidField.php b/src/Adyen/Model/Management/InvalidField.php index 5455714ff..81eefb4ff 100644 --- a/src/Adyen/Model/Management/InvalidField.php +++ b/src/Adyen/Model/Management/InvalidField.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Key.php b/src/Adyen/Model/Management/Key.php index 1329ca2b1..c6dc80547 100644 --- a/src/Adyen/Model/Management/Key.php +++ b/src/Adyen/Model/Management/Key.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/KlarnaInfo.php b/src/Adyen/Model/Management/KlarnaInfo.php index ce9db7dd8..f90ef76af 100644 --- a/src/Adyen/Model/Management/KlarnaInfo.php +++ b/src/Adyen/Model/Management/KlarnaInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Links.php b/src/Adyen/Model/Management/Links.php index 2c2d7af84..50b9d0ff0 100644 --- a/src/Adyen/Model/Management/Links.php +++ b/src/Adyen/Model/Management/Links.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/LinksElement.php b/src/Adyen/Model/Management/LinksElement.php index f72d85263..80e6ec99d 100644 --- a/src/Adyen/Model/Management/LinksElement.php +++ b/src/Adyen/Model/Management/LinksElement.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ListCompanyApiCredentialsResponse.php b/src/Adyen/Model/Management/ListCompanyApiCredentialsResponse.php index 7608a2e53..f62020a54 100644 --- a/src/Adyen/Model/Management/ListCompanyApiCredentialsResponse.php +++ b/src/Adyen/Model/Management/ListCompanyApiCredentialsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ListCompanyResponse.php b/src/Adyen/Model/Management/ListCompanyResponse.php index 5db09c8c7..3454c1308 100644 --- a/src/Adyen/Model/Management/ListCompanyResponse.php +++ b/src/Adyen/Model/Management/ListCompanyResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ListCompanyUsersResponse.php b/src/Adyen/Model/Management/ListCompanyUsersResponse.php index 70bcf75c9..300bfe255 100644 --- a/src/Adyen/Model/Management/ListCompanyUsersResponse.php +++ b/src/Adyen/Model/Management/ListCompanyUsersResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ListExternalTerminalActionsResponse.php b/src/Adyen/Model/Management/ListExternalTerminalActionsResponse.php index 0c4c656c4..299299c0c 100644 --- a/src/Adyen/Model/Management/ListExternalTerminalActionsResponse.php +++ b/src/Adyen/Model/Management/ListExternalTerminalActionsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ListMerchantApiCredentialsResponse.php b/src/Adyen/Model/Management/ListMerchantApiCredentialsResponse.php index 8c430b099..48407c22f 100644 --- a/src/Adyen/Model/Management/ListMerchantApiCredentialsResponse.php +++ b/src/Adyen/Model/Management/ListMerchantApiCredentialsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ListMerchantResponse.php b/src/Adyen/Model/Management/ListMerchantResponse.php index 004870f55..e7acdef6e 100644 --- a/src/Adyen/Model/Management/ListMerchantResponse.php +++ b/src/Adyen/Model/Management/ListMerchantResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ListMerchantUsersResponse.php b/src/Adyen/Model/Management/ListMerchantUsersResponse.php index f1f7e11e2..245953425 100644 --- a/src/Adyen/Model/Management/ListMerchantUsersResponse.php +++ b/src/Adyen/Model/Management/ListMerchantUsersResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ListStoresResponse.php b/src/Adyen/Model/Management/ListStoresResponse.php index 6db01f801..14ec68870 100644 --- a/src/Adyen/Model/Management/ListStoresResponse.php +++ b/src/Adyen/Model/Management/ListStoresResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ListTerminalsResponse.php b/src/Adyen/Model/Management/ListTerminalsResponse.php index 7e7669871..79f3acef8 100644 --- a/src/Adyen/Model/Management/ListTerminalsResponse.php +++ b/src/Adyen/Model/Management/ListTerminalsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ListWebhooksResponse.php b/src/Adyen/Model/Management/ListWebhooksResponse.php index 8804fed47..3d6626eb8 100644 --- a/src/Adyen/Model/Management/ListWebhooksResponse.php +++ b/src/Adyen/Model/Management/ListWebhooksResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Localization.php b/src/Adyen/Model/Management/Localization.php index c0ea126ff..916a8c13b 100644 --- a/src/Adyen/Model/Management/Localization.php +++ b/src/Adyen/Model/Management/Localization.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Logo.php b/src/Adyen/Model/Management/Logo.php index 5983dae2a..5ccea1755 100644 --- a/src/Adyen/Model/Management/Logo.php +++ b/src/Adyen/Model/Management/Logo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/MeApiCredential.php b/src/Adyen/Model/Management/MeApiCredential.php index db5c096f9..82ba25a7b 100644 --- a/src/Adyen/Model/Management/MeApiCredential.php +++ b/src/Adyen/Model/Management/MeApiCredential.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/MealVoucherFRInfo.php b/src/Adyen/Model/Management/MealVoucherFRInfo.php index 779346fbe..1437fcee4 100644 --- a/src/Adyen/Model/Management/MealVoucherFRInfo.php +++ b/src/Adyen/Model/Management/MealVoucherFRInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Merchant.php b/src/Adyen/Model/Management/Merchant.php index 10cee45b5..fdf06523b 100644 --- a/src/Adyen/Model/Management/Merchant.php +++ b/src/Adyen/Model/Management/Merchant.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/MerchantLinks.php b/src/Adyen/Model/Management/MerchantLinks.php index 80893c6f9..b3ebaf4f9 100644 --- a/src/Adyen/Model/Management/MerchantLinks.php +++ b/src/Adyen/Model/Management/MerchantLinks.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/MinorUnitsMonetaryValue.php b/src/Adyen/Model/Management/MinorUnitsMonetaryValue.php index cbb0e25ad..c5e326218 100644 --- a/src/Adyen/Model/Management/MinorUnitsMonetaryValue.php +++ b/src/Adyen/Model/Management/MinorUnitsMonetaryValue.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ModelInterface.php b/src/Adyen/Model/Management/ModelInterface.php index dccbb2236..1c25729a7 100644 --- a/src/Adyen/Model/Management/ModelInterface.php +++ b/src/Adyen/Model/Management/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Name.php b/src/Adyen/Model/Management/Name.php index 7528660dc..aafda604c 100644 --- a/src/Adyen/Model/Management/Name.php +++ b/src/Adyen/Model/Management/Name.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Name2.php b/src/Adyen/Model/Management/Name2.php index c1cc9d2eb..c7c122d18 100644 --- a/src/Adyen/Model/Management/Name2.php +++ b/src/Adyen/Model/Management/Name2.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Nexo.php b/src/Adyen/Model/Management/Nexo.php index 9a8f413b1..f856444fb 100644 --- a/src/Adyen/Model/Management/Nexo.php +++ b/src/Adyen/Model/Management/Nexo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Notification.php b/src/Adyen/Model/Management/Notification.php index fd020bfe0..d9bcb85cb 100644 --- a/src/Adyen/Model/Management/Notification.php +++ b/src/Adyen/Model/Management/Notification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/NotificationUrl.php b/src/Adyen/Model/Management/NotificationUrl.php index 795fa0b3b..7fa39a79b 100644 --- a/src/Adyen/Model/Management/NotificationUrl.php +++ b/src/Adyen/Model/Management/NotificationUrl.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ObjectSerializer.php b/src/Adyen/Model/Management/ObjectSerializer.php index 8fbf9a509..2ff0b7ef6 100644 --- a/src/Adyen/Model/Management/ObjectSerializer.php +++ b/src/Adyen/Model/Management/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/Management/OfflineProcessing.php b/src/Adyen/Model/Management/OfflineProcessing.php index fc2fe4d5f..652891f30 100644 --- a/src/Adyen/Model/Management/OfflineProcessing.php +++ b/src/Adyen/Model/Management/OfflineProcessing.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Opi.php b/src/Adyen/Model/Management/Opi.php index 3e2965a03..ba851a408 100644 --- a/src/Adyen/Model/Management/Opi.php +++ b/src/Adyen/Model/Management/Opi.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/OrderItem.php b/src/Adyen/Model/Management/OrderItem.php index d5b70abc9..91032b94a 100644 --- a/src/Adyen/Model/Management/OrderItem.php +++ b/src/Adyen/Model/Management/OrderItem.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/PaginationLinks.php b/src/Adyen/Model/Management/PaginationLinks.php index ecbe22d68..720a70231 100644 --- a/src/Adyen/Model/Management/PaginationLinks.php +++ b/src/Adyen/Model/Management/PaginationLinks.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Passcodes.php b/src/Adyen/Model/Management/Passcodes.php index 91d98fa7d..776082659 100644 --- a/src/Adyen/Model/Management/Passcodes.php +++ b/src/Adyen/Model/Management/Passcodes.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/PayAtTable.php b/src/Adyen/Model/Management/PayAtTable.php index c0c64a9ca..04401a383 100644 --- a/src/Adyen/Model/Management/PayAtTable.php +++ b/src/Adyen/Model/Management/PayAtTable.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/PayPalInfo.php b/src/Adyen/Model/Management/PayPalInfo.php index 2a5439c3a..c512005d7 100644 --- a/src/Adyen/Model/Management/PayPalInfo.php +++ b/src/Adyen/Model/Management/PayPalInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Payment.php b/src/Adyen/Model/Management/Payment.php index bc7b484e9..d7afd7ff6 100644 --- a/src/Adyen/Model/Management/Payment.php +++ b/src/Adyen/Model/Management/Payment.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/PaymentMethod.php b/src/Adyen/Model/Management/PaymentMethod.php index af80f7ec9..3f4ce0a3b 100644 --- a/src/Adyen/Model/Management/PaymentMethod.php +++ b/src/Adyen/Model/Management/PaymentMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/PaymentMethodResponse.php b/src/Adyen/Model/Management/PaymentMethodResponse.php index 52dfae898..bd5b4cf61 100644 --- a/src/Adyen/Model/Management/PaymentMethodResponse.php +++ b/src/Adyen/Model/Management/PaymentMethodResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/PaymentMethodSetupInfo.php b/src/Adyen/Model/Management/PaymentMethodSetupInfo.php index 68b073d3a..25f0a09d8 100644 --- a/src/Adyen/Model/Management/PaymentMethodSetupInfo.php +++ b/src/Adyen/Model/Management/PaymentMethodSetupInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/PayoutSettings.php b/src/Adyen/Model/Management/PayoutSettings.php index 76c2fbe30..061c8ed94 100644 --- a/src/Adyen/Model/Management/PayoutSettings.php +++ b/src/Adyen/Model/Management/PayoutSettings.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/PayoutSettingsRequest.php b/src/Adyen/Model/Management/PayoutSettingsRequest.php index 095ab476b..b402193fb 100644 --- a/src/Adyen/Model/Management/PayoutSettingsRequest.php +++ b/src/Adyen/Model/Management/PayoutSettingsRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/PayoutSettingsResponse.php b/src/Adyen/Model/Management/PayoutSettingsResponse.php index d975c150e..dffc62e40 100644 --- a/src/Adyen/Model/Management/PayoutSettingsResponse.php +++ b/src/Adyen/Model/Management/PayoutSettingsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Profile.php b/src/Adyen/Model/Management/Profile.php index e75e3065b..49bc164f1 100644 --- a/src/Adyen/Model/Management/Profile.php +++ b/src/Adyen/Model/Management/Profile.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ReceiptOptions.php b/src/Adyen/Model/Management/ReceiptOptions.php index a660ec647..6c6dbde3c 100644 --- a/src/Adyen/Model/Management/ReceiptOptions.php +++ b/src/Adyen/Model/Management/ReceiptOptions.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ReceiptPrinting.php b/src/Adyen/Model/Management/ReceiptPrinting.php index 3b5375c9e..b455d0478 100644 --- a/src/Adyen/Model/Management/ReceiptPrinting.php +++ b/src/Adyen/Model/Management/ReceiptPrinting.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ReleaseUpdateDetails.php b/src/Adyen/Model/Management/ReleaseUpdateDetails.php index 00585540e..2d4b7574e 100644 --- a/src/Adyen/Model/Management/ReleaseUpdateDetails.php +++ b/src/Adyen/Model/Management/ReleaseUpdateDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/RequestActivationResponse.php b/src/Adyen/Model/Management/RequestActivationResponse.php index f6c6ad290..dbf593c41 100644 --- a/src/Adyen/Model/Management/RequestActivationResponse.php +++ b/src/Adyen/Model/Management/RequestActivationResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/RestServiceError.php b/src/Adyen/Model/Management/RestServiceError.php index 8cb282d53..1018e90fa 100644 --- a/src/Adyen/Model/Management/RestServiceError.php +++ b/src/Adyen/Model/Management/RestServiceError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ScheduleTerminalActionsRequest.php b/src/Adyen/Model/Management/ScheduleTerminalActionsRequest.php index 7753121ac..b260b14dd 100644 --- a/src/Adyen/Model/Management/ScheduleTerminalActionsRequest.php +++ b/src/Adyen/Model/Management/ScheduleTerminalActionsRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ScheduleTerminalActionsRequestActionDetails.php b/src/Adyen/Model/Management/ScheduleTerminalActionsRequestActionDetails.php index d63f1eb25..936dcdba9 100644 --- a/src/Adyen/Model/Management/ScheduleTerminalActionsRequestActionDetails.php +++ b/src/Adyen/Model/Management/ScheduleTerminalActionsRequestActionDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ScheduleTerminalActionsResponse.php b/src/Adyen/Model/Management/ScheduleTerminalActionsResponse.php index 5e441e97a..e7eafb082 100644 --- a/src/Adyen/Model/Management/ScheduleTerminalActionsResponse.php +++ b/src/Adyen/Model/Management/ScheduleTerminalActionsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Settings.php b/src/Adyen/Model/Management/Settings.php index 77e481e50..458814bb5 100644 --- a/src/Adyen/Model/Management/Settings.php +++ b/src/Adyen/Model/Management/Settings.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ShippingLocation.php b/src/Adyen/Model/Management/ShippingLocation.php index 83bfc2edf..1e0bdf95f 100644 --- a/src/Adyen/Model/Management/ShippingLocation.php +++ b/src/Adyen/Model/Management/ShippingLocation.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/ShippingLocationsResponse.php b/src/Adyen/Model/Management/ShippingLocationsResponse.php index 3623665a2..44b31efdf 100644 --- a/src/Adyen/Model/Management/ShippingLocationsResponse.php +++ b/src/Adyen/Model/Management/ShippingLocationsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Signature.php b/src/Adyen/Model/Management/Signature.php index aedbb38cf..f9945bf4b 100644 --- a/src/Adyen/Model/Management/Signature.php +++ b/src/Adyen/Model/Management/Signature.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/SofortInfo.php b/src/Adyen/Model/Management/SofortInfo.php index 29c999731..8ed1fd3e4 100644 --- a/src/Adyen/Model/Management/SofortInfo.php +++ b/src/Adyen/Model/Management/SofortInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/SplitConfiguration.php b/src/Adyen/Model/Management/SplitConfiguration.php index 81fbd07f8..05f591df9 100644 --- a/src/Adyen/Model/Management/SplitConfiguration.php +++ b/src/Adyen/Model/Management/SplitConfiguration.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/SplitConfigurationList.php b/src/Adyen/Model/Management/SplitConfigurationList.php index 4793c0692..87e816436 100644 --- a/src/Adyen/Model/Management/SplitConfigurationList.php +++ b/src/Adyen/Model/Management/SplitConfigurationList.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/SplitConfigurationLogic.php b/src/Adyen/Model/Management/SplitConfigurationLogic.php index 37bfcbee7..cb15c2d24 100644 --- a/src/Adyen/Model/Management/SplitConfigurationLogic.php +++ b/src/Adyen/Model/Management/SplitConfigurationLogic.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/SplitConfigurationRule.php b/src/Adyen/Model/Management/SplitConfigurationRule.php index 85bf748e1..c8141915c 100644 --- a/src/Adyen/Model/Management/SplitConfigurationRule.php +++ b/src/Adyen/Model/Management/SplitConfigurationRule.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Standalone.php b/src/Adyen/Model/Management/Standalone.php index 4e91ce682..8213c43e7 100644 --- a/src/Adyen/Model/Management/Standalone.php +++ b/src/Adyen/Model/Management/Standalone.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Store.php b/src/Adyen/Model/Management/Store.php index e8db32b84..64aa41d6f 100644 --- a/src/Adyen/Model/Management/Store.php +++ b/src/Adyen/Model/Management/Store.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/StoreCreationRequest.php b/src/Adyen/Model/Management/StoreCreationRequest.php index 65df870b6..45ab630ba 100644 --- a/src/Adyen/Model/Management/StoreCreationRequest.php +++ b/src/Adyen/Model/Management/StoreCreationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/StoreCreationWithMerchantCodeRequest.php b/src/Adyen/Model/Management/StoreCreationWithMerchantCodeRequest.php index 518e0702e..c95213ef2 100644 --- a/src/Adyen/Model/Management/StoreCreationWithMerchantCodeRequest.php +++ b/src/Adyen/Model/Management/StoreCreationWithMerchantCodeRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/StoreLocation.php b/src/Adyen/Model/Management/StoreLocation.php index 4c8f6f840..4d1d2a0a0 100644 --- a/src/Adyen/Model/Management/StoreLocation.php +++ b/src/Adyen/Model/Management/StoreLocation.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/StoreSplitConfiguration.php b/src/Adyen/Model/Management/StoreSplitConfiguration.php index 2553ca53d..614f87cc5 100644 --- a/src/Adyen/Model/Management/StoreSplitConfiguration.php +++ b/src/Adyen/Model/Management/StoreSplitConfiguration.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -296,7 +296,7 @@ public function getBalanceAccountId() /** * Sets balanceAccountId * - * @param string|null $balanceAccountId The [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id) linked to the account holder. + * @param string|null $balanceAccountId The [unique identifier of the balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id) to which the split amount must be booked, depending on the defined [split logic](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/_merchantId_/splitConfigurations#request-rules-splitLogic). * * @return self */ @@ -323,7 +323,7 @@ public function getSplitConfigurationId() /** * Sets splitConfigurationId * - * @param string|null $splitConfigurationId The UUID of the [split configuration](https://docs.adyen.com/marketplaces-and-platforms/classic/split-configuration-for-stores) from the Customer Area. + * @param string|null $splitConfigurationId The unique identifier of the [split configuration profile](https://docs.adyen.com/marketplaces-and-platforms/automatic-split-configuration/create-split-configuration/). * * @return self */ diff --git a/src/Adyen/Model/Management/Surcharge.php b/src/Adyen/Model/Management/Surcharge.php index 2e1f0cb1a..dc2112560 100644 --- a/src/Adyen/Model/Management/Surcharge.php +++ b/src/Adyen/Model/Management/Surcharge.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/SwishInfo.php b/src/Adyen/Model/Management/SwishInfo.php index 6eb0a61d7..50f234095 100644 --- a/src/Adyen/Model/Management/SwishInfo.php +++ b/src/Adyen/Model/Management/SwishInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Terminal.php b/src/Adyen/Model/Management/Terminal.php index 5d5bc198d..219cc8daa 100644 --- a/src/Adyen/Model/Management/Terminal.php +++ b/src/Adyen/Model/Management/Terminal.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TerminalActionScheduleDetail.php b/src/Adyen/Model/Management/TerminalActionScheduleDetail.php index 808673b72..1055125e6 100644 --- a/src/Adyen/Model/Management/TerminalActionScheduleDetail.php +++ b/src/Adyen/Model/Management/TerminalActionScheduleDetail.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TerminalAssignment.php b/src/Adyen/Model/Management/TerminalAssignment.php index 649a9cc1d..860176e40 100644 --- a/src/Adyen/Model/Management/TerminalAssignment.php +++ b/src/Adyen/Model/Management/TerminalAssignment.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TerminalConnectivity.php b/src/Adyen/Model/Management/TerminalConnectivity.php index c3c22b33a..cbc8cab54 100644 --- a/src/Adyen/Model/Management/TerminalConnectivity.php +++ b/src/Adyen/Model/Management/TerminalConnectivity.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TerminalConnectivityBluetooth.php b/src/Adyen/Model/Management/TerminalConnectivityBluetooth.php index 005ae7e44..9b687f887 100644 --- a/src/Adyen/Model/Management/TerminalConnectivityBluetooth.php +++ b/src/Adyen/Model/Management/TerminalConnectivityBluetooth.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TerminalConnectivityCellular.php b/src/Adyen/Model/Management/TerminalConnectivityCellular.php index daa3c3019..429f44043 100644 --- a/src/Adyen/Model/Management/TerminalConnectivityCellular.php +++ b/src/Adyen/Model/Management/TerminalConnectivityCellular.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TerminalConnectivityEthernet.php b/src/Adyen/Model/Management/TerminalConnectivityEthernet.php index 2d6674bd7..b70de5fcd 100644 --- a/src/Adyen/Model/Management/TerminalConnectivityEthernet.php +++ b/src/Adyen/Model/Management/TerminalConnectivityEthernet.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TerminalConnectivityWifi.php b/src/Adyen/Model/Management/TerminalConnectivityWifi.php index 4a60f67bb..5d82e3678 100644 --- a/src/Adyen/Model/Management/TerminalConnectivityWifi.php +++ b/src/Adyen/Model/Management/TerminalConnectivityWifi.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TerminalModelsResponse.php b/src/Adyen/Model/Management/TerminalModelsResponse.php index 0f062491b..9e0149aa3 100644 --- a/src/Adyen/Model/Management/TerminalModelsResponse.php +++ b/src/Adyen/Model/Management/TerminalModelsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TerminalOrder.php b/src/Adyen/Model/Management/TerminalOrder.php index 22b611c5a..a3c5c71e8 100644 --- a/src/Adyen/Model/Management/TerminalOrder.php +++ b/src/Adyen/Model/Management/TerminalOrder.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TerminalOrderRequest.php b/src/Adyen/Model/Management/TerminalOrderRequest.php index 1765ebb50..f291e8ec0 100644 --- a/src/Adyen/Model/Management/TerminalOrderRequest.php +++ b/src/Adyen/Model/Management/TerminalOrderRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TerminalOrdersResponse.php b/src/Adyen/Model/Management/TerminalOrdersResponse.php index 3ce90bf47..a5f4ac74a 100644 --- a/src/Adyen/Model/Management/TerminalOrdersResponse.php +++ b/src/Adyen/Model/Management/TerminalOrdersResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TerminalProduct.php b/src/Adyen/Model/Management/TerminalProduct.php index 64e97ef76..e204d6f0f 100644 --- a/src/Adyen/Model/Management/TerminalProduct.php +++ b/src/Adyen/Model/Management/TerminalProduct.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TerminalProductPrice.php b/src/Adyen/Model/Management/TerminalProductPrice.php index 6b4a3bd23..f39fa4b27 100644 --- a/src/Adyen/Model/Management/TerminalProductPrice.php +++ b/src/Adyen/Model/Management/TerminalProductPrice.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -45,7 +45,7 @@ class TerminalProductPrice implements ModelInterface, ArrayAccess, \JsonSerializ */ protected static $openAPITypes = [ 'currency' => 'string', - 'value' => 'float' + 'value' => 'double' ]; /** @@ -313,7 +313,7 @@ public function setCurrency($currency) /** * Gets value * - * @return float|null + * @return double|null */ public function getValue() { @@ -323,7 +323,7 @@ public function getValue() /** * Sets value * - * @param float|null $value The price of the item. + * @param double|null $value The price of the item. * * @return self */ diff --git a/src/Adyen/Model/Management/TerminalProductsResponse.php b/src/Adyen/Model/Management/TerminalProductsResponse.php index a2154ee75..440934e54 100644 --- a/src/Adyen/Model/Management/TerminalProductsResponse.php +++ b/src/Adyen/Model/Management/TerminalProductsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TerminalReassignmentRequest.php b/src/Adyen/Model/Management/TerminalReassignmentRequest.php index 7a7c01644..4f43be0b5 100644 --- a/src/Adyen/Model/Management/TerminalReassignmentRequest.php +++ b/src/Adyen/Model/Management/TerminalReassignmentRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TerminalReassignmentTarget.php b/src/Adyen/Model/Management/TerminalReassignmentTarget.php index 60675ae64..dbe4108e0 100644 --- a/src/Adyen/Model/Management/TerminalReassignmentTarget.php +++ b/src/Adyen/Model/Management/TerminalReassignmentTarget.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TerminalSettings.php b/src/Adyen/Model/Management/TerminalSettings.php index ca1aaa2a2..001a5ee0f 100644 --- a/src/Adyen/Model/Management/TerminalSettings.php +++ b/src/Adyen/Model/Management/TerminalSettings.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TestCompanyWebhookRequest.php b/src/Adyen/Model/Management/TestCompanyWebhookRequest.php index 499b6edaa..0d7d2ce4d 100644 --- a/src/Adyen/Model/Management/TestCompanyWebhookRequest.php +++ b/src/Adyen/Model/Management/TestCompanyWebhookRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TestOutput.php b/src/Adyen/Model/Management/TestOutput.php index ebb8767ec..e27895498 100644 --- a/src/Adyen/Model/Management/TestOutput.php +++ b/src/Adyen/Model/Management/TestOutput.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TestWebhookRequest.php b/src/Adyen/Model/Management/TestWebhookRequest.php index 5077cc412..92d40835f 100644 --- a/src/Adyen/Model/Management/TestWebhookRequest.php +++ b/src/Adyen/Model/Management/TestWebhookRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TestWebhookResponse.php b/src/Adyen/Model/Management/TestWebhookResponse.php index 77a9a6290..f7644e272 100644 --- a/src/Adyen/Model/Management/TestWebhookResponse.php +++ b/src/Adyen/Model/Management/TestWebhookResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Timeouts.php b/src/Adyen/Model/Management/Timeouts.php index ebfad1f35..0832484eb 100644 --- a/src/Adyen/Model/Management/Timeouts.php +++ b/src/Adyen/Model/Management/Timeouts.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TransactionDescriptionInfo.php b/src/Adyen/Model/Management/TransactionDescriptionInfo.php index 8f2db8d8c..d33f2e53b 100644 --- a/src/Adyen/Model/Management/TransactionDescriptionInfo.php +++ b/src/Adyen/Model/Management/TransactionDescriptionInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/TwintInfo.php b/src/Adyen/Model/Management/TwintInfo.php index 82ab4439a..de32eac06 100644 --- a/src/Adyen/Model/Management/TwintInfo.php +++ b/src/Adyen/Model/Management/TwintInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/UninstallAndroidAppDetails.php b/src/Adyen/Model/Management/UninstallAndroidAppDetails.php index 57637be89..e7c943959 100644 --- a/src/Adyen/Model/Management/UninstallAndroidAppDetails.php +++ b/src/Adyen/Model/Management/UninstallAndroidAppDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/UninstallAndroidCertificateDetails.php b/src/Adyen/Model/Management/UninstallAndroidCertificateDetails.php index 5624dc3a4..3675c6f45 100644 --- a/src/Adyen/Model/Management/UninstallAndroidCertificateDetails.php +++ b/src/Adyen/Model/Management/UninstallAndroidCertificateDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/UpdatableAddress.php b/src/Adyen/Model/Management/UpdatableAddress.php index 7dec99a88..7a06f6c75 100644 --- a/src/Adyen/Model/Management/UpdatableAddress.php +++ b/src/Adyen/Model/Management/UpdatableAddress.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/UpdateCompanyApiCredentialRequest.php b/src/Adyen/Model/Management/UpdateCompanyApiCredentialRequest.php index 900a45431..d8f7e930c 100644 --- a/src/Adyen/Model/Management/UpdateCompanyApiCredentialRequest.php +++ b/src/Adyen/Model/Management/UpdateCompanyApiCredentialRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/UpdateCompanyUserRequest.php b/src/Adyen/Model/Management/UpdateCompanyUserRequest.php index d62f6d5e2..4dc6d7af0 100644 --- a/src/Adyen/Model/Management/UpdateCompanyUserRequest.php +++ b/src/Adyen/Model/Management/UpdateCompanyUserRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/UpdateCompanyWebhookRequest.php b/src/Adyen/Model/Management/UpdateCompanyWebhookRequest.php index 1d2e774fe..f0f181706 100644 --- a/src/Adyen/Model/Management/UpdateCompanyWebhookRequest.php +++ b/src/Adyen/Model/Management/UpdateCompanyWebhookRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/UpdateMerchantApiCredentialRequest.php b/src/Adyen/Model/Management/UpdateMerchantApiCredentialRequest.php index 88908e8c4..a81c32556 100644 --- a/src/Adyen/Model/Management/UpdateMerchantApiCredentialRequest.php +++ b/src/Adyen/Model/Management/UpdateMerchantApiCredentialRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/UpdateMerchantUserRequest.php b/src/Adyen/Model/Management/UpdateMerchantUserRequest.php index 3737e0e05..9dbd93bd8 100644 --- a/src/Adyen/Model/Management/UpdateMerchantUserRequest.php +++ b/src/Adyen/Model/Management/UpdateMerchantUserRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/UpdateMerchantWebhookRequest.php b/src/Adyen/Model/Management/UpdateMerchantWebhookRequest.php index c99dd6cca..196304e1f 100644 --- a/src/Adyen/Model/Management/UpdateMerchantWebhookRequest.php +++ b/src/Adyen/Model/Management/UpdateMerchantWebhookRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/UpdatePaymentMethodInfo.php b/src/Adyen/Model/Management/UpdatePaymentMethodInfo.php index f83c0b480..eea8a8efc 100644 --- a/src/Adyen/Model/Management/UpdatePaymentMethodInfo.php +++ b/src/Adyen/Model/Management/UpdatePaymentMethodInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/UpdatePayoutSettingsRequest.php b/src/Adyen/Model/Management/UpdatePayoutSettingsRequest.php index 55e3eb8bb..91312a376 100644 --- a/src/Adyen/Model/Management/UpdatePayoutSettingsRequest.php +++ b/src/Adyen/Model/Management/UpdatePayoutSettingsRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/UpdateSplitConfigurationLogicRequest.php b/src/Adyen/Model/Management/UpdateSplitConfigurationLogicRequest.php index 3517adce0..6eea3c1ce 100644 --- a/src/Adyen/Model/Management/UpdateSplitConfigurationLogicRequest.php +++ b/src/Adyen/Model/Management/UpdateSplitConfigurationLogicRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/UpdateSplitConfigurationRequest.php b/src/Adyen/Model/Management/UpdateSplitConfigurationRequest.php index 34a1747c2..e971bbba9 100644 --- a/src/Adyen/Model/Management/UpdateSplitConfigurationRequest.php +++ b/src/Adyen/Model/Management/UpdateSplitConfigurationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/UpdateSplitConfigurationRuleRequest.php b/src/Adyen/Model/Management/UpdateSplitConfigurationRuleRequest.php index 51abca78f..b1b868f80 100644 --- a/src/Adyen/Model/Management/UpdateSplitConfigurationRuleRequest.php +++ b/src/Adyen/Model/Management/UpdateSplitConfigurationRuleRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/UpdateStoreRequest.php b/src/Adyen/Model/Management/UpdateStoreRequest.php index b86f124c4..1d34f2111 100644 --- a/src/Adyen/Model/Management/UpdateStoreRequest.php +++ b/src/Adyen/Model/Management/UpdateStoreRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -48,6 +48,7 @@ class UpdateStoreRequest implements ModelInterface, ArrayAccess, \JsonSerializab 'businessLineIds' => 'string[]', 'description' => 'string', 'externalReferenceId' => 'string', + 'phoneNumber' => 'string', 'splitConfiguration' => '\Adyen\Model\Management\StoreSplitConfiguration', 'status' => 'string' ]; @@ -64,6 +65,7 @@ class UpdateStoreRequest implements ModelInterface, ArrayAccess, \JsonSerializab 'businessLineIds' => null, 'description' => null, 'externalReferenceId' => null, + 'phoneNumber' => null, 'splitConfiguration' => null, 'status' => null ]; @@ -78,6 +80,7 @@ class UpdateStoreRequest implements ModelInterface, ArrayAccess, \JsonSerializab 'businessLineIds' => false, 'description' => false, 'externalReferenceId' => false, + 'phoneNumber' => false, 'splitConfiguration' => false, 'status' => false ]; @@ -172,6 +175,7 @@ public function isNullableSetToNull(string $property): bool 'businessLineIds' => 'businessLineIds', 'description' => 'description', 'externalReferenceId' => 'externalReferenceId', + 'phoneNumber' => 'phoneNumber', 'splitConfiguration' => 'splitConfiguration', 'status' => 'status' ]; @@ -186,6 +190,7 @@ public function isNullableSetToNull(string $property): bool 'businessLineIds' => 'setBusinessLineIds', 'description' => 'setDescription', 'externalReferenceId' => 'setExternalReferenceId', + 'phoneNumber' => 'setPhoneNumber', 'splitConfiguration' => 'setSplitConfiguration', 'status' => 'setStatus' ]; @@ -200,6 +205,7 @@ public function isNullableSetToNull(string $property): bool 'businessLineIds' => 'getBusinessLineIds', 'description' => 'getDescription', 'externalReferenceId' => 'getExternalReferenceId', + 'phoneNumber' => 'getPhoneNumber', 'splitConfiguration' => 'getSplitConfiguration', 'status' => 'getStatus' ]; @@ -281,6 +287,7 @@ public function __construct(array $data = null) $this->setIfExists('businessLineIds', $data ?? [], null); $this->setIfExists('description', $data ?? [], null); $this->setIfExists('externalReferenceId', $data ?? [], null); + $this->setIfExists('phoneNumber', $data ?? [], null); $this->setIfExists('splitConfiguration', $data ?? [], null); $this->setIfExists('status', $data ?? [], null); } @@ -444,6 +451,33 @@ public function setExternalReferenceId($externalReferenceId) return $this; } + /** + * Gets phoneNumber + * + * @return string|null + */ + public function getPhoneNumber() + { + return $this->container['phoneNumber']; + } + + /** + * Sets phoneNumber + * + * @param string|null $phoneNumber The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164. + * + * @return self + */ + public function setPhoneNumber($phoneNumber) + { + if (is_null($phoneNumber)) { + throw new \InvalidArgumentException('non-nullable phoneNumber cannot be null'); + } + $this->container['phoneNumber'] = $phoneNumber; + + return $this; + } + /** * Gets splitConfiguration * diff --git a/src/Adyen/Model/Management/UploadAndroidAppResponse.php b/src/Adyen/Model/Management/UploadAndroidAppResponse.php index da80a3da1..1c3671df0 100644 --- a/src/Adyen/Model/Management/UploadAndroidAppResponse.php +++ b/src/Adyen/Model/Management/UploadAndroidAppResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Url.php b/src/Adyen/Model/Management/Url.php index 9735a46d1..487831a9d 100644 --- a/src/Adyen/Model/Management/Url.php +++ b/src/Adyen/Model/Management/Url.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/User.php b/src/Adyen/Model/Management/User.php index 0b284ec7d..caa563402 100644 --- a/src/Adyen/Model/Management/User.php +++ b/src/Adyen/Model/Management/User.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/VippsInfo.php b/src/Adyen/Model/Management/VippsInfo.php index e9460564e..1584715f4 100644 --- a/src/Adyen/Model/Management/VippsInfo.php +++ b/src/Adyen/Model/Management/VippsInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/Webhook.php b/src/Adyen/Model/Management/Webhook.php index 2764b60fa..6006b702e 100644 --- a/src/Adyen/Model/Management/Webhook.php +++ b/src/Adyen/Model/Management/Webhook.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/WebhookLinks.php b/src/Adyen/Model/Management/WebhookLinks.php index 38c7f5af3..9e636532a 100644 --- a/src/Adyen/Model/Management/WebhookLinks.php +++ b/src/Adyen/Model/Management/WebhookLinks.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Management/WifiProfiles.php b/src/Adyen/Model/Management/WifiProfiles.php index bce475c9e..7834a37f2 100644 --- a/src/Adyen/Model/Management/WifiProfiles.php +++ b/src/Adyen/Model/Management/WifiProfiles.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/AccountCapabilityData.php b/src/Adyen/Model/ManagementWebhooks/AccountCapabilityData.php index aa42d9ab0..d97ca0e9e 100644 --- a/src/Adyen/Model/ManagementWebhooks/AccountCapabilityData.php +++ b/src/Adyen/Model/ManagementWebhooks/AccountCapabilityData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/AccountCreateNotificationData.php b/src/Adyen/Model/ManagementWebhooks/AccountCreateNotificationData.php index 862aed709..913eff2ec 100644 --- a/src/Adyen/Model/ManagementWebhooks/AccountCreateNotificationData.php +++ b/src/Adyen/Model/ManagementWebhooks/AccountCreateNotificationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/AccountNotificationResponse.php b/src/Adyen/Model/ManagementWebhooks/AccountNotificationResponse.php index c496ca8d1..bf5eaf19e 100644 --- a/src/Adyen/Model/ManagementWebhooks/AccountNotificationResponse.php +++ b/src/Adyen/Model/ManagementWebhooks/AccountNotificationResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/AccountUpdateNotificationData.php b/src/Adyen/Model/ManagementWebhooks/AccountUpdateNotificationData.php index 1a0fa5aec..13526d3c4 100644 --- a/src/Adyen/Model/ManagementWebhooks/AccountUpdateNotificationData.php +++ b/src/Adyen/Model/ManagementWebhooks/AccountUpdateNotificationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/CapabilityProblem.php b/src/Adyen/Model/ManagementWebhooks/CapabilityProblem.php index fee307a4e..1e19c32f4 100644 --- a/src/Adyen/Model/ManagementWebhooks/CapabilityProblem.php +++ b/src/Adyen/Model/ManagementWebhooks/CapabilityProblem.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/CapabilityProblemEntity.php b/src/Adyen/Model/ManagementWebhooks/CapabilityProblemEntity.php index b125f0068..f259ee653 100644 --- a/src/Adyen/Model/ManagementWebhooks/CapabilityProblemEntity.php +++ b/src/Adyen/Model/ManagementWebhooks/CapabilityProblemEntity.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/CapabilityProblemEntityRecursive.php b/src/Adyen/Model/ManagementWebhooks/CapabilityProblemEntityRecursive.php index 1ab507551..fc728fff5 100644 --- a/src/Adyen/Model/ManagementWebhooks/CapabilityProblemEntityRecursive.php +++ b/src/Adyen/Model/ManagementWebhooks/CapabilityProblemEntityRecursive.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/MerchantCreatedNotificationRequest.php b/src/Adyen/Model/ManagementWebhooks/MerchantCreatedNotificationRequest.php index e005e93d8..b0922593c 100644 --- a/src/Adyen/Model/ManagementWebhooks/MerchantCreatedNotificationRequest.php +++ b/src/Adyen/Model/ManagementWebhooks/MerchantCreatedNotificationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/MerchantUpdatedNotificationRequest.php b/src/Adyen/Model/ManagementWebhooks/MerchantUpdatedNotificationRequest.php index 7642ccfb4..95e6d8c19 100644 --- a/src/Adyen/Model/ManagementWebhooks/MerchantUpdatedNotificationRequest.php +++ b/src/Adyen/Model/ManagementWebhooks/MerchantUpdatedNotificationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/MidServiceNotificationData.php b/src/Adyen/Model/ManagementWebhooks/MidServiceNotificationData.php index 4b15bcb39..36c82be6e 100644 --- a/src/Adyen/Model/ManagementWebhooks/MidServiceNotificationData.php +++ b/src/Adyen/Model/ManagementWebhooks/MidServiceNotificationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -548,7 +548,7 @@ public function getStatus() /** * Sets status * - * @param string $status The status of the request to add a payment method. Possible values: * **success**: the payment method was added. * **failure**: the request failed. * **dataRequired**: the request is in a draft state because the required KYC data are missing. To check what data are missing, [get the details of the legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/get/legalEntities/_id_). * **capabilityPending**: the **receivePayments** capability is not allowed. * **updatesExpected**: the **receivePayments** capability is not allowed and the required KYC data are missing. To check what data are missing, [get the details of the legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/get/legalEntities/_id_). + * @param string $status The status of the request to add a payment method. Possible values: * **success**: the payment method was added. * **failure**: the request failed. * **capabilityPending**: the **receivePayments** capability is not allowed. * * @return self */ diff --git a/src/Adyen/Model/ManagementWebhooks/ModelInterface.php b/src/Adyen/Model/ManagementWebhooks/ModelInterface.php index bed5c7efe..2e37eb2f9 100644 --- a/src/Adyen/Model/ManagementWebhooks/ModelInterface.php +++ b/src/Adyen/Model/ManagementWebhooks/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/ObjectSerializer.php b/src/Adyen/Model/ManagementWebhooks/ObjectSerializer.php index 2a5f9dfdd..a3626e45d 100644 --- a/src/Adyen/Model/ManagementWebhooks/ObjectSerializer.php +++ b/src/Adyen/Model/ManagementWebhooks/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/ManagementWebhooks/PaymentMethodCreatedNotificationRequest.php b/src/Adyen/Model/ManagementWebhooks/PaymentMethodCreatedNotificationRequest.php index 3eaac5827..9cf605a60 100644 --- a/src/Adyen/Model/ManagementWebhooks/PaymentMethodCreatedNotificationRequest.php +++ b/src/Adyen/Model/ManagementWebhooks/PaymentMethodCreatedNotificationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/PaymentMethodNotificationResponse.php b/src/Adyen/Model/ManagementWebhooks/PaymentMethodNotificationResponse.php index abd213547..055ca7775 100644 --- a/src/Adyen/Model/ManagementWebhooks/PaymentMethodNotificationResponse.php +++ b/src/Adyen/Model/ManagementWebhooks/PaymentMethodNotificationResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/PaymentMethodRequestRemovedNotificationRequest.php b/src/Adyen/Model/ManagementWebhooks/PaymentMethodRequestRemovedNotificationRequest.php index 97bea3c9d..4a60795a7 100644 --- a/src/Adyen/Model/ManagementWebhooks/PaymentMethodRequestRemovedNotificationRequest.php +++ b/src/Adyen/Model/ManagementWebhooks/PaymentMethodRequestRemovedNotificationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/PaymentMethodScheduledForRemovalNotificationRequest.php b/src/Adyen/Model/ManagementWebhooks/PaymentMethodScheduledForRemovalNotificationRequest.php index 7e88a3e45..02b961a02 100644 --- a/src/Adyen/Model/ManagementWebhooks/PaymentMethodScheduledForRemovalNotificationRequest.php +++ b/src/Adyen/Model/ManagementWebhooks/PaymentMethodScheduledForRemovalNotificationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/RemediatingAction.php b/src/Adyen/Model/ManagementWebhooks/RemediatingAction.php index 215369626..c2f479051 100644 --- a/src/Adyen/Model/ManagementWebhooks/RemediatingAction.php +++ b/src/Adyen/Model/ManagementWebhooks/RemediatingAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/VerificationError.php b/src/Adyen/Model/ManagementWebhooks/VerificationError.php index 48152a359..fba045e47 100644 --- a/src/Adyen/Model/ManagementWebhooks/VerificationError.php +++ b/src/Adyen/Model/ManagementWebhooks/VerificationError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ManagementWebhooks/VerificationErrorRecursive.php b/src/Adyen/Model/ManagementWebhooks/VerificationErrorRecursive.php index 269f58282..93863daab 100644 --- a/src/Adyen/Model/ManagementWebhooks/VerificationErrorRecursive.php +++ b/src/Adyen/Model/ManagementWebhooks/VerificationErrorRecursive.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/POSTerminalManagement/Address.php b/src/Adyen/Model/POSTerminalManagement/Address.php index 9ac39790f..b7e63fb41 100644 --- a/src/Adyen/Model/POSTerminalManagement/Address.php +++ b/src/Adyen/Model/POSTerminalManagement/Address.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/POSTerminalManagement/AssignTerminalsRequest.php b/src/Adyen/Model/POSTerminalManagement/AssignTerminalsRequest.php index e40a07e5d..e3bec84df 100644 --- a/src/Adyen/Model/POSTerminalManagement/AssignTerminalsRequest.php +++ b/src/Adyen/Model/POSTerminalManagement/AssignTerminalsRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/POSTerminalManagement/AssignTerminalsResponse.php b/src/Adyen/Model/POSTerminalManagement/AssignTerminalsResponse.php index 7fac4095e..90419d033 100644 --- a/src/Adyen/Model/POSTerminalManagement/AssignTerminalsResponse.php +++ b/src/Adyen/Model/POSTerminalManagement/AssignTerminalsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/POSTerminalManagement/FindTerminalRequest.php b/src/Adyen/Model/POSTerminalManagement/FindTerminalRequest.php index 143079d49..f6f82b85e 100644 --- a/src/Adyen/Model/POSTerminalManagement/FindTerminalRequest.php +++ b/src/Adyen/Model/POSTerminalManagement/FindTerminalRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/POSTerminalManagement/FindTerminalResponse.php b/src/Adyen/Model/POSTerminalManagement/FindTerminalResponse.php index 0180c0baf..5bfd1bfb7 100644 --- a/src/Adyen/Model/POSTerminalManagement/FindTerminalResponse.php +++ b/src/Adyen/Model/POSTerminalManagement/FindTerminalResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/POSTerminalManagement/GetStoresUnderAccountRequest.php b/src/Adyen/Model/POSTerminalManagement/GetStoresUnderAccountRequest.php index 292ed7149..4e8965181 100644 --- a/src/Adyen/Model/POSTerminalManagement/GetStoresUnderAccountRequest.php +++ b/src/Adyen/Model/POSTerminalManagement/GetStoresUnderAccountRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/POSTerminalManagement/GetStoresUnderAccountResponse.php b/src/Adyen/Model/POSTerminalManagement/GetStoresUnderAccountResponse.php index 6f1ebd2a8..bd6c08da0 100644 --- a/src/Adyen/Model/POSTerminalManagement/GetStoresUnderAccountResponse.php +++ b/src/Adyen/Model/POSTerminalManagement/GetStoresUnderAccountResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/POSTerminalManagement/GetTerminalDetailsRequest.php b/src/Adyen/Model/POSTerminalManagement/GetTerminalDetailsRequest.php index c8cb240e0..0405aee1b 100644 --- a/src/Adyen/Model/POSTerminalManagement/GetTerminalDetailsRequest.php +++ b/src/Adyen/Model/POSTerminalManagement/GetTerminalDetailsRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/POSTerminalManagement/GetTerminalDetailsResponse.php b/src/Adyen/Model/POSTerminalManagement/GetTerminalDetailsResponse.php index 2022450d2..f4dfb8692 100644 --- a/src/Adyen/Model/POSTerminalManagement/GetTerminalDetailsResponse.php +++ b/src/Adyen/Model/POSTerminalManagement/GetTerminalDetailsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/POSTerminalManagement/GetTerminalsUnderAccountRequest.php b/src/Adyen/Model/POSTerminalManagement/GetTerminalsUnderAccountRequest.php index 2a11392dd..5d6777cd2 100644 --- a/src/Adyen/Model/POSTerminalManagement/GetTerminalsUnderAccountRequest.php +++ b/src/Adyen/Model/POSTerminalManagement/GetTerminalsUnderAccountRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/POSTerminalManagement/GetTerminalsUnderAccountResponse.php b/src/Adyen/Model/POSTerminalManagement/GetTerminalsUnderAccountResponse.php index bd8c5cfe6..29e2515ed 100644 --- a/src/Adyen/Model/POSTerminalManagement/GetTerminalsUnderAccountResponse.php +++ b/src/Adyen/Model/POSTerminalManagement/GetTerminalsUnderAccountResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/POSTerminalManagement/MerchantAccount.php b/src/Adyen/Model/POSTerminalManagement/MerchantAccount.php index bf48100c0..51d94dcc2 100644 --- a/src/Adyen/Model/POSTerminalManagement/MerchantAccount.php +++ b/src/Adyen/Model/POSTerminalManagement/MerchantAccount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/POSTerminalManagement/ModelInterface.php b/src/Adyen/Model/POSTerminalManagement/ModelInterface.php index 08ddecc37..1f53e429a 100644 --- a/src/Adyen/Model/POSTerminalManagement/ModelInterface.php +++ b/src/Adyen/Model/POSTerminalManagement/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/POSTerminalManagement/ObjectSerializer.php b/src/Adyen/Model/POSTerminalManagement/ObjectSerializer.php index 570b6d004..b6a5027ee 100644 --- a/src/Adyen/Model/POSTerminalManagement/ObjectSerializer.php +++ b/src/Adyen/Model/POSTerminalManagement/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/POSTerminalManagement/ServiceError.php b/src/Adyen/Model/POSTerminalManagement/ServiceError.php index 92cc7b76d..125ddf9d7 100644 --- a/src/Adyen/Model/POSTerminalManagement/ServiceError.php +++ b/src/Adyen/Model/POSTerminalManagement/ServiceError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/POSTerminalManagement/Store.php b/src/Adyen/Model/POSTerminalManagement/Store.php index 26d96dc0d..e11a908de 100644 --- a/src/Adyen/Model/POSTerminalManagement/Store.php +++ b/src/Adyen/Model/POSTerminalManagement/Store.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AccountInfo.php b/src/Adyen/Model/Payments/AccountInfo.php index 958b6b28c..1a440c682 100644 --- a/src/Adyen/Model/Payments/AccountInfo.php +++ b/src/Adyen/Model/Payments/AccountInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AcctInfo.php b/src/Adyen/Model/Payments/AcctInfo.php index d55f5e453..ad08e243c 100644 --- a/src/Adyen/Model/Payments/AcctInfo.php +++ b/src/Adyen/Model/Payments/AcctInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdditionalData3DSecure.php b/src/Adyen/Model/Payments/AdditionalData3DSecure.php index 1d9ed41a7..8419c212c 100644 --- a/src/Adyen/Model/Payments/AdditionalData3DSecure.php +++ b/src/Adyen/Model/Payments/AdditionalData3DSecure.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdditionalDataAirline.php b/src/Adyen/Model/Payments/AdditionalDataAirline.php index f74aedbd0..e53647b9b 100644 --- a/src/Adyen/Model/Payments/AdditionalDataAirline.php +++ b/src/Adyen/Model/Payments/AdditionalDataAirline.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdditionalDataCarRental.php b/src/Adyen/Model/Payments/AdditionalDataCarRental.php index d47a9c04e..cc8efafa9 100644 --- a/src/Adyen/Model/Payments/AdditionalDataCarRental.php +++ b/src/Adyen/Model/Payments/AdditionalDataCarRental.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdditionalDataCommon.php b/src/Adyen/Model/Payments/AdditionalDataCommon.php index 6089e7c4b..81c6c951f 100644 --- a/src/Adyen/Model/Payments/AdditionalDataCommon.php +++ b/src/Adyen/Model/Payments/AdditionalDataCommon.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdditionalDataLevel23.php b/src/Adyen/Model/Payments/AdditionalDataLevel23.php index 8347f4508..c0ef36573 100644 --- a/src/Adyen/Model/Payments/AdditionalDataLevel23.php +++ b/src/Adyen/Model/Payments/AdditionalDataLevel23.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdditionalDataLodging.php b/src/Adyen/Model/Payments/AdditionalDataLodging.php index 0e946694d..83349e421 100644 --- a/src/Adyen/Model/Payments/AdditionalDataLodging.php +++ b/src/Adyen/Model/Payments/AdditionalDataLodging.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdditionalDataModifications.php b/src/Adyen/Model/Payments/AdditionalDataModifications.php index 58c60ec3f..e5b3b9372 100644 --- a/src/Adyen/Model/Payments/AdditionalDataModifications.php +++ b/src/Adyen/Model/Payments/AdditionalDataModifications.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdditionalDataOpenInvoice.php b/src/Adyen/Model/Payments/AdditionalDataOpenInvoice.php index 867902ae8..e71acda2e 100644 --- a/src/Adyen/Model/Payments/AdditionalDataOpenInvoice.php +++ b/src/Adyen/Model/Payments/AdditionalDataOpenInvoice.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdditionalDataOpi.php b/src/Adyen/Model/Payments/AdditionalDataOpi.php index 9a2fa8f66..135f46b12 100644 --- a/src/Adyen/Model/Payments/AdditionalDataOpi.php +++ b/src/Adyen/Model/Payments/AdditionalDataOpi.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdditionalDataRatepay.php b/src/Adyen/Model/Payments/AdditionalDataRatepay.php index 9dcba0f16..27ad73f04 100644 --- a/src/Adyen/Model/Payments/AdditionalDataRatepay.php +++ b/src/Adyen/Model/Payments/AdditionalDataRatepay.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdditionalDataRetry.php b/src/Adyen/Model/Payments/AdditionalDataRetry.php index f385f5c6f..ead34dd76 100644 --- a/src/Adyen/Model/Payments/AdditionalDataRetry.php +++ b/src/Adyen/Model/Payments/AdditionalDataRetry.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdditionalDataRisk.php b/src/Adyen/Model/Payments/AdditionalDataRisk.php index 94c171fd8..5ac1e78e9 100644 --- a/src/Adyen/Model/Payments/AdditionalDataRisk.php +++ b/src/Adyen/Model/Payments/AdditionalDataRisk.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdditionalDataRiskStandalone.php b/src/Adyen/Model/Payments/AdditionalDataRiskStandalone.php index 7948dcc6a..5abde54dd 100644 --- a/src/Adyen/Model/Payments/AdditionalDataRiskStandalone.php +++ b/src/Adyen/Model/Payments/AdditionalDataRiskStandalone.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdditionalDataSubMerchant.php b/src/Adyen/Model/Payments/AdditionalDataSubMerchant.php index fe9ce29dc..fc6f06207 100644 --- a/src/Adyen/Model/Payments/AdditionalDataSubMerchant.php +++ b/src/Adyen/Model/Payments/AdditionalDataSubMerchant.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdditionalDataTemporaryServices.php b/src/Adyen/Model/Payments/AdditionalDataTemporaryServices.php index 2f3810a0c..cc24a787e 100644 --- a/src/Adyen/Model/Payments/AdditionalDataTemporaryServices.php +++ b/src/Adyen/Model/Payments/AdditionalDataTemporaryServices.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdditionalDataWallets.php b/src/Adyen/Model/Payments/AdditionalDataWallets.php index aa6bd65a8..d4369e749 100644 --- a/src/Adyen/Model/Payments/AdditionalDataWallets.php +++ b/src/Adyen/Model/Payments/AdditionalDataWallets.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/Address.php b/src/Adyen/Model/Payments/Address.php index 7ca27b702..76e9fb060 100644 --- a/src/Adyen/Model/Payments/Address.php +++ b/src/Adyen/Model/Payments/Address.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AdjustAuthorisationRequest.php b/src/Adyen/Model/Payments/AdjustAuthorisationRequest.php index 8e5e96e9f..ea9c92e99 100644 --- a/src/Adyen/Model/Payments/AdjustAuthorisationRequest.php +++ b/src/Adyen/Model/Payments/AdjustAuthorisationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/Amount.php b/src/Adyen/Model/Payments/Amount.php index d0b5d571e..994777352 100644 --- a/src/Adyen/Model/Payments/Amount.php +++ b/src/Adyen/Model/Payments/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ApplicationInfo.php b/src/Adyen/Model/Payments/ApplicationInfo.php index 2d8f3ae5d..f20eb9a59 100644 --- a/src/Adyen/Model/Payments/ApplicationInfo.php +++ b/src/Adyen/Model/Payments/ApplicationInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AuthenticationResultRequest.php b/src/Adyen/Model/Payments/AuthenticationResultRequest.php index b0faf4e64..1fc1a786f 100644 --- a/src/Adyen/Model/Payments/AuthenticationResultRequest.php +++ b/src/Adyen/Model/Payments/AuthenticationResultRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/AuthenticationResultResponse.php b/src/Adyen/Model/Payments/AuthenticationResultResponse.php index 3d8d157ea..cf241b391 100644 --- a/src/Adyen/Model/Payments/AuthenticationResultResponse.php +++ b/src/Adyen/Model/Payments/AuthenticationResultResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/BankAccount.php b/src/Adyen/Model/Payments/BankAccount.php index 22615bb37..02e27bbc9 100644 --- a/src/Adyen/Model/Payments/BankAccount.php +++ b/src/Adyen/Model/Payments/BankAccount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/BrowserInfo.php b/src/Adyen/Model/Payments/BrowserInfo.php index 599039301..a8dbfac39 100644 --- a/src/Adyen/Model/Payments/BrowserInfo.php +++ b/src/Adyen/Model/Payments/BrowserInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/CancelOrRefundRequest.php b/src/Adyen/Model/Payments/CancelOrRefundRequest.php index 780ebcc4f..4c4749b50 100644 --- a/src/Adyen/Model/Payments/CancelOrRefundRequest.php +++ b/src/Adyen/Model/Payments/CancelOrRefundRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/CancelRequest.php b/src/Adyen/Model/Payments/CancelRequest.php index d8b603adb..0d6dd6d28 100644 --- a/src/Adyen/Model/Payments/CancelRequest.php +++ b/src/Adyen/Model/Payments/CancelRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/CaptureRequest.php b/src/Adyen/Model/Payments/CaptureRequest.php index 82707994e..e1ed0624b 100644 --- a/src/Adyen/Model/Payments/CaptureRequest.php +++ b/src/Adyen/Model/Payments/CaptureRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/Card.php b/src/Adyen/Model/Payments/Card.php index 45a662a60..2a31b6936 100644 --- a/src/Adyen/Model/Payments/Card.php +++ b/src/Adyen/Model/Payments/Card.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/CommonField.php b/src/Adyen/Model/Payments/CommonField.php index 248a52c3f..543bcc841 100644 --- a/src/Adyen/Model/Payments/CommonField.php +++ b/src/Adyen/Model/Payments/CommonField.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/DeviceRenderOptions.php b/src/Adyen/Model/Payments/DeviceRenderOptions.php index 686cb2c56..e064ceeaf 100644 --- a/src/Adyen/Model/Payments/DeviceRenderOptions.php +++ b/src/Adyen/Model/Payments/DeviceRenderOptions.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/DonationRequest.php b/src/Adyen/Model/Payments/DonationRequest.php index c57ea48e6..d98155a3c 100644 --- a/src/Adyen/Model/Payments/DonationRequest.php +++ b/src/Adyen/Model/Payments/DonationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ExternalPlatform.php b/src/Adyen/Model/Payments/ExternalPlatform.php index e0487dcaf..4a36ab4ef 100644 --- a/src/Adyen/Model/Payments/ExternalPlatform.php +++ b/src/Adyen/Model/Payments/ExternalPlatform.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ForexQuote.php b/src/Adyen/Model/Payments/ForexQuote.php index 6b8a193a8..ca825425b 100644 --- a/src/Adyen/Model/Payments/ForexQuote.php +++ b/src/Adyen/Model/Payments/ForexQuote.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/FraudCheckResult.php b/src/Adyen/Model/Payments/FraudCheckResult.php index 0311bafe8..d56c0c38a 100644 --- a/src/Adyen/Model/Payments/FraudCheckResult.php +++ b/src/Adyen/Model/Payments/FraudCheckResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/FraudCheckResultWrapper.php b/src/Adyen/Model/Payments/FraudCheckResultWrapper.php index e0fb85c0e..16af9bc34 100644 --- a/src/Adyen/Model/Payments/FraudCheckResultWrapper.php +++ b/src/Adyen/Model/Payments/FraudCheckResultWrapper.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/FraudResult.php b/src/Adyen/Model/Payments/FraudResult.php index 26fbe981f..5431db9f4 100644 --- a/src/Adyen/Model/Payments/FraudResult.php +++ b/src/Adyen/Model/Payments/FraudResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/FundDestination.php b/src/Adyen/Model/Payments/FundDestination.php index 54424d3e9..74914ef96 100644 --- a/src/Adyen/Model/Payments/FundDestination.php +++ b/src/Adyen/Model/Payments/FundDestination.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/FundSource.php b/src/Adyen/Model/Payments/FundSource.php index e4f1a282f..76ace6f80 100644 --- a/src/Adyen/Model/Payments/FundSource.php +++ b/src/Adyen/Model/Payments/FundSource.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/Installments.php b/src/Adyen/Model/Payments/Installments.php index 4470d02bd..87efe51bc 100644 --- a/src/Adyen/Model/Payments/Installments.php +++ b/src/Adyen/Model/Payments/Installments.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/Mandate.php b/src/Adyen/Model/Payments/Mandate.php index 16a04dbe3..16fad6d71 100644 --- a/src/Adyen/Model/Payments/Mandate.php +++ b/src/Adyen/Model/Payments/Mandate.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/MerchantDevice.php b/src/Adyen/Model/Payments/MerchantDevice.php index 25ad4ef7b..a82adff5d 100644 --- a/src/Adyen/Model/Payments/MerchantDevice.php +++ b/src/Adyen/Model/Payments/MerchantDevice.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/MerchantRiskIndicator.php b/src/Adyen/Model/Payments/MerchantRiskIndicator.php index 9ad148f81..fe1496787 100644 --- a/src/Adyen/Model/Payments/MerchantRiskIndicator.php +++ b/src/Adyen/Model/Payments/MerchantRiskIndicator.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ModelInterface.php b/src/Adyen/Model/Payments/ModelInterface.php index e2fcc59be..c563f2972 100644 --- a/src/Adyen/Model/Payments/ModelInterface.php +++ b/src/Adyen/Model/Payments/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ModificationResult.php b/src/Adyen/Model/Payments/ModificationResult.php index deaaba683..1f62496d0 100644 --- a/src/Adyen/Model/Payments/ModificationResult.php +++ b/src/Adyen/Model/Payments/ModificationResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/Name.php b/src/Adyen/Model/Payments/Name.php index f9448766b..174554db7 100644 --- a/src/Adyen/Model/Payments/Name.php +++ b/src/Adyen/Model/Payments/Name.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ObjectSerializer.php b/src/Adyen/Model/Payments/ObjectSerializer.php index f7913dac6..ae7a870cb 100644 --- a/src/Adyen/Model/Payments/ObjectSerializer.php +++ b/src/Adyen/Model/Payments/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/Payments/PaymentRequest.php b/src/Adyen/Model/Payments/PaymentRequest.php index b012bd672..fec990ada 100644 --- a/src/Adyen/Model/Payments/PaymentRequest.php +++ b/src/Adyen/Model/Payments/PaymentRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -529,6 +529,7 @@ public function getModelName() public const ENTITY_TYPE_NATURAL_PERSON = 'NaturalPerson'; public const ENTITY_TYPE_COMPANY_NAME = 'CompanyName'; + public const FUNDING_SOURCE_CREDIT = 'credit'; public const FUNDING_SOURCE_DEBIT = 'debit'; public const RECURRING_PROCESSING_MODEL_CARD_ON_FILE = 'CardOnFile'; public const RECURRING_PROCESSING_MODEL_SUBSCRIPTION = 'Subscription'; @@ -558,6 +559,7 @@ public function getEntityTypeAllowableValues() public function getFundingSourceAllowableValues() { return [ + self::FUNDING_SOURCE_CREDIT, self::FUNDING_SOURCE_DEBIT, ]; } diff --git a/src/Adyen/Model/Payments/PaymentRequest3d.php b/src/Adyen/Model/Payments/PaymentRequest3d.php index 38dc9d05a..54d09679c 100644 --- a/src/Adyen/Model/Payments/PaymentRequest3d.php +++ b/src/Adyen/Model/Payments/PaymentRequest3d.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/PaymentRequest3ds2.php b/src/Adyen/Model/Payments/PaymentRequest3ds2.php index 85071c929..8824acaa9 100644 --- a/src/Adyen/Model/Payments/PaymentRequest3ds2.php +++ b/src/Adyen/Model/Payments/PaymentRequest3ds2.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/PaymentResult.php b/src/Adyen/Model/Payments/PaymentResult.php index 6007582a4..b5187bb4a 100644 --- a/src/Adyen/Model/Payments/PaymentResult.php +++ b/src/Adyen/Model/Payments/PaymentResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/Phone.php b/src/Adyen/Model/Payments/Phone.php index 872088364..451964de6 100644 --- a/src/Adyen/Model/Payments/Phone.php +++ b/src/Adyen/Model/Payments/Phone.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/PlatformChargebackLogic.php b/src/Adyen/Model/Payments/PlatformChargebackLogic.php index 358054f1c..d218633f7 100644 --- a/src/Adyen/Model/Payments/PlatformChargebackLogic.php +++ b/src/Adyen/Model/Payments/PlatformChargebackLogic.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/Recurring.php b/src/Adyen/Model/Payments/Recurring.php index 932dfb4ee..81ed21d62 100644 --- a/src/Adyen/Model/Payments/Recurring.php +++ b/src/Adyen/Model/Payments/Recurring.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/RefundRequest.php b/src/Adyen/Model/Payments/RefundRequest.php index e707cd437..94073f597 100644 --- a/src/Adyen/Model/Payments/RefundRequest.php +++ b/src/Adyen/Model/Payments/RefundRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ResponseAdditionalData3DSecure.php b/src/Adyen/Model/Payments/ResponseAdditionalData3DSecure.php index 1f22ab1e7..4b0e4c831 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalData3DSecure.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalData3DSecure.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ResponseAdditionalDataBillingAddress.php b/src/Adyen/Model/Payments/ResponseAdditionalDataBillingAddress.php index 4ab8704de..8b00ce93a 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalDataBillingAddress.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalDataBillingAddress.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ResponseAdditionalDataCard.php b/src/Adyen/Model/Payments/ResponseAdditionalDataCard.php index 015378ab2..211073567 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalDataCard.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalDataCard.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ResponseAdditionalDataCommon.php b/src/Adyen/Model/Payments/ResponseAdditionalDataCommon.php index 2acf346a4..0b1391c97 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalDataCommon.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalDataCommon.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ResponseAdditionalDataDomesticError.php b/src/Adyen/Model/Payments/ResponseAdditionalDataDomesticError.php new file mode 100644 index 000000000..ace9c7981 --- /dev/null +++ b/src/Adyen/Model/Payments/ResponseAdditionalDataDomesticError.php @@ -0,0 +1,418 @@ + + */ +class ResponseAdditionalDataDomesticError implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'ResponseAdditionalDataDomesticError'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'domesticRefusalReasonRaw' => 'string', + 'domesticShopperAdvice' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'domesticRefusalReasonRaw' => null, + 'domesticShopperAdvice' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static $openAPINullables = [ + 'domesticRefusalReasonRaw' => false, + 'domesticShopperAdvice' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'domesticRefusalReasonRaw' => 'domesticRefusalReasonRaw', + 'domesticShopperAdvice' => 'domesticShopperAdvice' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'domesticRefusalReasonRaw' => 'setDomesticRefusalReasonRaw', + 'domesticShopperAdvice' => 'setDomesticShopperAdvice' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'domesticRefusalReasonRaw' => 'getDomesticRefusalReasonRaw', + 'domesticShopperAdvice' => 'getDomesticShopperAdvice' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->setIfExists('domesticRefusalReasonRaw', $data ?? [], null); + $this->setIfExists('domesticShopperAdvice', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets domesticRefusalReasonRaw + * + * @return string|null + */ + public function getDomesticRefusalReasonRaw() + { + return $this->container['domesticRefusalReasonRaw']; + } + + /** + * Sets domesticRefusalReasonRaw + * + * @param string|null $domesticRefusalReasonRaw The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan. + * + * @return self + */ + public function setDomesticRefusalReasonRaw($domesticRefusalReasonRaw) + { + if (is_null($domesticRefusalReasonRaw)) { + throw new \InvalidArgumentException('non-nullable domesticRefusalReasonRaw cannot be null'); + } + $this->container['domesticRefusalReasonRaw'] = $domesticRefusalReasonRaw; + + return $this; + } + + /** + * Gets domesticShopperAdvice + * + * @return string|null + */ + public function getDomesticShopperAdvice() + { + return $this->container['domesticShopperAdvice']; + } + + /** + * Sets domesticShopperAdvice + * + * @param string|null $domesticShopperAdvice The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan. + * + * @return self + */ + public function setDomesticShopperAdvice($domesticShopperAdvice) + { + if (is_null($domesticShopperAdvice)) { + throw new \InvalidArgumentException('non-nullable domesticShopperAdvice cannot be null'); + } + $this->container['domesticShopperAdvice'] = $domesticShopperAdvice; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } +} diff --git a/src/Adyen/Model/Payments/ResponseAdditionalDataInstallments.php b/src/Adyen/Model/Payments/ResponseAdditionalDataInstallments.php index 3b78d3e8a..eaf958cc0 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalDataInstallments.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalDataInstallments.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ResponseAdditionalDataNetworkTokens.php b/src/Adyen/Model/Payments/ResponseAdditionalDataNetworkTokens.php index d0b3be061..cf43f21be 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalDataNetworkTokens.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalDataNetworkTokens.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ResponseAdditionalDataOpi.php b/src/Adyen/Model/Payments/ResponseAdditionalDataOpi.php index 4621f63b8..194ff99b7 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalDataOpi.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalDataOpi.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ResponseAdditionalDataSepa.php b/src/Adyen/Model/Payments/ResponseAdditionalDataSepa.php index 4b2c5a7fa..8b644efd0 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalDataSepa.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalDataSepa.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/SDKEphemPubKey.php b/src/Adyen/Model/Payments/SDKEphemPubKey.php index 3fdd3c67c..97da0cb79 100644 --- a/src/Adyen/Model/Payments/SDKEphemPubKey.php +++ b/src/Adyen/Model/Payments/SDKEphemPubKey.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ServiceError.php b/src/Adyen/Model/Payments/ServiceError.php index e18a8afe7..2146ea4ce 100644 --- a/src/Adyen/Model/Payments/ServiceError.php +++ b/src/Adyen/Model/Payments/ServiceError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ShopperInteractionDevice.php b/src/Adyen/Model/Payments/ShopperInteractionDevice.php index 67235955e..0c7c8aa57 100644 --- a/src/Adyen/Model/Payments/ShopperInteractionDevice.php +++ b/src/Adyen/Model/Payments/ShopperInteractionDevice.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/Split.php b/src/Adyen/Model/Payments/Split.php index 1954e2b74..b41516409 100644 --- a/src/Adyen/Model/Payments/Split.php +++ b/src/Adyen/Model/Payments/Split.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -438,7 +438,7 @@ public function getReference() /** * Sets reference * - * @param string|null $reference Your reference for the split item. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/marketplaces-and-platforms)). For the other types, we also recommend sending a reference so you can reconcile the split and the associated payment in the transaction overview and in the reports. + * @param string|null $reference Your unique reference for the split item. This is required if `type` is **MarketPlace** ([Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic)) or **BalanceAccount** ([Balance Platform](https://docs.adyen.com/marketplaces-and-platforms)). For the other types, we also recommend providing a **unique** reference so you can reconcile the split and the associated payment in the transaction overview and in the reports. * * @return self */ diff --git a/src/Adyen/Model/Payments/SplitAmount.php b/src/Adyen/Model/Payments/SplitAmount.php index 00d85409e..c5229017e 100644 --- a/src/Adyen/Model/Payments/SplitAmount.php +++ b/src/Adyen/Model/Payments/SplitAmount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/SubMerchant.php b/src/Adyen/Model/Payments/SubMerchant.php index 54f5c7b6b..514737693 100644 --- a/src/Adyen/Model/Payments/SubMerchant.php +++ b/src/Adyen/Model/Payments/SubMerchant.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/TechnicalCancelRequest.php b/src/Adyen/Model/Payments/TechnicalCancelRequest.php index 4e674991b..dfad24c32 100644 --- a/src/Adyen/Model/Payments/TechnicalCancelRequest.php +++ b/src/Adyen/Model/Payments/TechnicalCancelRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ThreeDS1Result.php b/src/Adyen/Model/Payments/ThreeDS1Result.php index bd007e56f..707f35039 100644 --- a/src/Adyen/Model/Payments/ThreeDS1Result.php +++ b/src/Adyen/Model/Payments/ThreeDS1Result.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ThreeDS2RequestData.php b/src/Adyen/Model/Payments/ThreeDS2RequestData.php index 730d27d11..9add4f703 100644 --- a/src/Adyen/Model/Payments/ThreeDS2RequestData.php +++ b/src/Adyen/Model/Payments/ThreeDS2RequestData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ThreeDS2Result.php b/src/Adyen/Model/Payments/ThreeDS2Result.php index e96490780..bf2c77ced 100644 --- a/src/Adyen/Model/Payments/ThreeDS2Result.php +++ b/src/Adyen/Model/Payments/ThreeDS2Result.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ThreeDS2ResultRequest.php b/src/Adyen/Model/Payments/ThreeDS2ResultRequest.php index 117db1815..7e3172102 100644 --- a/src/Adyen/Model/Payments/ThreeDS2ResultRequest.php +++ b/src/Adyen/Model/Payments/ThreeDS2ResultRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ThreeDS2ResultResponse.php b/src/Adyen/Model/Payments/ThreeDS2ResultResponse.php index 9da2e29a7..f3bdfc383 100644 --- a/src/Adyen/Model/Payments/ThreeDS2ResultResponse.php +++ b/src/Adyen/Model/Payments/ThreeDS2ResultResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ThreeDSRequestorAuthenticationInfo.php b/src/Adyen/Model/Payments/ThreeDSRequestorAuthenticationInfo.php index 05e72189a..f075610ec 100644 --- a/src/Adyen/Model/Payments/ThreeDSRequestorAuthenticationInfo.php +++ b/src/Adyen/Model/Payments/ThreeDSRequestorAuthenticationInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ThreeDSRequestorPriorAuthenticationInfo.php b/src/Adyen/Model/Payments/ThreeDSRequestorPriorAuthenticationInfo.php index 41998968d..58f66a9c6 100644 --- a/src/Adyen/Model/Payments/ThreeDSRequestorPriorAuthenticationInfo.php +++ b/src/Adyen/Model/Payments/ThreeDSRequestorPriorAuthenticationInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/ThreeDSecureData.php b/src/Adyen/Model/Payments/ThreeDSecureData.php index fd95e68df..af1540a01 100644 --- a/src/Adyen/Model/Payments/ThreeDSecureData.php +++ b/src/Adyen/Model/Payments/ThreeDSecureData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payments/VoidPendingRefundRequest.php b/src/Adyen/Model/Payments/VoidPendingRefundRequest.php index 1742e933f..ad14637cb 100644 --- a/src/Adyen/Model/Payments/VoidPendingRefundRequest.php +++ b/src/Adyen/Model/Payments/VoidPendingRefundRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/Address.php b/src/Adyen/Model/Payout/Address.php index cf463cb0b..63168faf9 100644 --- a/src/Adyen/Model/Payout/Address.php +++ b/src/Adyen/Model/Payout/Address.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/Amount.php b/src/Adyen/Model/Payout/Amount.php index e1a3f8a08..298659024 100644 --- a/src/Adyen/Model/Payout/Amount.php +++ b/src/Adyen/Model/Payout/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/BankAccount.php b/src/Adyen/Model/Payout/BankAccount.php index 3a142f8a5..6880054d5 100644 --- a/src/Adyen/Model/Payout/BankAccount.php +++ b/src/Adyen/Model/Payout/BankAccount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/Card.php b/src/Adyen/Model/Payout/Card.php index c3609a76e..aa8537765 100644 --- a/src/Adyen/Model/Payout/Card.php +++ b/src/Adyen/Model/Payout/Card.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/FraudCheckResult.php b/src/Adyen/Model/Payout/FraudCheckResult.php index c679e7943..9799f9c49 100644 --- a/src/Adyen/Model/Payout/FraudCheckResult.php +++ b/src/Adyen/Model/Payout/FraudCheckResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/FraudCheckResultWrapper.php b/src/Adyen/Model/Payout/FraudCheckResultWrapper.php index 7febeab88..6afbeea7b 100644 --- a/src/Adyen/Model/Payout/FraudCheckResultWrapper.php +++ b/src/Adyen/Model/Payout/FraudCheckResultWrapper.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/FraudResult.php b/src/Adyen/Model/Payout/FraudResult.php index 464888574..925ee3250 100644 --- a/src/Adyen/Model/Payout/FraudResult.php +++ b/src/Adyen/Model/Payout/FraudResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/FundSource.php b/src/Adyen/Model/Payout/FundSource.php index 112cf98c1..30cf5a62e 100644 --- a/src/Adyen/Model/Payout/FundSource.php +++ b/src/Adyen/Model/Payout/FundSource.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/ModelInterface.php b/src/Adyen/Model/Payout/ModelInterface.php index d3ae56cba..371298bff 100644 --- a/src/Adyen/Model/Payout/ModelInterface.php +++ b/src/Adyen/Model/Payout/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/ModifyRequest.php b/src/Adyen/Model/Payout/ModifyRequest.php index c2c8c5002..9b01895f4 100644 --- a/src/Adyen/Model/Payout/ModifyRequest.php +++ b/src/Adyen/Model/Payout/ModifyRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/ModifyResponse.php b/src/Adyen/Model/Payout/ModifyResponse.php index a57e4c7a1..c320ad3ea 100644 --- a/src/Adyen/Model/Payout/ModifyResponse.php +++ b/src/Adyen/Model/Payout/ModifyResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/Name.php b/src/Adyen/Model/Payout/Name.php index 265217eb6..f142496bf 100644 --- a/src/Adyen/Model/Payout/Name.php +++ b/src/Adyen/Model/Payout/Name.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/ObjectSerializer.php b/src/Adyen/Model/Payout/ObjectSerializer.php index 5214cc41f..0d50f4363 100644 --- a/src/Adyen/Model/Payout/ObjectSerializer.php +++ b/src/Adyen/Model/Payout/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/Payout/PayoutRequest.php b/src/Adyen/Model/Payout/PayoutRequest.php index 677bd2c4d..c7321e214 100644 --- a/src/Adyen/Model/Payout/PayoutRequest.php +++ b/src/Adyen/Model/Payout/PayoutRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/PayoutResponse.php b/src/Adyen/Model/Payout/PayoutResponse.php index 96119d065..4644bd519 100644 --- a/src/Adyen/Model/Payout/PayoutResponse.php +++ b/src/Adyen/Model/Payout/PayoutResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/Recurring.php b/src/Adyen/Model/Payout/Recurring.php index 5174a5d7e..ecb68436f 100644 --- a/src/Adyen/Model/Payout/Recurring.php +++ b/src/Adyen/Model/Payout/Recurring.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/ResponseAdditionalData3DSecure.php b/src/Adyen/Model/Payout/ResponseAdditionalData3DSecure.php index 0f0cdad8d..22f9270ff 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalData3DSecure.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalData3DSecure.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/ResponseAdditionalDataBillingAddress.php b/src/Adyen/Model/Payout/ResponseAdditionalDataBillingAddress.php index f3c086f9a..11d4d8e5d 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalDataBillingAddress.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalDataBillingAddress.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/ResponseAdditionalDataCard.php b/src/Adyen/Model/Payout/ResponseAdditionalDataCard.php index 74e8075c2..8a3e44688 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalDataCard.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalDataCard.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/ResponseAdditionalDataCommon.php b/src/Adyen/Model/Payout/ResponseAdditionalDataCommon.php index 40f1b4950..af2696011 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalDataCommon.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalDataCommon.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/ResponseAdditionalDataDomesticError.php b/src/Adyen/Model/Payout/ResponseAdditionalDataDomesticError.php index 4f7fdfbd7..69e9b16c3 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalDataDomesticError.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalDataDomesticError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/ResponseAdditionalDataInstallments.php b/src/Adyen/Model/Payout/ResponseAdditionalDataInstallments.php index 171571496..5681ca6f7 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalDataInstallments.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalDataInstallments.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/ResponseAdditionalDataNetworkTokens.php b/src/Adyen/Model/Payout/ResponseAdditionalDataNetworkTokens.php index c3168d6fe..1ff00409e 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalDataNetworkTokens.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalDataNetworkTokens.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/ResponseAdditionalDataOpi.php b/src/Adyen/Model/Payout/ResponseAdditionalDataOpi.php index 3a0334a7f..b2a203100 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalDataOpi.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalDataOpi.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/ResponseAdditionalDataSepa.php b/src/Adyen/Model/Payout/ResponseAdditionalDataSepa.php index 0f1e8fac2..65b155a79 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalDataSepa.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalDataSepa.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/ServiceError.php b/src/Adyen/Model/Payout/ServiceError.php index 97ab7a828..e411c09c5 100644 --- a/src/Adyen/Model/Payout/ServiceError.php +++ b/src/Adyen/Model/Payout/ServiceError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/StoreDetailAndSubmitRequest.php b/src/Adyen/Model/Payout/StoreDetailAndSubmitRequest.php index 53db680c6..4ab07c7bc 100644 --- a/src/Adyen/Model/Payout/StoreDetailAndSubmitRequest.php +++ b/src/Adyen/Model/Payout/StoreDetailAndSubmitRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/StoreDetailAndSubmitResponse.php b/src/Adyen/Model/Payout/StoreDetailAndSubmitResponse.php index b3e2bbe22..de728ac55 100644 --- a/src/Adyen/Model/Payout/StoreDetailAndSubmitResponse.php +++ b/src/Adyen/Model/Payout/StoreDetailAndSubmitResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/StoreDetailRequest.php b/src/Adyen/Model/Payout/StoreDetailRequest.php index 48102ef5b..657fc9a86 100644 --- a/src/Adyen/Model/Payout/StoreDetailRequest.php +++ b/src/Adyen/Model/Payout/StoreDetailRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/StoreDetailResponse.php b/src/Adyen/Model/Payout/StoreDetailResponse.php index 285cb13f1..f4189bf84 100644 --- a/src/Adyen/Model/Payout/StoreDetailResponse.php +++ b/src/Adyen/Model/Payout/StoreDetailResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/SubmitRequest.php b/src/Adyen/Model/Payout/SubmitRequest.php index dd8eb9627..5dfd76eb0 100644 --- a/src/Adyen/Model/Payout/SubmitRequest.php +++ b/src/Adyen/Model/Payout/SubmitRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Payout/SubmitResponse.php b/src/Adyen/Model/Payout/SubmitResponse.php index 899534a36..9ab56404b 100644 --- a/src/Adyen/Model/Payout/SubmitResponse.php +++ b/src/Adyen/Model/Payout/SubmitResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/Address.php b/src/Adyen/Model/Recurring/Address.php index 2d670e25d..a9170fe61 100644 --- a/src/Adyen/Model/Recurring/Address.php +++ b/src/Adyen/Model/Recurring/Address.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/Amount.php b/src/Adyen/Model/Recurring/Amount.php index bdea5d488..1297f73d1 100644 --- a/src/Adyen/Model/Recurring/Amount.php +++ b/src/Adyen/Model/Recurring/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/BankAccount.php b/src/Adyen/Model/Recurring/BankAccount.php index 8153037c6..66b22b798 100644 --- a/src/Adyen/Model/Recurring/BankAccount.php +++ b/src/Adyen/Model/Recurring/BankAccount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/Card.php b/src/Adyen/Model/Recurring/Card.php index 16992994c..69a9e2068 100644 --- a/src/Adyen/Model/Recurring/Card.php +++ b/src/Adyen/Model/Recurring/Card.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/CreatePermitRequest.php b/src/Adyen/Model/Recurring/CreatePermitRequest.php index c64b169c2..6ceb81493 100644 --- a/src/Adyen/Model/Recurring/CreatePermitRequest.php +++ b/src/Adyen/Model/Recurring/CreatePermitRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/CreatePermitResult.php b/src/Adyen/Model/Recurring/CreatePermitResult.php index 74449b754..e4d12f097 100644 --- a/src/Adyen/Model/Recurring/CreatePermitResult.php +++ b/src/Adyen/Model/Recurring/CreatePermitResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/DisablePermitRequest.php b/src/Adyen/Model/Recurring/DisablePermitRequest.php index feb3b8f9e..56a244a52 100644 --- a/src/Adyen/Model/Recurring/DisablePermitRequest.php +++ b/src/Adyen/Model/Recurring/DisablePermitRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/DisablePermitResult.php b/src/Adyen/Model/Recurring/DisablePermitResult.php index 16211b62f..878d143ff 100644 --- a/src/Adyen/Model/Recurring/DisablePermitResult.php +++ b/src/Adyen/Model/Recurring/DisablePermitResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/DisableRequest.php b/src/Adyen/Model/Recurring/DisableRequest.php index 0b1b31fa1..18f922963 100644 --- a/src/Adyen/Model/Recurring/DisableRequest.php +++ b/src/Adyen/Model/Recurring/DisableRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/DisableResult.php b/src/Adyen/Model/Recurring/DisableResult.php index 4b1d5142d..310c1add7 100644 --- a/src/Adyen/Model/Recurring/DisableResult.php +++ b/src/Adyen/Model/Recurring/DisableResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/ModelInterface.php b/src/Adyen/Model/Recurring/ModelInterface.php index 62ce0dace..97a4a94c7 100644 --- a/src/Adyen/Model/Recurring/ModelInterface.php +++ b/src/Adyen/Model/Recurring/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/Name.php b/src/Adyen/Model/Recurring/Name.php index 6811b2586..0d17c4fb5 100644 --- a/src/Adyen/Model/Recurring/Name.php +++ b/src/Adyen/Model/Recurring/Name.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/NotifyShopperRequest.php b/src/Adyen/Model/Recurring/NotifyShopperRequest.php index c6e9f3769..715cea6d8 100644 --- a/src/Adyen/Model/Recurring/NotifyShopperRequest.php +++ b/src/Adyen/Model/Recurring/NotifyShopperRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/NotifyShopperResult.php b/src/Adyen/Model/Recurring/NotifyShopperResult.php index 758916e52..8768c3c48 100644 --- a/src/Adyen/Model/Recurring/NotifyShopperResult.php +++ b/src/Adyen/Model/Recurring/NotifyShopperResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/ObjectSerializer.php b/src/Adyen/Model/Recurring/ObjectSerializer.php index b978e00c2..3b2a857bf 100644 --- a/src/Adyen/Model/Recurring/ObjectSerializer.php +++ b/src/Adyen/Model/Recurring/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/Recurring/Permit.php b/src/Adyen/Model/Recurring/Permit.php index 7617465ba..49f13ed9a 100644 --- a/src/Adyen/Model/Recurring/Permit.php +++ b/src/Adyen/Model/Recurring/Permit.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/PermitRestriction.php b/src/Adyen/Model/Recurring/PermitRestriction.php index 6dda49a9e..6d6fe3320 100644 --- a/src/Adyen/Model/Recurring/PermitRestriction.php +++ b/src/Adyen/Model/Recurring/PermitRestriction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/PermitResult.php b/src/Adyen/Model/Recurring/PermitResult.php index 7db836906..36dc67bc1 100644 --- a/src/Adyen/Model/Recurring/PermitResult.php +++ b/src/Adyen/Model/Recurring/PermitResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/Recurring.php b/src/Adyen/Model/Recurring/Recurring.php index 2bc5bfd7e..431dacaa0 100644 --- a/src/Adyen/Model/Recurring/Recurring.php +++ b/src/Adyen/Model/Recurring/Recurring.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/RecurringDetail.php b/src/Adyen/Model/Recurring/RecurringDetail.php index 440fa4203..94e8c889b 100644 --- a/src/Adyen/Model/Recurring/RecurringDetail.php +++ b/src/Adyen/Model/Recurring/RecurringDetail.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/RecurringDetailWrapper.php b/src/Adyen/Model/Recurring/RecurringDetailWrapper.php index de01c7a61..1ea9432e2 100644 --- a/src/Adyen/Model/Recurring/RecurringDetailWrapper.php +++ b/src/Adyen/Model/Recurring/RecurringDetailWrapper.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/RecurringDetailsRequest.php b/src/Adyen/Model/Recurring/RecurringDetailsRequest.php index 1a949604b..62dd8287e 100644 --- a/src/Adyen/Model/Recurring/RecurringDetailsRequest.php +++ b/src/Adyen/Model/Recurring/RecurringDetailsRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/RecurringDetailsResult.php b/src/Adyen/Model/Recurring/RecurringDetailsResult.php index c06b54680..3447d4774 100644 --- a/src/Adyen/Model/Recurring/RecurringDetailsResult.php +++ b/src/Adyen/Model/Recurring/RecurringDetailsResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/ScheduleAccountUpdaterRequest.php b/src/Adyen/Model/Recurring/ScheduleAccountUpdaterRequest.php index 9cdd0911c..4f427459b 100644 --- a/src/Adyen/Model/Recurring/ScheduleAccountUpdaterRequest.php +++ b/src/Adyen/Model/Recurring/ScheduleAccountUpdaterRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/ScheduleAccountUpdaterResult.php b/src/Adyen/Model/Recurring/ScheduleAccountUpdaterResult.php index 2da929300..bec19ca61 100644 --- a/src/Adyen/Model/Recurring/ScheduleAccountUpdaterResult.php +++ b/src/Adyen/Model/Recurring/ScheduleAccountUpdaterResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/ServiceError.php b/src/Adyen/Model/Recurring/ServiceError.php index 3ebef4456..dafb6df4a 100644 --- a/src/Adyen/Model/Recurring/ServiceError.php +++ b/src/Adyen/Model/Recurring/ServiceError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Recurring/TokenDetails.php b/src/Adyen/Model/Recurring/TokenDetails.php index 93673a469..11e83b8b5 100644 --- a/src/Adyen/Model/Recurring/TokenDetails.php +++ b/src/Adyen/Model/Recurring/TokenDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ReportWebhooks/BalancePlatformNotificationResponse.php b/src/Adyen/Model/ReportWebhooks/BalancePlatformNotificationResponse.php index 92f5f1304..e88e2f7d2 100644 --- a/src/Adyen/Model/ReportWebhooks/BalancePlatformNotificationResponse.php +++ b/src/Adyen/Model/ReportWebhooks/BalancePlatformNotificationResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ReportWebhooks/ModelInterface.php b/src/Adyen/Model/ReportWebhooks/ModelInterface.php index ce11ed0e9..55c00f95d 100644 --- a/src/Adyen/Model/ReportWebhooks/ModelInterface.php +++ b/src/Adyen/Model/ReportWebhooks/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ReportWebhooks/ObjectSerializer.php b/src/Adyen/Model/ReportWebhooks/ObjectSerializer.php index 67c69d99e..a8a265ce9 100644 --- a/src/Adyen/Model/ReportWebhooks/ObjectSerializer.php +++ b/src/Adyen/Model/ReportWebhooks/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/ReportWebhooks/ReportNotificationData.php b/src/Adyen/Model/ReportWebhooks/ReportNotificationData.php index 53cadebe9..68fccf2bf 100644 --- a/src/Adyen/Model/ReportWebhooks/ReportNotificationData.php +++ b/src/Adyen/Model/ReportWebhooks/ReportNotificationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ReportWebhooks/ReportNotificationRequest.php b/src/Adyen/Model/ReportWebhooks/ReportNotificationRequest.php index 57406e14d..468c229fa 100644 --- a/src/Adyen/Model/ReportWebhooks/ReportNotificationRequest.php +++ b/src/Adyen/Model/ReportWebhooks/ReportNotificationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ReportWebhooks/Resource.php b/src/Adyen/Model/ReportWebhooks/Resource.php index e7b9ee585..db05d0d89 100644 --- a/src/Adyen/Model/ReportWebhooks/Resource.php +++ b/src/Adyen/Model/ReportWebhooks/Resource.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/ReportWebhooks/ResourceReference.php b/src/Adyen/Model/ReportWebhooks/ResourceReference.php index c49f45573..8623bd866 100644 --- a/src/Adyen/Model/ReportWebhooks/ResourceReference.php +++ b/src/Adyen/Model/ReportWebhooks/ResourceReference.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/StoredValue/Amount.php b/src/Adyen/Model/StoredValue/Amount.php index 8c930e49d..13e882d42 100644 --- a/src/Adyen/Model/StoredValue/Amount.php +++ b/src/Adyen/Model/StoredValue/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/StoredValue/ModelInterface.php b/src/Adyen/Model/StoredValue/ModelInterface.php index 6c4123e43..62897679a 100644 --- a/src/Adyen/Model/StoredValue/ModelInterface.php +++ b/src/Adyen/Model/StoredValue/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/StoredValue/ObjectSerializer.php b/src/Adyen/Model/StoredValue/ObjectSerializer.php index 4d9c66463..934975452 100644 --- a/src/Adyen/Model/StoredValue/ObjectSerializer.php +++ b/src/Adyen/Model/StoredValue/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/StoredValue/ServiceError.php b/src/Adyen/Model/StoredValue/ServiceError.php index 4dd0779a2..32c7e924e 100644 --- a/src/Adyen/Model/StoredValue/ServiceError.php +++ b/src/Adyen/Model/StoredValue/ServiceError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/StoredValue/StoredValueBalanceCheckRequest.php b/src/Adyen/Model/StoredValue/StoredValueBalanceCheckRequest.php index 41ba2dacf..c61549851 100644 --- a/src/Adyen/Model/StoredValue/StoredValueBalanceCheckRequest.php +++ b/src/Adyen/Model/StoredValue/StoredValueBalanceCheckRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/StoredValue/StoredValueBalanceCheckResponse.php b/src/Adyen/Model/StoredValue/StoredValueBalanceCheckResponse.php index eb7fc3d1e..06aa6f998 100644 --- a/src/Adyen/Model/StoredValue/StoredValueBalanceCheckResponse.php +++ b/src/Adyen/Model/StoredValue/StoredValueBalanceCheckResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/StoredValue/StoredValueBalanceMergeRequest.php b/src/Adyen/Model/StoredValue/StoredValueBalanceMergeRequest.php index 1a160ba78..f58dd83f5 100644 --- a/src/Adyen/Model/StoredValue/StoredValueBalanceMergeRequest.php +++ b/src/Adyen/Model/StoredValue/StoredValueBalanceMergeRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/StoredValue/StoredValueBalanceMergeResponse.php b/src/Adyen/Model/StoredValue/StoredValueBalanceMergeResponse.php index a333c08e5..dbd5d53ef 100644 --- a/src/Adyen/Model/StoredValue/StoredValueBalanceMergeResponse.php +++ b/src/Adyen/Model/StoredValue/StoredValueBalanceMergeResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/StoredValue/StoredValueIssueRequest.php b/src/Adyen/Model/StoredValue/StoredValueIssueRequest.php index dcbe92e9c..d45dff5fb 100644 --- a/src/Adyen/Model/StoredValue/StoredValueIssueRequest.php +++ b/src/Adyen/Model/StoredValue/StoredValueIssueRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/StoredValue/StoredValueIssueResponse.php b/src/Adyen/Model/StoredValue/StoredValueIssueResponse.php index 7e29dac89..2b54d1c3f 100644 --- a/src/Adyen/Model/StoredValue/StoredValueIssueResponse.php +++ b/src/Adyen/Model/StoredValue/StoredValueIssueResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/StoredValue/StoredValueLoadRequest.php b/src/Adyen/Model/StoredValue/StoredValueLoadRequest.php index eaac91c4d..2418e52c2 100644 --- a/src/Adyen/Model/StoredValue/StoredValueLoadRequest.php +++ b/src/Adyen/Model/StoredValue/StoredValueLoadRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/StoredValue/StoredValueLoadResponse.php b/src/Adyen/Model/StoredValue/StoredValueLoadResponse.php index e8b80242c..51315d085 100644 --- a/src/Adyen/Model/StoredValue/StoredValueLoadResponse.php +++ b/src/Adyen/Model/StoredValue/StoredValueLoadResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/StoredValue/StoredValueStatusChangeRequest.php b/src/Adyen/Model/StoredValue/StoredValueStatusChangeRequest.php index 20a6eb8e5..c9c329db7 100644 --- a/src/Adyen/Model/StoredValue/StoredValueStatusChangeRequest.php +++ b/src/Adyen/Model/StoredValue/StoredValueStatusChangeRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/StoredValue/StoredValueStatusChangeResponse.php b/src/Adyen/Model/StoredValue/StoredValueStatusChangeResponse.php index 0eafd3d78..a440ea4ca 100644 --- a/src/Adyen/Model/StoredValue/StoredValueStatusChangeResponse.php +++ b/src/Adyen/Model/StoredValue/StoredValueStatusChangeResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/StoredValue/StoredValueVoidRequest.php b/src/Adyen/Model/StoredValue/StoredValueVoidRequest.php index 2ce0ad7ae..f5127bf8d 100644 --- a/src/Adyen/Model/StoredValue/StoredValueVoidRequest.php +++ b/src/Adyen/Model/StoredValue/StoredValueVoidRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/StoredValue/StoredValueVoidResponse.php b/src/Adyen/Model/StoredValue/StoredValueVoidResponse.php index 194480cc4..9aae687e1 100644 --- a/src/Adyen/Model/StoredValue/StoredValueVoidResponse.php +++ b/src/Adyen/Model/StoredValue/StoredValueVoidResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransactionWebhooks/Amount.php b/src/Adyen/Model/TransactionWebhooks/Amount.php index 1e44cbc7c..a4d34c47f 100644 --- a/src/Adyen/Model/TransactionWebhooks/Amount.php +++ b/src/Adyen/Model/TransactionWebhooks/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransactionWebhooks/BalancePlatformNotificationResponse.php b/src/Adyen/Model/TransactionWebhooks/BalancePlatformNotificationResponse.php index ab5bef17c..5f3c052c5 100644 --- a/src/Adyen/Model/TransactionWebhooks/BalancePlatformNotificationResponse.php +++ b/src/Adyen/Model/TransactionWebhooks/BalancePlatformNotificationResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransactionWebhooks/ModelInterface.php b/src/Adyen/Model/TransactionWebhooks/ModelInterface.php index c1c9c8901..0b3e01f77 100644 --- a/src/Adyen/Model/TransactionWebhooks/ModelInterface.php +++ b/src/Adyen/Model/TransactionWebhooks/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransactionWebhooks/ObjectSerializer.php b/src/Adyen/Model/TransactionWebhooks/ObjectSerializer.php index 0c3d6fb75..9ccc67586 100644 --- a/src/Adyen/Model/TransactionWebhooks/ObjectSerializer.php +++ b/src/Adyen/Model/TransactionWebhooks/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/TransactionWebhooks/Resource.php b/src/Adyen/Model/TransactionWebhooks/Resource.php index b0d8fa0b8..559b434ed 100644 --- a/src/Adyen/Model/TransactionWebhooks/Resource.php +++ b/src/Adyen/Model/TransactionWebhooks/Resource.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransactionWebhooks/ResourceReference.php b/src/Adyen/Model/TransactionWebhooks/ResourceReference.php index 986f415f5..eccf3942c 100644 --- a/src/Adyen/Model/TransactionWebhooks/ResourceReference.php +++ b/src/Adyen/Model/TransactionWebhooks/ResourceReference.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransactionWebhooks/Transaction.php b/src/Adyen/Model/TransactionWebhooks/Transaction.php index 859520ba2..07b2549f6 100644 --- a/src/Adyen/Model/TransactionWebhooks/Transaction.php +++ b/src/Adyen/Model/TransactionWebhooks/Transaction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransactionWebhooks/TransactionNotificationRequestV4.php b/src/Adyen/Model/TransactionWebhooks/TransactionNotificationRequestV4.php index 92f173b7f..dc264b106 100644 --- a/src/Adyen/Model/TransactionWebhooks/TransactionNotificationRequestV4.php +++ b/src/Adyen/Model/TransactionWebhooks/TransactionNotificationRequestV4.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransactionWebhooks/TransferData.php b/src/Adyen/Model/TransactionWebhooks/TransferData.php index a6950e30e..ecb5933a7 100644 --- a/src/Adyen/Model/TransactionWebhooks/TransferData.php +++ b/src/Adyen/Model/TransactionWebhooks/TransferData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/AULocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/AULocalAccountIdentification.php index 1af533ee6..89a951cec 100644 --- a/src/Adyen/Model/TransferWebhooks/AULocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/AULocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/AdditionalBankIdentification.php b/src/Adyen/Model/TransferWebhooks/AdditionalBankIdentification.php index c42cf33d4..488cc6d97 100644 --- a/src/Adyen/Model/TransferWebhooks/AdditionalBankIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/AdditionalBankIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/Address.php b/src/Adyen/Model/TransferWebhooks/Address.php index efef65728..e2508f560 100644 --- a/src/Adyen/Model/TransferWebhooks/Address.php +++ b/src/Adyen/Model/TransferWebhooks/Address.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/Amount.php b/src/Adyen/Model/TransferWebhooks/Amount.php index eb34b1ec9..8a82148db 100644 --- a/src/Adyen/Model/TransferWebhooks/Amount.php +++ b/src/Adyen/Model/TransferWebhooks/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/AmountAdjustment.php b/src/Adyen/Model/TransferWebhooks/AmountAdjustment.php index ec67efb19..7c06fa38e 100644 --- a/src/Adyen/Model/TransferWebhooks/AmountAdjustment.php +++ b/src/Adyen/Model/TransferWebhooks/AmountAdjustment.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/BRLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/BRLocalAccountIdentification.php index 14d87b640..1b3ddfbdd 100644 --- a/src/Adyen/Model/TransferWebhooks/BRLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/BRLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/BalanceMutation.php b/src/Adyen/Model/TransferWebhooks/BalanceMutation.php index 86fd300fe..b6e8b93d8 100644 --- a/src/Adyen/Model/TransferWebhooks/BalanceMutation.php +++ b/src/Adyen/Model/TransferWebhooks/BalanceMutation.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/BalancePlatformNotificationResponse.php b/src/Adyen/Model/TransferWebhooks/BalancePlatformNotificationResponse.php index 7e321b0b2..0772f3597 100644 --- a/src/Adyen/Model/TransferWebhooks/BalancePlatformNotificationResponse.php +++ b/src/Adyen/Model/TransferWebhooks/BalancePlatformNotificationResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/BankAccountV3.php b/src/Adyen/Model/TransferWebhooks/BankAccountV3.php index 6b539b35b..629ed9498 100644 --- a/src/Adyen/Model/TransferWebhooks/BankAccountV3.php +++ b/src/Adyen/Model/TransferWebhooks/BankAccountV3.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/BankAccountV3AccountIdentification.php b/src/Adyen/Model/TransferWebhooks/BankAccountV3AccountIdentification.php index c35ecc1a4..263fcaf08 100644 --- a/src/Adyen/Model/TransferWebhooks/BankAccountV3AccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/BankAccountV3AccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/BankCategoryData.php b/src/Adyen/Model/TransferWebhooks/BankCategoryData.php index cdca248ce..d952af333 100644 --- a/src/Adyen/Model/TransferWebhooks/BankCategoryData.php +++ b/src/Adyen/Model/TransferWebhooks/BankCategoryData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/CALocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/CALocalAccountIdentification.php index bddaa290c..fff6b723c 100644 --- a/src/Adyen/Model/TransferWebhooks/CALocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/CALocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/CZLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/CZLocalAccountIdentification.php index 705c7811d..dddab895f 100644 --- a/src/Adyen/Model/TransferWebhooks/CZLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/CZLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/CounterpartyV3.php b/src/Adyen/Model/TransferWebhooks/CounterpartyV3.php index 790517f34..ad1b8b4da 100644 --- a/src/Adyen/Model/TransferWebhooks/CounterpartyV3.php +++ b/src/Adyen/Model/TransferWebhooks/CounterpartyV3.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/DKLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/DKLocalAccountIdentification.php index 9df8c5889..57e033e58 100644 --- a/src/Adyen/Model/TransferWebhooks/DKLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/DKLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/HKLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/HKLocalAccountIdentification.php index 061324565..888d837e7 100644 --- a/src/Adyen/Model/TransferWebhooks/HKLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/HKLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/HULocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/HULocalAccountIdentification.php index 211f040c3..3807bdd29 100644 --- a/src/Adyen/Model/TransferWebhooks/HULocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/HULocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/IbanAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/IbanAccountIdentification.php index d54b55d4c..e7fab4fbf 100644 --- a/src/Adyen/Model/TransferWebhooks/IbanAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/IbanAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/InternalCategoryData.php b/src/Adyen/Model/TransferWebhooks/InternalCategoryData.php index 955f958f4..ecf1c0943 100644 --- a/src/Adyen/Model/TransferWebhooks/InternalCategoryData.php +++ b/src/Adyen/Model/TransferWebhooks/InternalCategoryData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/IssuedCard.php b/src/Adyen/Model/TransferWebhooks/IssuedCard.php index 8f53f0627..ed662151c 100644 --- a/src/Adyen/Model/TransferWebhooks/IssuedCard.php +++ b/src/Adyen/Model/TransferWebhooks/IssuedCard.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/MerchantData.php b/src/Adyen/Model/TransferWebhooks/MerchantData.php index 5a261927d..e58fa17c5 100644 --- a/src/Adyen/Model/TransferWebhooks/MerchantData.php +++ b/src/Adyen/Model/TransferWebhooks/MerchantData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/ModelInterface.php b/src/Adyen/Model/TransferWebhooks/ModelInterface.php index 2deb4d5bf..0997d0dd6 100644 --- a/src/Adyen/Model/TransferWebhooks/ModelInterface.php +++ b/src/Adyen/Model/TransferWebhooks/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/Modification.php b/src/Adyen/Model/TransferWebhooks/Modification.php index 589cecc93..96afc889c 100644 --- a/src/Adyen/Model/TransferWebhooks/Modification.php +++ b/src/Adyen/Model/TransferWebhooks/Modification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/NOLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/NOLocalAccountIdentification.php index 8c3434fb3..1bad403bf 100644 --- a/src/Adyen/Model/TransferWebhooks/NOLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/NOLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/NZLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/NZLocalAccountIdentification.php index ee0a66c4e..f3a47e94b 100644 --- a/src/Adyen/Model/TransferWebhooks/NZLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/NZLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/NameLocation.php b/src/Adyen/Model/TransferWebhooks/NameLocation.php index ac98d44aa..b50068c7e 100644 --- a/src/Adyen/Model/TransferWebhooks/NameLocation.php +++ b/src/Adyen/Model/TransferWebhooks/NameLocation.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/NumberAndBicAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/NumberAndBicAccountIdentification.php index 0727f352b..b3ab1a0cd 100644 --- a/src/Adyen/Model/TransferWebhooks/NumberAndBicAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/NumberAndBicAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/ObjectSerializer.php b/src/Adyen/Model/TransferWebhooks/ObjectSerializer.php index 3e28fb4ab..d05b26906 100644 --- a/src/Adyen/Model/TransferWebhooks/ObjectSerializer.php +++ b/src/Adyen/Model/TransferWebhooks/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/TransferWebhooks/PLLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/PLLocalAccountIdentification.php index a1ff0bfa8..1ee6f2bb7 100644 --- a/src/Adyen/Model/TransferWebhooks/PLLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/PLLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/PartyIdentification.php b/src/Adyen/Model/TransferWebhooks/PartyIdentification.php index 43c0523aa..55dbe2a61 100644 --- a/src/Adyen/Model/TransferWebhooks/PartyIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/PartyIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/PaymentInstrument.php b/src/Adyen/Model/TransferWebhooks/PaymentInstrument.php index 4b3958bd8..5083d51b0 100644 --- a/src/Adyen/Model/TransferWebhooks/PaymentInstrument.php +++ b/src/Adyen/Model/TransferWebhooks/PaymentInstrument.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/PlatformPayment.php b/src/Adyen/Model/TransferWebhooks/PlatformPayment.php index 183936bec..31bf21fa1 100644 --- a/src/Adyen/Model/TransferWebhooks/PlatformPayment.php +++ b/src/Adyen/Model/TransferWebhooks/PlatformPayment.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/RelayedAuthorisationData.php b/src/Adyen/Model/TransferWebhooks/RelayedAuthorisationData.php index cd4626d6a..8002e73e4 100644 --- a/src/Adyen/Model/TransferWebhooks/RelayedAuthorisationData.php +++ b/src/Adyen/Model/TransferWebhooks/RelayedAuthorisationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/Resource.php b/src/Adyen/Model/TransferWebhooks/Resource.php index a0d76348d..fdb7e0a9b 100644 --- a/src/Adyen/Model/TransferWebhooks/Resource.php +++ b/src/Adyen/Model/TransferWebhooks/Resource.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/ResourceReference.php b/src/Adyen/Model/TransferWebhooks/ResourceReference.php index 794b4b34d..008447111 100644 --- a/src/Adyen/Model/TransferWebhooks/ResourceReference.php +++ b/src/Adyen/Model/TransferWebhooks/ResourceReference.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/SELocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/SELocalAccountIdentification.php index f6df68bb5..48fc1b814 100644 --- a/src/Adyen/Model/TransferWebhooks/SELocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/SELocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/SGLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/SGLocalAccountIdentification.php index 695d85f6d..486dc6e64 100644 --- a/src/Adyen/Model/TransferWebhooks/SGLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/SGLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/TransactionEventViolation.php b/src/Adyen/Model/TransferWebhooks/TransactionEventViolation.php index 03b375db5..bdef5e2cd 100644 --- a/src/Adyen/Model/TransferWebhooks/TransactionEventViolation.php +++ b/src/Adyen/Model/TransferWebhooks/TransactionEventViolation.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/TransactionRuleReference.php b/src/Adyen/Model/TransferWebhooks/TransactionRuleReference.php index a2f50de2a..36828d06e 100644 --- a/src/Adyen/Model/TransferWebhooks/TransactionRuleReference.php +++ b/src/Adyen/Model/TransferWebhooks/TransactionRuleReference.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/TransactionRuleSource.php b/src/Adyen/Model/TransferWebhooks/TransactionRuleSource.php index 9fb312270..5936fc287 100644 --- a/src/Adyen/Model/TransferWebhooks/TransactionRuleSource.php +++ b/src/Adyen/Model/TransferWebhooks/TransactionRuleSource.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/TransactionRulesResult.php b/src/Adyen/Model/TransferWebhooks/TransactionRulesResult.php index f9044344f..d8296d897 100644 --- a/src/Adyen/Model/TransferWebhooks/TransactionRulesResult.php +++ b/src/Adyen/Model/TransferWebhooks/TransactionRulesResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/TransferData.php b/src/Adyen/Model/TransferWebhooks/TransferData.php index ff1752684..88fc9bdd2 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferData.php +++ b/src/Adyen/Model/TransferWebhooks/TransferData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/TransferDataCategoryData.php b/src/Adyen/Model/TransferWebhooks/TransferDataCategoryData.php index 5a2157b7d..90cc5f6a9 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferDataCategoryData.php +++ b/src/Adyen/Model/TransferWebhooks/TransferDataCategoryData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/TransferEvent.php b/src/Adyen/Model/TransferWebhooks/TransferEvent.php index 95f55258f..2afeaeba9 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferEvent.php +++ b/src/Adyen/Model/TransferWebhooks/TransferEvent.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/TransferNotificationRequest.php b/src/Adyen/Model/TransferWebhooks/TransferNotificationRequest.php index 52e72f501..940437e17 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferNotificationRequest.php +++ b/src/Adyen/Model/TransferWebhooks/TransferNotificationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/TransferNotificationTransferTracking.php b/src/Adyen/Model/TransferWebhooks/TransferNotificationTransferTracking.php index 85a626046..ae7fe4db7 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferNotificationTransferTracking.php +++ b/src/Adyen/Model/TransferWebhooks/TransferNotificationTransferTracking.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/TransferNotificationValidationFact.php b/src/Adyen/Model/TransferWebhooks/TransferNotificationValidationFact.php index f0e75f491..ddaf7553c 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferNotificationValidationFact.php +++ b/src/Adyen/Model/TransferWebhooks/TransferNotificationValidationFact.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/UKLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/UKLocalAccountIdentification.php index b72af57ee..9e1776c99 100644 --- a/src/Adyen/Model/TransferWebhooks/UKLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/UKLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/TransferWebhooks/USLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/USLocalAccountIdentification.php index baa78f8ff..1ec71c3f3 100644 --- a/src/Adyen/Model/TransferWebhooks/USLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/USLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/AULocalAccountIdentification.php b/src/Adyen/Model/Transfers/AULocalAccountIdentification.php index d7f3f1320..1901e209e 100644 --- a/src/Adyen/Model/Transfers/AULocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/AULocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/AdditionalBankIdentification.php b/src/Adyen/Model/Transfers/AdditionalBankIdentification.php index 983b3d199..2849aa165 100644 --- a/src/Adyen/Model/Transfers/AdditionalBankIdentification.php +++ b/src/Adyen/Model/Transfers/AdditionalBankIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/Address.php b/src/Adyen/Model/Transfers/Address.php index 97a25739c..02c0bc1a1 100644 --- a/src/Adyen/Model/Transfers/Address.php +++ b/src/Adyen/Model/Transfers/Address.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/Amount.php b/src/Adyen/Model/Transfers/Amount.php index 014877e31..e815d3976 100644 --- a/src/Adyen/Model/Transfers/Amount.php +++ b/src/Adyen/Model/Transfers/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/BRLocalAccountIdentification.php b/src/Adyen/Model/Transfers/BRLocalAccountIdentification.php index 42e3edac1..d29b31f15 100644 --- a/src/Adyen/Model/Transfers/BRLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/BRLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/BankAccountV3.php b/src/Adyen/Model/Transfers/BankAccountV3.php index e9f0d8fbd..1517a9cac 100644 --- a/src/Adyen/Model/Transfers/BankAccountV3.php +++ b/src/Adyen/Model/Transfers/BankAccountV3.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/BankAccountV3AccountIdentification.php b/src/Adyen/Model/Transfers/BankAccountV3AccountIdentification.php index e45e78b18..97edbf1f2 100644 --- a/src/Adyen/Model/Transfers/BankAccountV3AccountIdentification.php +++ b/src/Adyen/Model/Transfers/BankAccountV3AccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/BankCategoryData.php b/src/Adyen/Model/Transfers/BankCategoryData.php index 4b03e9bf6..fc0929a90 100644 --- a/src/Adyen/Model/Transfers/BankCategoryData.php +++ b/src/Adyen/Model/Transfers/BankCategoryData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/CALocalAccountIdentification.php b/src/Adyen/Model/Transfers/CALocalAccountIdentification.php index 91a857145..5e939e144 100644 --- a/src/Adyen/Model/Transfers/CALocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/CALocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/CZLocalAccountIdentification.php b/src/Adyen/Model/Transfers/CZLocalAccountIdentification.php index 73312b310..c5e52c35f 100644 --- a/src/Adyen/Model/Transfers/CZLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/CZLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/CapitalBalance.php b/src/Adyen/Model/Transfers/CapitalBalance.php index a3486c494..ee4190a6b 100644 --- a/src/Adyen/Model/Transfers/CapitalBalance.php +++ b/src/Adyen/Model/Transfers/CapitalBalance.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/CapitalGrant.php b/src/Adyen/Model/Transfers/CapitalGrant.php index 106a6143a..e600887b9 100644 --- a/src/Adyen/Model/Transfers/CapitalGrant.php +++ b/src/Adyen/Model/Transfers/CapitalGrant.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/CapitalGrantInfo.php b/src/Adyen/Model/Transfers/CapitalGrantInfo.php index 6753311ae..aa362b6c0 100644 --- a/src/Adyen/Model/Transfers/CapitalGrantInfo.php +++ b/src/Adyen/Model/Transfers/CapitalGrantInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/CapitalGrants.php b/src/Adyen/Model/Transfers/CapitalGrants.php index 14feb173f..613eb4023 100644 --- a/src/Adyen/Model/Transfers/CapitalGrants.php +++ b/src/Adyen/Model/Transfers/CapitalGrants.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/Counterparty.php b/src/Adyen/Model/Transfers/Counterparty.php index 298f4c82a..335d26e10 100644 --- a/src/Adyen/Model/Transfers/Counterparty.php +++ b/src/Adyen/Model/Transfers/Counterparty.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/CounterpartyInfoV3.php b/src/Adyen/Model/Transfers/CounterpartyInfoV3.php index fb839c8e8..8913205e2 100644 --- a/src/Adyen/Model/Transfers/CounterpartyInfoV3.php +++ b/src/Adyen/Model/Transfers/CounterpartyInfoV3.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/CounterpartyV3.php b/src/Adyen/Model/Transfers/CounterpartyV3.php index be41f8a7f..90d2c0a28 100644 --- a/src/Adyen/Model/Transfers/CounterpartyV3.php +++ b/src/Adyen/Model/Transfers/CounterpartyV3.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/DKLocalAccountIdentification.php b/src/Adyen/Model/Transfers/DKLocalAccountIdentification.php index 2aa95f5b4..bf06c781b 100644 --- a/src/Adyen/Model/Transfers/DKLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/DKLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/Fee.php b/src/Adyen/Model/Transfers/Fee.php index 4cfb78de5..fbd1834ab 100644 --- a/src/Adyen/Model/Transfers/Fee.php +++ b/src/Adyen/Model/Transfers/Fee.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/HKLocalAccountIdentification.php b/src/Adyen/Model/Transfers/HKLocalAccountIdentification.php index 23f3fa7d6..428854511 100644 --- a/src/Adyen/Model/Transfers/HKLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/HKLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/HULocalAccountIdentification.php b/src/Adyen/Model/Transfers/HULocalAccountIdentification.php index ec1ad8fdc..c3b357222 100644 --- a/src/Adyen/Model/Transfers/HULocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/HULocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/IbanAccountIdentification.php b/src/Adyen/Model/Transfers/IbanAccountIdentification.php index f37773acd..bb4ca9f90 100644 --- a/src/Adyen/Model/Transfers/IbanAccountIdentification.php +++ b/src/Adyen/Model/Transfers/IbanAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/InternalCategoryData.php b/src/Adyen/Model/Transfers/InternalCategoryData.php index 43ac989fa..c0f6bd6dc 100644 --- a/src/Adyen/Model/Transfers/InternalCategoryData.php +++ b/src/Adyen/Model/Transfers/InternalCategoryData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/InvalidField.php b/src/Adyen/Model/Transfers/InvalidField.php index b22c3e664..d2f208b79 100644 --- a/src/Adyen/Model/Transfers/InvalidField.php +++ b/src/Adyen/Model/Transfers/InvalidField.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/IssuedCard.php b/src/Adyen/Model/Transfers/IssuedCard.php index 609bfd23b..9d49c912c 100644 --- a/src/Adyen/Model/Transfers/IssuedCard.php +++ b/src/Adyen/Model/Transfers/IssuedCard.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/Link.php b/src/Adyen/Model/Transfers/Link.php index 946316cc0..4f9ec8529 100644 --- a/src/Adyen/Model/Transfers/Link.php +++ b/src/Adyen/Model/Transfers/Link.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/Links.php b/src/Adyen/Model/Transfers/Links.php index ac5160f3d..d34293ace 100644 --- a/src/Adyen/Model/Transfers/Links.php +++ b/src/Adyen/Model/Transfers/Links.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/MerchantData.php b/src/Adyen/Model/Transfers/MerchantData.php index 61f58df75..f69baa932 100644 --- a/src/Adyen/Model/Transfers/MerchantData.php +++ b/src/Adyen/Model/Transfers/MerchantData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/ModelInterface.php b/src/Adyen/Model/Transfers/ModelInterface.php index 0ad344c02..d5e6438fe 100644 --- a/src/Adyen/Model/Transfers/ModelInterface.php +++ b/src/Adyen/Model/Transfers/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/NOLocalAccountIdentification.php b/src/Adyen/Model/Transfers/NOLocalAccountIdentification.php index 7c8bf6781..0e98b008a 100644 --- a/src/Adyen/Model/Transfers/NOLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/NOLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/NZLocalAccountIdentification.php b/src/Adyen/Model/Transfers/NZLocalAccountIdentification.php index 9420baf71..c58c71a56 100644 --- a/src/Adyen/Model/Transfers/NZLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/NZLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/NameLocation.php b/src/Adyen/Model/Transfers/NameLocation.php index 325cd7479..1fe9d58bf 100644 --- a/src/Adyen/Model/Transfers/NameLocation.php +++ b/src/Adyen/Model/Transfers/NameLocation.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/NumberAndBicAccountIdentification.php b/src/Adyen/Model/Transfers/NumberAndBicAccountIdentification.php index c25ef7da2..838ca66e1 100644 --- a/src/Adyen/Model/Transfers/NumberAndBicAccountIdentification.php +++ b/src/Adyen/Model/Transfers/NumberAndBicAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/ObjectSerializer.php b/src/Adyen/Model/Transfers/ObjectSerializer.php index 3dd1e96c3..349b367b3 100644 --- a/src/Adyen/Model/Transfers/ObjectSerializer.php +++ b/src/Adyen/Model/Transfers/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -81,7 +81,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n } } } else { - foreach ($data as $property => $value) { + foreach($data as $property => $value) { $values[$property] = self::sanitizeForSerialization($value); } } @@ -117,9 +117,7 @@ public static function sanitizeFilename($filename) */ public static function sanitizeTimestamp($timestamp) { - if (!is_string($timestamp)) { - return $timestamp; - } + if (!is_string($timestamp)) return $timestamp; return preg_replace('/(:\d{2}.\d{6})\d*/', '$1', $timestamp); } @@ -242,7 +240,8 @@ public static function deserialize($data, $class, $httpHeaders = null) /** @var \Psr\Http\Message\StreamInterface $data */ // determine file name - if (is_array($httpHeaders) + if ( + is_array($httpHeaders) && array_key_exists('Content-Disposition', $httpHeaders) && preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match) ) { @@ -261,7 +260,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/Transfers/PLLocalAccountIdentification.php b/src/Adyen/Model/Transfers/PLLocalAccountIdentification.php index e606da286..b021cd4f0 100644 --- a/src/Adyen/Model/Transfers/PLLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/PLLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/PartyIdentification.php b/src/Adyen/Model/Transfers/PartyIdentification.php index c2d7aedaa..c98e9e0b1 100644 --- a/src/Adyen/Model/Transfers/PartyIdentification.php +++ b/src/Adyen/Model/Transfers/PartyIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/PaymentInstrument.php b/src/Adyen/Model/Transfers/PaymentInstrument.php index 486575d98..c87a1e306 100644 --- a/src/Adyen/Model/Transfers/PaymentInstrument.php +++ b/src/Adyen/Model/Transfers/PaymentInstrument.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/PlatformPayment.php b/src/Adyen/Model/Transfers/PlatformPayment.php index fc9484056..98fb4eb36 100644 --- a/src/Adyen/Model/Transfers/PlatformPayment.php +++ b/src/Adyen/Model/Transfers/PlatformPayment.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/RelayedAuthorisationData.php b/src/Adyen/Model/Transfers/RelayedAuthorisationData.php index 46c355e43..ddebe348d 100644 --- a/src/Adyen/Model/Transfers/RelayedAuthorisationData.php +++ b/src/Adyen/Model/Transfers/RelayedAuthorisationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/Repayment.php b/src/Adyen/Model/Transfers/Repayment.php index 5a30bb190..19a030ed4 100644 --- a/src/Adyen/Model/Transfers/Repayment.php +++ b/src/Adyen/Model/Transfers/Repayment.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/RepaymentTerm.php b/src/Adyen/Model/Transfers/RepaymentTerm.php index b7f4fad7a..411942e52 100644 --- a/src/Adyen/Model/Transfers/RepaymentTerm.php +++ b/src/Adyen/Model/Transfers/RepaymentTerm.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/ResourceReference.php b/src/Adyen/Model/Transfers/ResourceReference.php index 052a78ced..3d03ed587 100644 --- a/src/Adyen/Model/Transfers/ResourceReference.php +++ b/src/Adyen/Model/Transfers/ResourceReference.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/RestServiceError.php b/src/Adyen/Model/Transfers/RestServiceError.php index f561c550c..9fdb48796 100644 --- a/src/Adyen/Model/Transfers/RestServiceError.php +++ b/src/Adyen/Model/Transfers/RestServiceError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/ReturnTransferRequest.php b/src/Adyen/Model/Transfers/ReturnTransferRequest.php index fa55bd297..1adde00b7 100644 --- a/src/Adyen/Model/Transfers/ReturnTransferRequest.php +++ b/src/Adyen/Model/Transfers/ReturnTransferRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/ReturnTransferResponse.php b/src/Adyen/Model/Transfers/ReturnTransferResponse.php index cec67a9e3..0b2a1c76b 100644 --- a/src/Adyen/Model/Transfers/ReturnTransferResponse.php +++ b/src/Adyen/Model/Transfers/ReturnTransferResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/SELocalAccountIdentification.php b/src/Adyen/Model/Transfers/SELocalAccountIdentification.php index 03eae460b..725ce9f94 100644 --- a/src/Adyen/Model/Transfers/SELocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/SELocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/SGLocalAccountIdentification.php b/src/Adyen/Model/Transfers/SGLocalAccountIdentification.php index 62a19bf6e..f977fb557 100644 --- a/src/Adyen/Model/Transfers/SGLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/SGLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/ServiceError.php b/src/Adyen/Model/Transfers/ServiceError.php index f0cca127e..00ece6de7 100644 --- a/src/Adyen/Model/Transfers/ServiceError.php +++ b/src/Adyen/Model/Transfers/ServiceError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/ThresholdRepayment.php b/src/Adyen/Model/Transfers/ThresholdRepayment.php index fb5d25d5a..71e5ead29 100644 --- a/src/Adyen/Model/Transfers/ThresholdRepayment.php +++ b/src/Adyen/Model/Transfers/ThresholdRepayment.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/Transaction.php b/src/Adyen/Model/Transfers/Transaction.php index d6b6e6ff1..403f416be 100644 --- a/src/Adyen/Model/Transfers/Transaction.php +++ b/src/Adyen/Model/Transfers/Transaction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/TransactionSearchResponse.php b/src/Adyen/Model/Transfers/TransactionSearchResponse.php index 4bbb69e34..edb4d16f2 100644 --- a/src/Adyen/Model/Transfers/TransactionSearchResponse.php +++ b/src/Adyen/Model/Transfers/TransactionSearchResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/Transfer.php b/src/Adyen/Model/Transfers/Transfer.php index a01d01ab6..3de4d767e 100644 --- a/src/Adyen/Model/Transfers/Transfer.php +++ b/src/Adyen/Model/Transfers/Transfer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/TransferCategoryData.php b/src/Adyen/Model/Transfers/TransferCategoryData.php index 8c033e8e8..5a13c43bd 100644 --- a/src/Adyen/Model/Transfers/TransferCategoryData.php +++ b/src/Adyen/Model/Transfers/TransferCategoryData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/TransferData.php b/src/Adyen/Model/Transfers/TransferData.php index e842ce880..5bf9a9409 100644 --- a/src/Adyen/Model/Transfers/TransferData.php +++ b/src/Adyen/Model/Transfers/TransferData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/TransferInfo.php b/src/Adyen/Model/Transfers/TransferInfo.php index 37b63583f..f1e94a103 100644 --- a/src/Adyen/Model/Transfers/TransferInfo.php +++ b/src/Adyen/Model/Transfers/TransferInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/TransferNotificationValidationFact.php b/src/Adyen/Model/Transfers/TransferNotificationValidationFact.php index 2a50fecee..a757324cf 100644 --- a/src/Adyen/Model/Transfers/TransferNotificationValidationFact.php +++ b/src/Adyen/Model/Transfers/TransferNotificationValidationFact.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/UKLocalAccountIdentification.php b/src/Adyen/Model/Transfers/UKLocalAccountIdentification.php index f5ea22bae..f2e41ce36 100644 --- a/src/Adyen/Model/Transfers/UKLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/UKLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/USLocalAccountIdentification.php b/src/Adyen/Model/Transfers/USLocalAccountIdentification.php index ee1586d28..477399633 100644 --- a/src/Adyen/Model/Transfers/USLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/USLocalAccountIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Transfers/UltimatePartyIdentification.php b/src/Adyen/Model/Transfers/UltimatePartyIdentification.php index b791650f3..e9f5f976c 100644 --- a/src/Adyen/Model/Transfers/UltimatePartyIdentification.php +++ b/src/Adyen/Model/Transfers/UltimatePartyIdentification.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/BalanceControlApi.php b/src/Adyen/Service/BalanceControlApi.php index be8f35f71..c1a304866 100644 --- a/src/Adyen/Service/BalanceControlApi.php +++ b/src/Adyen/Service/BalanceControlApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -26,7 +26,7 @@ class BalanceControlApi extends Service private $baseURL; /** - * AdyenService constructor. + * BalanceControlApi constructor. * * @param \Adyen\Client $client * @throws AdyenException @@ -34,6 +34,7 @@ class BalanceControlApi extends Service public function __construct(Client $client) { parent::__construct($client); + // Create the baseUrl based on live/test and optional live-url-prefix $this->baseURL = $this->createBaseUrl("https://pal-test.adyen.com/pal/servlet/BalanceControl/v1"); } diff --git a/src/Adyen/Service/BalancePlatform/AccountHoldersApi.php b/src/Adyen/Service/BalancePlatform/AccountHoldersApi.php index dfcf60197..10b3b8f2a 100644 --- a/src/Adyen/Service/BalancePlatform/AccountHoldersApi.php +++ b/src/Adyen/Service/BalancePlatform/AccountHoldersApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -39,6 +39,21 @@ public function __construct(Client $client) $this->baseURL = $this->createBaseUrl("https://balanceplatform-api-test.adyen.com/bcl/v2"); } + /** + * Create an account holder + * + * @param \Adyen\Model\BalancePlatform\AccountHolderInfo $accountHolderInfo + * @param array|null $requestOptions + * @return \Adyen\Model\BalancePlatform\AccountHolder + * @throws AdyenException + */ + public function createAccountHolder(\Adyen\Model\BalancePlatform\AccountHolderInfo $accountHolderInfo, array $requestOptions = null): \Adyen\Model\BalancePlatform\AccountHolder + { + $endpoint = $this->baseURL . "/accountHolders"; + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $accountHolderInfo->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\AccountHolder::class); + } + /** * Get an account holder * @@ -99,19 +114,4 @@ public function updateAccountHolder(string $id, \Adyen\Model\BalancePlatform\Acc $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $accountHolderUpdateRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\AccountHolder::class); } - - /** - * Create an account holder - * - * @param \Adyen\Model\BalancePlatform\AccountHolderInfo $accountHolderInfo - * @param array|null $requestOptions - * @return \Adyen\Model\BalancePlatform\AccountHolder - * @throws AdyenException - */ - public function createAccountHolder(\Adyen\Model\BalancePlatform\AccountHolderInfo $accountHolderInfo, array $requestOptions = null): \Adyen\Model\BalancePlatform\AccountHolder - { - $endpoint = $this->baseURL . "/accountHolders"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $accountHolderInfo->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\AccountHolder::class); - } } diff --git a/src/Adyen/Service/BalancePlatform/BalanceAccountsApi.php b/src/Adyen/Service/BalancePlatform/BalanceAccountsApi.php index 0ae12cde8..cf5cbe309 100644 --- a/src/Adyen/Service/BalancePlatform/BalanceAccountsApi.php +++ b/src/Adyen/Service/BalancePlatform/BalanceAccountsApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -39,50 +39,81 @@ public function __construct(Client $client) $this->baseURL = $this->createBaseUrl("https://balanceplatform-api-test.adyen.com/bcl/v2"); } + /** + * Create a balance account + * + * @param \Adyen\Model\BalancePlatform\BalanceAccountInfo $balanceAccountInfo + * @param array|null $requestOptions + * @return \Adyen\Model\BalancePlatform\BalanceAccount + * @throws AdyenException + */ + public function createBalanceAccount(\Adyen\Model\BalancePlatform\BalanceAccountInfo $balanceAccountInfo, array $requestOptions = null): \Adyen\Model\BalancePlatform\BalanceAccount + { + $endpoint = $this->baseURL . "/balanceAccounts"; + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $balanceAccountInfo->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\BalanceAccount::class); + } + + /** + * Create a sweep + * + * @param string $balanceAccountId + * @param \Adyen\Model\BalancePlatform\CreateSweepConfigurationV2 $createSweepConfigurationV2 + * @param array|null $requestOptions + * @return \Adyen\Model\BalancePlatform\SweepConfigurationV2 + * @throws AdyenException + */ + public function createSweep(string $balanceAccountId, \Adyen\Model\BalancePlatform\CreateSweepConfigurationV2 $createSweepConfigurationV2, array $requestOptions = null): \Adyen\Model\BalancePlatform\SweepConfigurationV2 + { + $endpoint = $this->baseURL . str_replace(['{balanceAccountId}'], [$balanceAccountId], "/balanceAccounts/{balanceAccountId}/sweeps"); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createSweepConfigurationV2->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\SweepConfigurationV2::class); + } + /** * Delete a sweep * * @param string $balanceAccountId * @param string $sweepId * @param array|null $requestOptions - + * @throws AdyenException */ public function deleteSweep(string $balanceAccountId, string $sweepId, array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{balanceAccountId}', '{sweepId}'], [$balanceAccountId, $sweepId], "/balanceAccounts/{balanceAccountId}/sweeps/{sweepId}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + } /** - * Get all sweeps for a balance account + * Get all payment instruments for a balance account * - * @param string $balanceAccountId + * @param string $id * @param array|null $requestOptions ['queryParams' => ['offset'=> int, 'limit'=> int]] - * @return \Adyen\Model\BalancePlatform\BalanceSweepConfigurationsResponse + * @return \Adyen\Model\BalancePlatform\PaginatedPaymentInstrumentsResponse * @throws AdyenException */ - public function getAllSweepsForBalanceAccount(string $balanceAccountId, array $requestOptions = null): \Adyen\Model\BalancePlatform\BalanceSweepConfigurationsResponse + public function getAllPaymentInstrumentsForBalanceAccount(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaginatedPaymentInstrumentsResponse { - $endpoint = $this->baseURL . str_replace(['{balanceAccountId}'], [$balanceAccountId], "/balanceAccounts/{balanceAccountId}/sweeps"); + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/balanceAccounts/{id}/paymentInstruments"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\BalanceSweepConfigurationsResponse::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\PaginatedPaymentInstrumentsResponse::class); } /** - * Get a sweep + * Get all sweeps for a balance account * * @param string $balanceAccountId - * @param string $sweepId - * @param array|null $requestOptions - * @return \Adyen\Model\BalancePlatform\SweepConfigurationV2 + * @param array|null $requestOptions ['queryParams' => ['offset'=> int, 'limit'=> int]] + * @return \Adyen\Model\BalancePlatform\BalanceSweepConfigurationsResponse * @throws AdyenException */ - public function getSweep(string $balanceAccountId, string $sweepId, array $requestOptions = null): \Adyen\Model\BalancePlatform\SweepConfigurationV2 + public function getAllSweepsForBalanceAccount(string $balanceAccountId, array $requestOptions = null): \Adyen\Model\BalancePlatform\BalanceSweepConfigurationsResponse { - $endpoint = $this->baseURL . str_replace(['{balanceAccountId}', '{sweepId}'], [$balanceAccountId, $sweepId], "/balanceAccounts/{balanceAccountId}/sweeps/{sweepId}"); + $endpoint = $this->baseURL . str_replace(['{balanceAccountId}'], [$balanceAccountId], "/balanceAccounts/{balanceAccountId}/sweeps"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\SweepConfigurationV2::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\BalanceSweepConfigurationsResponse::class); } /** @@ -101,34 +132,18 @@ public function getBalanceAccount(string $id, array $requestOptions = null): \Ad } /** - * Get all payment instruments for a balance account - * - * @param string $id - * @param array|null $requestOptions ['queryParams' => ['offset'=> int, 'limit'=> int]] - * @return \Adyen\Model\BalancePlatform\PaginatedPaymentInstrumentsResponse - * @throws AdyenException - */ - public function getAllPaymentInstrumentsForBalanceAccount(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaginatedPaymentInstrumentsResponse - { - $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/balanceAccounts/{id}/paymentInstruments"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\PaginatedPaymentInstrumentsResponse::class); - } - - /** - * Update a sweep + * Get a sweep * * @param string $balanceAccountId * @param string $sweepId - * @param \Adyen\Model\BalancePlatform\UpdateSweepConfigurationV2 $updateSweepConfigurationV2 * @param array|null $requestOptions * @return \Adyen\Model\BalancePlatform\SweepConfigurationV2 * @throws AdyenException */ - public function updateSweep(string $balanceAccountId, string $sweepId, \Adyen\Model\BalancePlatform\UpdateSweepConfigurationV2 $updateSweepConfigurationV2, array $requestOptions = null): \Adyen\Model\BalancePlatform\SweepConfigurationV2 + public function getSweep(string $balanceAccountId, string $sweepId, array $requestOptions = null): \Adyen\Model\BalancePlatform\SweepConfigurationV2 { $endpoint = $this->baseURL . str_replace(['{balanceAccountId}', '{sweepId}'], [$balanceAccountId, $sweepId], "/balanceAccounts/{balanceAccountId}/sweeps/{sweepId}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateSweepConfigurationV2->jsonSerialize(), $requestOptions); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\SweepConfigurationV2::class); } @@ -149,33 +164,19 @@ public function updateBalanceAccount(string $id, \Adyen\Model\BalancePlatform\Ba } /** - * Create a balance account - * - * @param \Adyen\Model\BalancePlatform\BalanceAccountInfo $balanceAccountInfo - * @param array|null $requestOptions - * @return \Adyen\Model\BalancePlatform\BalanceAccount - * @throws AdyenException - */ - public function createBalanceAccount(\Adyen\Model\BalancePlatform\BalanceAccountInfo $balanceAccountInfo, array $requestOptions = null): \Adyen\Model\BalancePlatform\BalanceAccount - { - $endpoint = $this->baseURL . "/balanceAccounts"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $balanceAccountInfo->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\BalanceAccount::class); - } - - /** - * Create a sweep + * Update a sweep * * @param string $balanceAccountId - * @param \Adyen\Model\BalancePlatform\CreateSweepConfigurationV2 $createSweepConfigurationV2 + * @param string $sweepId + * @param \Adyen\Model\BalancePlatform\UpdateSweepConfigurationV2 $updateSweepConfigurationV2 * @param array|null $requestOptions * @return \Adyen\Model\BalancePlatform\SweepConfigurationV2 * @throws AdyenException */ - public function createSweep(string $balanceAccountId, \Adyen\Model\BalancePlatform\CreateSweepConfigurationV2 $createSweepConfigurationV2, array $requestOptions = null): \Adyen\Model\BalancePlatform\SweepConfigurationV2 + public function updateSweep(string $balanceAccountId, string $sweepId, \Adyen\Model\BalancePlatform\UpdateSweepConfigurationV2 $updateSweepConfigurationV2, array $requestOptions = null): \Adyen\Model\BalancePlatform\SweepConfigurationV2 { - $endpoint = $this->baseURL . str_replace(['{balanceAccountId}'], [$balanceAccountId], "/balanceAccounts/{balanceAccountId}/sweeps"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createSweepConfigurationV2->jsonSerialize(), $requestOptions); + $endpoint = $this->baseURL . str_replace(['{balanceAccountId}', '{sweepId}'], [$balanceAccountId, $sweepId], "/balanceAccounts/{balanceAccountId}/sweeps/{sweepId}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateSweepConfigurationV2->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\SweepConfigurationV2::class); } } diff --git a/src/Adyen/Service/BalancePlatform/BankAccountValidationApi.php b/src/Adyen/Service/BalancePlatform/BankAccountValidationApi.php index 6197e93ac..99bc3b6bd 100644 --- a/src/Adyen/Service/BalancePlatform/BankAccountValidationApi.php +++ b/src/Adyen/Service/BalancePlatform/BankAccountValidationApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -44,12 +44,13 @@ public function __construct(Client $client) * * @param \Adyen\Model\BalancePlatform\BankAccountIdentificationValidationRequest $bankAccountIdentificationValidationRequest * @param array|null $requestOptions - + * @throws AdyenException */ public function validateBankAccountIdentification(\Adyen\Model\BalancePlatform\BankAccountIdentificationValidationRequest $bankAccountIdentificationValidationRequest, array $requestOptions = null) { $endpoint = $this->baseURL . "/validateBankAccountIdentification"; $this->requestHttp($endpoint, strtolower('POST'), (array) $bankAccountIdentificationValidationRequest->jsonSerialize(), $requestOptions); + } } diff --git a/src/Adyen/Service/BalancePlatform/GrantAccountsApi.php b/src/Adyen/Service/BalancePlatform/GrantAccountsApi.php index 44ba3ba83..db4742658 100644 --- a/src/Adyen/Service/BalancePlatform/GrantAccountsApi.php +++ b/src/Adyen/Service/BalancePlatform/GrantAccountsApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/BalancePlatform/GrantOffersApi.php b/src/Adyen/Service/BalancePlatform/GrantOffersApi.php index f07b49615..895f3b39c 100644 --- a/src/Adyen/Service/BalancePlatform/GrantOffersApi.php +++ b/src/Adyen/Service/BalancePlatform/GrantOffersApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/BalancePlatform/NetworkTokensApi.php b/src/Adyen/Service/BalancePlatform/NetworkTokensApi.php index 5b9df002c..2e704599b 100644 --- a/src/Adyen/Service/BalancePlatform/NetworkTokensApi.php +++ b/src/Adyen/Service/BalancePlatform/NetworkTokensApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -60,12 +60,13 @@ public function getNetworkToken(string $networkTokenId, array $requestOptions = * @param string $networkTokenId * @param \Adyen\Model\BalancePlatform\UpdateNetworkTokenRequest $updateNetworkTokenRequest * @param array|null $requestOptions - + * @throws AdyenException */ public function updateNetworkToken(string $networkTokenId, \Adyen\Model\BalancePlatform\UpdateNetworkTokenRequest $updateNetworkTokenRequest, array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{networkTokenId}'], [$networkTokenId], "/networkTokens/{networkTokenId}"); $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateNetworkTokenRequest->jsonSerialize(), $requestOptions); + } } diff --git a/src/Adyen/Service/BalancePlatform/PaymentInstrumentGroupsApi.php b/src/Adyen/Service/BalancePlatform/PaymentInstrumentGroupsApi.php index f8724c14c..b33272d05 100644 --- a/src/Adyen/Service/BalancePlatform/PaymentInstrumentGroupsApi.php +++ b/src/Adyen/Service/BalancePlatform/PaymentInstrumentGroupsApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,17 +40,17 @@ public function __construct(Client $client) } /** - * Get a payment instrument group + * Create a payment instrument group * - * @param string $id + * @param \Adyen\Model\BalancePlatform\PaymentInstrumentGroupInfo $paymentInstrumentGroupInfo * @param array|null $requestOptions * @return \Adyen\Model\BalancePlatform\PaymentInstrumentGroup * @throws AdyenException */ - public function getPaymentInstrumentGroup(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrumentGroup + public function createPaymentInstrumentGroup(\Adyen\Model\BalancePlatform\PaymentInstrumentGroupInfo $paymentInstrumentGroupInfo, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrumentGroup { - $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstrumentGroups/{id}"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + $endpoint = $this->baseURL . "/paymentInstrumentGroups"; + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentInstrumentGroupInfo->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\PaymentInstrumentGroup::class); } @@ -70,17 +70,17 @@ public function getAllTransactionRulesForPaymentInstrumentGroup(string $id, arra } /** - * Create a payment instrument group + * Get a payment instrument group * - * @param \Adyen\Model\BalancePlatform\PaymentInstrumentGroupInfo $paymentInstrumentGroupInfo + * @param string $id * @param array|null $requestOptions * @return \Adyen\Model\BalancePlatform\PaymentInstrumentGroup * @throws AdyenException */ - public function createPaymentInstrumentGroup(\Adyen\Model\BalancePlatform\PaymentInstrumentGroupInfo $paymentInstrumentGroupInfo, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrumentGroup + public function getPaymentInstrumentGroup(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrumentGroup { - $endpoint = $this->baseURL . "/paymentInstrumentGroups"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentInstrumentGroupInfo->jsonSerialize(), $requestOptions); + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstrumentGroups/{id}"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\PaymentInstrumentGroup::class); } } diff --git a/src/Adyen/Service/BalancePlatform/PaymentInstrumentsApi.php b/src/Adyen/Service/BalancePlatform/PaymentInstrumentsApi.php index 5113efda7..77105265c 100644 --- a/src/Adyen/Service/BalancePlatform/PaymentInstrumentsApi.php +++ b/src/Adyen/Service/BalancePlatform/PaymentInstrumentsApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,33 +40,33 @@ public function __construct(Client $client) } /** - * Get a payment instrument + * Create a payment instrument * - * @param string $id + * @param \Adyen\Model\BalancePlatform\PaymentInstrumentInfo $paymentInstrumentInfo * @param array|null $requestOptions * @return \Adyen\Model\BalancePlatform\PaymentInstrument * @throws AdyenException */ - public function getPaymentInstrument(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrument + public function createPaymentInstrument(\Adyen\Model\BalancePlatform\PaymentInstrumentInfo $paymentInstrumentInfo, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrument { - $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstruments/{id}"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + $endpoint = $this->baseURL . "/paymentInstruments"; + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentInstrumentInfo->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\PaymentInstrument::class); } /** - * List network tokens + * Get all transaction rules for a payment instrument * * @param string $id * @param array|null $requestOptions - * @return \Adyen\Model\BalancePlatform\ListNetworkTokensResponse + * @return \Adyen\Model\BalancePlatform\TransactionRulesResponse * @throws AdyenException */ - public function listNetworkTokens(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\ListNetworkTokensResponse + public function getAllTransactionRulesForPaymentInstrument(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRulesResponse { - $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstruments/{id}/networkTokens"); + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstruments/{id}/transactionRules"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\ListNetworkTokensResponse::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\TransactionRulesResponse::class); } /** @@ -85,48 +85,48 @@ public function getPanOfPaymentInstrument(string $id, array $requestOptions = nu } /** - * Get all transaction rules for a payment instrument + * Get a payment instrument * * @param string $id * @param array|null $requestOptions - * @return \Adyen\Model\BalancePlatform\TransactionRulesResponse + * @return \Adyen\Model\BalancePlatform\PaymentInstrument * @throws AdyenException */ - public function getAllTransactionRulesForPaymentInstrument(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRulesResponse + public function getPaymentInstrument(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrument { - $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstruments/{id}/transactionRules"); + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstruments/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\TransactionRulesResponse::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\PaymentInstrument::class); } /** - * Update a payment instrument + * List network tokens * * @param string $id - * @param \Adyen\Model\BalancePlatform\PaymentInstrumentUpdateRequest $paymentInstrumentUpdateRequest * @param array|null $requestOptions - * @return \Adyen\Model\BalancePlatform\UpdatePaymentInstrument + * @return \Adyen\Model\BalancePlatform\ListNetworkTokensResponse * @throws AdyenException */ - public function updatePaymentInstrument(string $id, \Adyen\Model\BalancePlatform\PaymentInstrumentUpdateRequest $paymentInstrumentUpdateRequest, array $requestOptions = null): \Adyen\Model\BalancePlatform\UpdatePaymentInstrument + public function listNetworkTokens(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\ListNetworkTokensResponse { - $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstruments/{id}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $paymentInstrumentUpdateRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\UpdatePaymentInstrument::class); + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstruments/{id}/networkTokens"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\ListNetworkTokensResponse::class); } /** - * Create a payment instrument + * Update a payment instrument * - * @param \Adyen\Model\BalancePlatform\PaymentInstrumentInfo $paymentInstrumentInfo + * @param string $id + * @param \Adyen\Model\BalancePlatform\PaymentInstrumentUpdateRequest $paymentInstrumentUpdateRequest * @param array|null $requestOptions - * @return \Adyen\Model\BalancePlatform\PaymentInstrument + * @return \Adyen\Model\BalancePlatform\UpdatePaymentInstrument * @throws AdyenException */ - public function createPaymentInstrument(\Adyen\Model\BalancePlatform\PaymentInstrumentInfo $paymentInstrumentInfo, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrument + public function updatePaymentInstrument(string $id, \Adyen\Model\BalancePlatform\PaymentInstrumentUpdateRequest $paymentInstrumentUpdateRequest, array $requestOptions = null): \Adyen\Model\BalancePlatform\UpdatePaymentInstrument { - $endpoint = $this->baseURL . "/paymentInstruments"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentInstrumentInfo->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\PaymentInstrument::class); + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstruments/{id}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $paymentInstrumentUpdateRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\UpdatePaymentInstrument::class); } } diff --git a/src/Adyen/Service/BalancePlatform/PlatformApi.php b/src/Adyen/Service/BalancePlatform/PlatformApi.php index 165328e2f..1fbecfc0d 100644 --- a/src/Adyen/Service/BalancePlatform/PlatformApi.php +++ b/src/Adyen/Service/BalancePlatform/PlatformApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,32 +40,32 @@ public function __construct(Client $client) } /** - * Get a balance platform + * Get all account holders under a balance platform * * @param string $id - * @param array|null $requestOptions - * @return \Adyen\Model\BalancePlatform\BalancePlatform + * @param array|null $requestOptions ['queryParams' => ['offset'=> int, 'limit'=> int]] + * @return \Adyen\Model\BalancePlatform\PaginatedAccountHoldersResponse * @throws AdyenException */ - public function getBalancePlatform(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\BalancePlatform + public function getAllAccountHoldersUnderBalancePlatform(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaginatedAccountHoldersResponse { - $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/balancePlatforms/{id}"); + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/balancePlatforms/{id}/accountHolders"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\BalancePlatform::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\PaginatedAccountHoldersResponse::class); } /** - * Get all account holders under a balance platform + * Get a balance platform * * @param string $id - * @param array|null $requestOptions ['queryParams' => ['offset'=> int, 'limit'=> int]] - * @return \Adyen\Model\BalancePlatform\PaginatedAccountHoldersResponse + * @param array|null $requestOptions + * @return \Adyen\Model\BalancePlatform\BalancePlatform * @throws AdyenException */ - public function getAllAccountHoldersUnderBalancePlatform(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaginatedAccountHoldersResponse + public function getBalancePlatform(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\BalancePlatform { - $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/balancePlatforms/{id}/accountHolders"); + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/balancePlatforms/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\PaginatedAccountHoldersResponse::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\BalancePlatform::class); } } diff --git a/src/Adyen/Service/BalancePlatform/TransactionRulesApi.php b/src/Adyen/Service/BalancePlatform/TransactionRulesApi.php index e1035cd61..59fc7ccf7 100644 --- a/src/Adyen/Service/BalancePlatform/TransactionRulesApi.php +++ b/src/Adyen/Service/BalancePlatform/TransactionRulesApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -39,6 +39,21 @@ public function __construct(Client $client) $this->baseURL = $this->createBaseUrl("https://balanceplatform-api-test.adyen.com/bcl/v2"); } + /** + * Create a transaction rule + * + * @param \Adyen\Model\BalancePlatform\TransactionRuleInfo $transactionRuleInfo + * @param array|null $requestOptions + * @return \Adyen\Model\BalancePlatform\TransactionRule + * @throws AdyenException + */ + public function createTransactionRule(\Adyen\Model\BalancePlatform\TransactionRuleInfo $transactionRuleInfo, array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRule + { + $endpoint = $this->baseURL . "/transactionRules"; + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $transactionRuleInfo->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\TransactionRule::class); + } + /** * Delete a transaction rule * @@ -84,19 +99,4 @@ public function updateTransactionRule(string $transactionRuleId, \Adyen\Model\Ba $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $transactionRuleInfo->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\TransactionRule::class); } - - /** - * Create a transaction rule - * - * @param \Adyen\Model\BalancePlatform\TransactionRuleInfo $transactionRuleInfo - * @param array|null $requestOptions - * @return \Adyen\Model\BalancePlatform\TransactionRule - * @throws AdyenException - */ - public function createTransactionRule(\Adyen\Model\BalancePlatform\TransactionRuleInfo $transactionRuleInfo, array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRule - { - $endpoint = $this->baseURL . "/transactionRules"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $transactionRuleInfo->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\BalancePlatform\TransactionRule::class); - } } diff --git a/src/Adyen/Service/BalancePlatform/TransferRoutesApi.php b/src/Adyen/Service/BalancePlatform/TransferRoutesApi.php index 7c592f27b..237e537b7 100644 --- a/src/Adyen/Service/BalancePlatform/TransferRoutesApi.php +++ b/src/Adyen/Service/BalancePlatform/TransferRoutesApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 2 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/BinLookupApi.php b/src/Adyen/Service/BinLookupApi.php index 066a43ba5..0cf6de2be 100644 --- a/src/Adyen/Service/BinLookupApi.php +++ b/src/Adyen/Service/BinLookupApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 54 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -26,7 +26,7 @@ class BinLookupApi extends Service private $baseURL; /** - * AdyenService constructor. + * BinLookupApi constructor. * * @param \Adyen\Client $client * @throws AdyenException @@ -34,6 +34,7 @@ class BinLookupApi extends Service public function __construct(Client $client) { parent::__construct($client); + // Create the baseUrl based on live/test and optional live-url-prefix $this->baseURL = $this->createBaseUrl("https://pal-test.adyen.com/pal/servlet/BinLookup/v54"); } diff --git a/src/Adyen/Service/Checkout/ClassicCheckoutSDKApi.php b/src/Adyen/Service/Checkout/ClassicCheckoutSDKApi.php index 1e113d8b1..1f4de6dd0 100644 --- a/src/Adyen/Service/Checkout/ClassicCheckoutSDKApi.php +++ b/src/Adyen/Service/Checkout/ClassicCheckoutSDKApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Checkout/ModificationsApi.php b/src/Adyen/Service/Checkout/ModificationsApi.php index 17c3d4d95..98a2271fd 100644 --- a/src/Adyen/Service/Checkout/ModificationsApi.php +++ b/src/Adyen/Service/Checkout/ModificationsApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -54,22 +54,6 @@ public function cancelAuthorisedPayment(\Adyen\Model\Checkout\StandalonePaymentC return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\StandalonePaymentCancelResponse::class); } - /** - * Update an authorised amount - * - * @param string $paymentPspReference - * @param \Adyen\Model\Checkout\PaymentAmountUpdateRequest $paymentAmountUpdateRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Checkout\PaymentAmountUpdateResponse - * @throws AdyenException - */ - public function updateAuthorisedAmount(string $paymentPspReference, \Adyen\Model\Checkout\PaymentAmountUpdateRequest $paymentAmountUpdateRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentAmountUpdateResponse - { - $endpoint = $this->baseURL . str_replace(['{paymentPspReference}'], [$paymentPspReference], "/payments/{paymentPspReference}/amountUpdates"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentAmountUpdateRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\PaymentAmountUpdateResponse::class); - } - /** * Cancel an authorised payment * @@ -133,4 +117,20 @@ public function refundOrCancelPayment(string $paymentPspReference, \Adyen\Model\ $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentReversalRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\PaymentReversalResponse::class); } + + /** + * Update an authorised amount + * + * @param string $paymentPspReference + * @param \Adyen\Model\Checkout\PaymentAmountUpdateRequest $paymentAmountUpdateRequest + * @param array|null $requestOptions + * @return \Adyen\Model\Checkout\PaymentAmountUpdateResponse + * @throws AdyenException + */ + public function updateAuthorisedAmount(string $paymentPspReference, \Adyen\Model\Checkout\PaymentAmountUpdateRequest $paymentAmountUpdateRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentAmountUpdateResponse + { + $endpoint = $this->baseURL . str_replace(['{paymentPspReference}'], [$paymentPspReference], "/payments/{paymentPspReference}/amountUpdates"); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentAmountUpdateRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\PaymentAmountUpdateResponse::class); + } } diff --git a/src/Adyen/Service/Checkout/OrdersApi.php b/src/Adyen/Service/Checkout/OrdersApi.php index 718453537..fe4513ce3 100644 --- a/src/Adyen/Service/Checkout/OrdersApi.php +++ b/src/Adyen/Service/Checkout/OrdersApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -39,21 +39,6 @@ public function __construct(Client $client) $this->baseURL = $this->createBaseUrl("https://checkout-test.adyen.com/v71"); } - /** - * Create an order - * - * @param \Adyen\Model\Checkout\CreateOrderRequest $createOrderRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Checkout\CreateOrderResponse - * @throws AdyenException - */ - public function orders(\Adyen\Model\Checkout\CreateOrderRequest $createOrderRequest, array $requestOptions = null): \Adyen\Model\Checkout\CreateOrderResponse - { - $endpoint = $this->baseURL . "/orders"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createOrderRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\CreateOrderResponse::class); - } - /** * Cancel an order * @@ -83,4 +68,19 @@ public function getBalanceOfGiftCard(\Adyen\Model\Checkout\BalanceCheckRequest $ $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $balanceCheckRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\BalanceCheckResponse::class); } + + /** + * Create an order + * + * @param \Adyen\Model\Checkout\CreateOrderRequest $createOrderRequest + * @param array|null $requestOptions + * @return \Adyen\Model\Checkout\CreateOrderResponse + * @throws AdyenException + */ + public function orders(\Adyen\Model\Checkout\CreateOrderRequest $createOrderRequest, array $requestOptions = null): \Adyen\Model\Checkout\CreateOrderResponse + { + $endpoint = $this->baseURL . "/orders"; + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createOrderRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\CreateOrderResponse::class); + } } diff --git a/src/Adyen/Service/Checkout/PaymentLinksApi.php b/src/Adyen/Service/Checkout/PaymentLinksApi.php index 195d7765f..0deba7e73 100644 --- a/src/Adyen/Service/Checkout/PaymentLinksApi.php +++ b/src/Adyen/Service/Checkout/PaymentLinksApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -55,33 +55,33 @@ public function getPaymentLink(string $linkId, array $requestOptions = null): \A } /** - * Update the status of a payment link + * Create a payment link * - * @param string $linkId - * @param \Adyen\Model\Checkout\UpdatePaymentLinkRequest $updatePaymentLinkRequest + * @param \Adyen\Model\Checkout\PaymentLinkRequest $paymentLinkRequest * @param array|null $requestOptions * @return \Adyen\Model\Checkout\PaymentLinkResponse * @throws AdyenException */ - public function updatePaymentLink(string $linkId, \Adyen\Model\Checkout\UpdatePaymentLinkRequest $updatePaymentLinkRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentLinkResponse + public function paymentLinks(\Adyen\Model\Checkout\PaymentLinkRequest $paymentLinkRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentLinkResponse { - $endpoint = $this->baseURL . str_replace(['{linkId}'], [$linkId], "/paymentLinks/{linkId}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updatePaymentLinkRequest->jsonSerialize(), $requestOptions); + $endpoint = $this->baseURL . "/paymentLinks"; + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentLinkRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\PaymentLinkResponse::class); } /** - * Create a payment link + * Update the status of a payment link * - * @param \Adyen\Model\Checkout\PaymentLinkRequest $paymentLinkRequest + * @param string $linkId + * @param \Adyen\Model\Checkout\UpdatePaymentLinkRequest $updatePaymentLinkRequest * @param array|null $requestOptions * @return \Adyen\Model\Checkout\PaymentLinkResponse * @throws AdyenException */ - public function paymentLinks(\Adyen\Model\Checkout\PaymentLinkRequest $paymentLinkRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentLinkResponse + public function updatePaymentLink(string $linkId, \Adyen\Model\Checkout\UpdatePaymentLinkRequest $updatePaymentLinkRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentLinkResponse { - $endpoint = $this->baseURL . "/paymentLinks"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentLinkRequest->jsonSerialize(), $requestOptions); + $endpoint = $this->baseURL . str_replace(['{linkId}'], [$linkId], "/paymentLinks/{linkId}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updatePaymentLinkRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\PaymentLinkResponse::class); } } diff --git a/src/Adyen/Service/Checkout/PaymentsApi.php b/src/Adyen/Service/Checkout/PaymentsApi.php index 262c05e8c..e620b5eac 100644 --- a/src/Adyen/Service/Checkout/PaymentsApi.php +++ b/src/Adyen/Service/Checkout/PaymentsApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -39,21 +39,6 @@ public function __construct(Client $client) $this->baseURL = $this->createBaseUrl("https://checkout-test.adyen.com/v71"); } - /** - * Get the result of a payment session - * - * @param string $sessionId - * @param array|null $requestOptions ['queryParams' => ['sessionResult'=> string]] - * @return \Adyen\Model\Checkout\SessionResultResponse - * @throws AdyenException - */ - public function getResultOfPaymentSession(string $sessionId, array $requestOptions = null): \Adyen\Model\Checkout\SessionResultResponse - { - $endpoint = $this->baseURL . str_replace(['{sessionId}'], [$sessionId], "/sessions/{sessionId}"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\SessionResultResponse::class); - } - /** * Get the list of brands on the card * @@ -84,6 +69,21 @@ public function donations(\Adyen\Model\Checkout\DonationPaymentRequest $donation return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\DonationPaymentResponse::class); } + /** + * Get the result of a payment session + * + * @param string $sessionId + * @param array|null $requestOptions ['queryParams' => ['sessionResult'=> string]] + * @return \Adyen\Model\Checkout\SessionResultResponse + * @throws AdyenException + */ + public function getResultOfPaymentSession(string $sessionId, array $requestOptions = null): \Adyen\Model\Checkout\SessionResultResponse + { + $endpoint = $this->baseURL . str_replace(['{sessionId}'], [$sessionId], "/sessions/{sessionId}"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\SessionResultResponse::class); + } + /** * Get a list of available payment methods * diff --git a/src/Adyen/Service/Checkout/RecurringApi.php b/src/Adyen/Service/Checkout/RecurringApi.php index 58ef0e9df..0486c983d 100644 --- a/src/Adyen/Service/Checkout/RecurringApi.php +++ b/src/Adyen/Service/Checkout/RecurringApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -44,13 +44,14 @@ public function __construct(Client $client) * * @param string $storedPaymentMethodId * @param array|null $requestOptions ['queryParams' => ['shopperReference'=> string, 'merchantAccount'=> string]] - + * @throws AdyenException */ public function deleteTokenForStoredPaymentDetails(string $storedPaymentMethodId, array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{storedPaymentMethodId}'], [$storedPaymentMethodId], "/storedPaymentMethods/{storedPaymentMethodId}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + } /** diff --git a/src/Adyen/Service/Checkout/UtilityApi.php b/src/Adyen/Service/Checkout/UtilityApi.php index c467b1b20..6bef73138 100644 --- a/src/Adyen/Service/Checkout/UtilityApi.php +++ b/src/Adyen/Service/Checkout/UtilityApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/DataProtectionApi.php b/src/Adyen/Service/DataProtectionApi.php index 2b2dd9ed1..53c1a3ada 100644 --- a/src/Adyen/Service/DataProtectionApi.php +++ b/src/Adyen/Service/DataProtectionApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -26,7 +26,7 @@ class DataProtectionApi extends Service private $baseURL; /** - * AdyenService constructor. + * DataProtectionApi constructor. * * @param \Adyen\Client $client * @throws AdyenException @@ -34,6 +34,7 @@ class DataProtectionApi extends Service public function __construct(Client $client) { parent::__construct($client); + // Create the baseUrl based on live/test and optional live-url-prefix $this->baseURL = $this->createBaseUrl("https://ca-test.adyen.com/ca/services/DataProtectionService/v1"); } diff --git a/src/Adyen/Service/DisputesApi.php b/src/Adyen/Service/DisputesApi.php index 040f8a71d..49110d69a 100644 --- a/src/Adyen/Service/DisputesApi.php +++ b/src/Adyen/Service/DisputesApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 30 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -26,7 +26,7 @@ class DisputesApi extends Service private $baseURL; /** - * AdyenService constructor. + * DisputesApi constructor. * * @param \Adyen\Client $client * @throws AdyenException @@ -34,6 +34,7 @@ class DisputesApi extends Service public function __construct(Client $client) { parent::__construct($client); + // Create the baseUrl based on live/test and optional live-url-prefix $this->baseURL = $this->createBaseUrl("https://ca-test.adyen.com/ca/services/DisputeService/v30"); } diff --git a/src/Adyen/Service/LegalEntityManagement/BusinessLinesApi.php b/src/Adyen/Service/LegalEntityManagement/BusinessLinesApi.php index fac04a46e..2551bbc54 100644 --- a/src/Adyen/Service/LegalEntityManagement/BusinessLinesApi.php +++ b/src/Adyen/Service/LegalEntityManagement/BusinessLinesApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -39,18 +39,34 @@ public function __construct(Client $client) $this->baseURL = $this->createBaseUrl("https://kyc-test.adyen.com/lem/v3"); } + /** + * Create a business line + * + * @param \Adyen\Model\LegalEntityManagement\BusinessLineInfo $businessLineInfo + * @param array|null $requestOptions + * @return \Adyen\Model\LegalEntityManagement\BusinessLine + * @throws AdyenException + */ + public function createBusinessLine(\Adyen\Model\LegalEntityManagement\BusinessLineInfo $businessLineInfo, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\BusinessLine + { + $endpoint = $this->baseURL . "/businessLines"; + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $businessLineInfo->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\BusinessLine::class); + } + /** * Delete a business line * * @param string $id * @param array|null $requestOptions - + * @throws AdyenException */ public function deleteBusinessLine(string $id, array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/businessLines/{id}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + } /** @@ -83,19 +99,4 @@ public function updateBusinessLine(string $id, \Adyen\Model\LegalEntityManagemen $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $businessLineInfoUpdate->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\BusinessLine::class); } - - /** - * Create a business line - * - * @param \Adyen\Model\LegalEntityManagement\BusinessLineInfo $businessLineInfo - * @param array|null $requestOptions - * @return \Adyen\Model\LegalEntityManagement\BusinessLine - * @throws AdyenException - */ - public function createBusinessLine(\Adyen\Model\LegalEntityManagement\BusinessLineInfo $businessLineInfo, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\BusinessLine - { - $endpoint = $this->baseURL . "/businessLines"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $businessLineInfo->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\BusinessLine::class); - } } diff --git a/src/Adyen/Service/LegalEntityManagement/DocumentsApi.php b/src/Adyen/Service/LegalEntityManagement/DocumentsApi.php index 30c191e2f..ef76b3ad3 100644 --- a/src/Adyen/Service/LegalEntityManagement/DocumentsApi.php +++ b/src/Adyen/Service/LegalEntityManagement/DocumentsApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -44,13 +44,14 @@ public function __construct(Client $client) * * @param string $id * @param array|null $requestOptions - + * @throws AdyenException */ public function deleteDocument(string $id, array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/documents/{id}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + } /** diff --git a/src/Adyen/Service/LegalEntityManagement/HostedOnboardingApi.php b/src/Adyen/Service/LegalEntityManagement/HostedOnboardingApi.php index fc15d4156..49b1eace5 100644 --- a/src/Adyen/Service/LegalEntityManagement/HostedOnboardingApi.php +++ b/src/Adyen/Service/LegalEntityManagement/HostedOnboardingApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,17 +40,19 @@ public function __construct(Client $client) } /** - * Get a list of hosted onboarding page themes + * Get a link to an Adyen-hosted onboarding page * + * @param string $id + * @param \Adyen\Model\LegalEntityManagement\OnboardingLinkInfo $onboardingLinkInfo * @param array|null $requestOptions - * @return \Adyen\Model\LegalEntityManagement\OnboardingThemes + * @return \Adyen\Model\LegalEntityManagement\OnboardingLink * @throws AdyenException */ - public function listHostedOnboardingPageThemes(array $requestOptions = null): \Adyen\Model\LegalEntityManagement\OnboardingThemes + public function getLinkToAdyenhostedOnboardingPage(string $id, \Adyen\Model\LegalEntityManagement\OnboardingLinkInfo $onboardingLinkInfo, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\OnboardingLink { - $endpoint = $this->baseURL . "/themes"; - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\OnboardingThemes::class); + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/onboardingLinks"); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $onboardingLinkInfo->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\OnboardingLink::class); } /** @@ -69,18 +71,16 @@ public function getOnboardingLinkTheme(string $id, array $requestOptions = null) } /** - * Get a link to an Adyen-hosted onboarding page + * Get a list of hosted onboarding page themes * - * @param string $id - * @param \Adyen\Model\LegalEntityManagement\OnboardingLinkInfo $onboardingLinkInfo * @param array|null $requestOptions - * @return \Adyen\Model\LegalEntityManagement\OnboardingLink + * @return \Adyen\Model\LegalEntityManagement\OnboardingThemes * @throws AdyenException */ - public function getLinkToAdyenhostedOnboardingPage(string $id, \Adyen\Model\LegalEntityManagement\OnboardingLinkInfo $onboardingLinkInfo, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\OnboardingLink + public function listHostedOnboardingPageThemes(array $requestOptions = null): \Adyen\Model\LegalEntityManagement\OnboardingThemes { - $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/onboardingLinks"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $onboardingLinkInfo->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\OnboardingLink::class); + $endpoint = $this->baseURL . "/themes"; + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\OnboardingThemes::class); } } diff --git a/src/Adyen/Service/LegalEntityManagement/LegalEntitiesApi.php b/src/Adyen/Service/LegalEntityManagement/LegalEntitiesApi.php index 2d7815396..6a27b7ab8 100644 --- a/src/Adyen/Service/LegalEntityManagement/LegalEntitiesApi.php +++ b/src/Adyen/Service/LegalEntityManagement/LegalEntitiesApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,17 +40,47 @@ public function __construct(Client $client) } /** - * Get a legal entity + * Check a legal entity's verification errors * * @param string $id * @param array|null $requestOptions + * @return \Adyen\Model\LegalEntityManagement\VerificationErrors + * @throws AdyenException + */ + public function checkLegalEntitysVerificationErrors(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\VerificationErrors + { + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/checkVerificationErrors"); + $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\VerificationErrors::class); + } + + /** + * Confirm data review + * + * @param string $id + * @param array|null $requestOptions + * @return \Adyen\Model\LegalEntityManagement\DataReviewConfirmationResponse + * @throws AdyenException + */ + public function confirmDataReview(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\DataReviewConfirmationResponse + { + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/confirmDataReview"); + $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\DataReviewConfirmationResponse::class); + } + + /** + * Create a legal entity + * + * @param \Adyen\Model\LegalEntityManagement\LegalEntityInfoRequiredType $legalEntityInfoRequiredType + * @param array|null $requestOptions * @return \Adyen\Model\LegalEntityManagement\LegalEntity * @throws AdyenException */ - public function getLegalEntity(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\LegalEntity + public function createLegalEntity(\Adyen\Model\LegalEntityManagement\LegalEntityInfoRequiredType $legalEntityInfoRequiredType, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\LegalEntity { - $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + $endpoint = $this->baseURL . "/legalEntities"; + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $legalEntityInfoRequiredType->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\LegalEntity::class); } @@ -70,48 +100,33 @@ public function getAllBusinessLinesUnderLegalEntity(string $id, array $requestOp } /** - * Update a legal entity + * Get a legal entity * * @param string $id - * @param \Adyen\Model\LegalEntityManagement\LegalEntityInfo $legalEntityInfo * @param array|null $requestOptions * @return \Adyen\Model\LegalEntityManagement\LegalEntity * @throws AdyenException */ - public function updateLegalEntity(string $id, \Adyen\Model\LegalEntityManagement\LegalEntityInfo $legalEntityInfo, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\LegalEntity + public function getLegalEntity(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\LegalEntity { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $legalEntityInfo->jsonSerialize(), $requestOptions); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\LegalEntity::class); } /** - * Create a legal entity + * Update a legal entity * - * @param \Adyen\Model\LegalEntityManagement\LegalEntityInfoRequiredType $legalEntityInfoRequiredType + * @param string $id + * @param \Adyen\Model\LegalEntityManagement\LegalEntityInfo $legalEntityInfo * @param array|null $requestOptions * @return \Adyen\Model\LegalEntityManagement\LegalEntity * @throws AdyenException */ - public function createLegalEntity(\Adyen\Model\LegalEntityManagement\LegalEntityInfoRequiredType $legalEntityInfoRequiredType, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\LegalEntity + public function updateLegalEntity(string $id, \Adyen\Model\LegalEntityManagement\LegalEntityInfo $legalEntityInfo, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\LegalEntity { - $endpoint = $this->baseURL . "/legalEntities"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $legalEntityInfoRequiredType->jsonSerialize(), $requestOptions); + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $legalEntityInfo->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\LegalEntity::class); } - - /** - * Check a legal entity's verification errors - * - * @param string $id - * @param array|null $requestOptions - * @return \Adyen\Model\LegalEntityManagement\VerificationErrors - * @throws AdyenException - */ - public function checkLegalEntitysVerificationErrors(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\VerificationErrors - { - $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/checkVerificationErrors"); - $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\VerificationErrors::class); - } } diff --git a/src/Adyen/Service/LegalEntityManagement/PCIQuestionnairesApi.php b/src/Adyen/Service/LegalEntityManagement/PCIQuestionnairesApi.php index 7b87bfb56..4aa7683c8 100644 --- a/src/Adyen/Service/LegalEntityManagement/PCIQuestionnairesApi.php +++ b/src/Adyen/Service/LegalEntityManagement/PCIQuestionnairesApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,18 +40,19 @@ public function __construct(Client $client) } /** - * Get PCI questionnaire details + * Generate PCI questionnaire * * @param string $id + * @param \Adyen\Model\LegalEntityManagement\GeneratePciDescriptionRequest $generatePciDescriptionRequest * @param array|null $requestOptions - * @return \Adyen\Model\LegalEntityManagement\GetPciQuestionnaireInfosResponse + * @return \Adyen\Model\LegalEntityManagement\GeneratePciDescriptionResponse * @throws AdyenException */ - public function getPciQuestionnaireDetails(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GetPciQuestionnaireInfosResponse + public function generatePciQuestionnaire(string $id, \Adyen\Model\LegalEntityManagement\GeneratePciDescriptionRequest $generatePciDescriptionRequest, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GeneratePciDescriptionResponse { - $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/pciQuestionnaires"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\GetPciQuestionnaireInfosResponse::class); + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/pciQuestionnaires/generatePciTemplates"); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $generatePciDescriptionRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\GeneratePciDescriptionResponse::class); } /** @@ -71,19 +72,18 @@ public function getPciQuestionnaire(string $id, string $pciid, array $requestOpt } /** - * Generate PCI questionnaire + * Get PCI questionnaire details * * @param string $id - * @param \Adyen\Model\LegalEntityManagement\GeneratePciDescriptionRequest $generatePciDescriptionRequest * @param array|null $requestOptions - * @return \Adyen\Model\LegalEntityManagement\GeneratePciDescriptionResponse + * @return \Adyen\Model\LegalEntityManagement\GetPciQuestionnaireInfosResponse * @throws AdyenException */ - public function generatePciQuestionnaire(string $id, \Adyen\Model\LegalEntityManagement\GeneratePciDescriptionRequest $generatePciDescriptionRequest, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GeneratePciDescriptionResponse + public function getPciQuestionnaireDetails(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GetPciQuestionnaireInfosResponse { - $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/pciQuestionnaires/generatePciTemplates"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $generatePciDescriptionRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\GeneratePciDescriptionResponse::class); + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/pciQuestionnaires"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\GetPciQuestionnaireInfosResponse::class); } /** diff --git a/src/Adyen/Service/LegalEntityManagement/TermsOfServiceApi.php b/src/Adyen/Service/LegalEntityManagement/TermsOfServiceApi.php index 3728a1886..4db8819b7 100644 --- a/src/Adyen/Service/LegalEntityManagement/TermsOfServiceApi.php +++ b/src/Adyen/Service/LegalEntityManagement/TermsOfServiceApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,65 +40,65 @@ public function __construct(Client $client) } /** - * Get Terms of Service information for a legal entity + * Accept Terms of Service * * @param string $id + * @param string $termsofservicedocumentid + * @param \Adyen\Model\LegalEntityManagement\AcceptTermsOfServiceRequest $acceptTermsOfServiceRequest * @param array|null $requestOptions - * @return \Adyen\Model\LegalEntityManagement\GetTermsOfServiceAcceptanceInfosResponse + * @return \Adyen\Model\LegalEntityManagement\AcceptTermsOfServiceResponse * @throws AdyenException */ - public function getTermsOfServiceInformationForLegalEntity(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GetTermsOfServiceAcceptanceInfosResponse + public function acceptTermsOfService(string $id, string $termsofservicedocumentid, \Adyen\Model\LegalEntityManagement\AcceptTermsOfServiceRequest $acceptTermsOfServiceRequest, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\AcceptTermsOfServiceResponse { - $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/termsOfServiceAcceptanceInfos"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\GetTermsOfServiceAcceptanceInfosResponse::class); + $endpoint = $this->baseURL . str_replace(['{id}', '{termsofservicedocumentid}'], [$id, $termsofservicedocumentid], "/legalEntities/{id}/termsOfService/{termsofservicedocumentid}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $acceptTermsOfServiceRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\AcceptTermsOfServiceResponse::class); } /** - * Get Terms of Service status + * Get Terms of Service document * * @param string $id + * @param \Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentRequest $getTermsOfServiceDocumentRequest * @param array|null $requestOptions - * @return \Adyen\Model\LegalEntityManagement\CalculateTermsOfServiceStatusResponse + * @return \Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentResponse * @throws AdyenException */ - public function getTermsOfServiceStatus(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\CalculateTermsOfServiceStatusResponse + public function getTermsOfServiceDocument(string $id, \Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentRequest $getTermsOfServiceDocumentRequest, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentResponse { - $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/termsOfServiceStatus"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\CalculateTermsOfServiceStatusResponse::class); + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/termsOfService"); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $getTermsOfServiceDocumentRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentResponse::class); } /** - * Accept Terms of Service + * Get Terms of Service information for a legal entity * * @param string $id - * @param string $termsofservicedocumentid - * @param \Adyen\Model\LegalEntityManagement\AcceptTermsOfServiceRequest $acceptTermsOfServiceRequest * @param array|null $requestOptions - * @return \Adyen\Model\LegalEntityManagement\AcceptTermsOfServiceResponse + * @return \Adyen\Model\LegalEntityManagement\GetTermsOfServiceAcceptanceInfosResponse * @throws AdyenException */ - public function acceptTermsOfService(string $id, string $termsofservicedocumentid, \Adyen\Model\LegalEntityManagement\AcceptTermsOfServiceRequest $acceptTermsOfServiceRequest, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\AcceptTermsOfServiceResponse + public function getTermsOfServiceInformationForLegalEntity(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GetTermsOfServiceAcceptanceInfosResponse { - $endpoint = $this->baseURL . str_replace(['{id}', '{termsofservicedocumentid}'], [$id, $termsofservicedocumentid], "/legalEntities/{id}/termsOfService/{termsofservicedocumentid}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $acceptTermsOfServiceRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\AcceptTermsOfServiceResponse::class); + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/termsOfServiceAcceptanceInfos"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\GetTermsOfServiceAcceptanceInfosResponse::class); } /** - * Get Terms of Service document + * Get Terms of Service status * * @param string $id - * @param \Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentRequest $getTermsOfServiceDocumentRequest * @param array|null $requestOptions - * @return \Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentResponse + * @return \Adyen\Model\LegalEntityManagement\CalculateTermsOfServiceStatusResponse * @throws AdyenException */ - public function getTermsOfServiceDocument(string $id, \Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentRequest $getTermsOfServiceDocumentRequest, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentResponse + public function getTermsOfServiceStatus(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\CalculateTermsOfServiceStatusResponse { - $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/termsOfService"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $getTermsOfServiceDocumentRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentResponse::class); + $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/termsOfServiceStatus"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\CalculateTermsOfServiceStatusResponse::class); } } diff --git a/src/Adyen/Service/LegalEntityManagement/TransferInstrumentsApi.php b/src/Adyen/Service/LegalEntityManagement/TransferInstrumentsApi.php index 03323428e..3bf8aeaa4 100644 --- a/src/Adyen/Service/LegalEntityManagement/TransferInstrumentsApi.php +++ b/src/Adyen/Service/LegalEntityManagement/TransferInstrumentsApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -39,18 +39,34 @@ public function __construct(Client $client) $this->baseURL = $this->createBaseUrl("https://kyc-test.adyen.com/lem/v3"); } + /** + * Create a transfer instrument + * + * @param \Adyen\Model\LegalEntityManagement\TransferInstrumentInfo $transferInstrumentInfo + * @param array|null $requestOptions + * @return \Adyen\Model\LegalEntityManagement\TransferInstrument + * @throws AdyenException + */ + public function createTransferInstrument(\Adyen\Model\LegalEntityManagement\TransferInstrumentInfo $transferInstrumentInfo, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\TransferInstrument + { + $endpoint = $this->baseURL . "/transferInstruments"; + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $transferInstrumentInfo->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\TransferInstrument::class); + } + /** * Delete a transfer instrument * * @param string $id * @param array|null $requestOptions - + * @throws AdyenException */ public function deleteTransferInstrument(string $id, array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/transferInstruments/{id}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + } /** @@ -83,19 +99,4 @@ public function updateTransferInstrument(string $id, \Adyen\Model\LegalEntityMan $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $transferInstrumentInfo->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\TransferInstrument::class); } - - /** - * Create a transfer instrument - * - * @param \Adyen\Model\LegalEntityManagement\TransferInstrumentInfo $transferInstrumentInfo - * @param array|null $requestOptions - * @return \Adyen\Model\LegalEntityManagement\TransferInstrument - * @throws AdyenException - */ - public function createTransferInstrument(\Adyen\Model\LegalEntityManagement\TransferInstrumentInfo $transferInstrumentInfo, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\TransferInstrument - { - $endpoint = $this->baseURL . "/transferInstruments"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $transferInstrumentInfo->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\LegalEntityManagement\TransferInstrument::class); - } } diff --git a/src/Adyen/Service/Management/APICredentialsCompanyLevelApi.php b/src/Adyen/Service/Management/APICredentialsCompanyLevelApi.php index 9c11429ad..763e340b6 100644 --- a/src/Adyen/Service/Management/APICredentialsCompanyLevelApi.php +++ b/src/Adyen/Service/Management/APICredentialsCompanyLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,18 +40,19 @@ public function __construct(Client $client) } /** - * Get a list of API credentials + * Create an API credential. * * @param string $companyId - * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int]] - * @return \Adyen\Model\Management\ListCompanyApiCredentialsResponse + * @param \Adyen\Model\Management\CreateCompanyApiCredentialRequest $createCompanyApiCredentialRequest + * @param array|null $requestOptions + * @return \Adyen\Model\Management\CreateCompanyApiCredentialResponse * @throws AdyenException */ - public function listApiCredentials(string $companyId, array $requestOptions = null): \Adyen\Model\Management\ListCompanyApiCredentialsResponse + public function createApiCredential(string $companyId, \Adyen\Model\Management\CreateCompanyApiCredentialRequest $createCompanyApiCredentialRequest, array $requestOptions = null): \Adyen\Model\Management\CreateCompanyApiCredentialResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/apiCredentials"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListCompanyApiCredentialsResponse::class); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createCompanyApiCredentialRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\CreateCompanyApiCredentialResponse::class); } /** @@ -71,35 +72,34 @@ public function getApiCredential(string $companyId, string $apiCredentialId, arr } /** - * Update an API credential. + * Get a list of API credentials * * @param string $companyId - * @param string $apiCredentialId - * @param \Adyen\Model\Management\UpdateCompanyApiCredentialRequest $updateCompanyApiCredentialRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Management\CompanyApiCredential + * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int]] + * @return \Adyen\Model\Management\ListCompanyApiCredentialsResponse * @throws AdyenException */ - public function updateApiCredential(string $companyId, string $apiCredentialId, \Adyen\Model\Management\UpdateCompanyApiCredentialRequest $updateCompanyApiCredentialRequest, array $requestOptions = null): \Adyen\Model\Management\CompanyApiCredential + public function listApiCredentials(string $companyId, array $requestOptions = null): \Adyen\Model\Management\ListCompanyApiCredentialsResponse { - $endpoint = $this->baseURL . str_replace(['{companyId}', '{apiCredentialId}'], [$companyId, $apiCredentialId], "/companies/{companyId}/apiCredentials/{apiCredentialId}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateCompanyApiCredentialRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\CompanyApiCredential::class); + $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/apiCredentials"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListCompanyApiCredentialsResponse::class); } /** - * Create an API credential. + * Update an API credential. * * @param string $companyId - * @param \Adyen\Model\Management\CreateCompanyApiCredentialRequest $createCompanyApiCredentialRequest + * @param string $apiCredentialId + * @param \Adyen\Model\Management\UpdateCompanyApiCredentialRequest $updateCompanyApiCredentialRequest * @param array|null $requestOptions - * @return \Adyen\Model\Management\CreateCompanyApiCredentialResponse + * @return \Adyen\Model\Management\CompanyApiCredential * @throws AdyenException */ - public function createApiCredential(string $companyId, \Adyen\Model\Management\CreateCompanyApiCredentialRequest $createCompanyApiCredentialRequest, array $requestOptions = null): \Adyen\Model\Management\CreateCompanyApiCredentialResponse + public function updateApiCredential(string $companyId, string $apiCredentialId, \Adyen\Model\Management\UpdateCompanyApiCredentialRequest $updateCompanyApiCredentialRequest, array $requestOptions = null): \Adyen\Model\Management\CompanyApiCredential { - $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/apiCredentials"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createCompanyApiCredentialRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\CreateCompanyApiCredentialResponse::class); + $endpoint = $this->baseURL . str_replace(['{companyId}', '{apiCredentialId}'], [$companyId, $apiCredentialId], "/companies/{companyId}/apiCredentials/{apiCredentialId}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateCompanyApiCredentialRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\CompanyApiCredential::class); } } diff --git a/src/Adyen/Service/Management/APICredentialsMerchantLevelApi.php b/src/Adyen/Service/Management/APICredentialsMerchantLevelApi.php index 24080d8c0..a8b842fba 100644 --- a/src/Adyen/Service/Management/APICredentialsMerchantLevelApi.php +++ b/src/Adyen/Service/Management/APICredentialsMerchantLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,18 +40,19 @@ public function __construct(Client $client) } /** - * Get a list of API credentials + * Create an API credential * * @param string $merchantId - * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int]] - * @return \Adyen\Model\Management\ListMerchantApiCredentialsResponse + * @param \Adyen\Model\Management\CreateMerchantApiCredentialRequest $createMerchantApiCredentialRequest + * @param array|null $requestOptions + * @return \Adyen\Model\Management\CreateApiCredentialResponse * @throws AdyenException */ - public function listApiCredentials(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\ListMerchantApiCredentialsResponse + public function createApiCredential(string $merchantId, \Adyen\Model\Management\CreateMerchantApiCredentialRequest $createMerchantApiCredentialRequest, array $requestOptions = null): \Adyen\Model\Management\CreateApiCredentialResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/apiCredentials"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListMerchantApiCredentialsResponse::class); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createMerchantApiCredentialRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\CreateApiCredentialResponse::class); } /** @@ -71,35 +72,34 @@ public function getApiCredential(string $merchantId, string $apiCredentialId, ar } /** - * Update an API credential + * Get a list of API credentials * * @param string $merchantId - * @param string $apiCredentialId - * @param \Adyen\Model\Management\UpdateMerchantApiCredentialRequest $updateMerchantApiCredentialRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Management\ApiCredential + * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int]] + * @return \Adyen\Model\Management\ListMerchantApiCredentialsResponse * @throws AdyenException */ - public function updateApiCredential(string $merchantId, string $apiCredentialId, \Adyen\Model\Management\UpdateMerchantApiCredentialRequest $updateMerchantApiCredentialRequest, array $requestOptions = null): \Adyen\Model\Management\ApiCredential + public function listApiCredentials(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\ListMerchantApiCredentialsResponse { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{apiCredentialId}'], [$merchantId, $apiCredentialId], "/merchants/{merchantId}/apiCredentials/{apiCredentialId}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateMerchantApiCredentialRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ApiCredential::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/apiCredentials"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListMerchantApiCredentialsResponse::class); } /** - * Create an API credential + * Update an API credential * * @param string $merchantId - * @param \Adyen\Model\Management\CreateMerchantApiCredentialRequest $createMerchantApiCredentialRequest + * @param string $apiCredentialId + * @param \Adyen\Model\Management\UpdateMerchantApiCredentialRequest $updateMerchantApiCredentialRequest * @param array|null $requestOptions - * @return \Adyen\Model\Management\CreateApiCredentialResponse + * @return \Adyen\Model\Management\ApiCredential * @throws AdyenException */ - public function createApiCredential(string $merchantId, \Adyen\Model\Management\CreateMerchantApiCredentialRequest $createMerchantApiCredentialRequest, array $requestOptions = null): \Adyen\Model\Management\CreateApiCredentialResponse + public function updateApiCredential(string $merchantId, string $apiCredentialId, \Adyen\Model\Management\UpdateMerchantApiCredentialRequest $updateMerchantApiCredentialRequest, array $requestOptions = null): \Adyen\Model\Management\ApiCredential { - $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/apiCredentials"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createMerchantApiCredentialRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\CreateApiCredentialResponse::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{apiCredentialId}'], [$merchantId, $apiCredentialId], "/merchants/{merchantId}/apiCredentials/{apiCredentialId}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateMerchantApiCredentialRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ApiCredential::class); } } diff --git a/src/Adyen/Service/Management/APIKeyCompanyLevelApi.php b/src/Adyen/Service/Management/APIKeyCompanyLevelApi.php index 71d5ed3a0..5c987b29f 100644 --- a/src/Adyen/Service/Management/APIKeyCompanyLevelApi.php +++ b/src/Adyen/Service/Management/APIKeyCompanyLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Management/APIKeyMerchantLevelApi.php b/src/Adyen/Service/Management/APIKeyMerchantLevelApi.php index 38e140ef3..20cdd603f 100644 --- a/src/Adyen/Service/Management/APIKeyMerchantLevelApi.php +++ b/src/Adyen/Service/Management/APIKeyMerchantLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Management/AccountCompanyLevelApi.php b/src/Adyen/Service/Management/AccountCompanyLevelApi.php index f29477b20..1dae51330 100644 --- a/src/Adyen/Service/Management/AccountCompanyLevelApi.php +++ b/src/Adyen/Service/Management/AccountCompanyLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,32 +40,32 @@ public function __construct(Client $client) } /** - * Get a list of company accounts + * Get a company account * - * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int]] - * @return \Adyen\Model\Management\ListCompanyResponse + * @param string $companyId + * @param array|null $requestOptions + * @return \Adyen\Model\Management\Company * @throws AdyenException */ - public function listCompanyAccounts(array $requestOptions = null): \Adyen\Model\Management\ListCompanyResponse + public function getCompanyAccount(string $companyId, array $requestOptions = null): \Adyen\Model\Management\Company { - $endpoint = $this->baseURL . "/companies"; + $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListCompanyResponse::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Company::class); } /** - * Get a company account + * Get a list of company accounts * - * @param string $companyId - * @param array|null $requestOptions - * @return \Adyen\Model\Management\Company + * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int]] + * @return \Adyen\Model\Management\ListCompanyResponse * @throws AdyenException */ - public function getCompanyAccount(string $companyId, array $requestOptions = null): \Adyen\Model\Management\Company + public function listCompanyAccounts(array $requestOptions = null): \Adyen\Model\Management\ListCompanyResponse { - $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}"); + $endpoint = $this->baseURL . "/companies"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Company::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListCompanyResponse::class); } /** diff --git a/src/Adyen/Service/Management/AccountMerchantLevelApi.php b/src/Adyen/Service/Management/AccountMerchantLevelApi.php index 7d95763ec..7a33eed88 100644 --- a/src/Adyen/Service/Management/AccountMerchantLevelApi.php +++ b/src/Adyen/Service/Management/AccountMerchantLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,17 +40,18 @@ public function __construct(Client $client) } /** - * Get a list of merchant accounts + * Create a merchant account * - * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int]] - * @return \Adyen\Model\Management\ListMerchantResponse + * @param \Adyen\Model\Management\CreateMerchantRequest $createMerchantRequest + * @param array|null $requestOptions + * @return \Adyen\Model\Management\CreateMerchantResponse * @throws AdyenException */ - public function listMerchantAccounts(array $requestOptions = null): \Adyen\Model\Management\ListMerchantResponse + public function createMerchantAccount(\Adyen\Model\Management\CreateMerchantRequest $createMerchantRequest, array $requestOptions = null): \Adyen\Model\Management\CreateMerchantResponse { $endpoint = $this->baseURL . "/merchants"; - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListMerchantResponse::class); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createMerchantRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\CreateMerchantResponse::class); } /** @@ -69,18 +70,17 @@ public function getMerchantAccount(string $merchantId, array $requestOptions = n } /** - * Create a merchant account + * Get a list of merchant accounts * - * @param \Adyen\Model\Management\CreateMerchantRequest $createMerchantRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Management\CreateMerchantResponse + * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int]] + * @return \Adyen\Model\Management\ListMerchantResponse * @throws AdyenException */ - public function createMerchantAccount(\Adyen\Model\Management\CreateMerchantRequest $createMerchantRequest, array $requestOptions = null): \Adyen\Model\Management\CreateMerchantResponse + public function listMerchantAccounts(array $requestOptions = null): \Adyen\Model\Management\ListMerchantResponse { $endpoint = $this->baseURL . "/merchants"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createMerchantRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\CreateMerchantResponse::class); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListMerchantResponse::class); } /** diff --git a/src/Adyen/Service/Management/AccountStoreLevelApi.php b/src/Adyen/Service/Management/AccountStoreLevelApi.php index ecb98213f..d845e9ee1 100644 --- a/src/Adyen/Service/Management/AccountStoreLevelApi.php +++ b/src/Adyen/Service/Management/AccountStoreLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,18 +40,34 @@ public function __construct(Client $client) } /** - * Get a list of stores + * Create a store + * + * @param \Adyen\Model\Management\StoreCreationWithMerchantCodeRequest $storeCreationWithMerchantCodeRequest + * @param array|null $requestOptions + * @return \Adyen\Model\Management\Store + * @throws AdyenException + */ + public function createStore(\Adyen\Model\Management\StoreCreationWithMerchantCodeRequest $storeCreationWithMerchantCodeRequest, array $requestOptions = null): \Adyen\Model\Management\Store + { + $endpoint = $this->baseURL . "/stores"; + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $storeCreationWithMerchantCodeRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Store::class); + } + + /** + * Create a store * * @param string $merchantId - * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int, 'reference'=> string]] - * @return \Adyen\Model\Management\ListStoresResponse + * @param \Adyen\Model\Management\StoreCreationRequest $storeCreationRequest + * @param array|null $requestOptions + * @return \Adyen\Model\Management\Store * @throws AdyenException */ - public function listStoresByMerchantId(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\ListStoresResponse + public function createStoreByMerchantId(string $merchantId, \Adyen\Model\Management\StoreCreationRequest $storeCreationRequest, array $requestOptions = null): \Adyen\Model\Management\Store { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/stores"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListStoresResponse::class); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $storeCreationRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Store::class); } /** @@ -70,6 +86,21 @@ public function getStore(string $merchantId, string $storeId, array $requestOpti return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Store::class); } + /** + * Get a store + * + * @param string $storeId + * @param array|null $requestOptions + * @return \Adyen\Model\Management\Store + * @throws AdyenException + */ + public function getStoreById(string $storeId, array $requestOptions = null): \Adyen\Model\Management\Store + { + $endpoint = $this->baseURL . str_replace(['{storeId}'], [$storeId], "/stores/{storeId}"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Store::class); + } + /** * Get a list of stores * @@ -85,18 +116,18 @@ public function listStores(array $requestOptions = null): \Adyen\Model\Managemen } /** - * Get a store + * Get a list of stores * - * @param string $storeId - * @param array|null $requestOptions - * @return \Adyen\Model\Management\Store + * @param string $merchantId + * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int, 'reference'=> string]] + * @return \Adyen\Model\Management\ListStoresResponse * @throws AdyenException */ - public function getStoreById(string $storeId, array $requestOptions = null): \Adyen\Model\Management\Store + public function listStoresByMerchantId(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\ListStoresResponse { - $endpoint = $this->baseURL . str_replace(['{storeId}'], [$storeId], "/stores/{storeId}"); + $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/stores"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Store::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListStoresResponse::class); } /** @@ -131,35 +162,4 @@ public function updateStoreById(string $storeId, \Adyen\Model\Management\UpdateS $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateStoreRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Store::class); } - - /** - * Create a store - * - * @param string $merchantId - * @param \Adyen\Model\Management\StoreCreationRequest $storeCreationRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Management\Store - * @throws AdyenException - */ - public function createStoreByMerchantId(string $merchantId, \Adyen\Model\Management\StoreCreationRequest $storeCreationRequest, array $requestOptions = null): \Adyen\Model\Management\Store - { - $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/stores"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $storeCreationRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Store::class); - } - - /** - * Create a store - * - * @param \Adyen\Model\Management\StoreCreationWithMerchantCodeRequest $storeCreationWithMerchantCodeRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Management\Store - * @throws AdyenException - */ - public function createStore(\Adyen\Model\Management\StoreCreationWithMerchantCodeRequest $storeCreationWithMerchantCodeRequest, array $requestOptions = null): \Adyen\Model\Management\Store - { - $endpoint = $this->baseURL . "/stores"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $storeCreationWithMerchantCodeRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Store::class); - } } diff --git a/src/Adyen/Service/Management/AllowedOriginsCompanyLevelApi.php b/src/Adyen/Service/Management/AllowedOriginsCompanyLevelApi.php index ffff7949d..2be1d91c0 100644 --- a/src/Adyen/Service/Management/AllowedOriginsCompanyLevelApi.php +++ b/src/Adyen/Service/Management/AllowedOriginsCompanyLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,35 +40,37 @@ public function __construct(Client $client) } /** - * Delete an allowed origin + * Create an allowed origin * * @param string $companyId * @param string $apiCredentialId - * @param string $originId + * @param \Adyen\Model\Management\AllowedOrigin $allowedOrigin * @param array|null $requestOptions - + * @return \Adyen\Model\Management\AllowedOriginsResponse * @throws AdyenException */ - public function deleteAllowedOrigin(string $companyId, string $apiCredentialId, string $originId, array $requestOptions = null) + public function createAllowedOrigin(string $companyId, string $apiCredentialId, \Adyen\Model\Management\AllowedOrigin $allowedOrigin, array $requestOptions = null): \Adyen\Model\Management\AllowedOriginsResponse { - $endpoint = $this->baseURL . str_replace(['{companyId}', '{apiCredentialId}', '{originId}'], [$companyId, $apiCredentialId, $originId], "/companies/{companyId}/apiCredentials/{apiCredentialId}/allowedOrigins/{originId}"); - $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + $endpoint = $this->baseURL . str_replace(['{companyId}', '{apiCredentialId}'], [$companyId, $apiCredentialId], "/companies/{companyId}/apiCredentials/{apiCredentialId}/allowedOrigins"); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $allowedOrigin->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\AllowedOriginsResponse::class); } /** - * Get a list of allowed origins + * Delete an allowed origin * * @param string $companyId * @param string $apiCredentialId + * @param string $originId * @param array|null $requestOptions - * @return \Adyen\Model\Management\AllowedOriginsResponse + * @throws AdyenException */ - public function listAllowedOrigins(string $companyId, string $apiCredentialId, array $requestOptions = null): \Adyen\Model\Management\AllowedOriginsResponse + public function deleteAllowedOrigin(string $companyId, string $apiCredentialId, string $originId, array $requestOptions = null) { - $endpoint = $this->baseURL . str_replace(['{companyId}', '{apiCredentialId}'], [$companyId, $apiCredentialId], "/companies/{companyId}/apiCredentials/{apiCredentialId}/allowedOrigins"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\AllowedOriginsResponse::class); + $endpoint = $this->baseURL . str_replace(['{companyId}', '{apiCredentialId}', '{originId}'], [$companyId, $apiCredentialId, $originId], "/companies/{companyId}/apiCredentials/{apiCredentialId}/allowedOrigins/{originId}"); + $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + } /** @@ -89,19 +91,18 @@ public function getAllowedOrigin(string $companyId, string $apiCredentialId, str } /** - * Create an allowed origin + * Get a list of allowed origins * * @param string $companyId * @param string $apiCredentialId - * @param \Adyen\Model\Management\AllowedOrigin $allowedOrigin * @param array|null $requestOptions * @return \Adyen\Model\Management\AllowedOriginsResponse * @throws AdyenException */ - public function createAllowedOrigin(string $companyId, string $apiCredentialId, \Adyen\Model\Management\AllowedOrigin $allowedOrigin, array $requestOptions = null): \Adyen\Model\Management\AllowedOriginsResponse + public function listAllowedOrigins(string $companyId, string $apiCredentialId, array $requestOptions = null): \Adyen\Model\Management\AllowedOriginsResponse { $endpoint = $this->baseURL . str_replace(['{companyId}', '{apiCredentialId}'], [$companyId, $apiCredentialId], "/companies/{companyId}/apiCredentials/{apiCredentialId}/allowedOrigins"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $allowedOrigin->jsonSerialize(), $requestOptions); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Management\AllowedOriginsResponse::class); } } diff --git a/src/Adyen/Service/Management/AllowedOriginsMerchantLevelApi.php b/src/Adyen/Service/Management/AllowedOriginsMerchantLevelApi.php index 6a31a0958..02afdeebe 100644 --- a/src/Adyen/Service/Management/AllowedOriginsMerchantLevelApi.php +++ b/src/Adyen/Service/Management/AllowedOriginsMerchantLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,35 +40,37 @@ public function __construct(Client $client) } /** - * Delete an allowed origin + * Create an allowed origin * * @param string $merchantId * @param string $apiCredentialId - * @param string $originId + * @param \Adyen\Model\Management\AllowedOrigin $allowedOrigin * @param array|null $requestOptions - + * @return \Adyen\Model\Management\AllowedOriginsResponse * @throws AdyenException */ - public function deleteAllowedOrigin(string $merchantId, string $apiCredentialId, string $originId, array $requestOptions = null) + public function createAllowedOrigin(string $merchantId, string $apiCredentialId, \Adyen\Model\Management\AllowedOrigin $allowedOrigin, array $requestOptions = null): \Adyen\Model\Management\AllowedOriginsResponse { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{apiCredentialId}', '{originId}'], [$merchantId, $apiCredentialId, $originId], "/merchants/{merchantId}/apiCredentials/{apiCredentialId}/allowedOrigins/{originId}"); - $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{apiCredentialId}'], [$merchantId, $apiCredentialId], "/merchants/{merchantId}/apiCredentials/{apiCredentialId}/allowedOrigins"); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $allowedOrigin->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\AllowedOriginsResponse::class); } /** - * Get a list of allowed origins + * Delete an allowed origin * * @param string $merchantId * @param string $apiCredentialId + * @param string $originId * @param array|null $requestOptions - * @return \Adyen\Model\Management\AllowedOriginsResponse + * @throws AdyenException */ - public function listAllowedOrigins(string $merchantId, string $apiCredentialId, array $requestOptions = null): \Adyen\Model\Management\AllowedOriginsResponse + public function deleteAllowedOrigin(string $merchantId, string $apiCredentialId, string $originId, array $requestOptions = null) { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{apiCredentialId}'], [$merchantId, $apiCredentialId], "/merchants/{merchantId}/apiCredentials/{apiCredentialId}/allowedOrigins"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\AllowedOriginsResponse::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{apiCredentialId}', '{originId}'], [$merchantId, $apiCredentialId, $originId], "/merchants/{merchantId}/apiCredentials/{apiCredentialId}/allowedOrigins/{originId}"); + $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + } /** @@ -89,19 +91,18 @@ public function getAllowedOrigin(string $merchantId, string $apiCredentialId, st } /** - * Create an allowed origin + * Get a list of allowed origins * * @param string $merchantId * @param string $apiCredentialId - * @param \Adyen\Model\Management\AllowedOrigin $allowedOrigin * @param array|null $requestOptions * @return \Adyen\Model\Management\AllowedOriginsResponse * @throws AdyenException */ - public function createAllowedOrigin(string $merchantId, string $apiCredentialId, \Adyen\Model\Management\AllowedOrigin $allowedOrigin, array $requestOptions = null): \Adyen\Model\Management\AllowedOriginsResponse + public function listAllowedOrigins(string $merchantId, string $apiCredentialId, array $requestOptions = null): \Adyen\Model\Management\AllowedOriginsResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{apiCredentialId}'], [$merchantId, $apiCredentialId], "/merchants/{merchantId}/apiCredentials/{apiCredentialId}/allowedOrigins"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $allowedOrigin->jsonSerialize(), $requestOptions); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Management\AllowedOriginsResponse::class); } } diff --git a/src/Adyen/Service/Management/AndroidFilesCompanyLevelApi.php b/src/Adyen/Service/Management/AndroidFilesCompanyLevelApi.php index 4ccda5dfd..15929e6cf 100644 --- a/src/Adyen/Service/Management/AndroidFilesCompanyLevelApi.php +++ b/src/Adyen/Service/Management/AndroidFilesCompanyLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,34 +40,34 @@ public function __construct(Client $client) } /** - * Get a list of Android apps + * Get Android app * * @param string $companyId - * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int, 'packageName'=> string, 'versionCode'=> int]] - * @return \Adyen\Model\Management\AndroidAppsResponse + * @param string $id + * @param array|null $requestOptions + * @return \Adyen\Model\Management\AndroidApp * @throws AdyenException */ - public function listAndroidApps(string $companyId, array $requestOptions = null): \Adyen\Model\Management\AndroidAppsResponse + public function getAndroidApp(string $companyId, string $id, array $requestOptions = null): \Adyen\Model\Management\AndroidApp { - $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/androidApps"); + $endpoint = $this->baseURL . str_replace(['{companyId}', '{id}'], [$companyId, $id], "/companies/{companyId}/androidApps/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\AndroidAppsResponse::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\AndroidApp::class); } /** - * Get Android app + * Get a list of Android apps * * @param string $companyId - * @param string $id - * @param array|null $requestOptions - * @return \Adyen\Model\Management\AndroidApp + * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int, 'packageName'=> string, 'versionCode'=> int]] + * @return \Adyen\Model\Management\AndroidAppsResponse * @throws AdyenException */ - public function getAndroidApp(string $companyId, string $id, array $requestOptions = null): \Adyen\Model\Management\AndroidApp + public function listAndroidApps(string $companyId, array $requestOptions = null): \Adyen\Model\Management\AndroidAppsResponse { - $endpoint = $this->baseURL . str_replace(['{companyId}', '{id}'], [$companyId, $id], "/companies/{companyId}/androidApps/{id}"); + $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/androidApps"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\AndroidApp::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\AndroidAppsResponse::class); } /** @@ -90,12 +90,13 @@ public function listAndroidCertificates(string $companyId, array $requestOptions * * @param string $companyId * @param array|null $requestOptions - + * @throws AdyenException */ public function uploadAndroidApp(string $companyId, array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/androidApps"); $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); + } } diff --git a/src/Adyen/Service/Management/ClientKeyCompanyLevelApi.php b/src/Adyen/Service/Management/ClientKeyCompanyLevelApi.php index bbf996c68..57dab370c 100644 --- a/src/Adyen/Service/Management/ClientKeyCompanyLevelApi.php +++ b/src/Adyen/Service/Management/ClientKeyCompanyLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Management/ClientKeyMerchantLevelApi.php b/src/Adyen/Service/Management/ClientKeyMerchantLevelApi.php index a2556d984..4b7df1280 100644 --- a/src/Adyen/Service/Management/ClientKeyMerchantLevelApi.php +++ b/src/Adyen/Service/Management/ClientKeyMerchantLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Management/MyAPICredentialApi.php b/src/Adyen/Service/Management/MyAPICredentialApi.php index f6c93f4f5..65cdadc59 100644 --- a/src/Adyen/Service/Management/MyAPICredentialApi.php +++ b/src/Adyen/Service/Management/MyAPICredentialApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,88 +40,89 @@ public function __construct(Client $client) } /** - * Remove allowed origin + * Add allowed origin * - * @param string $originId + * @param \Adyen\Model\Management\CreateAllowedOriginRequest $createAllowedOriginRequest * @param array|null $requestOptions - + * @return \Adyen\Model\Management\AllowedOrigin * @throws AdyenException */ - public function removeAllowedOrigin(string $originId, array $requestOptions = null) + public function addAllowedOrigin(\Adyen\Model\Management\CreateAllowedOriginRequest $createAllowedOriginRequest, array $requestOptions = null): \Adyen\Model\Management\AllowedOrigin { - $endpoint = $this->baseURL . str_replace(['{originId}'], [$originId], "/me/allowedOrigins/{originId}"); - $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + $endpoint = $this->baseURL . "/me/allowedOrigins"; + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createAllowedOriginRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\AllowedOrigin::class); } /** - * Get API credential details + * Generate a client key * * @param array|null $requestOptions - * @return \Adyen\Model\Management\MeApiCredential + * @return \Adyen\Model\Management\GenerateClientKeyResponse * @throws AdyenException */ - public function getApiCredentialDetails(array $requestOptions = null): \Adyen\Model\Management\MeApiCredential + public function generateClientKey(array $requestOptions = null): \Adyen\Model\Management\GenerateClientKeyResponse { - $endpoint = $this->baseURL . "/me"; - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\MeApiCredential::class); + $endpoint = $this->baseURL . "/me/generateClientKey"; + $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\GenerateClientKeyResponse::class); } /** - * Get allowed origins + * Get allowed origin details * + * @param string $originId * @param array|null $requestOptions - * @return \Adyen\Model\Management\AllowedOriginsResponse + * @return \Adyen\Model\Management\AllowedOrigin * @throws AdyenException */ - public function getAllowedOrigins(array $requestOptions = null): \Adyen\Model\Management\AllowedOriginsResponse + public function getAllowedOriginDetails(string $originId, array $requestOptions = null): \Adyen\Model\Management\AllowedOrigin { - $endpoint = $this->baseURL . "/me/allowedOrigins"; + $endpoint = $this->baseURL . str_replace(['{originId}'], [$originId], "/me/allowedOrigins/{originId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\AllowedOriginsResponse::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\AllowedOrigin::class); } /** - * Get allowed origin details + * Get allowed origins * - * @param string $originId * @param array|null $requestOptions - * @return \Adyen\Model\Management\AllowedOrigin + * @return \Adyen\Model\Management\AllowedOriginsResponse * @throws AdyenException */ - public function getAllowedOriginDetails(string $originId, array $requestOptions = null): \Adyen\Model\Management\AllowedOrigin + public function getAllowedOrigins(array $requestOptions = null): \Adyen\Model\Management\AllowedOriginsResponse { - $endpoint = $this->baseURL . str_replace(['{originId}'], [$originId], "/me/allowedOrigins/{originId}"); + $endpoint = $this->baseURL . "/me/allowedOrigins"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\AllowedOrigin::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\AllowedOriginsResponse::class); } /** - * Add allowed origin + * Get API credential details * - * @param \Adyen\Model\Management\CreateAllowedOriginRequest $createAllowedOriginRequest * @param array|null $requestOptions - * @return \Adyen\Model\Management\AllowedOrigin + * @return \Adyen\Model\Management\MeApiCredential * @throws AdyenException */ - public function addAllowedOrigin(\Adyen\Model\Management\CreateAllowedOriginRequest $createAllowedOriginRequest, array $requestOptions = null): \Adyen\Model\Management\AllowedOrigin + public function getApiCredentialDetails(array $requestOptions = null): \Adyen\Model\Management\MeApiCredential { - $endpoint = $this->baseURL . "/me/allowedOrigins"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createAllowedOriginRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\AllowedOrigin::class); + $endpoint = $this->baseURL . "/me"; + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\MeApiCredential::class); } /** - * Generate a client key + * Remove allowed origin * + * @param string $originId * @param array|null $requestOptions - * @return \Adyen\Model\Management\GenerateClientKeyResponse + * @throws AdyenException */ - public function generateClientKey(array $requestOptions = null): \Adyen\Model\Management\GenerateClientKeyResponse + public function removeAllowedOrigin(string $originId, array $requestOptions = null) { - $endpoint = $this->baseURL . "/me/generateClientKey"; - $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\GenerateClientKeyResponse::class); + $endpoint = $this->baseURL . str_replace(['{originId}'], [$originId], "/me/allowedOrigins/{originId}"); + $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + } } diff --git a/src/Adyen/Service/Management/PaymentMethodsMerchantLevelApi.php b/src/Adyen/Service/Management/PaymentMethodsMerchantLevelApi.php index 96f1ccdc1..4f955b8ba 100644 --- a/src/Adyen/Service/Management/PaymentMethodsMerchantLevelApi.php +++ b/src/Adyen/Service/Management/PaymentMethodsMerchantLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,34 +40,35 @@ public function __construct(Client $client) } /** - * Get all payment methods + * Add an Apple Pay domain * * @param string $merchantId - * @param array|null $requestOptions ['queryParams' => ['storeId'=> string, 'businessLineId'=> string, 'pageSize'=> int, 'pageNumber'=> int]] - * @return \Adyen\Model\Management\PaymentMethodResponse + * @param string $paymentMethodId + * @param \Adyen\Model\Management\ApplePayInfo $applePayInfo + * @param array|null $requestOptions + * @throws AdyenException */ - public function getAllPaymentMethods(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\PaymentMethodResponse + public function addApplePayDomain(string $merchantId, string $paymentMethodId, \Adyen\Model\Management\ApplePayInfo $applePayInfo, array $requestOptions = null) { - $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/paymentMethodSettings"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\PaymentMethodResponse::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{paymentMethodId}'], [$merchantId, $paymentMethodId], "/merchants/{merchantId}/paymentMethodSettings/{paymentMethodId}/addApplePayDomains"); + $this->requestHttp($endpoint, strtolower('POST'), (array) $applePayInfo->jsonSerialize(), $requestOptions); + } /** - * Get payment method details + * Get all payment methods * * @param string $merchantId - * @param string $paymentMethodId - * @param array|null $requestOptions - * @return \Adyen\Model\Management\PaymentMethod + * @param array|null $requestOptions ['queryParams' => ['storeId'=> string, 'businessLineId'=> string, 'pageSize'=> int, 'pageNumber'=> int]] + * @return \Adyen\Model\Management\PaymentMethodResponse * @throws AdyenException */ - public function getPaymentMethodDetails(string $merchantId, string $paymentMethodId, array $requestOptions = null): \Adyen\Model\Management\PaymentMethod + public function getAllPaymentMethods(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\PaymentMethodResponse { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{paymentMethodId}'], [$merchantId, $paymentMethodId], "/merchants/{merchantId}/paymentMethodSettings/{paymentMethodId}"); + $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/paymentMethodSettings"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\PaymentMethod::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\PaymentMethodResponse::class); } /** @@ -87,19 +88,18 @@ public function getApplePayDomains(string $merchantId, string $paymentMethodId, } /** - * Update a payment method + * Get payment method details * * @param string $merchantId * @param string $paymentMethodId - * @param \Adyen\Model\Management\UpdatePaymentMethodInfo $updatePaymentMethodInfo * @param array|null $requestOptions * @return \Adyen\Model\Management\PaymentMethod * @throws AdyenException */ - public function updatePaymentMethod(string $merchantId, string $paymentMethodId, \Adyen\Model\Management\UpdatePaymentMethodInfo $updatePaymentMethodInfo, array $requestOptions = null): \Adyen\Model\Management\PaymentMethod + public function getPaymentMethodDetails(string $merchantId, string $paymentMethodId, array $requestOptions = null): \Adyen\Model\Management\PaymentMethod { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{paymentMethodId}'], [$merchantId, $paymentMethodId], "/merchants/{merchantId}/paymentMethodSettings/{paymentMethodId}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updatePaymentMethodInfo->jsonSerialize(), $requestOptions); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Management\PaymentMethod::class); } @@ -120,18 +120,19 @@ public function requestPaymentMethod(string $merchantId, \Adyen\Model\Management } /** - * Add an Apple Pay domain + * Update a payment method * * @param string $merchantId * @param string $paymentMethodId - * @param \Adyen\Model\Management\ApplePayInfo $applePayInfo + * @param \Adyen\Model\Management\UpdatePaymentMethodInfo $updatePaymentMethodInfo * @param array|null $requestOptions - + * @return \Adyen\Model\Management\PaymentMethod * @throws AdyenException */ - public function addApplePayDomain(string $merchantId, string $paymentMethodId, \Adyen\Model\Management\ApplePayInfo $applePayInfo, array $requestOptions = null) + public function updatePaymentMethod(string $merchantId, string $paymentMethodId, \Adyen\Model\Management\UpdatePaymentMethodInfo $updatePaymentMethodInfo, array $requestOptions = null): \Adyen\Model\Management\PaymentMethod { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{paymentMethodId}'], [$merchantId, $paymentMethodId], "/merchants/{merchantId}/paymentMethodSettings/{paymentMethodId}/addApplePayDomains"); - $this->requestHttp($endpoint, strtolower('POST'), (array) $applePayInfo->jsonSerialize(), $requestOptions); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{paymentMethodId}'], [$merchantId, $paymentMethodId], "/merchants/{merchantId}/paymentMethodSettings/{paymentMethodId}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updatePaymentMethodInfo->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\PaymentMethod::class); } } diff --git a/src/Adyen/Service/Management/PayoutSettingsMerchantLevelApi.php b/src/Adyen/Service/Management/PayoutSettingsMerchantLevelApi.php index ef2926a03..499e78957 100644 --- a/src/Adyen/Service/Management/PayoutSettingsMerchantLevelApi.php +++ b/src/Adyen/Service/Management/PayoutSettingsMerchantLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,33 +40,35 @@ public function __construct(Client $client) } /** - * Delete a payout setting + * Add a payout setting * * @param string $merchantId - * @param string $payoutSettingsId + * @param \Adyen\Model\Management\PayoutSettingsRequest $payoutSettingsRequest * @param array|null $requestOptions - + * @return \Adyen\Model\Management\PayoutSettings * @throws AdyenException */ - public function deletePayoutSetting(string $merchantId, string $payoutSettingsId, array $requestOptions = null) + public function addPayoutSetting(string $merchantId, \Adyen\Model\Management\PayoutSettingsRequest $payoutSettingsRequest, array $requestOptions = null): \Adyen\Model\Management\PayoutSettings { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{payoutSettingsId}'], [$merchantId, $payoutSettingsId], "/merchants/{merchantId}/payoutSettings/{payoutSettingsId}"); - $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/payoutSettings"); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $payoutSettingsRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\PayoutSettings::class); } /** - * Get a list of payout settings + * Delete a payout setting * * @param string $merchantId + * @param string $payoutSettingsId * @param array|null $requestOptions - * @return \Adyen\Model\Management\PayoutSettingsResponse + * @throws AdyenException */ - public function listPayoutSettings(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\PayoutSettingsResponse + public function deletePayoutSetting(string $merchantId, string $payoutSettingsId, array $requestOptions = null) { - $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/payoutSettings"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\PayoutSettingsResponse::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{payoutSettingsId}'], [$merchantId, $payoutSettingsId], "/merchants/{merchantId}/payoutSettings/{payoutSettingsId}"); + $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + } /** @@ -86,35 +88,34 @@ public function getPayoutSetting(string $merchantId, string $payoutSettingsId, a } /** - * Update a payout setting + * Get a list of payout settings * * @param string $merchantId - * @param string $payoutSettingsId - * @param \Adyen\Model\Management\UpdatePayoutSettingsRequest $updatePayoutSettingsRequest * @param array|null $requestOptions - * @return \Adyen\Model\Management\PayoutSettings + * @return \Adyen\Model\Management\PayoutSettingsResponse * @throws AdyenException */ - public function updatePayoutSetting(string $merchantId, string $payoutSettingsId, \Adyen\Model\Management\UpdatePayoutSettingsRequest $updatePayoutSettingsRequest, array $requestOptions = null): \Adyen\Model\Management\PayoutSettings + public function listPayoutSettings(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\PayoutSettingsResponse { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{payoutSettingsId}'], [$merchantId, $payoutSettingsId], "/merchants/{merchantId}/payoutSettings/{payoutSettingsId}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updatePayoutSettingsRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\PayoutSettings::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/payoutSettings"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\PayoutSettingsResponse::class); } /** - * Add a payout setting + * Update a payout setting * * @param string $merchantId - * @param \Adyen\Model\Management\PayoutSettingsRequest $payoutSettingsRequest + * @param string $payoutSettingsId + * @param \Adyen\Model\Management\UpdatePayoutSettingsRequest $updatePayoutSettingsRequest * @param array|null $requestOptions * @return \Adyen\Model\Management\PayoutSettings * @throws AdyenException */ - public function addPayoutSetting(string $merchantId, \Adyen\Model\Management\PayoutSettingsRequest $payoutSettingsRequest, array $requestOptions = null): \Adyen\Model\Management\PayoutSettings + public function updatePayoutSetting(string $merchantId, string $payoutSettingsId, \Adyen\Model\Management\UpdatePayoutSettingsRequest $updatePayoutSettingsRequest, array $requestOptions = null): \Adyen\Model\Management\PayoutSettings { - $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/payoutSettings"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $payoutSettingsRequest->jsonSerialize(), $requestOptions); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{payoutSettingsId}'], [$merchantId, $payoutSettingsId], "/merchants/{merchantId}/payoutSettings/{payoutSettingsId}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updatePayoutSettingsRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Management\PayoutSettings::class); } } diff --git a/src/Adyen/Service/Management/SplitConfigurationMerchantLevelApi.php b/src/Adyen/Service/Management/SplitConfigurationMerchantLevelApi.php index 763d28bde..6f9355462 100644 --- a/src/Adyen/Service/Management/SplitConfigurationMerchantLevelApi.php +++ b/src/Adyen/Service/Management/SplitConfigurationMerchantLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,153 +40,153 @@ public function __construct(Client $client) } /** - * Delete a split configuration + * Create a rule * * @param string $merchantId * @param string $splitConfigurationId + * @param \Adyen\Model\Management\SplitConfigurationRule $splitConfigurationRule * @param array|null $requestOptions * @return \Adyen\Model\Management\SplitConfiguration * @throws AdyenException */ - public function deleteSplitConfiguration(string $merchantId, string $splitConfigurationId, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration + public function createRule(string $merchantId, string $splitConfigurationId, \Adyen\Model\Management\SplitConfigurationRule $splitConfigurationRule, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}'], [$merchantId, $splitConfigurationId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}"); - $response = $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $splitConfigurationRule->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Management\SplitConfiguration::class); } /** - * Delete a split configuration rule + * Create a split configuration * * @param string $merchantId - * @param string $splitConfigurationId - * @param string $ruleId + * @param \Adyen\Model\Management\SplitConfiguration $splitConfiguration * @param array|null $requestOptions * @return \Adyen\Model\Management\SplitConfiguration * @throws AdyenException */ - public function deleteSplitConfigurationRule(string $merchantId, string $splitConfigurationId, string $ruleId, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration + public function createSplitConfiguration(string $merchantId, \Adyen\Model\Management\SplitConfiguration $splitConfiguration, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}', '{ruleId}'], [$merchantId, $splitConfigurationId, $ruleId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}/rules/{ruleId}"); - $response = $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/splitConfigurations"); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $splitConfiguration->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Management\SplitConfiguration::class); } /** - * Get a list of split configurations + * Delete a split configuration * * @param string $merchantId + * @param string $splitConfigurationId * @param array|null $requestOptions - * @return \Adyen\Model\Management\SplitConfigurationList + * @return \Adyen\Model\Management\SplitConfiguration * @throws AdyenException */ - public function listSplitConfigurations(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\SplitConfigurationList + public function deleteSplitConfiguration(string $merchantId, string $splitConfigurationId, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration { - $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/splitConfigurations"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\SplitConfigurationList::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}'], [$merchantId, $splitConfigurationId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}"); + $response = $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\SplitConfiguration::class); } /** - * Get a split configuration + * Delete a split configuration rule * * @param string $merchantId * @param string $splitConfigurationId + * @param string $ruleId * @param array|null $requestOptions * @return \Adyen\Model\Management\SplitConfiguration * @throws AdyenException */ - public function getSplitConfiguration(string $merchantId, string $splitConfigurationId, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration + public function deleteSplitConfigurationRule(string $merchantId, string $splitConfigurationId, string $ruleId, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}'], [$merchantId, $splitConfigurationId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}', '{ruleId}'], [$merchantId, $splitConfigurationId, $ruleId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}/rules/{ruleId}"); + $response = $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Management\SplitConfiguration::class); } /** - * Update split configuration description + * Get a split configuration * * @param string $merchantId * @param string $splitConfigurationId - * @param \Adyen\Model\Management\UpdateSplitConfigurationRequest $updateSplitConfigurationRequest * @param array|null $requestOptions * @return \Adyen\Model\Management\SplitConfiguration * @throws AdyenException */ - public function updateSplitConfigurationDescription(string $merchantId, string $splitConfigurationId, \Adyen\Model\Management\UpdateSplitConfigurationRequest $updateSplitConfigurationRequest, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration + public function getSplitConfiguration(string $merchantId, string $splitConfigurationId, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}'], [$merchantId, $splitConfigurationId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateSplitConfigurationRequest->jsonSerialize(), $requestOptions); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Management\SplitConfiguration::class); } /** - * Update split conditions + * Get a list of split configurations * * @param string $merchantId - * @param string $splitConfigurationId - * @param string $ruleId - * @param \Adyen\Model\Management\UpdateSplitConfigurationRuleRequest $updateSplitConfigurationRuleRequest * @param array|null $requestOptions - * @return \Adyen\Model\Management\SplitConfiguration + * @return \Adyen\Model\Management\SplitConfigurationList * @throws AdyenException */ - public function updateSplitConditions(string $merchantId, string $splitConfigurationId, string $ruleId, \Adyen\Model\Management\UpdateSplitConfigurationRuleRequest $updateSplitConfigurationRuleRequest, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration + public function listSplitConfigurations(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\SplitConfigurationList { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}', '{ruleId}'], [$merchantId, $splitConfigurationId, $ruleId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}/rules/{ruleId}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateSplitConfigurationRuleRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\SplitConfiguration::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/splitConfigurations"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\SplitConfigurationList::class); } /** - * Update the split logic + * Update split conditions * * @param string $merchantId * @param string $splitConfigurationId * @param string $ruleId - * @param string $splitLogicId - * @param \Adyen\Model\Management\UpdateSplitConfigurationLogicRequest $updateSplitConfigurationLogicRequest + * @param \Adyen\Model\Management\UpdateSplitConfigurationRuleRequest $updateSplitConfigurationRuleRequest * @param array|null $requestOptions * @return \Adyen\Model\Management\SplitConfiguration * @throws AdyenException */ - public function updateSplitLogic(string $merchantId, string $splitConfigurationId, string $ruleId, string $splitLogicId, \Adyen\Model\Management\UpdateSplitConfigurationLogicRequest $updateSplitConfigurationLogicRequest, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration + public function updateSplitConditions(string $merchantId, string $splitConfigurationId, string $ruleId, \Adyen\Model\Management\UpdateSplitConfigurationRuleRequest $updateSplitConfigurationRuleRequest, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}', '{ruleId}', '{splitLogicId}'], [$merchantId, $splitConfigurationId, $ruleId, $splitLogicId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}/rules/{ruleId}/splitLogic/{splitLogicId}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateSplitConfigurationLogicRequest->jsonSerialize(), $requestOptions); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}', '{ruleId}'], [$merchantId, $splitConfigurationId, $ruleId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}/rules/{ruleId}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateSplitConfigurationRuleRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Management\SplitConfiguration::class); } /** - * Create a split configuration + * Update split configuration description * * @param string $merchantId - * @param \Adyen\Model\Management\SplitConfiguration $splitConfiguration + * @param string $splitConfigurationId + * @param \Adyen\Model\Management\UpdateSplitConfigurationRequest $updateSplitConfigurationRequest * @param array|null $requestOptions * @return \Adyen\Model\Management\SplitConfiguration * @throws AdyenException */ - public function createSplitConfiguration(string $merchantId, \Adyen\Model\Management\SplitConfiguration $splitConfiguration, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration + public function updateSplitConfigurationDescription(string $merchantId, string $splitConfigurationId, \Adyen\Model\Management\UpdateSplitConfigurationRequest $updateSplitConfigurationRequest, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration { - $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/splitConfigurations"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $splitConfiguration->jsonSerialize(), $requestOptions); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}'], [$merchantId, $splitConfigurationId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateSplitConfigurationRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Management\SplitConfiguration::class); } /** - * Create a rule + * Update the split logic * * @param string $merchantId * @param string $splitConfigurationId - * @param \Adyen\Model\Management\SplitConfigurationRule $splitConfigurationRule + * @param string $ruleId + * @param string $splitLogicId + * @param \Adyen\Model\Management\UpdateSplitConfigurationLogicRequest $updateSplitConfigurationLogicRequest * @param array|null $requestOptions * @return \Adyen\Model\Management\SplitConfiguration * @throws AdyenException */ - public function createRule(string $merchantId, string $splitConfigurationId, \Adyen\Model\Management\SplitConfigurationRule $splitConfigurationRule, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration + public function updateSplitLogic(string $merchantId, string $splitConfigurationId, string $ruleId, string $splitLogicId, \Adyen\Model\Management\UpdateSplitConfigurationLogicRequest $updateSplitConfigurationLogicRequest, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}'], [$merchantId, $splitConfigurationId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $splitConfigurationRule->jsonSerialize(), $requestOptions); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}', '{ruleId}', '{splitLogicId}'], [$merchantId, $splitConfigurationId, $ruleId, $splitLogicId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}/rules/{ruleId}/splitLogic/{splitLogicId}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateSplitConfigurationLogicRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Management\SplitConfiguration::class); } } diff --git a/src/Adyen/Service/Management/TerminalActionsCompanyLevelApi.php b/src/Adyen/Service/Management/TerminalActionsCompanyLevelApi.php index 06e647c73..1d92adca3 100644 --- a/src/Adyen/Service/Management/TerminalActionsCompanyLevelApi.php +++ b/src/Adyen/Service/Management/TerminalActionsCompanyLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,33 +40,33 @@ public function __construct(Client $client) } /** - * Get a list of terminal actions + * Get terminal action * * @param string $companyId - * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int, 'status'=> string, 'type'=> string]] - * @return \Adyen\Model\Management\ListExternalTerminalActionsResponse + * @param string $actionId + * @param array|null $requestOptions + * @return \Adyen\Model\Management\ExternalTerminalAction * @throws AdyenException */ - public function listTerminalActions(string $companyId, array $requestOptions = null): \Adyen\Model\Management\ListExternalTerminalActionsResponse + public function getTerminalAction(string $companyId, string $actionId, array $requestOptions = null): \Adyen\Model\Management\ExternalTerminalAction { - $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalActions"); + $endpoint = $this->baseURL . str_replace(['{companyId}', '{actionId}'], [$companyId, $actionId], "/companies/{companyId}/terminalActions/{actionId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListExternalTerminalActionsResponse::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ExternalTerminalAction::class); } /** - * Get terminal action + * Get a list of terminal actions * * @param string $companyId - * @param string $actionId - * @param array|null $requestOptions - * @return \Adyen\Model\Management\ExternalTerminalAction + * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int, 'status'=> string, 'type'=> string]] + * @return \Adyen\Model\Management\ListExternalTerminalActionsResponse * @throws AdyenException */ - public function getTerminalAction(string $companyId, string $actionId, array $requestOptions = null): \Adyen\Model\Management\ExternalTerminalAction + public function listTerminalActions(string $companyId, array $requestOptions = null): \Adyen\Model\Management\ListExternalTerminalActionsResponse { - $endpoint = $this->baseURL . str_replace(['{companyId}', '{actionId}'], [$companyId, $actionId], "/companies/{companyId}/terminalActions/{actionId}"); + $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalActions"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ExternalTerminalAction::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListExternalTerminalActionsResponse::class); } } diff --git a/src/Adyen/Service/Management/TerminalActionsTerminalLevelApi.php b/src/Adyen/Service/Management/TerminalActionsTerminalLevelApi.php index d9c0f16a8..7e3281cb1 100644 --- a/src/Adyen/Service/Management/TerminalActionsTerminalLevelApi.php +++ b/src/Adyen/Service/Management/TerminalActionsTerminalLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Management/TerminalOrdersCompanyLevelApi.php b/src/Adyen/Service/Management/TerminalOrdersCompanyLevelApi.php index a5247d521..2906edbd0 100644 --- a/src/Adyen/Service/Management/TerminalOrdersCompanyLevelApi.php +++ b/src/Adyen/Service/Management/TerminalOrdersCompanyLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,158 +40,158 @@ public function __construct(Client $client) } /** - * Get a list of billing entities + * Cancel an order * * @param string $companyId - * @param array|null $requestOptions ['queryParams' => ['name'=> string]] - * @return \Adyen\Model\Management\BillingEntitiesResponse + * @param string $orderId + * @param array|null $requestOptions + * @return \Adyen\Model\Management\TerminalOrder * @throws AdyenException */ - public function listBillingEntities(string $companyId, array $requestOptions = null): \Adyen\Model\Management\BillingEntitiesResponse + public function cancelOrder(string $companyId, string $orderId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder { - $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/billingEntities"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\BillingEntitiesResponse::class); + $endpoint = $this->baseURL . str_replace(['{companyId}', '{orderId}'], [$companyId, $orderId], "/companies/{companyId}/terminalOrders/{orderId}/cancel"); + $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrder::class); } /** - * Get a list of shipping locations + * Create an order * * @param string $companyId - * @param array|null $requestOptions ['queryParams' => ['name'=> string, 'offset'=> int, 'limit'=> int]] - * @return \Adyen\Model\Management\ShippingLocationsResponse + * @param \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest + * @param array|null $requestOptions + * @return \Adyen\Model\Management\TerminalOrder * @throws AdyenException */ - public function listShippingLocations(string $companyId, array $requestOptions = null): \Adyen\Model\Management\ShippingLocationsResponse + public function createOrder(string $companyId, \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder { - $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/shippingLocations"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ShippingLocationsResponse::class); + $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalOrders"); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $terminalOrderRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrder::class); } /** - * Get a list of terminal models + * Create a shipping location * * @param string $companyId + * @param \Adyen\Model\Management\ShippingLocation $shippingLocation * @param array|null $requestOptions - * @return \Adyen\Model\Management\TerminalModelsResponse + * @return \Adyen\Model\Management\ShippingLocation * @throws AdyenException */ - public function listTerminalModels(string $companyId, array $requestOptions = null): \Adyen\Model\Management\TerminalModelsResponse + public function createShippingLocation(string $companyId, \Adyen\Model\Management\ShippingLocation $shippingLocation, array $requestOptions = null): \Adyen\Model\Management\ShippingLocation { - $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalModels"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalModelsResponse::class); + $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/shippingLocations"); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $shippingLocation->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ShippingLocation::class); } /** - * Get a list of orders + * Get an order * * @param string $companyId - * @param array|null $requestOptions ['queryParams' => ['customerOrderReference'=> string, 'status'=> string, 'offset'=> int, 'limit'=> int]] - * @return \Adyen\Model\Management\TerminalOrdersResponse + * @param string $orderId + * @param array|null $requestOptions + * @return \Adyen\Model\Management\TerminalOrder * @throws AdyenException */ - public function listOrders(string $companyId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrdersResponse + public function getOrder(string $companyId, string $orderId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder { - $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalOrders"); + $endpoint = $this->baseURL . str_replace(['{companyId}', '{orderId}'], [$companyId, $orderId], "/companies/{companyId}/terminalOrders/{orderId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrdersResponse::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrder::class); } /** - * Get an order + * Get a list of billing entities * * @param string $companyId - * @param string $orderId - * @param array|null $requestOptions - * @return \Adyen\Model\Management\TerminalOrder + * @param array|null $requestOptions ['queryParams' => ['name'=> string]] + * @return \Adyen\Model\Management\BillingEntitiesResponse * @throws AdyenException */ - public function getOrder(string $companyId, string $orderId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder + public function listBillingEntities(string $companyId, array $requestOptions = null): \Adyen\Model\Management\BillingEntitiesResponse { - $endpoint = $this->baseURL . str_replace(['{companyId}', '{orderId}'], [$companyId, $orderId], "/companies/{companyId}/terminalOrders/{orderId}"); + $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/billingEntities"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrder::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\BillingEntitiesResponse::class); } /** - * Get a list of terminal products + * Get a list of orders * * @param string $companyId - * @param array|null $requestOptions ['queryParams' => ['country'=> string, 'terminalModelId'=> string, 'offset'=> int, 'limit'=> int]] - * @return \Adyen\Model\Management\TerminalProductsResponse + * @param array|null $requestOptions ['queryParams' => ['customerOrderReference'=> string, 'status'=> string, 'offset'=> int, 'limit'=> int]] + * @return \Adyen\Model\Management\TerminalOrdersResponse * @throws AdyenException */ - public function listTerminalProducts(string $companyId, array $requestOptions = null): \Adyen\Model\Management\TerminalProductsResponse + public function listOrders(string $companyId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrdersResponse { - $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalProducts"); + $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalOrders"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalProductsResponse::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrdersResponse::class); } /** - * Update an order + * Get a list of shipping locations * * @param string $companyId - * @param string $orderId - * @param \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Management\TerminalOrder + * @param array|null $requestOptions ['queryParams' => ['name'=> string, 'offset'=> int, 'limit'=> int]] + * @return \Adyen\Model\Management\ShippingLocationsResponse * @throws AdyenException */ - public function updateOrder(string $companyId, string $orderId, \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder + public function listShippingLocations(string $companyId, array $requestOptions = null): \Adyen\Model\Management\ShippingLocationsResponse { - $endpoint = $this->baseURL . str_replace(['{companyId}', '{orderId}'], [$companyId, $orderId], "/companies/{companyId}/terminalOrders/{orderId}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $terminalOrderRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrder::class); + $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/shippingLocations"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ShippingLocationsResponse::class); } /** - * Create a shipping location + * Get a list of terminal models * * @param string $companyId - * @param \Adyen\Model\Management\ShippingLocation $shippingLocation * @param array|null $requestOptions - * @return \Adyen\Model\Management\ShippingLocation + * @return \Adyen\Model\Management\TerminalModelsResponse * @throws AdyenException */ - public function createShippingLocation(string $companyId, \Adyen\Model\Management\ShippingLocation $shippingLocation, array $requestOptions = null): \Adyen\Model\Management\ShippingLocation + public function listTerminalModels(string $companyId, array $requestOptions = null): \Adyen\Model\Management\TerminalModelsResponse { - $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/shippingLocations"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $shippingLocation->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ShippingLocation::class); + $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalModels"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalModelsResponse::class); } /** - * Create an order + * Get a list of terminal products * * @param string $companyId - * @param \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Management\TerminalOrder + * @param array|null $requestOptions ['queryParams' => ['country'=> string, 'terminalModelId'=> string, 'offset'=> int, 'limit'=> int]] + * @return \Adyen\Model\Management\TerminalProductsResponse * @throws AdyenException */ - public function createOrder(string $companyId, \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder + public function listTerminalProducts(string $companyId, array $requestOptions = null): \Adyen\Model\Management\TerminalProductsResponse { - $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalOrders"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $terminalOrderRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrder::class); + $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalProducts"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalProductsResponse::class); } /** - * Cancel an order + * Update an order * * @param string $companyId * @param string $orderId + * @param \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest * @param array|null $requestOptions * @return \Adyen\Model\Management\TerminalOrder * @throws AdyenException */ - public function cancelOrder(string $companyId, string $orderId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder + public function updateOrder(string $companyId, string $orderId, \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder { - $endpoint = $this->baseURL . str_replace(['{companyId}', '{orderId}'], [$companyId, $orderId], "/companies/{companyId}/terminalOrders/{orderId}/cancel"); - $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); + $endpoint = $this->baseURL . str_replace(['{companyId}', '{orderId}'], [$companyId, $orderId], "/companies/{companyId}/terminalOrders/{orderId}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $terminalOrderRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrder::class); } } diff --git a/src/Adyen/Service/Management/TerminalOrdersMerchantLevelApi.php b/src/Adyen/Service/Management/TerminalOrdersMerchantLevelApi.php index 5bb54189f..40bc63cc9 100644 --- a/src/Adyen/Service/Management/TerminalOrdersMerchantLevelApi.php +++ b/src/Adyen/Service/Management/TerminalOrdersMerchantLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,158 +40,158 @@ public function __construct(Client $client) } /** - * Get a list of billing entities + * Cancel an order * * @param string $merchantId - * @param array|null $requestOptions ['queryParams' => ['name'=> string]] - * @return \Adyen\Model\Management\BillingEntitiesResponse + * @param string $orderId + * @param array|null $requestOptions + * @return \Adyen\Model\Management\TerminalOrder * @throws AdyenException */ - public function listBillingEntities(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\BillingEntitiesResponse + public function cancelOrder(string $merchantId, string $orderId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder { - $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/billingEntities"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\BillingEntitiesResponse::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{orderId}'], [$merchantId, $orderId], "/merchants/{merchantId}/terminalOrders/{orderId}/cancel"); + $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrder::class); } /** - * Get a list of shipping locations + * Create an order * * @param string $merchantId - * @param array|null $requestOptions ['queryParams' => ['name'=> string, 'offset'=> int, 'limit'=> int]] - * @return \Adyen\Model\Management\ShippingLocationsResponse + * @param \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest + * @param array|null $requestOptions + * @return \Adyen\Model\Management\TerminalOrder * @throws AdyenException */ - public function listShippingLocations(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\ShippingLocationsResponse + public function createOrder(string $merchantId, \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder { - $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/shippingLocations"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ShippingLocationsResponse::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/terminalOrders"); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $terminalOrderRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrder::class); } /** - * Get a list of terminal models + * Create a shipping location * * @param string $merchantId + * @param \Adyen\Model\Management\ShippingLocation $shippingLocation * @param array|null $requestOptions - * @return \Adyen\Model\Management\TerminalModelsResponse + * @return \Adyen\Model\Management\ShippingLocation * @throws AdyenException */ - public function listTerminalModels(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\TerminalModelsResponse + public function createShippingLocation(string $merchantId, \Adyen\Model\Management\ShippingLocation $shippingLocation, array $requestOptions = null): \Adyen\Model\Management\ShippingLocation { - $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/terminalModels"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalModelsResponse::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/shippingLocations"); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $shippingLocation->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ShippingLocation::class); } /** - * Get a list of orders + * Get an order * * @param string $merchantId - * @param array|null $requestOptions ['queryParams' => ['customerOrderReference'=> string, 'status'=> string, 'offset'=> int, 'limit'=> int]] - * @return \Adyen\Model\Management\TerminalOrdersResponse + * @param string $orderId + * @param array|null $requestOptions + * @return \Adyen\Model\Management\TerminalOrder * @throws AdyenException */ - public function listOrders(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrdersResponse + public function getOrder(string $merchantId, string $orderId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder { - $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/terminalOrders"); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{orderId}'], [$merchantId, $orderId], "/merchants/{merchantId}/terminalOrders/{orderId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrdersResponse::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrder::class); } /** - * Get an order + * Get a list of billing entities * * @param string $merchantId - * @param string $orderId - * @param array|null $requestOptions - * @return \Adyen\Model\Management\TerminalOrder + * @param array|null $requestOptions ['queryParams' => ['name'=> string]] + * @return \Adyen\Model\Management\BillingEntitiesResponse * @throws AdyenException */ - public function getOrder(string $merchantId, string $orderId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder + public function listBillingEntities(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\BillingEntitiesResponse { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{orderId}'], [$merchantId, $orderId], "/merchants/{merchantId}/terminalOrders/{orderId}"); + $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/billingEntities"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrder::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\BillingEntitiesResponse::class); } /** - * Get a list of terminal products + * Get a list of orders * * @param string $merchantId - * @param array|null $requestOptions ['queryParams' => ['country'=> string, 'terminalModelId'=> string, 'offset'=> int, 'limit'=> int]] - * @return \Adyen\Model\Management\TerminalProductsResponse + * @param array|null $requestOptions ['queryParams' => ['customerOrderReference'=> string, 'status'=> string, 'offset'=> int, 'limit'=> int]] + * @return \Adyen\Model\Management\TerminalOrdersResponse * @throws AdyenException */ - public function listTerminalProducts(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\TerminalProductsResponse + public function listOrders(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrdersResponse { - $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/terminalProducts"); + $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/terminalOrders"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalProductsResponse::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrdersResponse::class); } /** - * Update an order + * Get a list of shipping locations * * @param string $merchantId - * @param string $orderId - * @param \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Management\TerminalOrder + * @param array|null $requestOptions ['queryParams' => ['name'=> string, 'offset'=> int, 'limit'=> int]] + * @return \Adyen\Model\Management\ShippingLocationsResponse * @throws AdyenException */ - public function updateOrder(string $merchantId, string $orderId, \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder + public function listShippingLocations(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\ShippingLocationsResponse { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{orderId}'], [$merchantId, $orderId], "/merchants/{merchantId}/terminalOrders/{orderId}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $terminalOrderRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrder::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/shippingLocations"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ShippingLocationsResponse::class); } /** - * Create a shipping location + * Get a list of terminal models * * @param string $merchantId - * @param \Adyen\Model\Management\ShippingLocation $shippingLocation * @param array|null $requestOptions - * @return \Adyen\Model\Management\ShippingLocation + * @return \Adyen\Model\Management\TerminalModelsResponse * @throws AdyenException */ - public function createShippingLocation(string $merchantId, \Adyen\Model\Management\ShippingLocation $shippingLocation, array $requestOptions = null): \Adyen\Model\Management\ShippingLocation + public function listTerminalModels(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\TerminalModelsResponse { - $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/shippingLocations"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $shippingLocation->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ShippingLocation::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/terminalModels"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalModelsResponse::class); } /** - * Create an order + * Get a list of terminal products * * @param string $merchantId - * @param \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Management\TerminalOrder + * @param array|null $requestOptions ['queryParams' => ['country'=> string, 'terminalModelId'=> string, 'offset'=> int, 'limit'=> int]] + * @return \Adyen\Model\Management\TerminalProductsResponse * @throws AdyenException */ - public function createOrder(string $merchantId, \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder + public function listTerminalProducts(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\TerminalProductsResponse { - $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/terminalOrders"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $terminalOrderRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrder::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/terminalProducts"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalProductsResponse::class); } /** - * Cancel an order + * Update an order * * @param string $merchantId * @param string $orderId + * @param \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest * @param array|null $requestOptions * @return \Adyen\Model\Management\TerminalOrder * @throws AdyenException */ - public function cancelOrder(string $merchantId, string $orderId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder + public function updateOrder(string $merchantId, string $orderId, \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{orderId}'], [$merchantId, $orderId], "/merchants/{merchantId}/terminalOrders/{orderId}/cancel"); - $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{orderId}'], [$merchantId, $orderId], "/merchants/{merchantId}/terminalOrders/{orderId}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $terminalOrderRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalOrder::class); } } diff --git a/src/Adyen/Service/Management/TerminalSettingsCompanyLevelApi.php b/src/Adyen/Service/Management/TerminalSettingsCompanyLevelApi.php index caf1f5b3e..19e08f853 100644 --- a/src/Adyen/Service/Management/TerminalSettingsCompanyLevelApi.php +++ b/src/Adyen/Service/Management/TerminalSettingsCompanyLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Management/TerminalSettingsMerchantLevelApi.php b/src/Adyen/Service/Management/TerminalSettingsMerchantLevelApi.php index 09f58b176..d8b226de0 100644 --- a/src/Adyen/Service/Management/TerminalSettingsMerchantLevelApi.php +++ b/src/Adyen/Service/Management/TerminalSettingsMerchantLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Management/TerminalSettingsStoreLevelApi.php b/src/Adyen/Service/Management/TerminalSettingsStoreLevelApi.php index 155e5225a..536212718 100644 --- a/src/Adyen/Service/Management/TerminalSettingsStoreLevelApi.php +++ b/src/Adyen/Service/Management/TerminalSettingsStoreLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -56,34 +56,34 @@ public function getTerminalLogo(string $merchantId, string $reference, array $re } /** - * Get terminal settings + * Get the terminal logo * - * @param string $merchantId - * @param string $reference - * @param array|null $requestOptions - * @return \Adyen\Model\Management\TerminalSettings + * @param string $storeId + * @param array|null $requestOptions ['queryParams' => ['model'=> string]] + * @return \Adyen\Model\Management\Logo * @throws AdyenException */ - public function getTerminalSettings(string $merchantId, string $reference, array $requestOptions = null): \Adyen\Model\Management\TerminalSettings + public function getTerminalLogoByStoreId(string $storeId, array $requestOptions = null): \Adyen\Model\Management\Logo { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{reference}'], [$merchantId, $reference], "/merchants/{merchantId}/stores/{reference}/terminalSettings"); + $endpoint = $this->baseURL . str_replace(['{storeId}'], [$storeId], "/stores/{storeId}/terminalLogos"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalSettings::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Logo::class); } /** - * Get the terminal logo + * Get terminal settings * - * @param string $storeId - * @param array|null $requestOptions ['queryParams' => ['model'=> string]] - * @return \Adyen\Model\Management\Logo + * @param string $merchantId + * @param string $reference + * @param array|null $requestOptions + * @return \Adyen\Model\Management\TerminalSettings * @throws AdyenException */ - public function getTerminalLogoByStoreId(string $storeId, array $requestOptions = null): \Adyen\Model\Management\Logo + public function getTerminalSettings(string $merchantId, string $reference, array $requestOptions = null): \Adyen\Model\Management\TerminalSettings { - $endpoint = $this->baseURL . str_replace(['{storeId}'], [$storeId], "/stores/{storeId}/terminalLogos"); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{reference}'], [$merchantId, $reference], "/merchants/{merchantId}/stores/{reference}/terminalSettings"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Logo::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalSettings::class); } /** @@ -118,6 +118,22 @@ public function updateTerminalLogo(string $merchantId, string $reference, \Adyen return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Logo::class); } + /** + * Update the terminal logo + * + * @param string $storeId + * @param \Adyen\Model\Management\Logo $logo + * @param array|null $requestOptions ['queryParams' => ['model'=> string]] + * @return \Adyen\Model\Management\Logo + * @throws AdyenException + */ + public function updateTerminalLogoByStoreId(string $storeId, \Adyen\Model\Management\Logo $logo, array $requestOptions = null): \Adyen\Model\Management\Logo + { + $endpoint = $this->baseURL . str_replace(['{storeId}'], [$storeId], "/stores/{storeId}/terminalLogos"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $logo->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Logo::class); + } + /** * Update terminal settings * @@ -135,22 +151,6 @@ public function updateTerminalSettings(string $merchantId, string $reference, \A return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TerminalSettings::class); } - /** - * Update the terminal logo - * - * @param string $storeId - * @param \Adyen\Model\Management\Logo $logo - * @param array|null $requestOptions ['queryParams' => ['model'=> string]] - * @return \Adyen\Model\Management\Logo - * @throws AdyenException - */ - public function updateTerminalLogoByStoreId(string $storeId, \Adyen\Model\Management\Logo $logo, array $requestOptions = null): \Adyen\Model\Management\Logo - { - $endpoint = $this->baseURL . str_replace(['{storeId}'], [$storeId], "/stores/{storeId}/terminalLogos"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $logo->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Logo::class); - } - /** * Update terminal settings * diff --git a/src/Adyen/Service/Management/TerminalSettingsTerminalLevelApi.php b/src/Adyen/Service/Management/TerminalSettingsTerminalLevelApi.php index ee72e7b69..9d6dd5881 100644 --- a/src/Adyen/Service/Management/TerminalSettingsTerminalLevelApi.php +++ b/src/Adyen/Service/Management/TerminalSettingsTerminalLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Management/TerminalsTerminalLevelApi.php b/src/Adyen/Service/Management/TerminalsTerminalLevelApi.php index 7a9f17f8a..8b6d78c7f 100644 --- a/src/Adyen/Service/Management/TerminalsTerminalLevelApi.php +++ b/src/Adyen/Service/Management/TerminalsTerminalLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -59,12 +59,13 @@ public function listTerminals(array $requestOptions = null): \Adyen\Model\Manage * @param string $terminalId * @param \Adyen\Model\Management\TerminalReassignmentRequest $terminalReassignmentRequest * @param array|null $requestOptions - + * @throws AdyenException */ public function reassignTerminal(string $terminalId, \Adyen\Model\Management\TerminalReassignmentRequest $terminalReassignmentRequest, array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{terminalId}'], [$terminalId], "/terminals/{terminalId}/reassign"); $this->requestHttp($endpoint, strtolower('POST'), (array) $terminalReassignmentRequest->jsonSerialize(), $requestOptions); + } } diff --git a/src/Adyen/Service/Management/UsersCompanyLevelApi.php b/src/Adyen/Service/Management/UsersCompanyLevelApi.php index f8e4ed33b..30896eea8 100644 --- a/src/Adyen/Service/Management/UsersCompanyLevelApi.php +++ b/src/Adyen/Service/Management/UsersCompanyLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,18 +40,19 @@ public function __construct(Client $client) } /** - * Get a list of users + * Create a new user * * @param string $companyId - * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int, 'username'=> string]] - * @return \Adyen\Model\Management\ListCompanyUsersResponse + * @param \Adyen\Model\Management\CreateCompanyUserRequest $createCompanyUserRequest + * @param array|null $requestOptions + * @return \Adyen\Model\Management\CreateCompanyUserResponse * @throws AdyenException */ - public function listUsers(string $companyId, array $requestOptions = null): \Adyen\Model\Management\ListCompanyUsersResponse + public function createNewUser(string $companyId, \Adyen\Model\Management\CreateCompanyUserRequest $createCompanyUserRequest, array $requestOptions = null): \Adyen\Model\Management\CreateCompanyUserResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/users"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListCompanyUsersResponse::class); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createCompanyUserRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\CreateCompanyUserResponse::class); } /** @@ -71,35 +72,34 @@ public function getUserDetails(string $companyId, string $userId, array $request } /** - * Update user details + * Get a list of users * * @param string $companyId - * @param string $userId - * @param \Adyen\Model\Management\UpdateCompanyUserRequest $updateCompanyUserRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Management\CompanyUser + * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int, 'username'=> string]] + * @return \Adyen\Model\Management\ListCompanyUsersResponse * @throws AdyenException */ - public function updateUserDetails(string $companyId, string $userId, \Adyen\Model\Management\UpdateCompanyUserRequest $updateCompanyUserRequest, array $requestOptions = null): \Adyen\Model\Management\CompanyUser + public function listUsers(string $companyId, array $requestOptions = null): \Adyen\Model\Management\ListCompanyUsersResponse { - $endpoint = $this->baseURL . str_replace(['{companyId}', '{userId}'], [$companyId, $userId], "/companies/{companyId}/users/{userId}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateCompanyUserRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\CompanyUser::class); + $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/users"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListCompanyUsersResponse::class); } /** - * Create a new user + * Update user details * * @param string $companyId - * @param \Adyen\Model\Management\CreateCompanyUserRequest $createCompanyUserRequest + * @param string $userId + * @param \Adyen\Model\Management\UpdateCompanyUserRequest $updateCompanyUserRequest * @param array|null $requestOptions - * @return \Adyen\Model\Management\CreateCompanyUserResponse + * @return \Adyen\Model\Management\CompanyUser * @throws AdyenException */ - public function createNewUser(string $companyId, \Adyen\Model\Management\CreateCompanyUserRequest $createCompanyUserRequest, array $requestOptions = null): \Adyen\Model\Management\CreateCompanyUserResponse + public function updateUserDetails(string $companyId, string $userId, \Adyen\Model\Management\UpdateCompanyUserRequest $updateCompanyUserRequest, array $requestOptions = null): \Adyen\Model\Management\CompanyUser { - $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/users"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createCompanyUserRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\CreateCompanyUserResponse::class); + $endpoint = $this->baseURL . str_replace(['{companyId}', '{userId}'], [$companyId, $userId], "/companies/{companyId}/users/{userId}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateCompanyUserRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\CompanyUser::class); } } diff --git a/src/Adyen/Service/Management/UsersMerchantLevelApi.php b/src/Adyen/Service/Management/UsersMerchantLevelApi.php index 62f1437b1..ec10a6f75 100644 --- a/src/Adyen/Service/Management/UsersMerchantLevelApi.php +++ b/src/Adyen/Service/Management/UsersMerchantLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,18 +40,19 @@ public function __construct(Client $client) } /** - * Get a list of users + * Create a new user * * @param string $merchantId - * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int, 'username'=> string]] - * @return \Adyen\Model\Management\ListMerchantUsersResponse + * @param \Adyen\Model\Management\CreateMerchantUserRequest $createMerchantUserRequest + * @param array|null $requestOptions + * @return \Adyen\Model\Management\CreateUserResponse * @throws AdyenException */ - public function listUsers(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\ListMerchantUsersResponse + public function createNewUser(string $merchantId, \Adyen\Model\Management\CreateMerchantUserRequest $createMerchantUserRequest, array $requestOptions = null): \Adyen\Model\Management\CreateUserResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/users"); - $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListMerchantUsersResponse::class); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createMerchantUserRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\CreateUserResponse::class); } /** @@ -71,35 +72,34 @@ public function getUserDetails(string $merchantId, string $userId, array $reques } /** - * Update a user + * Get a list of users * * @param string $merchantId - * @param string $userId - * @param \Adyen\Model\Management\UpdateMerchantUserRequest $updateMerchantUserRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Management\User + * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int, 'username'=> string]] + * @return \Adyen\Model\Management\ListMerchantUsersResponse * @throws AdyenException */ - public function updateUser(string $merchantId, string $userId, \Adyen\Model\Management\UpdateMerchantUserRequest $updateMerchantUserRequest, array $requestOptions = null): \Adyen\Model\Management\User + public function listUsers(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\ListMerchantUsersResponse { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{userId}'], [$merchantId, $userId], "/merchants/{merchantId}/users/{userId}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateMerchantUserRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\User::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/users"); + $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListMerchantUsersResponse::class); } /** - * Create a new user + * Update a user * * @param string $merchantId - * @param \Adyen\Model\Management\CreateMerchantUserRequest $createMerchantUserRequest + * @param string $userId + * @param \Adyen\Model\Management\UpdateMerchantUserRequest $updateMerchantUserRequest * @param array|null $requestOptions - * @return \Adyen\Model\Management\CreateUserResponse + * @return \Adyen\Model\Management\User * @throws AdyenException */ - public function createNewUser(string $merchantId, \Adyen\Model\Management\CreateMerchantUserRequest $createMerchantUserRequest, array $requestOptions = null): \Adyen\Model\Management\CreateUserResponse + public function updateUser(string $merchantId, string $userId, \Adyen\Model\Management\UpdateMerchantUserRequest $updateMerchantUserRequest, array $requestOptions = null): \Adyen\Model\Management\User { - $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/users"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createMerchantUserRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\CreateUserResponse::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{userId}'], [$merchantId, $userId], "/merchants/{merchantId}/users/{userId}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateMerchantUserRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\User::class); } } diff --git a/src/Adyen/Service/Management/WebhooksCompanyLevelApi.php b/src/Adyen/Service/Management/WebhooksCompanyLevelApi.php index 467170b45..6caa292a6 100644 --- a/src/Adyen/Service/Management/WebhooksCompanyLevelApi.php +++ b/src/Adyen/Service/Management/WebhooksCompanyLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,66 +40,66 @@ public function __construct(Client $client) } /** - * Remove a webhook + * Generate an HMAC key * * @param string $companyId * @param string $webhookId * @param array|null $requestOptions - + * @return \Adyen\Model\Management\GenerateHmacKeyResponse * @throws AdyenException */ - public function removeWebhook(string $companyId, string $webhookId, array $requestOptions = null) + public function generateHmacKey(string $companyId, string $webhookId, array $requestOptions = null): \Adyen\Model\Management\GenerateHmacKeyResponse { - $endpoint = $this->baseURL . str_replace(['{companyId}', '{webhookId}'], [$companyId, $webhookId], "/companies/{companyId}/webhooks/{webhookId}"); - $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + $endpoint = $this->baseURL . str_replace(['{companyId}', '{webhookId}'], [$companyId, $webhookId], "/companies/{companyId}/webhooks/{webhookId}/generateHmac"); + $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\GenerateHmacKeyResponse::class); } /** - * List all webhooks + * Get a webhook * * @param string $companyId - * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int]] - * @return \Adyen\Model\Management\ListWebhooksResponse + * @param string $webhookId + * @param array|null $requestOptions + * @return \Adyen\Model\Management\Webhook * @throws AdyenException */ - public function listAllWebhooks(string $companyId, array $requestOptions = null): \Adyen\Model\Management\ListWebhooksResponse + public function getWebhook(string $companyId, string $webhookId, array $requestOptions = null): \Adyen\Model\Management\Webhook { - $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/webhooks"); + $endpoint = $this->baseURL . str_replace(['{companyId}', '{webhookId}'], [$companyId, $webhookId], "/companies/{companyId}/webhooks/{webhookId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListWebhooksResponse::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Webhook::class); } /** - * Get a webhook + * List all webhooks * * @param string $companyId - * @param string $webhookId - * @param array|null $requestOptions - * @return \Adyen\Model\Management\Webhook + * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int]] + * @return \Adyen\Model\Management\ListWebhooksResponse * @throws AdyenException */ - public function getWebhook(string $companyId, string $webhookId, array $requestOptions = null): \Adyen\Model\Management\Webhook + public function listAllWebhooks(string $companyId, array $requestOptions = null): \Adyen\Model\Management\ListWebhooksResponse { - $endpoint = $this->baseURL . str_replace(['{companyId}', '{webhookId}'], [$companyId, $webhookId], "/companies/{companyId}/webhooks/{webhookId}"); + $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/webhooks"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Webhook::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListWebhooksResponse::class); } /** - * Update a webhook + * Remove a webhook * * @param string $companyId * @param string $webhookId - * @param \Adyen\Model\Management\UpdateCompanyWebhookRequest $updateCompanyWebhookRequest * @param array|null $requestOptions - * @return \Adyen\Model\Management\Webhook + * @throws AdyenException */ - public function updateWebhook(string $companyId, string $webhookId, \Adyen\Model\Management\UpdateCompanyWebhookRequest $updateCompanyWebhookRequest, array $requestOptions = null): \Adyen\Model\Management\Webhook + public function removeWebhook(string $companyId, string $webhookId, array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{companyId}', '{webhookId}'], [$companyId, $webhookId], "/companies/{companyId}/webhooks/{webhookId}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateCompanyWebhookRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Webhook::class); + $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + } /** @@ -119,35 +119,36 @@ public function setUpWebhook(string $companyId, \Adyen\Model\Management\CreateCo } /** - * Generate an HMAC key + * Test a webhook * * @param string $companyId * @param string $webhookId + * @param \Adyen\Model\Management\TestCompanyWebhookRequest $testCompanyWebhookRequest * @param array|null $requestOptions - * @return \Adyen\Model\Management\GenerateHmacKeyResponse + * @return \Adyen\Model\Management\TestWebhookResponse * @throws AdyenException */ - public function generateHmacKey(string $companyId, string $webhookId, array $requestOptions = null): \Adyen\Model\Management\GenerateHmacKeyResponse + public function testWebhook(string $companyId, string $webhookId, \Adyen\Model\Management\TestCompanyWebhookRequest $testCompanyWebhookRequest, array $requestOptions = null): \Adyen\Model\Management\TestWebhookResponse { - $endpoint = $this->baseURL . str_replace(['{companyId}', '{webhookId}'], [$companyId, $webhookId], "/companies/{companyId}/webhooks/{webhookId}/generateHmac"); - $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\GenerateHmacKeyResponse::class); + $endpoint = $this->baseURL . str_replace(['{companyId}', '{webhookId}'], [$companyId, $webhookId], "/companies/{companyId}/webhooks/{webhookId}/test"); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $testCompanyWebhookRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TestWebhookResponse::class); } /** - * Test a webhook + * Update a webhook * * @param string $companyId * @param string $webhookId - * @param \Adyen\Model\Management\TestCompanyWebhookRequest $testCompanyWebhookRequest + * @param \Adyen\Model\Management\UpdateCompanyWebhookRequest $updateCompanyWebhookRequest * @param array|null $requestOptions - * @return \Adyen\Model\Management\TestWebhookResponse + * @return \Adyen\Model\Management\Webhook * @throws AdyenException */ - public function testWebhook(string $companyId, string $webhookId, \Adyen\Model\Management\TestCompanyWebhookRequest $testCompanyWebhookRequest, array $requestOptions = null): \Adyen\Model\Management\TestWebhookResponse + public function updateWebhook(string $companyId, string $webhookId, \Adyen\Model\Management\UpdateCompanyWebhookRequest $updateCompanyWebhookRequest, array $requestOptions = null): \Adyen\Model\Management\Webhook { - $endpoint = $this->baseURL . str_replace(['{companyId}', '{webhookId}'], [$companyId, $webhookId], "/companies/{companyId}/webhooks/{webhookId}/test"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $testCompanyWebhookRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TestWebhookResponse::class); + $endpoint = $this->baseURL . str_replace(['{companyId}', '{webhookId}'], [$companyId, $webhookId], "/companies/{companyId}/webhooks/{webhookId}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateCompanyWebhookRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Webhook::class); } } diff --git a/src/Adyen/Service/Management/WebhooksMerchantLevelApi.php b/src/Adyen/Service/Management/WebhooksMerchantLevelApi.php index 97b690bae..7113c9c39 100644 --- a/src/Adyen/Service/Management/WebhooksMerchantLevelApi.php +++ b/src/Adyen/Service/Management/WebhooksMerchantLevelApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 3 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -40,66 +40,66 @@ public function __construct(Client $client) } /** - * Remove a webhook + * Generate an HMAC key * * @param string $merchantId * @param string $webhookId * @param array|null $requestOptions - + * @return \Adyen\Model\Management\GenerateHmacKeyResponse * @throws AdyenException */ - public function removeWebhook(string $merchantId, string $webhookId, array $requestOptions = null) + public function generateHmacKey(string $merchantId, string $webhookId, array $requestOptions = null): \Adyen\Model\Management\GenerateHmacKeyResponse { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{webhookId}'], [$merchantId, $webhookId], "/merchants/{merchantId}/webhooks/{webhookId}"); - $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{webhookId}'], [$merchantId, $webhookId], "/merchants/{merchantId}/webhooks/{webhookId}/generateHmac"); + $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\GenerateHmacKeyResponse::class); } /** - * List all webhooks + * Get a webhook * * @param string $merchantId - * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int]] - * @return \Adyen\Model\Management\ListWebhooksResponse + * @param string $webhookId + * @param array|null $requestOptions + * @return \Adyen\Model\Management\Webhook * @throws AdyenException */ - public function listAllWebhooks(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\ListWebhooksResponse + public function getWebhook(string $merchantId, string $webhookId, array $requestOptions = null): \Adyen\Model\Management\Webhook { - $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/webhooks"); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{webhookId}'], [$merchantId, $webhookId], "/merchants/{merchantId}/webhooks/{webhookId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListWebhooksResponse::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Webhook::class); } /** - * Get a webhook + * List all webhooks * * @param string $merchantId - * @param string $webhookId - * @param array|null $requestOptions - * @return \Adyen\Model\Management\Webhook + * @param array|null $requestOptions ['queryParams' => ['pageNumber'=> int, 'pageSize'=> int]] + * @return \Adyen\Model\Management\ListWebhooksResponse * @throws AdyenException */ - public function getWebhook(string $merchantId, string $webhookId, array $requestOptions = null): \Adyen\Model\Management\Webhook + public function listAllWebhooks(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\ListWebhooksResponse { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{webhookId}'], [$merchantId, $webhookId], "/merchants/{merchantId}/webhooks/{webhookId}"); + $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/webhooks"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Webhook::class); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\ListWebhooksResponse::class); } /** - * Update a webhook + * Remove a webhook * * @param string $merchantId * @param string $webhookId - * @param \Adyen\Model\Management\UpdateMerchantWebhookRequest $updateMerchantWebhookRequest * @param array|null $requestOptions - * @return \Adyen\Model\Management\Webhook + * @throws AdyenException */ - public function updateWebhook(string $merchantId, string $webhookId, \Adyen\Model\Management\UpdateMerchantWebhookRequest $updateMerchantWebhookRequest, array $requestOptions = null): \Adyen\Model\Management\Webhook + public function removeWebhook(string $merchantId, string $webhookId, array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{webhookId}'], [$merchantId, $webhookId], "/merchants/{merchantId}/webhooks/{webhookId}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateMerchantWebhookRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Webhook::class); + $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); + } /** @@ -119,35 +119,36 @@ public function setUpWebhook(string $merchantId, \Adyen\Model\Management\CreateM } /** - * Generate an HMAC key + * Test a webhook * * @param string $merchantId * @param string $webhookId + * @param \Adyen\Model\Management\TestWebhookRequest $testWebhookRequest * @param array|null $requestOptions - * @return \Adyen\Model\Management\GenerateHmacKeyResponse + * @return \Adyen\Model\Management\TestWebhookResponse * @throws AdyenException */ - public function generateHmacKey(string $merchantId, string $webhookId, array $requestOptions = null): \Adyen\Model\Management\GenerateHmacKeyResponse + public function testWebhook(string $merchantId, string $webhookId, \Adyen\Model\Management\TestWebhookRequest $testWebhookRequest, array $requestOptions = null): \Adyen\Model\Management\TestWebhookResponse { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{webhookId}'], [$merchantId, $webhookId], "/merchants/{merchantId}/webhooks/{webhookId}/generateHmac"); - $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\GenerateHmacKeyResponse::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{webhookId}'], [$merchantId, $webhookId], "/merchants/{merchantId}/webhooks/{webhookId}/test"); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $testWebhookRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TestWebhookResponse::class); } /** - * Test a webhook + * Update a webhook * * @param string $merchantId * @param string $webhookId - * @param \Adyen\Model\Management\TestWebhookRequest $testWebhookRequest + * @param \Adyen\Model\Management\UpdateMerchantWebhookRequest $updateMerchantWebhookRequest * @param array|null $requestOptions - * @return \Adyen\Model\Management\TestWebhookResponse + * @return \Adyen\Model\Management\Webhook * @throws AdyenException */ - public function testWebhook(string $merchantId, string $webhookId, \Adyen\Model\Management\TestWebhookRequest $testWebhookRequest, array $requestOptions = null): \Adyen\Model\Management\TestWebhookResponse + public function updateWebhook(string $merchantId, string $webhookId, \Adyen\Model\Management\UpdateMerchantWebhookRequest $updateMerchantWebhookRequest, array $requestOptions = null): \Adyen\Model\Management\Webhook { - $endpoint = $this->baseURL . str_replace(['{merchantId}', '{webhookId}'], [$merchantId, $webhookId], "/merchants/{merchantId}/webhooks/{webhookId}/test"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $testWebhookRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Management\TestWebhookResponse::class); + $endpoint = $this->baseURL . str_replace(['{merchantId}', '{webhookId}'], [$merchantId, $webhookId], "/merchants/{merchantId}/webhooks/{webhookId}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateMerchantWebhookRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Management\Webhook::class); } } diff --git a/src/Adyen/Service/POSTerminalManagementApi.php b/src/Adyen/Service/POSTerminalManagementApi.php index 08873ffcc..952425b1c 100644 --- a/src/Adyen/Service/POSTerminalManagementApi.php +++ b/src/Adyen/Service/POSTerminalManagementApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 1 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -26,7 +26,7 @@ class POSTerminalManagementApi extends Service private $baseURL; /** - * AdyenService constructor. + * POSTerminalManagementApi constructor. * * @param \Adyen\Client $client * @throws AdyenException @@ -34,6 +34,7 @@ class POSTerminalManagementApi extends Service public function __construct(Client $client) { parent::__construct($client); + // Create the baseUrl based on live/test and optional live-url-prefix $this->baseURL = $this->createBaseUrl("https://postfmapi-test.adyen.com/postfmapi/terminal/v1"); } diff --git a/src/Adyen/Service/Payout/InitializationApi.php b/src/Adyen/Service/Payout/InitializationApi.php index 715e2cfa9..9674b5652 100644 --- a/src/Adyen/Service/Payout/InitializationApi.php +++ b/src/Adyen/Service/Payout/InitializationApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Payout/InstantPayoutsApi.php b/src/Adyen/Service/Payout/InstantPayoutsApi.php index 12f68ac36..2342a45ab 100644 --- a/src/Adyen/Service/Payout/InstantPayoutsApi.php +++ b/src/Adyen/Service/Payout/InstantPayoutsApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Payout/ReviewingApi.php b/src/Adyen/Service/Payout/ReviewingApi.php index 622e706e7..bcff3dd36 100644 --- a/src/Adyen/Service/Payout/ReviewingApi.php +++ b/src/Adyen/Service/Payout/ReviewingApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/RecurringApi.php b/src/Adyen/Service/RecurringApi.php index 38ddf5d1a..e10d4ee32 100644 --- a/src/Adyen/Service/RecurringApi.php +++ b/src/Adyen/Service/RecurringApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 68 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -26,7 +26,7 @@ class RecurringApi extends Service private $baseURL; /** - * AdyenService constructor. + * RecurringApi constructor. * * @param \Adyen\Client $client * @throws AdyenException @@ -34,6 +34,7 @@ class RecurringApi extends Service public function __construct(Client $client) { parent::__construct($client); + // Create the baseUrl based on live/test and optional live-url-prefix $this->baseURL = $this->createBaseUrl("https://pal-test.adyen.com/pal/servlet/Recurring/v68"); } diff --git a/src/Adyen/Service/StoredValueApi.php b/src/Adyen/Service/StoredValueApi.php index 4f003c971..aa4b10d05 100644 --- a/src/Adyen/Service/StoredValueApi.php +++ b/src/Adyen/Service/StoredValueApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 46 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -26,7 +26,7 @@ class StoredValueApi extends Service private $baseURL; /** - * AdyenService constructor. + * StoredValueApi constructor. * * @param \Adyen\Client $client * @throws AdyenException @@ -34,6 +34,7 @@ class StoredValueApi extends Service public function __construct(Client $client) { parent::__construct($client); + // Create the baseUrl based on live/test and optional live-url-prefix $this->baseURL = $this->createBaseUrl("https://pal-test.adyen.com/pal/servlet/StoredValue/v46"); } diff --git a/src/Adyen/Service/Transfers/CapitalApi.php b/src/Adyen/Service/Transfers/CapitalApi.php index 2285efa0a..ecb1614fe 100644 --- a/src/Adyen/Service/Transfers/CapitalApi.php +++ b/src/Adyen/Service/Transfers/CapitalApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Transfers/TransactionsApi.php b/src/Adyen/Service/Transfers/TransactionsApi.php index 8dd10271b..a09ac4ebe 100644 --- a/src/Adyen/Service/Transfers/TransactionsApi.php +++ b/src/Adyen/Service/Transfers/TransactionsApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Transfers/TransfersApi.php b/src/Adyen/Service/Transfers/TransfersApi.php index 0ca23ccc3..0a46460c5 100644 --- a/src/Adyen/Service/Transfers/TransfersApi.php +++ b/src/Adyen/Service/Transfers/TransfersApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 4 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -39,21 +39,6 @@ public function __construct(Client $client) $this->baseURL = $this->createBaseUrl("https://balanceplatform-api-test.adyen.com/btl/v4"); } - /** - * Transfer funds - * - * @param \Adyen\Model\Transfers\TransferInfo $transferInfo - * @param array|null $requestOptions - * @return \Adyen\Model\Transfers\Transfer - * @throws AdyenException - */ - public function transferFunds(\Adyen\Model\Transfers\TransferInfo $transferInfo, array $requestOptions = null): \Adyen\Model\Transfers\Transfer - { - $endpoint = $this->baseURL . "/transfers"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $transferInfo->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Transfers\Transfer::class); - } - /** * Return a transfer * @@ -69,4 +54,19 @@ public function returnTransfer(string $id, \Adyen\Model\Transfers\ReturnTransfer $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $returnTransferRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Transfers\ReturnTransferResponse::class); } + + /** + * Transfer funds + * + * @param \Adyen\Model\Transfers\TransferInfo $transferInfo + * @param array|null $requestOptions + * @return \Adyen\Model\Transfers\Transfer + * @throws AdyenException + */ + public function transferFunds(\Adyen\Model\Transfers\TransferInfo $transferInfo, array $requestOptions = null): \Adyen\Model\Transfers\Transfer + { + $endpoint = $this->baseURL . "/transfers"; + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $transferInfo->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Transfers\Transfer::class); + } }