diff --git a/Makefile b/Makefile index ccde917a8..dce77209f 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ models: $(modelGen) BalanceControl: spec=BalanceControlService-v1 BalancePlatform: spec=BalancePlatformService-v2 BinLookup: spec=BinLookupService-v54 -Checkout: spec=CheckoutService-v70 +Checkout: spec=CheckoutService-v71 Disputes: spec=DisputeService-v30 DataProtection: spec=DataProtectionService-v1 StoredValue: spec=StoredValueService-v46 diff --git a/README.md b/README.md index 0a7f34622..48546cf4f 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ The library supports all APIs under the following services: |------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|--------------------------| | [BIN Lookup API](https://docs.adyen.com/api-explorer/BinLookup/54/overview) | The BIN Lookup API provides endpoints for retrieving information based on a given BIN. | [Binlookup](src/Adyen/Service/BinLookupApi.php) | **v54** | | [Capital API](https://docs.adyen.com/api-explorer/capital/3/overview) | Adyen Capital allows you to build an embedded financing offering for your users to serve their operational needs. | [Capital](src/Adyen/Service/CapitalApi.php) | **v3** | -| [Checkout API](https://docs.adyen.com/api-explorer/Checkout/70/overview) | Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). | [Checkout](src/Adyen/Service/Checkout) | **v70** | +| [Checkout API](https://docs.adyen.com/api-explorer/Checkout/71/overview) | Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). | [Checkout](src/Adyen/Service/Checkout) | **v71** | | [Configuration API](https://docs.adyen.com/api-explorer/balanceplatform/2/overview) | The Configuration API enables you to create a platform where you can onboard your users as account holders and create balance accounts, cards, and business accounts. | [BalancePlatform](src/Adyen/Service/BalancePlatform/) | **v2** | | [DataProtection API](https://docs.adyen.com/development-resources/data-protection-api) | Adyen Data Protection API provides a way for you to process [Subject Erasure Requests](https://gdpr-info.eu/art-17-gdpr/) as mandated in GDPR. Use our API to submit a request to delete shopper's data, including payment details and other related information (for example, delivery address or shopper email) | [DataProtection](src/Adyen/Service/DataProtectionApi.php) | **v1** | | [Management API](https://docs.adyen.com/api-explorer/Management/3/overview) | Configure and manage your Adyen company and merchant accounts, stores, and payment terminals. | [Management](src/Adyen/Service/Management/) | **v3** | diff --git a/src/Adyen/Model/Checkout/AccountInfo.php b/src/Adyen/Model/Checkout/AccountInfo.php index 598ee0166..706aef35d 100644 --- a/src/Adyen/Model/Checkout/AccountInfo.php +++ b/src/Adyen/Model/Checkout/AccountInfo.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AcctInfo.php b/src/Adyen/Model/Checkout/AcctInfo.php index 4d16a1b48..e4c7f8261 100644 --- a/src/Adyen/Model/Checkout/AcctInfo.php +++ b/src/Adyen/Model/Checkout/AcctInfo.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AchDetails.php b/src/Adyen/Model/Checkout/AchDetails.php index 08456134a..d76671d9a 100644 --- a/src/Adyen/Model/Checkout/AchDetails.php +++ b/src/Adyen/Model/Checkout/AchDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AdditionalData3DSecure.php b/src/Adyen/Model/Checkout/AdditionalData3DSecure.php index 32b71fb6c..6820a19f8 100644 --- a/src/Adyen/Model/Checkout/AdditionalData3DSecure.php +++ b/src/Adyen/Model/Checkout/AdditionalData3DSecure.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AdditionalDataAirline.php b/src/Adyen/Model/Checkout/AdditionalDataAirline.php index ca3f4e5d3..f9a2a0cd7 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataAirline.php +++ b/src/Adyen/Model/Checkout/AdditionalDataAirline.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AdditionalDataCarRental.php b/src/Adyen/Model/Checkout/AdditionalDataCarRental.php index b44f31e58..46581be72 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataCarRental.php +++ b/src/Adyen/Model/Checkout/AdditionalDataCarRental.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AdditionalDataCommon.php b/src/Adyen/Model/Checkout/AdditionalDataCommon.php index 094ebf4e2..c5a1daba4 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataCommon.php +++ b/src/Adyen/Model/Checkout/AdditionalDataCommon.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AdditionalDataLevel23.php b/src/Adyen/Model/Checkout/AdditionalDataLevel23.php index 37d0ac382..ef41a31d2 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataLevel23.php +++ b/src/Adyen/Model/Checkout/AdditionalDataLevel23.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AdditionalDataLodging.php b/src/Adyen/Model/Checkout/AdditionalDataLodging.php index 77ce11cf3..10c346cc3 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataLodging.php +++ b/src/Adyen/Model/Checkout/AdditionalDataLodging.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php b/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php index 42a330966..8a8c29dd0 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php +++ b/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AdditionalDataOpi.php b/src/Adyen/Model/Checkout/AdditionalDataOpi.php index 3bfc256a7..2db0d1d6f 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataOpi.php +++ b/src/Adyen/Model/Checkout/AdditionalDataOpi.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AdditionalDataRatepay.php b/src/Adyen/Model/Checkout/AdditionalDataRatepay.php index fca7710ec..8d7ce42e7 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRatepay.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRatepay.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AdditionalDataRetry.php b/src/Adyen/Model/Checkout/AdditionalDataRetry.php index 911c2472c..5060355af 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRetry.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRetry.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AdditionalDataRisk.php b/src/Adyen/Model/Checkout/AdditionalDataRisk.php index 9d0d93558..423796d69 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRisk.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRisk.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php b/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php index d48335155..612b2ddd8 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php b/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php index 46474ee25..6f5c8cdb7 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php +++ b/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php b/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php index c57dc7fbe..7ee94ef05 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php +++ b/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AdditionalDataWallets.php b/src/Adyen/Model/Checkout/AdditionalDataWallets.php index 84ee52f8d..52c553276 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataWallets.php +++ b/src/Adyen/Model/Checkout/AdditionalDataWallets.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/Address.php b/src/Adyen/Model/Checkout/Address.php index f17b3d55b..319a35e6e 100644 --- a/src/Adyen/Model/Checkout/Address.php +++ b/src/Adyen/Model/Checkout/Address.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AfterpayDetails.php b/src/Adyen/Model/Checkout/AfterpayDetails.php index b4b02d494..9e4634e00 100644 --- a/src/Adyen/Model/Checkout/AfterpayDetails.php +++ b/src/Adyen/Model/Checkout/AfterpayDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AmazonPayDetails.php b/src/Adyen/Model/Checkout/AmazonPayDetails.php index 24a9ae0c3..20cad0c7f 100644 --- a/src/Adyen/Model/Checkout/AmazonPayDetails.php +++ b/src/Adyen/Model/Checkout/AmazonPayDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/Amount.php b/src/Adyen/Model/Checkout/Amount.php index 43a38df02..dd41d2056 100644 --- a/src/Adyen/Model/Checkout/Amount.php +++ b/src/Adyen/Model/Checkout/Amount.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AndroidPayDetails.php b/src/Adyen/Model/Checkout/AndroidPayDetails.php index 371a8bd11..0d8a98089 100644 --- a/src/Adyen/Model/Checkout/AndroidPayDetails.php +++ b/src/Adyen/Model/Checkout/AndroidPayDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ApplePayDetails.php b/src/Adyen/Model/Checkout/ApplePayDetails.php index 68a9d1cb6..b62c260e8 100644 --- a/src/Adyen/Model/Checkout/ApplePayDetails.php +++ b/src/Adyen/Model/Checkout/ApplePayDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ApplePaySessionRequest.php b/src/Adyen/Model/Checkout/ApplePaySessionRequest.php index 310d1c7b0..b0c9bfc7a 100644 --- a/src/Adyen/Model/Checkout/ApplePaySessionRequest.php +++ b/src/Adyen/Model/Checkout/ApplePaySessionRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ApplePaySessionResponse.php b/src/Adyen/Model/Checkout/ApplePaySessionResponse.php index c21c18e86..096115eb0 100644 --- a/src/Adyen/Model/Checkout/ApplePaySessionResponse.php +++ b/src/Adyen/Model/Checkout/ApplePaySessionResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ApplicationInfo.php b/src/Adyen/Model/Checkout/ApplicationInfo.php index 644f92d6b..718886c97 100644 --- a/src/Adyen/Model/Checkout/ApplicationInfo.php +++ b/src/Adyen/Model/Checkout/ApplicationInfo.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/AuthenticationData.php b/src/Adyen/Model/Checkout/AuthenticationData.php index 5a6e7d23c..4c7027a8d 100644 --- a/src/Adyen/Model/Checkout/AuthenticationData.php +++ b/src/Adyen/Model/Checkout/AuthenticationData.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/Avs.php b/src/Adyen/Model/Checkout/Avs.php index 2936dd6e1..5fcf2dacb 100644 --- a/src/Adyen/Model/Checkout/Avs.php +++ b/src/Adyen/Model/Checkout/Avs.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php b/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php index 66e6621fd..c1ec35741 100644 --- a/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php +++ b/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/BalanceCheckRequest.php b/src/Adyen/Model/Checkout/BalanceCheckRequest.php index ff890aee1..599a485a8 100644 --- a/src/Adyen/Model/Checkout/BalanceCheckRequest.php +++ b/src/Adyen/Model/Checkout/BalanceCheckRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/BalanceCheckResponse.php b/src/Adyen/Model/Checkout/BalanceCheckResponse.php index 651ce8efe..cb54f6e1b 100644 --- a/src/Adyen/Model/Checkout/BalanceCheckResponse.php +++ b/src/Adyen/Model/Checkout/BalanceCheckResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/BankAccount.php b/src/Adyen/Model/Checkout/BankAccount.php index f461fe036..1a3cc3e5c 100644 --- a/src/Adyen/Model/Checkout/BankAccount.php +++ b/src/Adyen/Model/Checkout/BankAccount.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/BillDeskDetails.php b/src/Adyen/Model/Checkout/BillDeskDetails.php index 3638e5e46..e5b94af6a 100644 --- a/src/Adyen/Model/Checkout/BillDeskDetails.php +++ b/src/Adyen/Model/Checkout/BillDeskDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/BillingAddress.php b/src/Adyen/Model/Checkout/BillingAddress.php index 9737f8435..a6e3c3cce 100644 --- a/src/Adyen/Model/Checkout/BillingAddress.php +++ b/src/Adyen/Model/Checkout/BillingAddress.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/BlikDetails.php b/src/Adyen/Model/Checkout/BlikDetails.php index a1c65e7a6..26e91d75b 100644 --- a/src/Adyen/Model/Checkout/BlikDetails.php +++ b/src/Adyen/Model/Checkout/BlikDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/BrowserInfo.php b/src/Adyen/Model/Checkout/BrowserInfo.php index 8fc841a8c..b6cef3e06 100644 --- a/src/Adyen/Model/Checkout/BrowserInfo.php +++ b/src/Adyen/Model/Checkout/BrowserInfo.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CancelOrderRequest.php b/src/Adyen/Model/Checkout/CancelOrderRequest.php index 4578ff26c..6aa4f5fec 100644 --- a/src/Adyen/Model/Checkout/CancelOrderRequest.php +++ b/src/Adyen/Model/Checkout/CancelOrderRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CancelOrderResponse.php b/src/Adyen/Model/Checkout/CancelOrderResponse.php index 422526618..76a1a6662 100644 --- a/src/Adyen/Model/Checkout/CancelOrderResponse.php +++ b/src/Adyen/Model/Checkout/CancelOrderResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/Card.php b/src/Adyen/Model/Checkout/Card.php index 11b875bf7..aba06c6b7 100644 --- a/src/Adyen/Model/Checkout/Card.php +++ b/src/Adyen/Model/Checkout/Card.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CardBrandDetails.php b/src/Adyen/Model/Checkout/CardBrandDetails.php index 13c58ac2c..9ea153813 100644 --- a/src/Adyen/Model/Checkout/CardBrandDetails.php +++ b/src/Adyen/Model/Checkout/CardBrandDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CardDetails.php b/src/Adyen/Model/Checkout/CardDetails.php index 7417472c2..1e7aa6471 100644 --- a/src/Adyen/Model/Checkout/CardDetails.php +++ b/src/Adyen/Model/Checkout/CardDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CardDetailsRequest.php b/src/Adyen/Model/Checkout/CardDetailsRequest.php index 686922f12..15524d64e 100644 --- a/src/Adyen/Model/Checkout/CardDetailsRequest.php +++ b/src/Adyen/Model/Checkout/CardDetailsRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CardDetailsResponse.php b/src/Adyen/Model/Checkout/CardDetailsResponse.php index 9bc537f3c..c1ff06287 100644 --- a/src/Adyen/Model/Checkout/CardDetailsResponse.php +++ b/src/Adyen/Model/Checkout/CardDetailsResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CellulantDetails.php b/src/Adyen/Model/Checkout/CellulantDetails.php index caa7a75d5..218342c67 100644 --- a/src/Adyen/Model/Checkout/CellulantDetails.php +++ b/src/Adyen/Model/Checkout/CellulantDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CheckoutAwaitAction.php b/src/Adyen/Model/Checkout/CheckoutAwaitAction.php index 8baff8023..4d8cfc797 100644 --- a/src/Adyen/Model/Checkout/CheckoutAwaitAction.php +++ b/src/Adyen/Model/Checkout/CheckoutAwaitAction.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php b/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php index 3bcfde57b..afc7a1811 100644 --- a/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php +++ b/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php b/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php index 2dcec5ec5..609f01bfc 100644 --- a/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php +++ b/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CheckoutOrderResponse.php b/src/Adyen/Model/Checkout/CheckoutOrderResponse.php index 40190a29b..2946f527a 100644 --- a/src/Adyen/Model/Checkout/CheckoutOrderResponse.php +++ b/src/Adyen/Model/Checkout/CheckoutOrderResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php b/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php index 89166d867..3014e4214 100644 --- a/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php +++ b/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php b/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php index 67a41e010..07c685eff 100644 --- a/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php +++ b/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CheckoutRedirectAction.php b/src/Adyen/Model/Checkout/CheckoutRedirectAction.php index 9302c98f9..4d4483a52 100644 --- a/src/Adyen/Model/Checkout/CheckoutRedirectAction.php +++ b/src/Adyen/Model/Checkout/CheckoutRedirectAction.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CheckoutSDKAction.php b/src/Adyen/Model/Checkout/CheckoutSDKAction.php index 06045d3ef..a5a135fdd 100644 --- a/src/Adyen/Model/Checkout/CheckoutSDKAction.php +++ b/src/Adyen/Model/Checkout/CheckoutSDKAction.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php b/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php index cfd17c508..d17175a63 100644 --- a/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php +++ b/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php b/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php index b263ff02c..d60c2f61a 100644 --- a/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php +++ b/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CheckoutVoucherAction.php b/src/Adyen/Model/Checkout/CheckoutVoucherAction.php index 82ef44eff..f34d4cb2f 100644 --- a/src/Adyen/Model/Checkout/CheckoutVoucherAction.php +++ b/src/Adyen/Model/Checkout/CheckoutVoucherAction.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CommonField.php b/src/Adyen/Model/Checkout/CommonField.php index 6abf87f1a..40b106866 100644 --- a/src/Adyen/Model/Checkout/CommonField.php +++ b/src/Adyen/Model/Checkout/CommonField.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/Company.php b/src/Adyen/Model/Checkout/Company.php index 2be8fd5b6..d9c1dbed7 100644 --- a/src/Adyen/Model/Checkout/Company.php +++ b/src/Adyen/Model/Checkout/Company.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/Configuration.php b/src/Adyen/Model/Checkout/Configuration.php index 1d4f0cb5b..acd853e6d 100644 --- a/src/Adyen/Model/Checkout/Configuration.php +++ b/src/Adyen/Model/Checkout/Configuration.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php b/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php index adbb7e250..a73229cce 100644 --- a/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php +++ b/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -73,6 +73,7 @@ class CreateCheckoutSessionRequest implements ModelInterface, ArrayAccess, \Json 'merchantAccount' => 'string', 'merchantOrderReference' => 'string', 'metadata' => 'array', + 'mode' => 'string', 'mpiData' => '\Adyen\Model\Checkout\ThreeDSecureData', 'platformChargebackLogic' => '\Adyen\Model\Checkout\PlatformChargebackLogic', 'recurringExpiry' => 'string', @@ -139,6 +140,7 @@ class CreateCheckoutSessionRequest implements ModelInterface, ArrayAccess, \Json 'merchantAccount' => null, 'merchantOrderReference' => null, 'metadata' => null, + 'mode' => null, 'mpiData' => null, 'platformChargebackLogic' => null, 'recurringExpiry' => null, @@ -203,6 +205,7 @@ class CreateCheckoutSessionRequest implements ModelInterface, ArrayAccess, \Json 'merchantAccount' => false, 'merchantOrderReference' => false, 'metadata' => false, + 'mode' => false, 'mpiData' => false, 'platformChargebackLogic' => false, 'recurringExpiry' => false, @@ -347,6 +350,7 @@ public function isNullableSetToNull(string $property): bool 'merchantAccount' => 'merchantAccount', 'merchantOrderReference' => 'merchantOrderReference', 'metadata' => 'metadata', + 'mode' => 'mode', 'mpiData' => 'mpiData', 'platformChargebackLogic' => 'platformChargebackLogic', 'recurringExpiry' => 'recurringExpiry', @@ -411,6 +415,7 @@ public function isNullableSetToNull(string $property): bool 'merchantAccount' => 'setMerchantAccount', 'merchantOrderReference' => 'setMerchantOrderReference', 'metadata' => 'setMetadata', + 'mode' => 'setMode', 'mpiData' => 'setMpiData', 'platformChargebackLogic' => 'setPlatformChargebackLogic', 'recurringExpiry' => 'setRecurringExpiry', @@ -475,6 +480,7 @@ public function isNullableSetToNull(string $property): bool 'merchantAccount' => 'getMerchantAccount', 'merchantOrderReference' => 'getMerchantOrderReference', 'metadata' => 'getMetadata', + 'mode' => 'getMode', 'mpiData' => 'getMpiData', 'platformChargebackLogic' => 'getPlatformChargebackLogic', 'recurringExpiry' => 'getRecurringExpiry', @@ -548,6 +554,8 @@ public function getModelName() public const CHANNEL_I_OS = 'iOS'; public const CHANNEL_ANDROID = 'Android'; public const CHANNEL_WEB = 'Web'; + public const MODE_EMBEDDED = 'embedded'; + public const MODE_HOSTED = 'hosted'; public const RECURRING_PROCESSING_MODEL_CARD_ON_FILE = 'CardOnFile'; public const RECURRING_PROCESSING_MODEL_SUBSCRIPTION = 'Subscription'; public const RECURRING_PROCESSING_MODEL_UNSCHEDULED_CARD_ON_FILE = 'UnscheduledCardOnFile'; @@ -572,6 +580,18 @@ public function getChannelAllowableValues() self::CHANNEL_WEB, ]; } + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getModeAllowableValues() + { + return [ + self::MODE_EMBEDDED, + self::MODE_HOSTED, + ]; + } /** * Gets allowable values of the enum * @@ -656,6 +676,7 @@ public function __construct(array $data = null) $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('merchantOrderReference', $data ?? [], null); $this->setIfExists('metadata', $data ?? [], null); + $this->setIfExists('mode', $data ?? [], 'embedded'); $this->setIfExists('mpiData', $data ?? [], null); $this->setIfExists('platformChargebackLogic', $data ?? [], null); $this->setIfExists('recurringExpiry', $data ?? [], null); @@ -727,6 +748,15 @@ public function listInvalidProperties() if ($this->container['merchantAccount'] === null) { $invalidProperties[] = "'merchantAccount' can't be null"; } + $allowedValues = $this->getModeAllowableValues(); + if (!is_null($this->container['mode']) && !in_array($this->container['mode'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'mode', must be one of '%s'", + $this->container['mode'], + implode("', '", $allowedValues) + ); + } + $allowedValues = $this->getRecurringProcessingModelAllowableValues(); if (!is_null($this->container['recurringProcessingModel']) && !in_array($this->container['recurringProcessingModel'], $allowedValues, true)) { $invalidProperties[] = sprintf( @@ -1566,6 +1596,43 @@ public function setMetadata($metadata) return $this; } + /** + * Gets mode + * + * @return string|null + */ + public function getMode() + { + return $this->container['mode']; + } + + /** + * Sets mode + * + * @param string|null $mode Indicates the type of front end integration. Possible values: * **embedded** (default): Drop-in or Components integration * **hosted**: Hosted Checkout integration + * + * @return self + */ + public function setMode($mode) + { + if (is_null($mode)) { + throw new \InvalidArgumentException('non-nullable mode cannot be null'); + } + $allowedValues = $this->getModeAllowableValues(); + if (!in_array($mode, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'mode', must be one of '%s'", + $mode, + implode("', '", $allowedValues) + ) + ); + } + $this->container['mode'] = $mode; + + return $this; + } + /** * Gets mpiData * diff --git a/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php b/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php index 60b93ffaf..40ca186b9 100644 --- a/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php +++ b/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CreateOrderRequest.php b/src/Adyen/Model/Checkout/CreateOrderRequest.php index 43774ffba..829393a4d 100644 --- a/src/Adyen/Model/Checkout/CreateOrderRequest.php +++ b/src/Adyen/Model/Checkout/CreateOrderRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/CreateOrderResponse.php b/src/Adyen/Model/Checkout/CreateOrderResponse.php index 0ca5629ba..0db7824ba 100644 --- a/src/Adyen/Model/Checkout/CreateOrderResponse.php +++ b/src/Adyen/Model/Checkout/CreateOrderResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/DeliveryAddress.php b/src/Adyen/Model/Checkout/DeliveryAddress.php index 079dc1f63..f7d24133a 100644 --- a/src/Adyen/Model/Checkout/DeliveryAddress.php +++ b/src/Adyen/Model/Checkout/DeliveryAddress.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php b/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php index 539f03760..b926ff170 100644 --- a/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php +++ b/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/DeviceRenderOptions.php b/src/Adyen/Model/Checkout/DeviceRenderOptions.php index e76864f28..8d13b7700 100644 --- a/src/Adyen/Model/Checkout/DeviceRenderOptions.php +++ b/src/Adyen/Model/Checkout/DeviceRenderOptions.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/DokuDetails.php b/src/Adyen/Model/Checkout/DokuDetails.php index 380af0987..c7713317d 100644 --- a/src/Adyen/Model/Checkout/DokuDetails.php +++ b/src/Adyen/Model/Checkout/DokuDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/DonationPaymentMethod.php b/src/Adyen/Model/Checkout/DonationPaymentMethod.php index 12feb6c09..9adb16267 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentMethod.php +++ b/src/Adyen/Model/Checkout/DonationPaymentMethod.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/DonationPaymentRequest.php b/src/Adyen/Model/Checkout/DonationPaymentRequest.php index d8b2a5251..6ed687297 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentRequest.php +++ b/src/Adyen/Model/Checkout/DonationPaymentRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -45,63 +45,35 @@ class DonationPaymentRequest implements ModelInterface, ArrayAccess, \JsonSerial */ protected static $openAPITypes = [ 'accountInfo' => '\Adyen\Model\Checkout\AccountInfo', - 'additionalAmount' => '\Adyen\Model\Checkout\Amount', 'additionalData' => 'array', - 'allowedPaymentMethods' => 'string[]', 'amount' => '\Adyen\Model\Checkout\Amount', 'applicationInfo' => '\Adyen\Model\Checkout\ApplicationInfo', 'authenticationData' => '\Adyen\Model\Checkout\AuthenticationData', 'billingAddress' => '\Adyen\Model\Checkout\BillingAddress', - 'blockedPaymentMethods' => 'string[]', 'browserInfo' => '\Adyen\Model\Checkout\BrowserInfo', - 'captureDelayHours' => 'int', 'channel' => 'string', 'checkoutAttemptId' => 'string', - 'company' => '\Adyen\Model\Checkout\Company', 'conversionId' => 'string', 'countryCode' => 'string', 'dateOfBirth' => '\DateTime', - 'dccQuote' => '\Adyen\Model\Checkout\ForexQuote', 'deliverAt' => '\DateTime', 'deliveryAddress' => '\Adyen\Model\Checkout\DeliveryAddress', - 'deliveryDate' => '\DateTime', 'deviceFingerprint' => 'string', 'donationAccount' => 'string', 'donationOriginalPspReference' => 'string', 'donationToken' => 'string', - 'enableOneClick' => 'bool', - 'enablePayOut' => 'bool', - 'enableRecurring' => 'bool', - 'entityType' => 'string', - 'fraudOffset' => 'int', - 'fundOrigin' => '\Adyen\Model\Checkout\FundOrigin', - 'fundRecipient' => '\Adyen\Model\Checkout\FundRecipient', - 'fundingSource' => 'string', - 'industryUsage' => 'string', - 'installments' => '\Adyen\Model\Checkout\Installments', 'lineItems' => '\Adyen\Model\Checkout\LineItem[]', - 'localizedShopperStatement' => 'array', - 'mandate' => '\Adyen\Model\Checkout\Mandate', - 'mcc' => 'string', 'merchantAccount' => 'string', - 'merchantOrderReference' => 'string', 'merchantRiskIndicator' => '\Adyen\Model\Checkout\MerchantRiskIndicator', 'metadata' => 'array', 'mpiData' => '\Adyen\Model\Checkout\ThreeDSecureData', - 'order' => '\Adyen\Model\Checkout\EncryptedOrderData', - 'orderReference' => 'string', 'origin' => 'string', 'paymentMethod' => '\Adyen\Model\Checkout\DonationPaymentMethod', - 'platformChargebackLogic' => '\Adyen\Model\Checkout\PlatformChargebackLogic', - 'recurringExpiry' => 'string', - 'recurringFrequency' => 'string', 'recurringProcessingModel' => 'string', 'redirectFromIssuerMethod' => 'string', 'redirectToIssuerMethod' => 'string', 'reference' => 'string', 'returnUrl' => 'string', - 'riskData' => '\Adyen\Model\Checkout\RiskData', - 'selectedRecurringDetailReference' => 'string', 'sessionValidity' => 'string', 'shopperEmail' => 'string', 'shopperIP' => 'string', @@ -109,15 +81,10 @@ class DonationPaymentRequest implements ModelInterface, ArrayAccess, \JsonSerial 'shopperLocale' => 'string', 'shopperName' => '\Adyen\Model\Checkout\Name', 'shopperReference' => 'string', - 'shopperStatement' => 'string', 'socialSecurityNumber' => 'string', - 'splits' => '\Adyen\Model\Checkout\Split[]', - 'store' => 'string', - 'storePaymentMethod' => 'bool', 'telephoneNumber' => 'string', - 'threeDS2RequestData' => '\Adyen\Model\Checkout\ThreeDS2RequestData2', - 'threeDSAuthenticationOnly' => 'bool', - 'trustedShopper' => 'bool' + 'threeDS2RequestData' => '\Adyen\Model\Checkout\ThreeDS2RequestFields', + 'threeDSAuthenticationOnly' => 'bool' ]; /** @@ -129,63 +96,35 @@ class DonationPaymentRequest implements ModelInterface, ArrayAccess, \JsonSerial */ protected static $openAPIFormats = [ 'accountInfo' => null, - 'additionalAmount' => null, 'additionalData' => null, - 'allowedPaymentMethods' => null, 'amount' => null, 'applicationInfo' => null, 'authenticationData' => null, 'billingAddress' => null, - 'blockedPaymentMethods' => null, 'browserInfo' => null, - 'captureDelayHours' => 'int32', 'channel' => null, 'checkoutAttemptId' => null, - 'company' => null, 'conversionId' => null, 'countryCode' => null, 'dateOfBirth' => 'date-time', - 'dccQuote' => null, 'deliverAt' => 'date-time', 'deliveryAddress' => null, - 'deliveryDate' => 'date-time', 'deviceFingerprint' => null, 'donationAccount' => null, 'donationOriginalPspReference' => null, 'donationToken' => null, - 'enableOneClick' => null, - 'enablePayOut' => null, - 'enableRecurring' => null, - 'entityType' => null, - 'fraudOffset' => 'int32', - 'fundOrigin' => null, - 'fundRecipient' => null, - 'fundingSource' => null, - 'industryUsage' => null, - 'installments' => null, 'lineItems' => null, - 'localizedShopperStatement' => null, - 'mandate' => null, - 'mcc' => null, 'merchantAccount' => null, - 'merchantOrderReference' => null, 'merchantRiskIndicator' => null, 'metadata' => null, 'mpiData' => null, - 'order' => null, - 'orderReference' => null, 'origin' => null, 'paymentMethod' => null, - 'platformChargebackLogic' => null, - 'recurringExpiry' => null, - 'recurringFrequency' => null, 'recurringProcessingModel' => null, 'redirectFromIssuerMethod' => null, 'redirectToIssuerMethod' => null, 'reference' => null, 'returnUrl' => null, - 'riskData' => null, - 'selectedRecurringDetailReference' => null, 'sessionValidity' => null, 'shopperEmail' => null, 'shopperIP' => null, @@ -193,15 +132,10 @@ class DonationPaymentRequest implements ModelInterface, ArrayAccess, \JsonSerial 'shopperLocale' => null, 'shopperName' => null, 'shopperReference' => null, - 'shopperStatement' => null, 'socialSecurityNumber' => null, - 'splits' => null, - 'store' => null, - 'storePaymentMethod' => null, 'telephoneNumber' => null, 'threeDS2RequestData' => null, - 'threeDSAuthenticationOnly' => null, - 'trustedShopper' => null + 'threeDSAuthenticationOnly' => null ]; /** @@ -211,63 +145,35 @@ class DonationPaymentRequest implements ModelInterface, ArrayAccess, \JsonSerial */ protected static $openAPINullables = [ 'accountInfo' => false, - 'additionalAmount' => false, 'additionalData' => false, - 'allowedPaymentMethods' => false, 'amount' => false, 'applicationInfo' => false, 'authenticationData' => false, 'billingAddress' => false, - 'blockedPaymentMethods' => false, 'browserInfo' => false, - 'captureDelayHours' => true, 'channel' => false, 'checkoutAttemptId' => false, - 'company' => false, 'conversionId' => false, 'countryCode' => false, 'dateOfBirth' => false, - 'dccQuote' => false, 'deliverAt' => false, 'deliveryAddress' => false, - 'deliveryDate' => false, 'deviceFingerprint' => false, 'donationAccount' => false, 'donationOriginalPspReference' => false, 'donationToken' => false, - 'enableOneClick' => false, - 'enablePayOut' => false, - 'enableRecurring' => false, - 'entityType' => false, - 'fraudOffset' => true, - 'fundOrigin' => false, - 'fundRecipient' => false, - 'fundingSource' => false, - 'industryUsage' => false, - 'installments' => false, 'lineItems' => false, - 'localizedShopperStatement' => false, - 'mandate' => false, - 'mcc' => false, 'merchantAccount' => false, - 'merchantOrderReference' => false, 'merchantRiskIndicator' => false, 'metadata' => false, 'mpiData' => false, - 'order' => false, - 'orderReference' => false, 'origin' => false, 'paymentMethod' => false, - 'platformChargebackLogic' => false, - 'recurringExpiry' => false, - 'recurringFrequency' => false, 'recurringProcessingModel' => false, 'redirectFromIssuerMethod' => false, 'redirectToIssuerMethod' => false, 'reference' => false, 'returnUrl' => false, - 'riskData' => false, - 'selectedRecurringDetailReference' => false, 'sessionValidity' => false, 'shopperEmail' => false, 'shopperIP' => false, @@ -275,15 +181,10 @@ class DonationPaymentRequest implements ModelInterface, ArrayAccess, \JsonSerial 'shopperLocale' => false, 'shopperName' => false, 'shopperReference' => false, - 'shopperStatement' => false, 'socialSecurityNumber' => false, - 'splits' => false, - 'store' => false, - 'storePaymentMethod' => false, 'telephoneNumber' => false, 'threeDS2RequestData' => false, - 'threeDSAuthenticationOnly' => false, - 'trustedShopper' => false + 'threeDSAuthenticationOnly' => false ]; /** @@ -373,63 +274,35 @@ public function isNullableSetToNull(string $property): bool */ protected static $attributeMap = [ 'accountInfo' => 'accountInfo', - 'additionalAmount' => 'additionalAmount', 'additionalData' => 'additionalData', - 'allowedPaymentMethods' => 'allowedPaymentMethods', 'amount' => 'amount', 'applicationInfo' => 'applicationInfo', 'authenticationData' => 'authenticationData', 'billingAddress' => 'billingAddress', - 'blockedPaymentMethods' => 'blockedPaymentMethods', 'browserInfo' => 'browserInfo', - 'captureDelayHours' => 'captureDelayHours', 'channel' => 'channel', 'checkoutAttemptId' => 'checkoutAttemptId', - 'company' => 'company', 'conversionId' => 'conversionId', 'countryCode' => 'countryCode', 'dateOfBirth' => 'dateOfBirth', - 'dccQuote' => 'dccQuote', 'deliverAt' => 'deliverAt', 'deliveryAddress' => 'deliveryAddress', - 'deliveryDate' => 'deliveryDate', 'deviceFingerprint' => 'deviceFingerprint', 'donationAccount' => 'donationAccount', 'donationOriginalPspReference' => 'donationOriginalPspReference', 'donationToken' => 'donationToken', - 'enableOneClick' => 'enableOneClick', - 'enablePayOut' => 'enablePayOut', - 'enableRecurring' => 'enableRecurring', - 'entityType' => 'entityType', - 'fraudOffset' => 'fraudOffset', - 'fundOrigin' => 'fundOrigin', - 'fundRecipient' => 'fundRecipient', - 'fundingSource' => 'fundingSource', - 'industryUsage' => 'industryUsage', - 'installments' => 'installments', 'lineItems' => 'lineItems', - 'localizedShopperStatement' => 'localizedShopperStatement', - 'mandate' => 'mandate', - 'mcc' => 'mcc', 'merchantAccount' => 'merchantAccount', - 'merchantOrderReference' => 'merchantOrderReference', 'merchantRiskIndicator' => 'merchantRiskIndicator', 'metadata' => 'metadata', 'mpiData' => 'mpiData', - 'order' => 'order', - 'orderReference' => 'orderReference', 'origin' => 'origin', 'paymentMethod' => 'paymentMethod', - 'platformChargebackLogic' => 'platformChargebackLogic', - 'recurringExpiry' => 'recurringExpiry', - 'recurringFrequency' => 'recurringFrequency', 'recurringProcessingModel' => 'recurringProcessingModel', 'redirectFromIssuerMethod' => 'redirectFromIssuerMethod', 'redirectToIssuerMethod' => 'redirectToIssuerMethod', 'reference' => 'reference', 'returnUrl' => 'returnUrl', - 'riskData' => 'riskData', - 'selectedRecurringDetailReference' => 'selectedRecurringDetailReference', 'sessionValidity' => 'sessionValidity', 'shopperEmail' => 'shopperEmail', 'shopperIP' => 'shopperIP', @@ -437,15 +310,10 @@ public function isNullableSetToNull(string $property): bool 'shopperLocale' => 'shopperLocale', 'shopperName' => 'shopperName', 'shopperReference' => 'shopperReference', - 'shopperStatement' => 'shopperStatement', 'socialSecurityNumber' => 'socialSecurityNumber', - 'splits' => 'splits', - 'store' => 'store', - 'storePaymentMethod' => 'storePaymentMethod', 'telephoneNumber' => 'telephoneNumber', 'threeDS2RequestData' => 'threeDS2RequestData', - 'threeDSAuthenticationOnly' => 'threeDSAuthenticationOnly', - 'trustedShopper' => 'trustedShopper' + 'threeDSAuthenticationOnly' => 'threeDSAuthenticationOnly' ]; /** @@ -455,63 +323,35 @@ public function isNullableSetToNull(string $property): bool */ protected static $setters = [ 'accountInfo' => 'setAccountInfo', - 'additionalAmount' => 'setAdditionalAmount', 'additionalData' => 'setAdditionalData', - 'allowedPaymentMethods' => 'setAllowedPaymentMethods', 'amount' => 'setAmount', 'applicationInfo' => 'setApplicationInfo', 'authenticationData' => 'setAuthenticationData', 'billingAddress' => 'setBillingAddress', - 'blockedPaymentMethods' => 'setBlockedPaymentMethods', 'browserInfo' => 'setBrowserInfo', - 'captureDelayHours' => 'setCaptureDelayHours', 'channel' => 'setChannel', 'checkoutAttemptId' => 'setCheckoutAttemptId', - 'company' => 'setCompany', 'conversionId' => 'setConversionId', 'countryCode' => 'setCountryCode', 'dateOfBirth' => 'setDateOfBirth', - 'dccQuote' => 'setDccQuote', 'deliverAt' => 'setDeliverAt', 'deliveryAddress' => 'setDeliveryAddress', - 'deliveryDate' => 'setDeliveryDate', 'deviceFingerprint' => 'setDeviceFingerprint', 'donationAccount' => 'setDonationAccount', 'donationOriginalPspReference' => 'setDonationOriginalPspReference', 'donationToken' => 'setDonationToken', - 'enableOneClick' => 'setEnableOneClick', - 'enablePayOut' => 'setEnablePayOut', - 'enableRecurring' => 'setEnableRecurring', - 'entityType' => 'setEntityType', - 'fraudOffset' => 'setFraudOffset', - 'fundOrigin' => 'setFundOrigin', - 'fundRecipient' => 'setFundRecipient', - 'fundingSource' => 'setFundingSource', - 'industryUsage' => 'setIndustryUsage', - 'installments' => 'setInstallments', 'lineItems' => 'setLineItems', - 'localizedShopperStatement' => 'setLocalizedShopperStatement', - 'mandate' => 'setMandate', - 'mcc' => 'setMcc', 'merchantAccount' => 'setMerchantAccount', - 'merchantOrderReference' => 'setMerchantOrderReference', 'merchantRiskIndicator' => 'setMerchantRiskIndicator', 'metadata' => 'setMetadata', 'mpiData' => 'setMpiData', - 'order' => 'setOrder', - 'orderReference' => 'setOrderReference', 'origin' => 'setOrigin', 'paymentMethod' => 'setPaymentMethod', - 'platformChargebackLogic' => 'setPlatformChargebackLogic', - 'recurringExpiry' => 'setRecurringExpiry', - 'recurringFrequency' => 'setRecurringFrequency', 'recurringProcessingModel' => 'setRecurringProcessingModel', 'redirectFromIssuerMethod' => 'setRedirectFromIssuerMethod', 'redirectToIssuerMethod' => 'setRedirectToIssuerMethod', 'reference' => 'setReference', 'returnUrl' => 'setReturnUrl', - 'riskData' => 'setRiskData', - 'selectedRecurringDetailReference' => 'setSelectedRecurringDetailReference', 'sessionValidity' => 'setSessionValidity', 'shopperEmail' => 'setShopperEmail', 'shopperIP' => 'setShopperIP', @@ -519,15 +359,10 @@ public function isNullableSetToNull(string $property): bool 'shopperLocale' => 'setShopperLocale', 'shopperName' => 'setShopperName', 'shopperReference' => 'setShopperReference', - 'shopperStatement' => 'setShopperStatement', 'socialSecurityNumber' => 'setSocialSecurityNumber', - 'splits' => 'setSplits', - 'store' => 'setStore', - 'storePaymentMethod' => 'setStorePaymentMethod', 'telephoneNumber' => 'setTelephoneNumber', 'threeDS2RequestData' => 'setThreeDS2RequestData', - 'threeDSAuthenticationOnly' => 'setThreeDSAuthenticationOnly', - 'trustedShopper' => 'setTrustedShopper' + 'threeDSAuthenticationOnly' => 'setThreeDSAuthenticationOnly' ]; /** @@ -537,63 +372,35 @@ public function isNullableSetToNull(string $property): bool */ protected static $getters = [ 'accountInfo' => 'getAccountInfo', - 'additionalAmount' => 'getAdditionalAmount', 'additionalData' => 'getAdditionalData', - 'allowedPaymentMethods' => 'getAllowedPaymentMethods', 'amount' => 'getAmount', 'applicationInfo' => 'getApplicationInfo', 'authenticationData' => 'getAuthenticationData', 'billingAddress' => 'getBillingAddress', - 'blockedPaymentMethods' => 'getBlockedPaymentMethods', 'browserInfo' => 'getBrowserInfo', - 'captureDelayHours' => 'getCaptureDelayHours', 'channel' => 'getChannel', 'checkoutAttemptId' => 'getCheckoutAttemptId', - 'company' => 'getCompany', 'conversionId' => 'getConversionId', 'countryCode' => 'getCountryCode', 'dateOfBirth' => 'getDateOfBirth', - 'dccQuote' => 'getDccQuote', 'deliverAt' => 'getDeliverAt', 'deliveryAddress' => 'getDeliveryAddress', - 'deliveryDate' => 'getDeliveryDate', 'deviceFingerprint' => 'getDeviceFingerprint', 'donationAccount' => 'getDonationAccount', 'donationOriginalPspReference' => 'getDonationOriginalPspReference', 'donationToken' => 'getDonationToken', - 'enableOneClick' => 'getEnableOneClick', - 'enablePayOut' => 'getEnablePayOut', - 'enableRecurring' => 'getEnableRecurring', - 'entityType' => 'getEntityType', - 'fraudOffset' => 'getFraudOffset', - 'fundOrigin' => 'getFundOrigin', - 'fundRecipient' => 'getFundRecipient', - 'fundingSource' => 'getFundingSource', - 'industryUsage' => 'getIndustryUsage', - 'installments' => 'getInstallments', 'lineItems' => 'getLineItems', - 'localizedShopperStatement' => 'getLocalizedShopperStatement', - 'mandate' => 'getMandate', - 'mcc' => 'getMcc', 'merchantAccount' => 'getMerchantAccount', - 'merchantOrderReference' => 'getMerchantOrderReference', 'merchantRiskIndicator' => 'getMerchantRiskIndicator', 'metadata' => 'getMetadata', 'mpiData' => 'getMpiData', - 'order' => 'getOrder', - 'orderReference' => 'getOrderReference', 'origin' => 'getOrigin', 'paymentMethod' => 'getPaymentMethod', - 'platformChargebackLogic' => 'getPlatformChargebackLogic', - 'recurringExpiry' => 'getRecurringExpiry', - 'recurringFrequency' => 'getRecurringFrequency', 'recurringProcessingModel' => 'getRecurringProcessingModel', 'redirectFromIssuerMethod' => 'getRedirectFromIssuerMethod', 'redirectToIssuerMethod' => 'getRedirectToIssuerMethod', 'reference' => 'getReference', 'returnUrl' => 'getReturnUrl', - 'riskData' => 'getRiskData', - 'selectedRecurringDetailReference' => 'getSelectedRecurringDetailReference', 'sessionValidity' => 'getSessionValidity', 'shopperEmail' => 'getShopperEmail', 'shopperIP' => 'getShopperIP', @@ -601,15 +408,10 @@ public function isNullableSetToNull(string $property): bool 'shopperLocale' => 'getShopperLocale', 'shopperName' => 'getShopperName', 'shopperReference' => 'getShopperReference', - 'shopperStatement' => 'getShopperStatement', 'socialSecurityNumber' => 'getSocialSecurityNumber', - 'splits' => 'getSplits', - 'store' => 'getStore', - 'storePaymentMethod' => 'getStorePaymentMethod', 'telephoneNumber' => 'getTelephoneNumber', 'threeDS2RequestData' => 'getThreeDS2RequestData', - 'threeDSAuthenticationOnly' => 'getThreeDSAuthenticationOnly', - 'trustedShopper' => 'getTrustedShopper' + 'threeDSAuthenticationOnly' => 'getThreeDSAuthenticationOnly' ]; /** @@ -656,12 +458,6 @@ public function getModelName() public const CHANNEL_I_OS = 'iOS'; public const CHANNEL_ANDROID = 'Android'; public const CHANNEL_WEB = 'Web'; - public const ENTITY_TYPE_NATURAL_PERSON = 'NaturalPerson'; - public const ENTITY_TYPE_COMPANY_NAME = 'CompanyName'; - public const FUNDING_SOURCE_DEBIT = 'debit'; - public const INDUSTRY_USAGE_DELAYED_CHARGE = 'delayedCharge'; - public const INDUSTRY_USAGE_INSTALLMENT = 'installment'; - public const INDUSTRY_USAGE_NO_SHOW = 'noShow'; public const RECURRING_PROCESSING_MODEL_CARD_ON_FILE = 'CardOnFile'; public const RECURRING_PROCESSING_MODEL_SUBSCRIPTION = 'Subscription'; public const RECURRING_PROCESSING_MODEL_UNSCHEDULED_CARD_ON_FILE = 'UnscheduledCardOnFile'; @@ -683,42 +479,6 @@ public function getChannelAllowableValues() self::CHANNEL_WEB, ]; } - /** - * Gets allowable values of the enum - * - * @return string[] - */ - public function getEntityTypeAllowableValues() - { - return [ - self::ENTITY_TYPE_NATURAL_PERSON, - self::ENTITY_TYPE_COMPANY_NAME, - ]; - } - /** - * Gets allowable values of the enum - * - * @return string[] - */ - public function getFundingSourceAllowableValues() - { - return [ - self::FUNDING_SOURCE_DEBIT, - ]; - } - /** - * Gets allowable values of the enum - * - * @return string[] - */ - public function getIndustryUsageAllowableValues() - { - return [ - self::INDUSTRY_USAGE_DELAYED_CHARGE, - self::INDUSTRY_USAGE_INSTALLMENT, - self::INDUSTRY_USAGE_NO_SHOW, - ]; - } /** * Gets allowable values of the enum * @@ -762,63 +522,35 @@ public function getShopperInteractionAllowableValues() public function __construct(array $data = null) { $this->setIfExists('accountInfo', $data ?? [], null); - $this->setIfExists('additionalAmount', $data ?? [], null); $this->setIfExists('additionalData', $data ?? [], null); - $this->setIfExists('allowedPaymentMethods', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('applicationInfo', $data ?? [], null); $this->setIfExists('authenticationData', $data ?? [], null); $this->setIfExists('billingAddress', $data ?? [], null); - $this->setIfExists('blockedPaymentMethods', $data ?? [], null); $this->setIfExists('browserInfo', $data ?? [], null); - $this->setIfExists('captureDelayHours', $data ?? [], null); $this->setIfExists('channel', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); - $this->setIfExists('company', $data ?? [], null); $this->setIfExists('conversionId', $data ?? [], null); $this->setIfExists('countryCode', $data ?? [], null); $this->setIfExists('dateOfBirth', $data ?? [], null); - $this->setIfExists('dccQuote', $data ?? [], null); $this->setIfExists('deliverAt', $data ?? [], null); $this->setIfExists('deliveryAddress', $data ?? [], null); - $this->setIfExists('deliveryDate', $data ?? [], null); $this->setIfExists('deviceFingerprint', $data ?? [], null); $this->setIfExists('donationAccount', $data ?? [], null); $this->setIfExists('donationOriginalPspReference', $data ?? [], null); $this->setIfExists('donationToken', $data ?? [], null); - $this->setIfExists('enableOneClick', $data ?? [], null); - $this->setIfExists('enablePayOut', $data ?? [], null); - $this->setIfExists('enableRecurring', $data ?? [], null); - $this->setIfExists('entityType', $data ?? [], null); - $this->setIfExists('fraudOffset', $data ?? [], null); - $this->setIfExists('fundOrigin', $data ?? [], null); - $this->setIfExists('fundRecipient', $data ?? [], null); - $this->setIfExists('fundingSource', $data ?? [], null); - $this->setIfExists('industryUsage', $data ?? [], null); - $this->setIfExists('installments', $data ?? [], null); $this->setIfExists('lineItems', $data ?? [], null); - $this->setIfExists('localizedShopperStatement', $data ?? [], null); - $this->setIfExists('mandate', $data ?? [], null); - $this->setIfExists('mcc', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); - $this->setIfExists('merchantOrderReference', $data ?? [], null); $this->setIfExists('merchantRiskIndicator', $data ?? [], null); $this->setIfExists('metadata', $data ?? [], null); $this->setIfExists('mpiData', $data ?? [], null); - $this->setIfExists('order', $data ?? [], null); - $this->setIfExists('orderReference', $data ?? [], null); $this->setIfExists('origin', $data ?? [], null); $this->setIfExists('paymentMethod', $data ?? [], null); - $this->setIfExists('platformChargebackLogic', $data ?? [], null); - $this->setIfExists('recurringExpiry', $data ?? [], null); - $this->setIfExists('recurringFrequency', $data ?? [], null); $this->setIfExists('recurringProcessingModel', $data ?? [], null); $this->setIfExists('redirectFromIssuerMethod', $data ?? [], null); $this->setIfExists('redirectToIssuerMethod', $data ?? [], null); $this->setIfExists('reference', $data ?? [], null); $this->setIfExists('returnUrl', $data ?? [], null); - $this->setIfExists('riskData', $data ?? [], null); - $this->setIfExists('selectedRecurringDetailReference', $data ?? [], null); $this->setIfExists('sessionValidity', $data ?? [], null); $this->setIfExists('shopperEmail', $data ?? [], null); $this->setIfExists('shopperIP', $data ?? [], null); @@ -826,15 +558,10 @@ public function __construct(array $data = null) $this->setIfExists('shopperLocale', $data ?? [], null); $this->setIfExists('shopperName', $data ?? [], null); $this->setIfExists('shopperReference', $data ?? [], null); - $this->setIfExists('shopperStatement', $data ?? [], null); $this->setIfExists('socialSecurityNumber', $data ?? [], null); - $this->setIfExists('splits', $data ?? [], null); - $this->setIfExists('store', $data ?? [], null); - $this->setIfExists('storePaymentMethod', $data ?? [], null); $this->setIfExists('telephoneNumber', $data ?? [], null); $this->setIfExists('threeDS2RequestData', $data ?? [], null); $this->setIfExists('threeDSAuthenticationOnly', $data ?? [], false); - $this->setIfExists('trustedShopper', $data ?? [], null); } /** @@ -879,33 +606,6 @@ public function listInvalidProperties() if ($this->container['donationAccount'] === null) { $invalidProperties[] = "'donationAccount' can't be null"; } - $allowedValues = $this->getEntityTypeAllowableValues(); - if (!is_null($this->container['entityType']) && !in_array($this->container['entityType'], $allowedValues, true)) { - $invalidProperties[] = sprintf( - "invalid value '%s' for 'entityType', must be one of '%s'", - $this->container['entityType'], - implode("', '", $allowedValues) - ); - } - - $allowedValues = $this->getFundingSourceAllowableValues(); - if (!is_null($this->container['fundingSource']) && !in_array($this->container['fundingSource'], $allowedValues, true)) { - $invalidProperties[] = sprintf( - "invalid value '%s' for 'fundingSource', must be one of '%s'", - $this->container['fundingSource'], - implode("', '", $allowedValues) - ); - } - - $allowedValues = $this->getIndustryUsageAllowableValues(); - if (!is_null($this->container['industryUsage']) && !in_array($this->container['industryUsage'], $allowedValues, true)) { - $invalidProperties[] = sprintf( - "invalid value '%s' for 'industryUsage', must be one of '%s'", - $this->container['industryUsage'], - implode("', '", $allowedValues) - ); - } - if ($this->container['merchantAccount'] === null) { $invalidProperties[] = "'merchantAccount' can't be null"; } @@ -978,33 +678,6 @@ public function setAccountInfo($accountInfo) return $this; } - /** - * Gets additionalAmount - * - * @return \Adyen\Model\Checkout\Amount|null - */ - public function getAdditionalAmount() - { - return $this->container['additionalAmount']; - } - - /** - * Sets additionalAmount - * - * @param \Adyen\Model\Checkout\Amount|null $additionalAmount additionalAmount - * - * @return self - */ - public function setAdditionalAmount($additionalAmount) - { - if (is_null($additionalAmount)) { - throw new \InvalidArgumentException('non-nullable additionalAmount cannot be null'); - } - $this->container['additionalAmount'] = $additionalAmount; - - return $this; - } - /** * Gets additionalData * @@ -1032,33 +705,6 @@ public function setAdditionalData($additionalData) return $this; } - /** - * Gets allowedPaymentMethods - * - * @return string[]|null - */ - public function getAllowedPaymentMethods() - { - return $this->container['allowedPaymentMethods']; - } - - /** - * Sets allowedPaymentMethods - * - * @param string[]|null $allowedPaymentMethods List of payment methods to be presented to the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` - * - * @return self - */ - public function setAllowedPaymentMethods($allowedPaymentMethods) - { - if (is_null($allowedPaymentMethods)) { - throw new \InvalidArgumentException('non-nullable allowedPaymentMethods cannot be null'); - } - $this->container['allowedPaymentMethods'] = $allowedPaymentMethods; - - return $this; - } - /** * Gets amount * @@ -1167,33 +813,6 @@ public function setBillingAddress($billingAddress) return $this; } - /** - * Gets blockedPaymentMethods - * - * @return string[]|null - */ - public function getBlockedPaymentMethods() - { - return $this->container['blockedPaymentMethods']; - } - - /** - * Sets blockedPaymentMethods - * - * @param string[]|null $blockedPaymentMethods List of payment methods to be hidden from the shopper. To refer to payment methods, use their [payment method type](https://docs.adyen.com/payment-methods/payment-method-types). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` - * - * @return self - */ - public function setBlockedPaymentMethods($blockedPaymentMethods) - { - if (is_null($blockedPaymentMethods)) { - throw new \InvalidArgumentException('non-nullable blockedPaymentMethods cannot be null'); - } - $this->container['blockedPaymentMethods'] = $blockedPaymentMethods; - - return $this; - } - /** * Gets browserInfo * @@ -1221,31 +840,6 @@ public function setBrowserInfo($browserInfo) return $this; } - /** - * Gets captureDelayHours - * - * @return int|null - */ - public function getCaptureDelayHours() - { - return $this->container['captureDelayHours']; - } - - /** - * Sets captureDelayHours - * - * @param int|null $captureDelayHours The delay between the authorisation and scheduled auto-capture, specified in hours. - * - * @return self - */ - public function setCaptureDelayHours($captureDelayHours) - { - // Do nothing for nullable integers - $this->container['captureDelayHours'] = $captureDelayHours; - - return $this; - } - /** * Gets channel * @@ -1310,33 +904,6 @@ public function setCheckoutAttemptId($checkoutAttemptId) return $this; } - /** - * Gets company - * - * @return \Adyen\Model\Checkout\Company|null - */ - public function getCompany() - { - return $this->container['company']; - } - - /** - * Sets company - * - * @param \Adyen\Model\Checkout\Company|null $company company - * - * @return self - */ - public function setCompany($company) - { - if (is_null($company)) { - throw new \InvalidArgumentException('non-nullable company cannot be null'); - } - $this->container['company'] = $company; - - return $this; - } - /** * Gets conversionId * @@ -1420,33 +987,6 @@ public function setDateOfBirth($dateOfBirth) return $this; } - /** - * Gets dccQuote - * - * @return \Adyen\Model\Checkout\ForexQuote|null - */ - public function getDccQuote() - { - return $this->container['dccQuote']; - } - - /** - * Sets dccQuote - * - * @param \Adyen\Model\Checkout\ForexQuote|null $dccQuote dccQuote - * - * @return self - */ - public function setDccQuote($dccQuote) - { - if (is_null($dccQuote)) { - throw new \InvalidArgumentException('non-nullable dccQuote cannot be null'); - } - $this->container['dccQuote'] = $dccQuote; - - return $this; - } - /** * Gets deliverAt * @@ -1501,33 +1041,6 @@ public function setDeliveryAddress($deliveryAddress) return $this; } - /** - * Gets deliveryDate - * - * @return \DateTime|null - */ - public function getDeliveryDate() - { - return $this->container['deliveryDate']; - } - - /** - * Sets deliveryDate - * - * @param \DateTime|null $deliveryDate The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 - * - * @return self - */ - public function setDeliveryDate($deliveryDate) - { - if (is_null($deliveryDate)) { - throw new \InvalidArgumentException('non-nullable deliveryDate cannot be null'); - } - $this->container['deliveryDate'] = $deliveryDate; - - return $this; - } - /** * Gets deviceFingerprint * @@ -1637,774 +1150,233 @@ public function setDonationToken($donationToken) } /** - * Gets enableOneClick + * Gets lineItems * - * @return bool|null + * @return \Adyen\Model\Checkout\LineItem[]|null */ - public function getEnableOneClick() + public function getLineItems() { - return $this->container['enableOneClick']; + return $this->container['lineItems']; } /** - * Sets enableOneClick + * Sets lineItems * - * @param bool|null $enableOneClick When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments. + * @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. * * @return self */ - public function setEnableOneClick($enableOneClick) + public function setLineItems($lineItems) { - if (is_null($enableOneClick)) { - throw new \InvalidArgumentException('non-nullable enableOneClick cannot be null'); + if (is_null($lineItems)) { + throw new \InvalidArgumentException('non-nullable lineItems cannot be null'); } - $this->container['enableOneClick'] = $enableOneClick; + $this->container['lineItems'] = $lineItems; return $this; } /** - * Gets enablePayOut + * Gets merchantAccount * - * @return bool|null + * @return string */ - public function getEnablePayOut() + public function getMerchantAccount() { - return $this->container['enablePayOut']; + return $this->container['merchantAccount']; } /** - * Sets enablePayOut + * Sets merchantAccount * - * @param bool|null $enablePayOut When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + * @param string $merchantAccount The merchant account identifier, with which you want to process the transaction. * * @return self */ - public function setEnablePayOut($enablePayOut) + public function setMerchantAccount($merchantAccount) { - if (is_null($enablePayOut)) { - throw new \InvalidArgumentException('non-nullable enablePayOut cannot be null'); + if (is_null($merchantAccount)) { + throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); } - $this->container['enablePayOut'] = $enablePayOut; + $this->container['merchantAccount'] = $merchantAccount; return $this; } /** - * Gets enableRecurring + * Gets merchantRiskIndicator * - * @return bool|null + * @return \Adyen\Model\Checkout\MerchantRiskIndicator|null */ - public function getEnableRecurring() + public function getMerchantRiskIndicator() { - return $this->container['enableRecurring']; + return $this->container['merchantRiskIndicator']; } /** - * Sets enableRecurring + * Sets merchantRiskIndicator * - * @param bool|null $enableRecurring When true and `shopperReference` is provided, the payment details will be tokenized for recurring payments. + * @param \Adyen\Model\Checkout\MerchantRiskIndicator|null $merchantRiskIndicator merchantRiskIndicator * * @return self */ - public function setEnableRecurring($enableRecurring) + public function setMerchantRiskIndicator($merchantRiskIndicator) { - if (is_null($enableRecurring)) { - throw new \InvalidArgumentException('non-nullable enableRecurring cannot be null'); + if (is_null($merchantRiskIndicator)) { + throw new \InvalidArgumentException('non-nullable merchantRiskIndicator cannot be null'); } - $this->container['enableRecurring'] = $enableRecurring; + $this->container['merchantRiskIndicator'] = $merchantRiskIndicator; return $this; } /** - * Gets entityType + * Gets metadata * - * @return string|null + * @return array|null */ - public function getEntityType() + public function getMetadata() { - return $this->container['entityType']; + return $this->container['metadata']; } /** - * Sets entityType + * Sets metadata * - * @param string|null $entityType The type of the entity the payment is processed for. + * @param array|null $metadata Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. * * @return self */ - public function setEntityType($entityType) + public function setMetadata($metadata) { - if (is_null($entityType)) { - throw new \InvalidArgumentException('non-nullable entityType cannot be null'); - } - $allowedValues = $this->getEntityTypeAllowableValues(); - if (!in_array($entityType, $allowedValues, true)) { - throw new \InvalidArgumentException( - sprintf( - "Invalid value '%s' for 'entityType', must be one of '%s'", - $entityType, - implode("', '", $allowedValues) - ) - ); + if (is_null($metadata)) { + throw new \InvalidArgumentException('non-nullable metadata cannot be null'); } - $this->container['entityType'] = $entityType; + $this->container['metadata'] = $metadata; return $this; } /** - * Gets fraudOffset + * Gets mpiData * - * @return int|null + * @return \Adyen\Model\Checkout\ThreeDSecureData|null */ - public function getFraudOffset() + public function getMpiData() { - return $this->container['fraudOffset']; + return $this->container['mpiData']; } /** - * Sets fraudOffset + * Sets mpiData * - * @param int|null $fraudOffset An integer value that is added to the normal fraud score. The value can be either positive or negative. + * @param \Adyen\Model\Checkout\ThreeDSecureData|null $mpiData mpiData * * @return self */ - public function setFraudOffset($fraudOffset) + public function setMpiData($mpiData) { - // Do nothing for nullable integers - $this->container['fraudOffset'] = $fraudOffset; + if (is_null($mpiData)) { + throw new \InvalidArgumentException('non-nullable mpiData cannot be null'); + } + $this->container['mpiData'] = $mpiData; return $this; } /** - * Gets fundOrigin + * Gets origin * - * @return \Adyen\Model\Checkout\FundOrigin|null + * @return string|null */ - public function getFundOrigin() + public function getOrigin() { - return $this->container['fundOrigin']; + return $this->container['origin']; } /** - * Sets fundOrigin + * Sets origin * - * @param \Adyen\Model\Checkout\FundOrigin|null $fundOrigin fundOrigin + * @param string|null $origin Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. * * @return self */ - public function setFundOrigin($fundOrigin) + public function setOrigin($origin) { - if (is_null($fundOrigin)) { - throw new \InvalidArgumentException('non-nullable fundOrigin cannot be null'); + if (is_null($origin)) { + throw new \InvalidArgumentException('non-nullable origin cannot be null'); } - $this->container['fundOrigin'] = $fundOrigin; + $this->container['origin'] = $origin; return $this; } /** - * Gets fundRecipient + * Gets paymentMethod * - * @return \Adyen\Model\Checkout\FundRecipient|null + * @return \Adyen\Model\Checkout\DonationPaymentMethod */ - public function getFundRecipient() + public function getPaymentMethod() { - return $this->container['fundRecipient']; + return $this->container['paymentMethod']; } /** - * Sets fundRecipient + * Sets paymentMethod * - * @param \Adyen\Model\Checkout\FundRecipient|null $fundRecipient fundRecipient + * @param \Adyen\Model\Checkout\DonationPaymentMethod $paymentMethod paymentMethod * * @return self */ - public function setFundRecipient($fundRecipient) + public function setPaymentMethod($paymentMethod) { - if (is_null($fundRecipient)) { - throw new \InvalidArgumentException('non-nullable fundRecipient cannot be null'); + if (is_null($paymentMethod)) { + throw new \InvalidArgumentException('non-nullable paymentMethod cannot be null'); } - $this->container['fundRecipient'] = $fundRecipient; + $this->container['paymentMethod'] = $paymentMethod; return $this; } /** - * Gets fundingSource + * Gets recurringProcessingModel * * @return string|null */ - public function getFundingSource() + public function getRecurringProcessingModel() { - return $this->container['fundingSource']; + return $this->container['recurringProcessingModel']; } /** - * Sets fundingSource + * Sets recurringProcessingModel * - * @param string|null $fundingSource The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. + * @param string|null $recurringProcessingModel Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. * * @return self */ - public function setFundingSource($fundingSource) + public function setRecurringProcessingModel($recurringProcessingModel) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); + if (is_null($recurringProcessingModel)) { + throw new \InvalidArgumentException('non-nullable recurringProcessingModel cannot be null'); } - $allowedValues = $this->getFundingSourceAllowableValues(); - if (!in_array($fundingSource, $allowedValues, true)) { + $allowedValues = $this->getRecurringProcessingModelAllowableValues(); + if (!in_array($recurringProcessingModel, $allowedValues, true)) { throw new \InvalidArgumentException( sprintf( - "Invalid value '%s' for 'fundingSource', must be one of '%s'", - $fundingSource, + "Invalid value '%s' for 'recurringProcessingModel', must be one of '%s'", + $recurringProcessingModel, implode("', '", $allowedValues) ) ); } - $this->container['fundingSource'] = $fundingSource; + $this->container['recurringProcessingModel'] = $recurringProcessingModel; return $this; } /** - * Gets industryUsage - * - * @return string|null - */ - public function getIndustryUsage() - { - return $this->container['industryUsage']; - } - - /** - * Sets industryUsage - * - * @param string|null $industryUsage The reason for the amount update. Possible values: * **delayedCharge** * **noShow** * **installment** - * - * @return self - */ - public function setIndustryUsage($industryUsage) - { - if (is_null($industryUsage)) { - throw new \InvalidArgumentException('non-nullable industryUsage cannot be null'); - } - $allowedValues = $this->getIndustryUsageAllowableValues(); - if (!in_array($industryUsage, $allowedValues, true)) { - throw new \InvalidArgumentException( - sprintf( - "Invalid value '%s' for 'industryUsage', must be one of '%s'", - $industryUsage, - implode("', '", $allowedValues) - ) - ); - } - $this->container['industryUsage'] = $industryUsage; - - return $this; - } - - /** - * Gets installments - * - * @return \Adyen\Model\Checkout\Installments|null - */ - public function getInstallments() - { - return $this->container['installments']; - } - - /** - * Sets installments - * - * @param \Adyen\Model\Checkout\Installments|null $installments installments - * - * @return self - */ - public function setInstallments($installments) - { - if (is_null($installments)) { - throw new \InvalidArgumentException('non-nullable installments cannot be null'); - } - $this->container['installments'] = $installments; - - return $this; - } - - /** - * Gets lineItems - * - * @return \Adyen\Model\Checkout\LineItem[]|null - */ - public function getLineItems() - { - return $this->container['lineItems']; - } - - /** - * Sets lineItems - * - * @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. - * - * @return self - */ - public function setLineItems($lineItems) - { - if (is_null($lineItems)) { - throw new \InvalidArgumentException('non-nullable lineItems cannot be null'); - } - $this->container['lineItems'] = $lineItems; - - return $this; - } - - /** - * Gets localizedShopperStatement - * - * @return array|null - */ - public function getLocalizedShopperStatement() - { - return $this->container['localizedShopperStatement']; - } - - /** - * Sets localizedShopperStatement - * - * @param array|null $localizedShopperStatement The `localizedShopperStatement` field lets you use dynamic values for your shopper statement in a local character set. If not supplied, left empty, or for cross-border transactions, **shopperStatement** is used. Adyen currently supports the ja-Kana character set for Visa and Mastercard payments in Japan using Japanese cards. This character set supports: * UTF-8 based Katakana, capital letters, numbers and special characters. * Half-width or full-width characters. - * - * @return self - */ - public function setLocalizedShopperStatement($localizedShopperStatement) - { - if (is_null($localizedShopperStatement)) { - throw new \InvalidArgumentException('non-nullable localizedShopperStatement cannot be null'); - } - $this->container['localizedShopperStatement'] = $localizedShopperStatement; - - return $this; - } - - /** - * Gets mandate - * - * @return \Adyen\Model\Checkout\Mandate|null - */ - public function getMandate() - { - return $this->container['mandate']; - } - - /** - * Sets mandate - * - * @param \Adyen\Model\Checkout\Mandate|null $mandate mandate - * - * @return self - */ - public function setMandate($mandate) - { - if (is_null($mandate)) { - throw new \InvalidArgumentException('non-nullable mandate cannot be null'); - } - $this->container['mandate'] = $mandate; - - return $this; - } - - /** - * Gets mcc - * - * @return string|null - */ - public function getMcc() - { - return $this->container['mcc']; - } - - /** - * Sets mcc - * - * @param string|null $mcc The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. - * - * @return self - */ - public function setMcc($mcc) - { - if (is_null($mcc)) { - throw new \InvalidArgumentException('non-nullable mcc cannot be null'); - } - $this->container['mcc'] = $mcc; - - return $this; - } - - /** - * Gets merchantAccount - * - * @return string - */ - public function getMerchantAccount() - { - return $this->container['merchantAccount']; - } - - /** - * Sets merchantAccount - * - * @param string $merchantAccount The merchant account identifier, with which you want to process the transaction. - * - * @return self - */ - public function setMerchantAccount($merchantAccount) - { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } - $this->container['merchantAccount'] = $merchantAccount; - - return $this; - } - - /** - * Gets merchantOrderReference - * - * @return string|null - */ - public function getMerchantOrderReference() - { - return $this->container['merchantOrderReference']; - } - - /** - * Sets merchantOrderReference - * - * @param string|null $merchantOrderReference This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. - * - * @return self - */ - public function setMerchantOrderReference($merchantOrderReference) - { - if (is_null($merchantOrderReference)) { - throw new \InvalidArgumentException('non-nullable merchantOrderReference cannot be null'); - } - $this->container['merchantOrderReference'] = $merchantOrderReference; - - return $this; - } - - /** - * Gets merchantRiskIndicator - * - * @return \Adyen\Model\Checkout\MerchantRiskIndicator|null - */ - public function getMerchantRiskIndicator() - { - return $this->container['merchantRiskIndicator']; - } - - /** - * Sets merchantRiskIndicator - * - * @param \Adyen\Model\Checkout\MerchantRiskIndicator|null $merchantRiskIndicator merchantRiskIndicator - * - * @return self - */ - public function setMerchantRiskIndicator($merchantRiskIndicator) - { - if (is_null($merchantRiskIndicator)) { - throw new \InvalidArgumentException('non-nullable merchantRiskIndicator cannot be null'); - } - $this->container['merchantRiskIndicator'] = $merchantRiskIndicator; - - return $this; - } - - /** - * Gets metadata - * - * @return array|null - */ - public function getMetadata() - { - return $this->container['metadata']; - } - - /** - * Sets metadata - * - * @param array|null $metadata Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. When exceeding, the \"177\" error occurs: \"Metadata size exceeds limit\". * Maximum 20 characters per key. * Maximum 80 characters per value. - * - * @return self - */ - public function setMetadata($metadata) - { - if (is_null($metadata)) { - throw new \InvalidArgumentException('non-nullable metadata cannot be null'); - } - $this->container['metadata'] = $metadata; - - return $this; - } - - /** - * Gets mpiData - * - * @return \Adyen\Model\Checkout\ThreeDSecureData|null - */ - public function getMpiData() - { - return $this->container['mpiData']; - } - - /** - * Sets mpiData - * - * @param \Adyen\Model\Checkout\ThreeDSecureData|null $mpiData mpiData - * - * @return self - */ - public function setMpiData($mpiData) - { - if (is_null($mpiData)) { - throw new \InvalidArgumentException('non-nullable mpiData cannot be null'); - } - $this->container['mpiData'] = $mpiData; - - return $this; - } - - /** - * Gets order - * - * @return \Adyen\Model\Checkout\EncryptedOrderData|null - */ - public function getOrder() - { - return $this->container['order']; - } - - /** - * Sets order - * - * @param \Adyen\Model\Checkout\EncryptedOrderData|null $order order - * - * @return self - */ - public function setOrder($order) - { - if (is_null($order)) { - throw new \InvalidArgumentException('non-nullable order cannot be null'); - } - $this->container['order'] = $order; - - return $this; - } - - /** - * Gets orderReference - * - * @return string|null - */ - public function getOrderReference() - { - return $this->container['orderReference']; - } - - /** - * Sets orderReference - * - * @param string|null $orderReference When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. - * - * @return self - */ - public function setOrderReference($orderReference) - { - if (is_null($orderReference)) { - throw new \InvalidArgumentException('non-nullable orderReference cannot be null'); - } - $this->container['orderReference'] = $orderReference; - - return $this; - } - - /** - * Gets origin - * - * @return string|null - */ - public function getOrigin() - { - return $this->container['origin']; - } - - /** - * Sets origin - * - * @param string|null $origin Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. - * - * @return self - */ - public function setOrigin($origin) - { - if (is_null($origin)) { - throw new \InvalidArgumentException('non-nullable origin cannot be null'); - } - $this->container['origin'] = $origin; - - return $this; - } - - /** - * Gets paymentMethod - * - * @return \Adyen\Model\Checkout\DonationPaymentMethod - */ - public function getPaymentMethod() - { - return $this->container['paymentMethod']; - } - - /** - * Sets paymentMethod - * - * @param \Adyen\Model\Checkout\DonationPaymentMethod $paymentMethod paymentMethod - * - * @return self - */ - public function setPaymentMethod($paymentMethod) - { - if (is_null($paymentMethod)) { - throw new \InvalidArgumentException('non-nullable paymentMethod cannot be null'); - } - $this->container['paymentMethod'] = $paymentMethod; - - return $this; - } - - /** - * Gets platformChargebackLogic - * - * @return \Adyen\Model\Checkout\PlatformChargebackLogic|null - */ - public function getPlatformChargebackLogic() - { - return $this->container['platformChargebackLogic']; - } - - /** - * Sets platformChargebackLogic - * - * @param \Adyen\Model\Checkout\PlatformChargebackLogic|null $platformChargebackLogic platformChargebackLogic - * - * @return self - */ - public function setPlatformChargebackLogic($platformChargebackLogic) - { - if (is_null($platformChargebackLogic)) { - throw new \InvalidArgumentException('non-nullable platformChargebackLogic cannot be null'); - } - $this->container['platformChargebackLogic'] = $platformChargebackLogic; - - return $this; - } - - /** - * Gets recurringExpiry - * - * @return string|null - */ - public function getRecurringExpiry() - { - return $this->container['recurringExpiry']; - } - - /** - * Sets recurringExpiry - * - * @param string|null $recurringExpiry Date after which no further authorisations shall be performed. Only for 3D Secure 2. - * - * @return self - */ - public function setRecurringExpiry($recurringExpiry) - { - if (is_null($recurringExpiry)) { - throw new \InvalidArgumentException('non-nullable recurringExpiry cannot be null'); - } - $this->container['recurringExpiry'] = $recurringExpiry; - - return $this; - } - - /** - * Gets recurringFrequency - * - * @return string|null - */ - public function getRecurringFrequency() - { - return $this->container['recurringFrequency']; - } - - /** - * Sets recurringFrequency - * - * @param string|null $recurringFrequency Minimum number of days between authorisations. Only for 3D Secure 2. - * - * @return self - */ - public function setRecurringFrequency($recurringFrequency) - { - if (is_null($recurringFrequency)) { - throw new \InvalidArgumentException('non-nullable recurringFrequency cannot be null'); - } - $this->container['recurringFrequency'] = $recurringFrequency; - - return $this; - } - - /** - * Gets recurringProcessingModel - * - * @return string|null - */ - public function getRecurringProcessingModel() - { - return $this->container['recurringProcessingModel']; - } - - /** - * Sets recurringProcessingModel - * - * @param string|null $recurringProcessingModel Defines a recurring payment type. Required when creating a token to store payment details or using stored payment details. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. - * - * @return self - */ - public function setRecurringProcessingModel($recurringProcessingModel) - { - if (is_null($recurringProcessingModel)) { - throw new \InvalidArgumentException('non-nullable recurringProcessingModel cannot be null'); - } - $allowedValues = $this->getRecurringProcessingModelAllowableValues(); - if (!in_array($recurringProcessingModel, $allowedValues, true)) { - throw new \InvalidArgumentException( - sprintf( - "Invalid value '%s' for 'recurringProcessingModel', must be one of '%s'", - $recurringProcessingModel, - implode("', '", $allowedValues) - ) - ); - } - $this->container['recurringProcessingModel'] = $recurringProcessingModel; - - return $this; - } - - /** - * Gets redirectFromIssuerMethod + * Gets redirectFromIssuerMethod * * @return string|null */ @@ -2511,60 +1483,6 @@ public function setReturnUrl($returnUrl) return $this; } - /** - * Gets riskData - * - * @return \Adyen\Model\Checkout\RiskData|null - */ - public function getRiskData() - { - return $this->container['riskData']; - } - - /** - * Sets riskData - * - * @param \Adyen\Model\Checkout\RiskData|null $riskData riskData - * - * @return self - */ - public function setRiskData($riskData) - { - if (is_null($riskData)) { - throw new \InvalidArgumentException('non-nullable riskData cannot be null'); - } - $this->container['riskData'] = $riskData; - - return $this; - } - - /** - * Gets selectedRecurringDetailReference - * - * @return string|null - */ - public function getSelectedRecurringDetailReference() - { - return $this->container['selectedRecurringDetailReference']; - } - - /** - * Sets selectedRecurringDetailReference - * - * @param string|null $selectedRecurringDetailReference The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. - * - * @return self - */ - public function setSelectedRecurringDetailReference($selectedRecurringDetailReference) - { - if (is_null($selectedRecurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable selectedRecurringDetailReference cannot be null'); - } - $this->container['selectedRecurringDetailReference'] = $selectedRecurringDetailReference; - - return $this; - } - /** * Gets sessionValidity * @@ -2764,33 +1682,6 @@ public function setShopperReference($shopperReference) return $this; } - /** - * Gets shopperStatement - * - * @return string|null - */ - public function getShopperStatement() - { - return $this->container['shopperStatement']; - } - - /** - * Sets shopperStatement - * - * @param string|null $shopperStatement The text to be shown on the shopper's bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , ' _ - ? + * /_**. - * - * @return self - */ - public function setShopperStatement($shopperStatement) - { - if (is_null($shopperStatement)) { - throw new \InvalidArgumentException('non-nullable shopperStatement cannot be null'); - } - $this->container['shopperStatement'] = $shopperStatement; - - return $this; - } - /** * Gets socialSecurityNumber * @@ -2818,87 +1709,6 @@ public function setSocialSecurityNumber($socialSecurityNumber) return $this; } - /** - * Gets splits - * - * @return \Adyen\Model\Checkout\Split[]|null - */ - public function getSplits() - { - return $this->container['splits']; - } - - /** - * Sets splits - * - * @param \Adyen\Model\Checkout\Split[]|null $splits An array of objects specifying how to split a payment when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). - * - * @return self - */ - public function setSplits($splits) - { - if (is_null($splits)) { - throw new \InvalidArgumentException('non-nullable splits cannot be null'); - } - $this->container['splits'] = $splits; - - return $this; - } - - /** - * Gets store - * - * @return string|null - */ - public function getStore() - { - return $this->container['store']; - } - - /** - * Sets store - * - * @param string|null $store The ecommerce or point-of-sale store that is processing the payment. Used in: * [Partner platform integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for the [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic). * [Platform setup integrations](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/route-payment-to-store) for the [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms). - * - * @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; - } - - /** - * Gets storePaymentMethod - * - * @return bool|null - */ - public function getStorePaymentMethod() - { - return $this->container['storePaymentMethod']; - } - - /** - * Sets storePaymentMethod - * - * @param bool|null $storePaymentMethod When true and `shopperReference` is provided, the payment details will be stored. - * - * @return self - */ - public function setStorePaymentMethod($storePaymentMethod) - { - if (is_null($storePaymentMethod)) { - throw new \InvalidArgumentException('non-nullable storePaymentMethod cannot be null'); - } - $this->container['storePaymentMethod'] = $storePaymentMethod; - - return $this; - } - /** * Gets telephoneNumber * @@ -2929,7 +1739,7 @@ public function setTelephoneNumber($telephoneNumber) /** * Gets threeDS2RequestData * - * @return \Adyen\Model\Checkout\ThreeDS2RequestData2|null + * @return \Adyen\Model\Checkout\ThreeDS2RequestFields|null */ public function getThreeDS2RequestData() { @@ -2939,7 +1749,7 @@ public function getThreeDS2RequestData() /** * Sets threeDS2RequestData * - * @param \Adyen\Model\Checkout\ThreeDS2RequestData2|null $threeDS2RequestData threeDS2RequestData + * @param \Adyen\Model\Checkout\ThreeDS2RequestFields|null $threeDS2RequestData threeDS2RequestData * * @return self */ @@ -2981,33 +1791,6 @@ public function setThreeDSAuthenticationOnly($threeDSAuthenticationOnly) return $this; } - - /** - * Gets trustedShopper - * - * @return bool|null - */ - public function getTrustedShopper() - { - return $this->container['trustedShopper']; - } - - /** - * Sets trustedShopper - * - * @param bool|null $trustedShopper Set to true if the payment should be routed to a trusted MID. - * - * @return self - */ - public function setTrustedShopper($trustedShopper) - { - if (is_null($trustedShopper)) { - throw new \InvalidArgumentException('non-nullable trustedShopper cannot be null'); - } - $this->container['trustedShopper'] = $trustedShopper; - - return $this; - } /** * Returns true if offset exists. False otherwise. * diff --git a/src/Adyen/Model/Checkout/DonationPaymentResponse.php b/src/Adyen/Model/Checkout/DonationPaymentResponse.php index 0db2c9b8b..0ed91010c 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentResponse.php +++ b/src/Adyen/Model/Checkout/DonationPaymentResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/DotpayDetails.php b/src/Adyen/Model/Checkout/DotpayDetails.php index e6f85363d..7fc3c7bae 100644 --- a/src/Adyen/Model/Checkout/DotpayDetails.php +++ b/src/Adyen/Model/Checkout/DotpayDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/DragonpayDetails.php b/src/Adyen/Model/Checkout/DragonpayDetails.php index 715adb313..f795c17db 100644 --- a/src/Adyen/Model/Checkout/DragonpayDetails.php +++ b/src/Adyen/Model/Checkout/DragonpayDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/EcontextVoucherDetails.php b/src/Adyen/Model/Checkout/EcontextVoucherDetails.php index 286b82ca1..3afc1c385 100644 --- a/src/Adyen/Model/Checkout/EcontextVoucherDetails.php +++ b/src/Adyen/Model/Checkout/EcontextVoucherDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/EncryptedOrderData.php b/src/Adyen/Model/Checkout/EncryptedOrderData.php index 42d09195d..a0d2dfbfb 100644 --- a/src/Adyen/Model/Checkout/EncryptedOrderData.php +++ b/src/Adyen/Model/Checkout/EncryptedOrderData.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ExternalPlatform.php b/src/Adyen/Model/Checkout/ExternalPlatform.php index 84c3803b6..283276919 100644 --- a/src/Adyen/Model/Checkout/ExternalPlatform.php +++ b/src/Adyen/Model/Checkout/ExternalPlatform.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ForexQuote.php b/src/Adyen/Model/Checkout/ForexQuote.php index 2ee604aed..87577ad45 100644 --- a/src/Adyen/Model/Checkout/ForexQuote.php +++ b/src/Adyen/Model/Checkout/ForexQuote.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/FraudCheckResult.php b/src/Adyen/Model/Checkout/FraudCheckResult.php index b3d10a8dd..265c57b35 100644 --- a/src/Adyen/Model/Checkout/FraudCheckResult.php +++ b/src/Adyen/Model/Checkout/FraudCheckResult.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/FraudResult.php b/src/Adyen/Model/Checkout/FraudResult.php index b6e604a5f..b23ed4dfd 100644 --- a/src/Adyen/Model/Checkout/FraudResult.php +++ b/src/Adyen/Model/Checkout/FraudResult.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/FundOrigin.php b/src/Adyen/Model/Checkout/FundOrigin.php index 8a7a7f15d..d82127fb5 100644 --- a/src/Adyen/Model/Checkout/FundOrigin.php +++ b/src/Adyen/Model/Checkout/FundOrigin.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/FundRecipient.php b/src/Adyen/Model/Checkout/FundRecipient.php index 59a52a664..ab2664de4 100644 --- a/src/Adyen/Model/Checkout/FundRecipient.php +++ b/src/Adyen/Model/Checkout/FundRecipient.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php b/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php index f923357cd..c819d7d9f 100644 --- a/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php +++ b/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/GiropayDetails.php b/src/Adyen/Model/Checkout/GiropayDetails.php index a94a6134b..25cef0437 100644 --- a/src/Adyen/Model/Checkout/GiropayDetails.php +++ b/src/Adyen/Model/Checkout/GiropayDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/GooglePayDetails.php b/src/Adyen/Model/Checkout/GooglePayDetails.php index 0ad96cdbe..e188ebac4 100644 --- a/src/Adyen/Model/Checkout/GooglePayDetails.php +++ b/src/Adyen/Model/Checkout/GooglePayDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/IdealDetails.php b/src/Adyen/Model/Checkout/IdealDetails.php index 12bc6f348..6926cf79c 100644 --- a/src/Adyen/Model/Checkout/IdealDetails.php +++ b/src/Adyen/Model/Checkout/IdealDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/InputDetail.php b/src/Adyen/Model/Checkout/InputDetail.php index e8d63c09e..fa77258d0 100644 --- a/src/Adyen/Model/Checkout/InputDetail.php +++ b/src/Adyen/Model/Checkout/InputDetail.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/InstallmentOption.php b/src/Adyen/Model/Checkout/InstallmentOption.php index 27f7bbaf7..ea065932b 100644 --- a/src/Adyen/Model/Checkout/InstallmentOption.php +++ b/src/Adyen/Model/Checkout/InstallmentOption.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/Installments.php b/src/Adyen/Model/Checkout/Installments.php index 90450b7b8..6136c947b 100644 --- a/src/Adyen/Model/Checkout/Installments.php +++ b/src/Adyen/Model/Checkout/Installments.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/InstallmentsNumber.php b/src/Adyen/Model/Checkout/InstallmentsNumber.php index e8b12a77b..38245fb37 100644 --- a/src/Adyen/Model/Checkout/InstallmentsNumber.php +++ b/src/Adyen/Model/Checkout/InstallmentsNumber.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/Item.php b/src/Adyen/Model/Checkout/Item.php index 602566ea0..2b92a46b4 100644 --- a/src/Adyen/Model/Checkout/Item.php +++ b/src/Adyen/Model/Checkout/Item.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/KlarnaDetails.php b/src/Adyen/Model/Checkout/KlarnaDetails.php index 3013874ed..7fe4e2d8a 100644 --- a/src/Adyen/Model/Checkout/KlarnaDetails.php +++ b/src/Adyen/Model/Checkout/KlarnaDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/LineItem.php b/src/Adyen/Model/Checkout/LineItem.php index cfc4c450d..ea9bce2f8 100644 --- a/src/Adyen/Model/Checkout/LineItem.php +++ b/src/Adyen/Model/Checkout/LineItem.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php b/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php index 496dff243..ada358aae 100644 --- a/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php +++ b/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/Mandate.php b/src/Adyen/Model/Checkout/Mandate.php index e377c35ca..9e19599be 100644 --- a/src/Adyen/Model/Checkout/Mandate.php +++ b/src/Adyen/Model/Checkout/Mandate.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/MasterpassDetails.php b/src/Adyen/Model/Checkout/MasterpassDetails.php index 961d65020..efbf4f14f 100644 --- a/src/Adyen/Model/Checkout/MasterpassDetails.php +++ b/src/Adyen/Model/Checkout/MasterpassDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/MbwayDetails.php b/src/Adyen/Model/Checkout/MbwayDetails.php index 20c02e0e4..3ee8c045d 100644 --- a/src/Adyen/Model/Checkout/MbwayDetails.php +++ b/src/Adyen/Model/Checkout/MbwayDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/MerchantDevice.php b/src/Adyen/Model/Checkout/MerchantDevice.php index ab2a8b541..42793e929 100644 --- a/src/Adyen/Model/Checkout/MerchantDevice.php +++ b/src/Adyen/Model/Checkout/MerchantDevice.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/MerchantRiskIndicator.php b/src/Adyen/Model/Checkout/MerchantRiskIndicator.php index bbb763946..793b15ce4 100644 --- a/src/Adyen/Model/Checkout/MerchantRiskIndicator.php +++ b/src/Adyen/Model/Checkout/MerchantRiskIndicator.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/MobilePayDetails.php b/src/Adyen/Model/Checkout/MobilePayDetails.php index 889af7f8e..a00b9d54b 100644 --- a/src/Adyen/Model/Checkout/MobilePayDetails.php +++ b/src/Adyen/Model/Checkout/MobilePayDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ModelInterface.php b/src/Adyen/Model/Checkout/ModelInterface.php index 470e1ea19..661c821be 100644 --- a/src/Adyen/Model/Checkout/ModelInterface.php +++ b/src/Adyen/Model/Checkout/ModelInterface.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/MolPayDetails.php b/src/Adyen/Model/Checkout/MolPayDetails.php index fe3c83165..bb50be1c4 100644 --- a/src/Adyen/Model/Checkout/MolPayDetails.php +++ b/src/Adyen/Model/Checkout/MolPayDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/Name.php b/src/Adyen/Model/Checkout/Name.php index a55db8cc0..b4bcdd2bd 100644 --- a/src/Adyen/Model/Checkout/Name.php +++ b/src/Adyen/Model/Checkout/Name.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ObjectSerializer.php b/src/Adyen/Model/Checkout/ObjectSerializer.php index e15e6ae37..29dd654c7 100644 --- a/src/Adyen/Model/Checkout/ObjectSerializer.php +++ b/src/Adyen/Model/Checkout/ObjectSerializer.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/OpenInvoiceDetails.php b/src/Adyen/Model/Checkout/OpenInvoiceDetails.php index 44ceaa2b1..efbb7c144 100644 --- a/src/Adyen/Model/Checkout/OpenInvoiceDetails.php +++ b/src/Adyen/Model/Checkout/OpenInvoiceDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PayPalDetails.php b/src/Adyen/Model/Checkout/PayPalDetails.php index 80fc9504c..d15a46ebc 100644 --- a/src/Adyen/Model/Checkout/PayPalDetails.php +++ b/src/Adyen/Model/Checkout/PayPalDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PayUUpiDetails.php b/src/Adyen/Model/Checkout/PayUUpiDetails.php index 8b94f1640..64c309842 100644 --- a/src/Adyen/Model/Checkout/PayUUpiDetails.php +++ b/src/Adyen/Model/Checkout/PayUUpiDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PayWithGoogleDetails.php b/src/Adyen/Model/Checkout/PayWithGoogleDetails.php index 8853aefc4..1e3f04c4b 100644 --- a/src/Adyen/Model/Checkout/PayWithGoogleDetails.php +++ b/src/Adyen/Model/Checkout/PayWithGoogleDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php b/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php index c41746a3f..62a133fa5 100644 --- a/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php +++ b/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php b/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php index 60ff51e99..dc9051a3e 100644 --- a/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php +++ b/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -46,6 +46,7 @@ class PaymentAmountUpdateResponse implements ModelInterface, ArrayAccess, \JsonS protected static $openAPITypes = [ 'amount' => '\Adyen\Model\Checkout\Amount', 'industryUsage' => 'string', + 'lineItems' => '\Adyen\Model\Checkout\LineItem[]', 'merchantAccount' => 'string', 'paymentPspReference' => 'string', 'pspReference' => 'string', @@ -64,6 +65,7 @@ class PaymentAmountUpdateResponse implements ModelInterface, ArrayAccess, \JsonS protected static $openAPIFormats = [ 'amount' => null, 'industryUsage' => null, + 'lineItems' => null, 'merchantAccount' => null, 'paymentPspReference' => null, 'pspReference' => null, @@ -80,6 +82,7 @@ class PaymentAmountUpdateResponse implements ModelInterface, ArrayAccess, \JsonS protected static $openAPINullables = [ 'amount' => false, 'industryUsage' => false, + 'lineItems' => false, 'merchantAccount' => false, 'paymentPspReference' => false, 'pspReference' => false, @@ -176,6 +179,7 @@ public function isNullableSetToNull(string $property): bool protected static $attributeMap = [ 'amount' => 'amount', 'industryUsage' => 'industryUsage', + 'lineItems' => 'lineItems', 'merchantAccount' => 'merchantAccount', 'paymentPspReference' => 'paymentPspReference', 'pspReference' => 'pspReference', @@ -192,6 +196,7 @@ public function isNullableSetToNull(string $property): bool protected static $setters = [ 'amount' => 'setAmount', 'industryUsage' => 'setIndustryUsage', + 'lineItems' => 'setLineItems', 'merchantAccount' => 'setMerchantAccount', 'paymentPspReference' => 'setPaymentPspReference', 'pspReference' => 'setPspReference', @@ -208,6 +213,7 @@ public function isNullableSetToNull(string $property): bool protected static $getters = [ 'amount' => 'getAmount', 'industryUsage' => 'getIndustryUsage', + 'lineItems' => 'getLineItems', 'merchantAccount' => 'getMerchantAccount', 'paymentPspReference' => 'getPaymentPspReference', 'pspReference' => 'getPspReference', @@ -303,6 +309,7 @@ public function __construct(array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('industryUsage', $data ?? [], null); + $this->setIfExists('lineItems', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('paymentPspReference', $data ?? [], null); $this->setIfExists('pspReference', $data ?? [], null); @@ -453,6 +460,33 @@ public function setIndustryUsage($industryUsage) return $this; } + /** + * Gets lineItems + * + * @return \Adyen\Model\Checkout\LineItem[]|null + */ + public function getLineItems() + { + return $this->container['lineItems']; + } + + /** + * Sets lineItems + * + * @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip. + * + * @return self + */ + public function setLineItems($lineItems) + { + if (is_null($lineItems)) { + throw new \InvalidArgumentException('non-nullable lineItems cannot be null'); + } + $this->container['lineItems'] = $lineItems; + + return $this; + } + /** * Gets merchantAccount * diff --git a/src/Adyen/Model/Checkout/PaymentCancelRequest.php b/src/Adyen/Model/Checkout/PaymentCancelRequest.php index 2253442c5..51bdd5da6 100644 --- a/src/Adyen/Model/Checkout/PaymentCancelRequest.php +++ b/src/Adyen/Model/Checkout/PaymentCancelRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentCancelResponse.php b/src/Adyen/Model/Checkout/PaymentCancelResponse.php index e57b0b49c..a38995416 100644 --- a/src/Adyen/Model/Checkout/PaymentCancelResponse.php +++ b/src/Adyen/Model/Checkout/PaymentCancelResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentCaptureRequest.php b/src/Adyen/Model/Checkout/PaymentCaptureRequest.php index 67fd2378d..73f605141 100644 --- a/src/Adyen/Model/Checkout/PaymentCaptureRequest.php +++ b/src/Adyen/Model/Checkout/PaymentCaptureRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentCaptureResponse.php b/src/Adyen/Model/Checkout/PaymentCaptureResponse.php index 168d6b021..ce142575e 100644 --- a/src/Adyen/Model/Checkout/PaymentCaptureResponse.php +++ b/src/Adyen/Model/Checkout/PaymentCaptureResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentCompletionDetails.php b/src/Adyen/Model/Checkout/PaymentCompletionDetails.php index 756ca783f..619d151ac 100644 --- a/src/Adyen/Model/Checkout/PaymentCompletionDetails.php +++ b/src/Adyen/Model/Checkout/PaymentCompletionDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentDetails.php b/src/Adyen/Model/Checkout/PaymentDetails.php index 6b5565c7e..1ca42e366 100644 --- a/src/Adyen/Model/Checkout/PaymentDetails.php +++ b/src/Adyen/Model/Checkout/PaymentDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentDetailsRequest.php b/src/Adyen/Model/Checkout/PaymentDetailsRequest.php index d5b4a4f8d..c4482c532 100644 --- a/src/Adyen/Model/Checkout/PaymentDetailsRequest.php +++ b/src/Adyen/Model/Checkout/PaymentDetailsRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentDetailsResponse.php b/src/Adyen/Model/Checkout/PaymentDetailsResponse.php index 2ff71b86e..da3648270 100644 --- a/src/Adyen/Model/Checkout/PaymentDetailsResponse.php +++ b/src/Adyen/Model/Checkout/PaymentDetailsResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentLinkRequest.php b/src/Adyen/Model/Checkout/PaymentLinkRequest.php index 6c326fe99..444921400 100644 --- a/src/Adyen/Model/Checkout/PaymentLinkRequest.php +++ b/src/Adyen/Model/Checkout/PaymentLinkRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -55,7 +55,7 @@ class PaymentLinkRequest implements ModelInterface, ArrayAccess, \JsonSerializab 'deliverAt' => '\DateTime', 'deliveryAddress' => '\Adyen\Model\Checkout\Address', 'description' => 'string', - 'expiresAt' => 'string', + 'expiresAt' => '\DateTime', 'installmentOptions' => 'array', 'lineItems' => '\Adyen\Model\Checkout\LineItem[]', 'manualCapture' => 'bool', @@ -103,7 +103,7 @@ class PaymentLinkRequest implements ModelInterface, ArrayAccess, \JsonSerializab 'deliverAt' => 'date-time', 'deliveryAddress' => null, 'description' => null, - 'expiresAt' => null, + 'expiresAt' => 'date-time', 'installmentOptions' => null, 'lineItems' => null, 'manualCapture' => null, @@ -912,7 +912,7 @@ public function setDescription($description) /** * Gets expiresAt * - * @return string|null + * @return \DateTime|null */ public function getExpiresAt() { @@ -922,7 +922,7 @@ public function getExpiresAt() /** * Sets expiresAt * - * @param string|null $expiresAt The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with time zone designator **Z**: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30Z**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created. + * @param \DateTime|null $expiresAt The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with time zone offset: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created. * * @return self */ diff --git a/src/Adyen/Model/Checkout/PaymentLinkResponse.php b/src/Adyen/Model/Checkout/PaymentLinkResponse.php index d401c0560..d8ab13e20 100644 --- a/src/Adyen/Model/Checkout/PaymentLinkResponse.php +++ b/src/Adyen/Model/Checkout/PaymentLinkResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -55,7 +55,7 @@ class PaymentLinkResponse implements ModelInterface, ArrayAccess, \JsonSerializa 'deliverAt' => '\DateTime', 'deliveryAddress' => '\Adyen\Model\Checkout\Address', 'description' => 'string', - 'expiresAt' => 'string', + 'expiresAt' => '\DateTime', 'id' => 'string', 'installmentOptions' => 'array', 'lineItems' => '\Adyen\Model\Checkout\LineItem[]', @@ -107,7 +107,7 @@ class PaymentLinkResponse implements ModelInterface, ArrayAccess, \JsonSerializa 'deliverAt' => 'date-time', 'deliveryAddress' => null, 'description' => null, - 'expiresAt' => null, + 'expiresAt' => 'date-time', 'id' => null, 'installmentOptions' => null, 'lineItems' => null, @@ -978,7 +978,7 @@ public function setDescription($description) /** * Gets expiresAt * - * @return string|null + * @return \DateTime|null */ public function getExpiresAt() { @@ -988,7 +988,7 @@ public function getExpiresAt() /** * Sets expiresAt * - * @param string|null $expiresAt The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with time zone designator **Z**: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30Z**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created. + * @param \DateTime|null $expiresAt The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format with time zone offset: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created. * * @return self */ diff --git a/src/Adyen/Model/Checkout/PaymentMethod.php b/src/Adyen/Model/Checkout/PaymentMethod.php index b02b53d01..1c5ce54b1 100644 --- a/src/Adyen/Model/Checkout/PaymentMethod.php +++ b/src/Adyen/Model/Checkout/PaymentMethod.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentMethodGroup.php b/src/Adyen/Model/Checkout/PaymentMethodGroup.php index f63a5d1c8..ffa67663b 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodGroup.php +++ b/src/Adyen/Model/Checkout/PaymentMethodGroup.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentMethodIssuer.php b/src/Adyen/Model/Checkout/PaymentMethodIssuer.php index 2f50f4da2..93cb2de32 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodIssuer.php +++ b/src/Adyen/Model/Checkout/PaymentMethodIssuer.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentMethodsRequest.php b/src/Adyen/Model/Checkout/PaymentMethodsRequest.php index eae4ce236..941f23372 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodsRequest.php +++ b/src/Adyen/Model/Checkout/PaymentMethodsRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentMethodsResponse.php b/src/Adyen/Model/Checkout/PaymentMethodsResponse.php index 9f60cb534..7b42cbf8c 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodsResponse.php +++ b/src/Adyen/Model/Checkout/PaymentMethodsResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentRefundRequest.php b/src/Adyen/Model/Checkout/PaymentRefundRequest.php index 614a912f0..ea1c28f65 100644 --- a/src/Adyen/Model/Checkout/PaymentRefundRequest.php +++ b/src/Adyen/Model/Checkout/PaymentRefundRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentRefundResponse.php b/src/Adyen/Model/Checkout/PaymentRefundResponse.php index cd5d3b2a0..b5864a2b7 100644 --- a/src/Adyen/Model/Checkout/PaymentRefundResponse.php +++ b/src/Adyen/Model/Checkout/PaymentRefundResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentRequest.php b/src/Adyen/Model/Checkout/PaymentRequest.php index 19a7ae727..bd1cb6d36 100644 --- a/src/Adyen/Model/Checkout/PaymentRequest.php +++ b/src/Adyen/Model/Checkout/PaymentRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -108,7 +108,7 @@ class PaymentRequest implements ModelInterface, ArrayAccess, \JsonSerializable 'store' => 'string', 'storePaymentMethod' => 'bool', 'telephoneNumber' => 'string', - 'threeDS2RequestData' => '\Adyen\Model\Checkout\ThreeDS2RequestData2', + 'threeDS2RequestData' => '\Adyen\Model\Checkout\ThreeDS2RequestFields', 'threeDSAuthenticationOnly' => 'bool', 'trustedShopper' => 'bool' ]; @@ -2659,7 +2659,7 @@ public function setTelephoneNumber($telephoneNumber) /** * Gets threeDS2RequestData * - * @return \Adyen\Model\Checkout\ThreeDS2RequestData2|null + * @return \Adyen\Model\Checkout\ThreeDS2RequestFields|null */ public function getThreeDS2RequestData() { @@ -2669,7 +2669,7 @@ public function getThreeDS2RequestData() /** * Sets threeDS2RequestData * - * @param \Adyen\Model\Checkout\ThreeDS2RequestData2|null $threeDS2RequestData threeDS2RequestData + * @param \Adyen\Model\Checkout\ThreeDS2RequestFields|null $threeDS2RequestData threeDS2RequestData * * @return self */ diff --git a/src/Adyen/Model/Checkout/PaymentResponse.php b/src/Adyen/Model/Checkout/PaymentResponse.php index 298294231..95040ec4f 100644 --- a/src/Adyen/Model/Checkout/PaymentResponse.php +++ b/src/Adyen/Model/Checkout/PaymentResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentResponseAction.php b/src/Adyen/Model/Checkout/PaymentResponseAction.php index f5684dd44..2c1838a5e 100644 --- a/src/Adyen/Model/Checkout/PaymentResponseAction.php +++ b/src/Adyen/Model/Checkout/PaymentResponseAction.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentReversalRequest.php b/src/Adyen/Model/Checkout/PaymentReversalRequest.php index 383d6228c..484b98273 100644 --- a/src/Adyen/Model/Checkout/PaymentReversalRequest.php +++ b/src/Adyen/Model/Checkout/PaymentReversalRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentReversalResponse.php b/src/Adyen/Model/Checkout/PaymentReversalResponse.php index cd1050e5c..0a2953c0d 100644 --- a/src/Adyen/Model/Checkout/PaymentReversalResponse.php +++ b/src/Adyen/Model/Checkout/PaymentReversalResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentSetupRequest.php b/src/Adyen/Model/Checkout/PaymentSetupRequest.php index 7ec31a941..bb6f5edb6 100644 --- a/src/Adyen/Model/Checkout/PaymentSetupRequest.php +++ b/src/Adyen/Model/Checkout/PaymentSetupRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentSetupResponse.php b/src/Adyen/Model/Checkout/PaymentSetupResponse.php index c252f7a2f..2cae7555a 100644 --- a/src/Adyen/Model/Checkout/PaymentSetupResponse.php +++ b/src/Adyen/Model/Checkout/PaymentSetupResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentVerificationRequest.php b/src/Adyen/Model/Checkout/PaymentVerificationRequest.php index cf4bd3c9b..8db20e3f9 100644 --- a/src/Adyen/Model/Checkout/PaymentVerificationRequest.php +++ b/src/Adyen/Model/Checkout/PaymentVerificationRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PaymentVerificationResponse.php b/src/Adyen/Model/Checkout/PaymentVerificationResponse.php index 7c79c54ee..7a69124b8 100644 --- a/src/Adyen/Model/Checkout/PaymentVerificationResponse.php +++ b/src/Adyen/Model/Checkout/PaymentVerificationResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -52,7 +52,7 @@ class PaymentVerificationResponse implements ModelInterface, ArrayAccess, \JsonS 'refusalReason' => 'string', 'refusalReasonCode' => 'string', 'resultCode' => 'string', - 'serviceError' => '\Adyen\Model\Checkout\ServiceError2', + 'serviceError' => '\Adyen\Model\Checkout\ServiceErrorDetails', 'shopperLocale' => 'string' ]; @@ -621,7 +621,7 @@ public function setResultCode($resultCode) /** * Gets serviceError * - * @return \Adyen\Model\Checkout\ServiceError2|null + * @return \Adyen\Model\Checkout\ServiceErrorDetails|null */ public function getServiceError() { @@ -631,7 +631,7 @@ public function getServiceError() /** * Sets serviceError * - * @param \Adyen\Model\Checkout\ServiceError2|null $serviceError serviceError + * @param \Adyen\Model\Checkout\ServiceErrorDetails|null $serviceError serviceError * * @return self */ diff --git a/src/Adyen/Model/Checkout/Phone.php b/src/Adyen/Model/Checkout/Phone.php index c1317d50f..67d26bd86 100644 --- a/src/Adyen/Model/Checkout/Phone.php +++ b/src/Adyen/Model/Checkout/Phone.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/PlatformChargebackLogic.php b/src/Adyen/Model/Checkout/PlatformChargebackLogic.php index 7d77e96e4..530eb5a3b 100644 --- a/src/Adyen/Model/Checkout/PlatformChargebackLogic.php +++ b/src/Adyen/Model/Checkout/PlatformChargebackLogic.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/RatepayDetails.php b/src/Adyen/Model/Checkout/RatepayDetails.php index 940a36303..29055bb4b 100644 --- a/src/Adyen/Model/Checkout/RatepayDetails.php +++ b/src/Adyen/Model/Checkout/RatepayDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/Recurring.php b/src/Adyen/Model/Checkout/Recurring.php index 17cb6776a..2a06af608 100644 --- a/src/Adyen/Model/Checkout/Recurring.php +++ b/src/Adyen/Model/Checkout/Recurring.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -244,6 +244,8 @@ public function getModelName() public const CONTRACT_PAYOUT = 'PAYOUT'; public const TOKEN_SERVICE_VISATOKENSERVICE = 'VISATOKENSERVICE'; public const TOKEN_SERVICE_MCTOKENSERVICE = 'MCTOKENSERVICE'; + public const TOKEN_SERVICE_AMEXTOKENSERVICE = 'AMEXTOKENSERVICE'; + public const TOKEN_SERVICE_TOKEN_SHARING = 'TOKEN_SHARING'; /** * Gets allowable values of the enum @@ -268,6 +270,8 @@ public function getTokenServiceAllowableValues() return [ self::TOKEN_SERVICE_VISATOKENSERVICE, self::TOKEN_SERVICE_MCTOKENSERVICE, + self::TOKEN_SERVICE_AMEXTOKENSERVICE, + self::TOKEN_SERVICE_TOKEN_SHARING, ]; } /** diff --git a/src/Adyen/Model/Checkout/RecurringDetail.php b/src/Adyen/Model/Checkout/RecurringDetail.php index ae16687f3..f8c9fe0f9 100644 --- a/src/Adyen/Model/Checkout/RecurringDetail.php +++ b/src/Adyen/Model/Checkout/RecurringDetail.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php b/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php index d333adfaa..1b3bbfb9e 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php index e1b1c97ec..7ea9ef74e 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php index 628b26031..953154f5e 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php index 62d15c2c6..a17aa34dd 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php index 5321b5050..02e20aa68 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php index d2895c0c6..acf76b612 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php index c54b7e34b..40fa6e552 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php index cc305a24e..195220692 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ResponsePaymentMethod.php b/src/Adyen/Model/Checkout/ResponsePaymentMethod.php index a088001b0..e0e0787f1 100644 --- a/src/Adyen/Model/Checkout/ResponsePaymentMethod.php +++ b/src/Adyen/Model/Checkout/ResponsePaymentMethod.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/RiskData.php b/src/Adyen/Model/Checkout/RiskData.php index 4b1ea0b0d..f04428c92 100644 --- a/src/Adyen/Model/Checkout/RiskData.php +++ b/src/Adyen/Model/Checkout/RiskData.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/SDKEphemPubKey.php b/src/Adyen/Model/Checkout/SDKEphemPubKey.php index 2043e041e..d02c3754d 100644 --- a/src/Adyen/Model/Checkout/SDKEphemPubKey.php +++ b/src/Adyen/Model/Checkout/SDKEphemPubKey.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/SamsungPayDetails.php b/src/Adyen/Model/Checkout/SamsungPayDetails.php index 2a8069c75..5d761deec 100644 --- a/src/Adyen/Model/Checkout/SamsungPayDetails.php +++ b/src/Adyen/Model/Checkout/SamsungPayDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php b/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php index 0faa3aac3..c358ea30a 100644 --- a/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php +++ b/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ServiceError.php b/src/Adyen/Model/Checkout/ServiceError.php index 912c56db2..50c56f697 100644 --- a/src/Adyen/Model/Checkout/ServiceError.php +++ b/src/Adyen/Model/Checkout/ServiceError.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ServiceError2.php b/src/Adyen/Model/Checkout/ServiceErrorDetails.php similarity index 97% rename from src/Adyen/Model/Checkout/ServiceError2.php rename to src/Adyen/Model/Checkout/ServiceErrorDetails.php index f6d3f432d..b046de338 100644 --- a/src/Adyen/Model/Checkout/ServiceError2.php +++ b/src/Adyen/Model/Checkout/ServiceErrorDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -19,7 +19,7 @@ use Adyen\Model\Checkout\ObjectSerializer; /** - * ServiceError2 Class Doc Comment + * ServiceErrorDetails Class Doc Comment * * @category Class * @package Adyen @@ -27,7 +27,7 @@ * @link https://openapi-generator.tech * @implements \ArrayAccess */ -class ServiceError2 implements ModelInterface, ArrayAccess, \JsonSerializable +class ServiceErrorDetails implements ModelInterface, ArrayAccess, \JsonSerializable { public const DISCRIMINATOR = null; @@ -36,7 +36,7 @@ class ServiceError2 implements ModelInterface, ArrayAccess, \JsonSerializable * * @var string */ - protected static $openAPIModelName = 'ServiceError-2'; + protected static $openAPIModelName = 'ServiceErrorDetails'; /** * Array of property to type mappings. Used for (de)serialization diff --git a/src/Adyen/Model/Checkout/SessionResultResponse.php b/src/Adyen/Model/Checkout/SessionResultResponse.php index 58ab652a1..8d195dea2 100644 --- a/src/Adyen/Model/Checkout/SessionResultResponse.php +++ b/src/Adyen/Model/Checkout/SessionResultResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ShopperInput.php b/src/Adyen/Model/Checkout/ShopperInput.php index c8b85e506..e9a6dffcb 100644 --- a/src/Adyen/Model/Checkout/ShopperInput.php +++ b/src/Adyen/Model/Checkout/ShopperInput.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ShopperInteractionDevice.php b/src/Adyen/Model/Checkout/ShopperInteractionDevice.php index 5c4734723..999901d36 100644 --- a/src/Adyen/Model/Checkout/ShopperInteractionDevice.php +++ b/src/Adyen/Model/Checkout/ShopperInteractionDevice.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/Split.php b/src/Adyen/Model/Checkout/Split.php index 70d50cc31..2e27eda1a 100644 --- a/src/Adyen/Model/Checkout/Split.php +++ b/src/Adyen/Model/Checkout/Split.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/SplitAmount.php b/src/Adyen/Model/Checkout/SplitAmount.php index ff24e24c8..614eedfa8 100644 --- a/src/Adyen/Model/Checkout/SplitAmount.php +++ b/src/Adyen/Model/Checkout/SplitAmount.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php b/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php index aab63f829..1041ed8e2 100644 --- a/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php +++ b/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php b/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php index 36d412b0b..d6f9286ee 100644 --- a/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php +++ b/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/StoredDetails.php b/src/Adyen/Model/Checkout/StoredDetails.php index d17c8168c..9ab6ce8d1 100644 --- a/src/Adyen/Model/Checkout/StoredDetails.php +++ b/src/Adyen/Model/Checkout/StoredDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethod.php b/src/Adyen/Model/Checkout/StoredPaymentMethod.php index 3272a1d4a..e81aabbca 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethod.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethod.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php b/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php index aafea8888..78fa167e6 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php b/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php index 653f8426f..81b16d608 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/SubInputDetail.php b/src/Adyen/Model/Checkout/SubInputDetail.php index 819a4da9a..f8157f0e6 100644 --- a/src/Adyen/Model/Checkout/SubInputDetail.php +++ b/src/Adyen/Model/Checkout/SubInputDetail.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/SubMerchant.php b/src/Adyen/Model/Checkout/SubMerchant.php index 9faf037f4..597741329 100644 --- a/src/Adyen/Model/Checkout/SubMerchant.php +++ b/src/Adyen/Model/Checkout/SubMerchant.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/SubMerchantInfo.php b/src/Adyen/Model/Checkout/SubMerchantInfo.php index 2a95eb4db..b8cd02f02 100644 --- a/src/Adyen/Model/Checkout/SubMerchantInfo.php +++ b/src/Adyen/Model/Checkout/SubMerchantInfo.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ThreeDS2RequestData.php b/src/Adyen/Model/Checkout/ThreeDS2RequestData.php index d8211a73c..ff669ce11 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2RequestData.php +++ b/src/Adyen/Model/Checkout/ThreeDS2RequestData.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ThreeDS2RequestData2.php b/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php similarity index 99% rename from src/Adyen/Model/Checkout/ThreeDS2RequestData2.php rename to src/Adyen/Model/Checkout/ThreeDS2RequestFields.php index 83f1a9ece..e86012fd4 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2RequestData2.php +++ b/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -19,7 +19,7 @@ use Adyen\Model\Checkout\ObjectSerializer; /** - * ThreeDS2RequestData2 Class Doc Comment + * ThreeDS2RequestFields Class Doc Comment * * @category Class * @package Adyen @@ -27,7 +27,7 @@ * @link https://openapi-generator.tech * @implements \ArrayAccess */ -class ThreeDS2RequestData2 implements ModelInterface, ArrayAccess, \JsonSerializable +class ThreeDS2RequestFields implements ModelInterface, ArrayAccess, \JsonSerializable { public const DISCRIMINATOR = null; @@ -36,7 +36,7 @@ class ThreeDS2RequestData2 implements ModelInterface, ArrayAccess, \JsonSerializ * * @var string */ - protected static $openAPIModelName = 'ThreeDS2RequestData-2'; + protected static $openAPIModelName = 'ThreeDS2RequestFields'; /** * Array of property to type mappings. Used for (de)serialization diff --git a/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php b/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php index 3ec48d161..f96bd05b2 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php +++ b/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ThreeDS2Result.php b/src/Adyen/Model/Checkout/ThreeDS2Result.php index 7e4c19684..73605f2f7 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2Result.php +++ b/src/Adyen/Model/Checkout/ThreeDS2Result.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ThreeDSRequestData.php b/src/Adyen/Model/Checkout/ThreeDSRequestData.php index 8dafba716..235a986e1 100644 --- a/src/Adyen/Model/Checkout/ThreeDSRequestData.php +++ b/src/Adyen/Model/Checkout/ThreeDSRequestData.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php b/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php index 6cc79a154..cca5df038 100644 --- a/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php +++ b/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php b/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php index 1bc4f41a5..e32addd04 100644 --- a/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php +++ b/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ThreeDSecureData.php b/src/Adyen/Model/Checkout/ThreeDSecureData.php index 8739dfb72..dc727a165 100644 --- a/src/Adyen/Model/Checkout/ThreeDSecureData.php +++ b/src/Adyen/Model/Checkout/ThreeDSecureData.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php b/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php index 934285cb4..1e5b3087b 100644 --- a/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php +++ b/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/UpiCollectDetails.php b/src/Adyen/Model/Checkout/UpiCollectDetails.php index 8d8d9b265..343cb1dcf 100644 --- a/src/Adyen/Model/Checkout/UpiCollectDetails.php +++ b/src/Adyen/Model/Checkout/UpiCollectDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/UpiIntentDetails.php b/src/Adyen/Model/Checkout/UpiIntentDetails.php index ab634b5e0..476fd5e01 100644 --- a/src/Adyen/Model/Checkout/UpiIntentDetails.php +++ b/src/Adyen/Model/Checkout/UpiIntentDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/UtilityRequest.php b/src/Adyen/Model/Checkout/UtilityRequest.php index aead598cc..4efba11f8 100644 --- a/src/Adyen/Model/Checkout/UtilityRequest.php +++ b/src/Adyen/Model/Checkout/UtilityRequest.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/UtilityResponse.php b/src/Adyen/Model/Checkout/UtilityResponse.php index a86ad2d0d..b6d6d5bdf 100644 --- a/src/Adyen/Model/Checkout/UtilityResponse.php +++ b/src/Adyen/Model/Checkout/UtilityResponse.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/VippsDetails.php b/src/Adyen/Model/Checkout/VippsDetails.php index b158ed5e5..dce8cf45e 100644 --- a/src/Adyen/Model/Checkout/VippsDetails.php +++ b/src/Adyen/Model/Checkout/VippsDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/VisaCheckoutDetails.php b/src/Adyen/Model/Checkout/VisaCheckoutDetails.php index b4d46cd0f..574346c67 100644 --- a/src/Adyen/Model/Checkout/VisaCheckoutDetails.php +++ b/src/Adyen/Model/Checkout/VisaCheckoutDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/WeChatPayDetails.php b/src/Adyen/Model/Checkout/WeChatPayDetails.php index 6113bf2dd..a124ec219 100644 --- a/src/Adyen/Model/Checkout/WeChatPayDetails.php +++ b/src/Adyen/Model/Checkout/WeChatPayDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php b/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php index cd94ff04e..04e0994ec 100644 --- a/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php +++ b/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Checkout/ZipDetails.php b/src/Adyen/Model/Checkout/ZipDetails.php index 4ae541be9..8b1bb8b39 100644 --- a/src/Adyen/Model/Checkout/ZipDetails.php +++ b/src/Adyen/Model/Checkout/ZipDetails.php @@ -3,7 +3,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * diff --git a/src/Adyen/Model/Disputes/DownloadDefenseDocumentRequest.php b/src/Adyen/Model/Disputes/DownloadDefenseDocumentRequest.php deleted file mode 100644 index dcca98aff..000000000 --- a/src/Adyen/Model/Disputes/DownloadDefenseDocumentRequest.php +++ /dev/null @@ -1,461 +0,0 @@ - - */ -class DownloadDefenseDocumentRequest implements ModelInterface, ArrayAccess, \JsonSerializable -{ - public const DISCRIMINATOR = null; - - /** - * The original name of the model. - * - * @var string - */ - protected static $openAPIModelName = 'DownloadDefenseDocumentRequest'; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $openAPITypes = [ - 'defenseDocumentType' => 'string', - 'disputePspReference' => 'string', - 'merchantAccountCode' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - * @phpstan-var array - * @psalm-var array - */ - protected static $openAPIFormats = [ - 'defenseDocumentType' => null, - 'disputePspReference' => null, - 'merchantAccountCode' => null - ]; - - /** - * Array of nullable properties. Used for (de)serialization - * - * @var boolean[] - */ - protected static $openAPINullables = [ - 'defenseDocumentType' => false, - 'disputePspReference' => false, - 'merchantAccountCode' => 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 = [ - 'defenseDocumentType' => 'defenseDocumentType', - 'disputePspReference' => 'disputePspReference', - 'merchantAccountCode' => 'merchantAccountCode' - ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'defenseDocumentType' => 'setDefenseDocumentType', - 'disputePspReference' => 'setDisputePspReference', - 'merchantAccountCode' => 'setMerchantAccountCode' - ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'defenseDocumentType' => 'getDefenseDocumentType', - 'disputePspReference' => 'getDisputePspReference', - 'merchantAccountCode' => 'getMerchantAccountCode' - ]; - - /** - * 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('defenseDocumentType', $data ?? [], null); - $this->setIfExists('disputePspReference', $data ?? [], null); - $this->setIfExists('merchantAccountCode', $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['defenseDocumentType'] === null) { - $invalidProperties[] = "'defenseDocumentType' can't be null"; - } - if ($this->container['disputePspReference'] === null) { - $invalidProperties[] = "'disputePspReference' can't be null"; - } - if ($this->container['merchantAccountCode'] === null) { - $invalidProperties[] = "'merchantAccountCode' 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 defenseDocumentType - * - * @return string - */ - public function getDefenseDocumentType() - { - return $this->container['defenseDocumentType']; - } - - /** - * Sets defenseDocumentType - * - * @param string $defenseDocumentType The document type code of the defense document. - * - * @return self - */ - public function setDefenseDocumentType($defenseDocumentType) - { - if (is_null($defenseDocumentType)) { - throw new \InvalidArgumentException('non-nullable defenseDocumentType cannot be null'); - } - $this->container['defenseDocumentType'] = $defenseDocumentType; - - return $this; - } - - /** - * Gets disputePspReference - * - * @return string - */ - public function getDisputePspReference() - { - return $this->container['disputePspReference']; - } - - /** - * Sets disputePspReference - * - * @param string $disputePspReference The PSP reference assigned to the dispute. - * - * @return self - */ - public function setDisputePspReference($disputePspReference) - { - if (is_null($disputePspReference)) { - throw new \InvalidArgumentException('non-nullable disputePspReference cannot be null'); - } - $this->container['disputePspReference'] = $disputePspReference; - - return $this; - } - - /** - * Gets merchantAccountCode - * - * @return string - */ - public function getMerchantAccountCode() - { - return $this->container['merchantAccountCode']; - } - - /** - * Sets merchantAccountCode - * - * @param string $merchantAccountCode The merchant account identifier, for which you want to process the dispute transaction. - * - * @return self - */ - public function setMerchantAccountCode($merchantAccountCode) - { - if (is_null($merchantAccountCode)) { - throw new \InvalidArgumentException('non-nullable merchantAccountCode cannot be null'); - } - $this->container['merchantAccountCode'] = $merchantAccountCode; - - 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/Disputes/DownloadDefenseDocumentResponse.php b/src/Adyen/Model/Disputes/DownloadDefenseDocumentResponse.php deleted file mode 100644 index 1951854be..000000000 --- a/src/Adyen/Model/Disputes/DownloadDefenseDocumentResponse.php +++ /dev/null @@ -1,455 +0,0 @@ - - */ -class DownloadDefenseDocumentResponse implements ModelInterface, ArrayAccess, \JsonSerializable -{ - public const DISCRIMINATOR = null; - - /** - * The original name of the model. - * - * @var string - */ - protected static $openAPIModelName = 'DownloadDefenseDocumentResponse'; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $openAPITypes = [ - 'content' => 'string', - 'contentType' => 'string', - 'disputeServiceResult' => '\Adyen\Model\Disputes\DisputeServiceResult' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - * @phpstan-var array - * @psalm-var array - */ - protected static $openAPIFormats = [ - 'content' => 'byte', - 'contentType' => null, - 'disputeServiceResult' => null - ]; - - /** - * Array of nullable properties. Used for (de)serialization - * - * @var boolean[] - */ - protected static $openAPINullables = [ - 'content' => false, - 'contentType' => false, - 'disputeServiceResult' => 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 = [ - 'content' => 'content', - 'contentType' => 'contentType', - 'disputeServiceResult' => 'disputeServiceResult' - ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'content' => 'setContent', - 'contentType' => 'setContentType', - 'disputeServiceResult' => 'setDisputeServiceResult' - ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'content' => 'getContent', - 'contentType' => 'getContentType', - 'disputeServiceResult' => 'getDisputeServiceResult' - ]; - - /** - * 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('content', $data ?? [], null); - $this->setIfExists('contentType', $data ?? [], null); - $this->setIfExists('disputeServiceResult', $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['disputeServiceResult'] === null) { - $invalidProperties[] = "'disputeServiceResult' 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 content - * - * @return string|null - */ - public function getContent() - { - return $this->container['content']; - } - - /** - * Sets content - * - * @param string|null $content The content of the defense document in Base64 binary format. Must be encoded in the format that is specified in the `contentType` field. - * - * @return self - */ - public function setContent($content) - { - if (is_null($content)) { - throw new \InvalidArgumentException('non-nullable content cannot be null'); - } - $this->container['content'] = $content; - - return $this; - } - - /** - * Gets contentType - * - * @return string|null - */ - public function getContentType() - { - return $this->container['contentType']; - } - - /** - * Sets contentType - * - * @param string|null $contentType The content type of the dispute defense document. Possible values: * **image/jpg** * **image/jpeg** * **image/tiff** * **application/pdf** - * - * @return self - */ - public function setContentType($contentType) - { - if (is_null($contentType)) { - throw new \InvalidArgumentException('non-nullable contentType cannot be null'); - } - $this->container['contentType'] = $contentType; - - return $this; - } - - /** - * Gets disputeServiceResult - * - * @return \Adyen\Model\Disputes\DisputeServiceResult - */ - public function getDisputeServiceResult() - { - return $this->container['disputeServiceResult']; - } - - /** - * Sets disputeServiceResult - * - * @param \Adyen\Model\Disputes\DisputeServiceResult $disputeServiceResult disputeServiceResult - * - * @return self - */ - public function setDisputeServiceResult($disputeServiceResult) - { - if (is_null($disputeServiceResult)) { - throw new \InvalidArgumentException('non-nullable disputeServiceResult cannot be null'); - } - $this->container['disputeServiceResult'] = $disputeServiceResult; - - 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/Service/Checkout/ClassicCheckoutSDKApi.php b/src/Adyen/Service/Checkout/ClassicCheckoutSDKApi.php index 1ed20430e..1e113d8b1 100644 --- a/src/Adyen/Service/Checkout/ClassicCheckoutSDKApi.php +++ b/src/Adyen/Service/Checkout/ClassicCheckoutSDKApi.php @@ -2,7 +2,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -36,7 +36,7 @@ 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://checkout-test.adyen.com/v70"); + $this->baseURL = $this->createBaseUrl("https://checkout-test.adyen.com/v71"); } /** diff --git a/src/Adyen/Service/Checkout/ModificationsApi.php b/src/Adyen/Service/Checkout/ModificationsApi.php index 48dce4dcb..17c3d4d95 100644 --- a/src/Adyen/Service/Checkout/ModificationsApi.php +++ b/src/Adyen/Service/Checkout/ModificationsApi.php @@ -2,7 +2,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -36,7 +36,7 @@ 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://checkout-test.adyen.com/v70"); + $this->baseURL = $this->createBaseUrl("https://checkout-test.adyen.com/v71"); } /** diff --git a/src/Adyen/Service/Checkout/OrdersApi.php b/src/Adyen/Service/Checkout/OrdersApi.php index a7df0fcad..718453537 100644 --- a/src/Adyen/Service/Checkout/OrdersApi.php +++ b/src/Adyen/Service/Checkout/OrdersApi.php @@ -2,7 +2,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -36,7 +36,7 @@ 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://checkout-test.adyen.com/v70"); + $this->baseURL = $this->createBaseUrl("https://checkout-test.adyen.com/v71"); } /** diff --git a/src/Adyen/Service/Checkout/PaymentLinksApi.php b/src/Adyen/Service/Checkout/PaymentLinksApi.php index 79ffcbee9..195d7765f 100644 --- a/src/Adyen/Service/Checkout/PaymentLinksApi.php +++ b/src/Adyen/Service/Checkout/PaymentLinksApi.php @@ -2,7 +2,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -36,7 +36,7 @@ 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://checkout-test.adyen.com/v70"); + $this->baseURL = $this->createBaseUrl("https://checkout-test.adyen.com/v71"); } /** diff --git a/src/Adyen/Service/Checkout/PaymentsApi.php b/src/Adyen/Service/Checkout/PaymentsApi.php index 823b1319a..262c05e8c 100644 --- a/src/Adyen/Service/Checkout/PaymentsApi.php +++ b/src/Adyen/Service/Checkout/PaymentsApi.php @@ -2,7 +2,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -36,7 +36,7 @@ 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://checkout-test.adyen.com/v70"); + $this->baseURL = $this->createBaseUrl("https://checkout-test.adyen.com/v71"); } /** diff --git a/src/Adyen/Service/Checkout/RecurringApi.php b/src/Adyen/Service/Checkout/RecurringApi.php index 652995197..58ef0e9df 100644 --- a/src/Adyen/Service/Checkout/RecurringApi.php +++ b/src/Adyen/Service/Checkout/RecurringApi.php @@ -2,7 +2,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -36,7 +36,7 @@ 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://checkout-test.adyen.com/v70"); + $this->baseURL = $this->createBaseUrl("https://checkout-test.adyen.com/v71"); } /** diff --git a/src/Adyen/Service/Checkout/UtilityApi.php b/src/Adyen/Service/Checkout/UtilityApi.php index 09605340b..c467b1b20 100644 --- a/src/Adyen/Service/Checkout/UtilityApi.php +++ b/src/Adyen/Service/Checkout/UtilityApi.php @@ -2,7 +2,7 @@ /** * Adyen Checkout API * - * The version of the OpenAPI document: 70 + * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.4.0 * @@ -36,7 +36,7 @@ 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://checkout-test.adyen.com/v70"); + $this->baseURL = $this->createBaseUrl("https://checkout-test.adyen.com/v71"); } /** diff --git a/src/Adyen/Service/DisputesApi.php b/src/Adyen/Service/DisputesApi.php index a4dde8f86..040f8a71d 100644 --- a/src/Adyen/Service/DisputesApi.php +++ b/src/Adyen/Service/DisputesApi.php @@ -83,21 +83,6 @@ public function deleteDisputeDefenseDocument(\Adyen\Model\Disputes\DeleteDefense return ObjectSerializer::deserialize($response, \Adyen\Model\Disputes\DeleteDefenseDocumentResponse::class); } - /** - * Download a defense document - * - * @param \Adyen\Model\Disputes\DownloadDefenseDocumentRequest $downloadDefenseDocumentRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Disputes\DownloadDefenseDocumentResponse - * @throws AdyenException - */ - public function downloadDisputeDefenseDocument(\Adyen\Model\Disputes\DownloadDefenseDocumentRequest $downloadDefenseDocumentRequest, array $requestOptions = null): \Adyen\Model\Disputes\DownloadDefenseDocumentResponse - { - $endpoint = $this->baseURL . "/downloadDisputeDefenseDocument"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $downloadDefenseDocumentRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Disputes\DownloadDefenseDocumentResponse::class); - } - /** * Get applicable defense reasons * diff --git a/tests/Unit/ModelBasedCheckoutTest.php b/tests/Unit/ModelBasedCheckoutTest.php index 6bd8fce3e..1e0cbb5dc 100644 --- a/tests/Unit/ModelBasedCheckoutTest.php +++ b/tests/Unit/ModelBasedCheckoutTest.php @@ -7,12 +7,8 @@ use Adyen\Model\Checkout\CardDetailsRequest; use Adyen\Model\Checkout\CheckoutPaymentMethod; use Adyen\Model\Checkout\CreateCheckoutSessionRequest; -use Adyen\Model\Checkout\CreatePaymentLinkRequest; -use Adyen\Model\Checkout\DetailsRequest; use Adyen\Model\Checkout\DonationPaymentRequest; use Adyen\Model\Checkout\PaymentDetailsRequest; -use Adyen\Model\Checkout\PaymentDonationRequest; -use Adyen\Model\Checkout\PaymentDonationRequestPaymentMethod; use Adyen\Model\Checkout\PaymentLinkRequest; use Adyen\Model\Checkout\PaymentMethodsRequest; use Adyen\Model\Checkout\PaymentRequest;