From 1544fb57a1fab9e6487d3369f74a7d0f79fb4187 Mon Sep 17 00:00:00 2001 From: jillingk <93914435+jillingk@users.noreply.github.com> Date: Wed, 26 Jun 2024 07:27:01 +0000 Subject: [PATCH 1/2] Fix setter not being able to be set null (and ommited in serialization) --- src/Adyen/Model/Checkout/AccountInfo.php | 51 +- src/Adyen/Model/Checkout/AcctInfo.php | 50 +- src/Adyen/Model/Checkout/AchDetails.php | 32 +- .../Model/Checkout/AdditionalData3DSecure.php | 20 +- .../Model/Checkout/AdditionalDataAirline.php | 89 +--- .../Checkout/AdditionalDataCarRental.php | 71 +-- .../Model/Checkout/AdditionalDataCommon.php | 50 +- .../Model/Checkout/AdditionalDataLevel23.php | 53 +- .../Model/Checkout/AdditionalDataLodging.php | 53 +- .../Checkout/AdditionalDataOpenInvoice.php | 56 +- .../Model/Checkout/AdditionalDataOpi.php | 5 +- .../Model/Checkout/AdditionalDataRatepay.php | 26 +- .../Model/Checkout/AdditionalDataRetry.php | 11 +- .../Model/Checkout/AdditionalDataRisk.php | 65 +-- .../Checkout/AdditionalDataRiskStandalone.php | 49 +- .../Checkout/AdditionalDataSubMerchant.php | 32 +- .../AdditionalDataTemporaryServices.php | 29 +- .../Model/Checkout/AdditionalDataWallets.php | 20 +- src/Adyen/Model/Checkout/Address.php | 20 +- src/Adyen/Model/Checkout/AfterpayDetails.php | 23 +- src/Adyen/Model/Checkout/AmazonPayDetails.php | 14 +- src/Adyen/Model/Checkout/Amount.php | 8 +- src/Adyen/Model/Checkout/AncvDetails.php | 17 +- .../Model/Checkout/AndroidPayDetails.php | 8 +- src/Adyen/Model/Checkout/ApplePayDetails.php | 20 +- .../Model/Checkout/ApplePayDonations.php | 20 +- .../Model/Checkout/ApplePaySessionRequest.php | 11 +- .../Checkout/ApplePaySessionResponse.php | 5 +- src/Adyen/Model/Checkout/ApplicationInfo.php | 20 +- .../Model/Checkout/AuthenticationData.php | 11 +- src/Adyen/Model/Checkout/Avs.php | 8 +- .../Model/Checkout/BacsDirectDebitDetails.php | 23 +- .../Model/Checkout/BalanceCheckRequest.php | 130 +---- .../Model/Checkout/BalanceCheckResponse.php | 23 +- src/Adyen/Model/Checkout/BankAccount.php | 29 +- src/Adyen/Model/Checkout/BillDeskDetails.php | 11 +- src/Adyen/Model/Checkout/BillingAddress.php | 20 +- src/Adyen/Model/Checkout/BlikDetails.php | 17 +- src/Adyen/Model/Checkout/BrowserInfo.php | 21 +- .../Model/Checkout/CancelOrderRequest.php | 8 +- .../Model/Checkout/CancelOrderResponse.php | 8 +- src/Adyen/Model/Checkout/Card.php | 26 +- src/Adyen/Model/Checkout/CardBrandDetails.php | 8 +- src/Adyen/Model/Checkout/CardDetails.php | 68 +-- .../Model/Checkout/CardDetailsRequest.php | 17 +- .../Model/Checkout/CardDetailsResponse.php | 8 +- src/Adyen/Model/Checkout/CardDonations.php | 68 +-- src/Adyen/Model/Checkout/CashAppDetails.php | 60 ++- src/Adyen/Model/Checkout/CellulantDetails.php | 11 +- .../Model/Checkout/CheckoutAwaitAction.php | 14 +- .../CheckoutDelegatedAuthenticationAction.php | 20 +- .../Checkout/CheckoutNativeRedirectAction.php | 20 +- .../Model/Checkout/CheckoutOrderResponse.php | 20 +- .../Model/Checkout/CheckoutPaymentMethod.php | 254 ++------- .../Model/Checkout/CheckoutQrCodeAction.php | 20 +- .../Model/Checkout/CheckoutRedirectAction.php | 17 +- .../Model/Checkout/CheckoutSDKAction.php | 17 +- .../CheckoutSessionInstallmentOption.php | 9 +- .../CheckoutSessionThreeDS2RequestData.php | 14 +- .../Model/Checkout/CheckoutThreeDS2Action.php | 23 +- .../Model/Checkout/CheckoutVoucherAction.php | 67 +-- src/Adyen/Model/Checkout/CommonField.php | 8 +- src/Adyen/Model/Checkout/Company.php | 20 +- src/Adyen/Model/Checkout/Configuration.php | 14 +- .../Checkout/CreateCheckoutSessionRequest.php | 182 +------ .../CreateCheckoutSessionResponse.php | 191 +------ .../Model/Checkout/CreateOrderRequest.php | 14 +- .../Model/Checkout/CreateOrderResponse.php | 32 +- src/Adyen/Model/Checkout/DeliveryAddress.php | 26 +- src/Adyen/Model/Checkout/DeliveryMethod.php | 17 +- .../DetailsRequestAuthenticationData.php | 5 +- .../Model/Checkout/DeviceRenderOptions.php | 8 +- src/Adyen/Model/Checkout/DokuDetails.php | 17 +- .../Model/Checkout/DonationPaymentMethod.php | 80 +-- .../Model/Checkout/DonationPaymentRequest.php | 125 +---- .../Checkout/DonationPaymentResponse.php | 23 +- src/Adyen/Model/Checkout/DotpayDetails.php | 11 +- src/Adyen/Model/Checkout/DragonpayDetails.php | 14 +- .../Model/Checkout/EcontextVoucherDetails.php | 20 +- .../Model/Checkout/EncryptedOrderData.php | 8 +- src/Adyen/Model/Checkout/ExternalPlatform.php | 11 +- src/Adyen/Model/Checkout/ForexQuote.php | 36 +- src/Adyen/Model/Checkout/FraudCheckResult.php | 7 +- src/Adyen/Model/Checkout/FraudResult.php | 6 +- src/Adyen/Model/Checkout/FundOrigin.php | 17 +- src/Adyen/Model/Checkout/FundRecipient.php | 32 +- .../GenericIssuerPaymentMethodDetails.php | 17 +- src/Adyen/Model/Checkout/GiropayDetails.php | 14 +- src/Adyen/Model/Checkout/GooglePayDetails.php | 54 +- .../Model/Checkout/GooglePayDonations.php | 54 +- src/Adyen/Model/Checkout/IdealDetails.php | 17 +- src/Adyen/Model/Checkout/IdealDonations.php | 17 +- src/Adyen/Model/Checkout/InputDetail.php | 29 +- .../Model/Checkout/InstallmentOption.php | 10 +- src/Adyen/Model/Checkout/Installments.php | 7 +- .../Model/Checkout/InstallmentsNumber.php | 3 +- src/Adyen/Model/Checkout/Item.php | 8 +- src/Adyen/Model/Checkout/KlarnaDetails.php | 26 +- src/Adyen/Model/Checkout/LineItem.php | 56 +- .../ListStoredPaymentMethodsResponse.php | 11 +- src/Adyen/Model/Checkout/Mandate.php | 26 +- .../Model/Checkout/MasterpassDetails.php | 14 +- src/Adyen/Model/Checkout/MbwayDetails.php | 14 +- src/Adyen/Model/Checkout/MerchantDevice.php | 11 +- .../Model/Checkout/MerchantRiskIndicator.php | 42 +- src/Adyen/Model/Checkout/MobilePayDetails.php | 8 +- src/Adyen/Model/Checkout/ModelInterface.php | 2 +- src/Adyen/Model/Checkout/MolPayDetails.php | 11 +- src/Adyen/Model/Checkout/Name.php | 8 +- src/Adyen/Model/Checkout/ObjectSerializer.php | 6 +- .../Model/Checkout/OpenInvoiceDetails.php | 23 +- src/Adyen/Model/Checkout/PayByBankDetails.php | 503 ++++++++++++++++++ src/Adyen/Model/Checkout/PayPalDetails.php | 29 +- src/Adyen/Model/Checkout/PayUUpiDetails.php | 20 +- .../Model/Checkout/PayWithGoogleDetails.php | 51 +- .../Model/Checkout/PayWithGoogleDonations.php | 51 +- .../Checkout/PaymentAmountUpdateRequest.php | 23 +- .../Checkout/PaymentAmountUpdateResponse.php | 29 +- .../Model/Checkout/PaymentCancelRequest.php | 11 +- .../Model/Checkout/PaymentCancelResponse.php | 17 +- .../Model/Checkout/PaymentCaptureRequest.php | 26 +- .../Model/Checkout/PaymentCaptureResponse.php | 32 +- .../Checkout/PaymentCompletionDetails.php | 62 +-- src/Adyen/Model/Checkout/PaymentDetails.php | 10 +- .../Model/Checkout/PaymentDetailsRequest.php | 14 +- .../Model/Checkout/PaymentDetailsResponse.php | 47 +- .../Model/Checkout/PaymentLinkRequest.php | 150 ++---- .../Model/Checkout/PaymentLinkResponse.php | 162 ++---- src/Adyen/Model/Checkout/PaymentMethod.php | 32 +- .../Model/Checkout/PaymentMethodGroup.php | 11 +- .../Model/Checkout/PaymentMethodIssuer.php | 11 +- .../Model/Checkout/PaymentMethodToStore.php | 35 +- .../Model/Checkout/PaymentMethodUPIApps.php | 8 +- .../Model/Checkout/PaymentMethodsRequest.php | 41 +- .../Model/Checkout/PaymentMethodsResponse.php | 8 +- .../Model/Checkout/PaymentRefundRequest.php | 23 +- .../Model/Checkout/PaymentRefundResponse.php | 29 +- src/Adyen/Model/Checkout/PaymentRequest.php | 201 +------ src/Adyen/Model/Checkout/PaymentResponse.php | 47 +- .../Model/Checkout/PaymentResponseAction.php | 91 +--- .../Model/Checkout/PaymentReversalRequest.php | 11 +- .../Checkout/PaymentReversalResponse.php | 17 +- .../Model/Checkout/PaymentSetupRequest.php | 169 +----- .../Model/Checkout/PaymentSetupResponse.php | 8 +- .../Checkout/PaymentVerificationRequest.php | 5 +- .../Checkout/PaymentVerificationResponse.php | 32 +- .../Checkout/PaypalUpdateOrderRequest.php | 20 +- .../Checkout/PaypalUpdateOrderResponse.php | 8 +- src/Adyen/Model/Checkout/Phone.php | 8 +- .../Checkout/PlatformChargebackLogic.php | 11 +- src/Adyen/Model/Checkout/RatepayDetails.php | 23 +- src/Adyen/Model/Checkout/Recurring.php | 17 +- src/Adyen/Model/Checkout/RecurringDetail.php | 38 +- .../ResponseAdditionalData3DSecure.php | 17 +- .../ResponseAdditionalDataBillingAddress.php | 20 +- .../Checkout/ResponseAdditionalDataCard.php | 26 +- .../Checkout/ResponseAdditionalDataCommon.php | 179 +------ .../ResponseAdditionalDataDomesticError.php | 8 +- .../ResponseAdditionalDataInstallments.php | 38 +- .../ResponseAdditionalDataNetworkTokens.php | 11 +- .../Checkout/ResponseAdditionalDataOpi.php | 5 +- .../Checkout/ResponseAdditionalDataSepa.php | 11 +- .../Model/Checkout/ResponsePaymentMethod.php | 8 +- src/Adyen/Model/Checkout/RiskData.php | 12 +- src/Adyen/Model/Checkout/SDKEphemPubKey.php | 14 +- .../Model/Checkout/SamsungPayDetails.php | 20 +- .../SecureRemoteCommerceCheckoutData.php | 20 +- .../Model/Checkout/SepaDirectDebitDetails.php | 20 +- src/Adyen/Model/Checkout/ServiceError.php | 18 +- .../Model/Checkout/ServiceErrorDetails.php | 14 +- .../Model/Checkout/SessionResultResponse.php | 8 +- src/Adyen/Model/Checkout/ShopperInput.php | 11 +- .../Checkout/ShopperInteractionDevice.php | 11 +- src/Adyen/Model/Checkout/Split.php | 17 +- src/Adyen/Model/Checkout/SplitAmount.php | 8 +- .../StandalonePaymentCancelRequest.php | 14 +- .../StandalonePaymentCancelResponse.php | 17 +- src/Adyen/Model/Checkout/StoredDetails.php | 11 +- .../Model/Checkout/StoredPaymentMethod.php | 53 +- .../Checkout/StoredPaymentMethodDetails.php | 14 +- .../Checkout/StoredPaymentMethodRequest.php | 20 +- .../Checkout/StoredPaymentMethodResource.php | 53 +- src/Adyen/Model/Checkout/SubInputDetail.php | 20 +- src/Adyen/Model/Checkout/SubMerchant.php | 17 +- src/Adyen/Model/Checkout/SubMerchantInfo.php | 156 +++++- src/Adyen/Model/Checkout/TaxTotal.php | 5 +- .../Model/Checkout/ThreeDS2RequestData.php | 117 +--- .../Model/Checkout/ThreeDS2RequestFields.php | 108 +--- .../Model/Checkout/ThreeDS2ResponseData.php | 59 +- src/Adyen/Model/Checkout/ThreeDS2Result.php | 44 +- .../Model/Checkout/ThreeDSRequestData.php | 14 +- .../ThreeDSRequestorAuthenticationInfo.php | 11 +- ...hreeDSRequestorPriorAuthenticationInfo.php | 14 +- src/Adyen/Model/Checkout/ThreeDSecureData.php | 38 +- .../Checkout/UpdatePaymentLinkRequest.php | 5 +- .../Model/Checkout/UpiCollectDetails.php | 23 +- src/Adyen/Model/Checkout/UpiIntentDetails.php | 20 +- src/Adyen/Model/Checkout/UtilityRequest.php | 5 +- src/Adyen/Model/Checkout/UtilityResponse.php | 5 +- src/Adyen/Model/Checkout/VippsDetails.php | 17 +- .../Model/Checkout/VisaCheckoutDetails.php | 14 +- src/Adyen/Model/Checkout/WeChatPayDetails.php | 8 +- .../Checkout/WeChatPayMiniProgramDetails.php | 14 +- src/Adyen/Model/Checkout/ZipDetails.php | 17 +- .../Checkout/ClassicCheckoutSDKApi.php | 2 +- src/Adyen/Service/Checkout/DonationsApi.php | 2 +- .../Service/Checkout/ModificationsApi.php | 34 +- src/Adyen/Service/Checkout/OrdersApi.php | 32 +- .../Service/Checkout/PaymentLinksApi.php | 24 +- src/Adyen/Service/Checkout/PaymentsApi.php | 32 +- src/Adyen/Service/Checkout/RecurringApi.php | 2 +- src/Adyen/Service/Checkout/UtilityApi.php | 2 +- templates/model_generic.mustache | 12 - tests/Unit/ModelBasedCheckoutTest.php | 20 + 214 files changed, 1181 insertions(+), 5941 deletions(-) create mode 100644 src/Adyen/Model/Checkout/PayByBankDetails.php diff --git a/src/Adyen/Model/Checkout/AccountInfo.php b/src/Adyen/Model/Checkout/AccountInfo.php index 64d8fed01..c899827cb 100644 --- a/src/Adyen/Model/Checkout/AccountInfo.php +++ b/src/Adyen/Model/Checkout/AccountInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -587,9 +587,6 @@ public function getAccountAgeIndicator() */ public function setAccountAgeIndicator($accountAgeIndicator) { - if (is_null($accountAgeIndicator)) { - throw new \InvalidArgumentException('non-nullable accountAgeIndicator cannot be null'); - } $allowedValues = $this->getAccountAgeIndicatorAllowableValues(); if (!in_array($accountAgeIndicator, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -624,9 +621,6 @@ public function getAccountChangeDate() */ public function setAccountChangeDate($accountChangeDate) { - if (is_null($accountChangeDate)) { - throw new \InvalidArgumentException('non-nullable accountChangeDate cannot be null'); - } $this->container['accountChangeDate'] = $accountChangeDate; return $this; @@ -651,9 +645,6 @@ public function getAccountChangeIndicator() */ public function setAccountChangeIndicator($accountChangeIndicator) { - if (is_null($accountChangeIndicator)) { - throw new \InvalidArgumentException('non-nullable accountChangeIndicator cannot be null'); - } $allowedValues = $this->getAccountChangeIndicatorAllowableValues(); if (!in_array($accountChangeIndicator, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -688,9 +679,6 @@ public function getAccountCreationDate() */ public function setAccountCreationDate($accountCreationDate) { - if (is_null($accountCreationDate)) { - throw new \InvalidArgumentException('non-nullable accountCreationDate cannot be null'); - } $this->container['accountCreationDate'] = $accountCreationDate; return $this; @@ -715,9 +703,6 @@ public function getAccountType() */ public function setAccountType($accountType) { - if (is_null($accountType)) { - throw new \InvalidArgumentException('non-nullable accountType cannot be null'); - } $allowedValues = $this->getAccountTypeAllowableValues(); if (!in_array($accountType, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -752,7 +737,6 @@ public function getAddCardAttemptsDay() */ public function setAddCardAttemptsDay($addCardAttemptsDay) { - // Do nothing for nullable integers $this->container['addCardAttemptsDay'] = $addCardAttemptsDay; return $this; @@ -777,9 +761,6 @@ public function getDeliveryAddressUsageDate() */ public function setDeliveryAddressUsageDate($deliveryAddressUsageDate) { - if (is_null($deliveryAddressUsageDate)) { - throw new \InvalidArgumentException('non-nullable deliveryAddressUsageDate cannot be null'); - } $this->container['deliveryAddressUsageDate'] = $deliveryAddressUsageDate; return $this; @@ -804,9 +785,6 @@ public function getDeliveryAddressUsageIndicator() */ public function setDeliveryAddressUsageIndicator($deliveryAddressUsageIndicator) { - if (is_null($deliveryAddressUsageIndicator)) { - throw new \InvalidArgumentException('non-nullable deliveryAddressUsageIndicator cannot be null'); - } $allowedValues = $this->getDeliveryAddressUsageIndicatorAllowableValues(); if (!in_array($deliveryAddressUsageIndicator, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -843,9 +821,6 @@ public function getHomePhone() */ public function setHomePhone($homePhone) { - if (is_null($homePhone)) { - throw new \InvalidArgumentException('non-nullable homePhone cannot be null'); - } $this->container['homePhone'] = $homePhone; return $this; @@ -872,9 +847,6 @@ public function getMobilePhone() */ public function setMobilePhone($mobilePhone) { - if (is_null($mobilePhone)) { - throw new \InvalidArgumentException('non-nullable mobilePhone cannot be null'); - } $this->container['mobilePhone'] = $mobilePhone; return $this; @@ -899,9 +871,6 @@ public function getPasswordChangeDate() */ public function setPasswordChangeDate($passwordChangeDate) { - if (is_null($passwordChangeDate)) { - throw new \InvalidArgumentException('non-nullable passwordChangeDate cannot be null'); - } $this->container['passwordChangeDate'] = $passwordChangeDate; return $this; @@ -926,9 +895,6 @@ public function getPasswordChangeIndicator() */ public function setPasswordChangeIndicator($passwordChangeIndicator) { - if (is_null($passwordChangeIndicator)) { - throw new \InvalidArgumentException('non-nullable passwordChangeIndicator cannot be null'); - } $allowedValues = $this->getPasswordChangeIndicatorAllowableValues(); if (!in_array($passwordChangeIndicator, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -963,7 +929,6 @@ public function getPastTransactionsDay() */ public function setPastTransactionsDay($pastTransactionsDay) { - // Do nothing for nullable integers $this->container['pastTransactionsDay'] = $pastTransactionsDay; return $this; @@ -988,7 +953,6 @@ public function getPastTransactionsYear() */ public function setPastTransactionsYear($pastTransactionsYear) { - // Do nothing for nullable integers $this->container['pastTransactionsYear'] = $pastTransactionsYear; return $this; @@ -1013,9 +977,6 @@ public function getPaymentAccountAge() */ public function setPaymentAccountAge($paymentAccountAge) { - if (is_null($paymentAccountAge)) { - throw new \InvalidArgumentException('non-nullable paymentAccountAge cannot be null'); - } $this->container['paymentAccountAge'] = $paymentAccountAge; return $this; @@ -1040,9 +1001,6 @@ public function getPaymentAccountIndicator() */ public function setPaymentAccountIndicator($paymentAccountIndicator) { - if (is_null($paymentAccountIndicator)) { - throw new \InvalidArgumentException('non-nullable paymentAccountIndicator cannot be null'); - } $allowedValues = $this->getPaymentAccountIndicatorAllowableValues(); if (!in_array($paymentAccountIndicator, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1077,7 +1035,6 @@ public function getPurchasesLast6Months() */ public function setPurchasesLast6Months($purchasesLast6Months) { - // Do nothing for nullable integers $this->container['purchasesLast6Months'] = $purchasesLast6Months; return $this; @@ -1102,9 +1059,6 @@ public function getSuspiciousActivity() */ public function setSuspiciousActivity($suspiciousActivity) { - if (is_null($suspiciousActivity)) { - throw new \InvalidArgumentException('non-nullable suspiciousActivity cannot be null'); - } $this->container['suspiciousActivity'] = $suspiciousActivity; return $this; @@ -1131,9 +1085,6 @@ public function getWorkPhone() */ public function setWorkPhone($workPhone) { - if (is_null($workPhone)) { - throw new \InvalidArgumentException('non-nullable workPhone cannot be null'); - } $this->container['workPhone'] = $workPhone; return $this; diff --git a/src/Adyen/Model/Checkout/AcctInfo.php b/src/Adyen/Model/Checkout/AcctInfo.php index acff6e60d..9c35cc1b1 100644 --- a/src/Adyen/Model/Checkout/AcctInfo.php +++ b/src/Adyen/Model/Checkout/AcctInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -587,9 +587,6 @@ public function getChAccAgeInd() */ public function setChAccAgeInd($chAccAgeInd) { - if (is_null($chAccAgeInd)) { - throw new \InvalidArgumentException('non-nullable chAccAgeInd cannot be null'); - } $allowedValues = $this->getChAccAgeIndAllowableValues(); if (!in_array($chAccAgeInd, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -624,9 +621,6 @@ public function getChAccChange() */ public function setChAccChange($chAccChange) { - if (is_null($chAccChange)) { - throw new \InvalidArgumentException('non-nullable chAccChange cannot be null'); - } $this->container['chAccChange'] = $chAccChange; return $this; @@ -651,9 +645,6 @@ public function getChAccChangeInd() */ public function setChAccChangeInd($chAccChangeInd) { - if (is_null($chAccChangeInd)) { - throw new \InvalidArgumentException('non-nullable chAccChangeInd cannot be null'); - } $allowedValues = $this->getChAccChangeIndAllowableValues(); if (!in_array($chAccChangeInd, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -688,9 +679,6 @@ public function getChAccPwChange() */ public function setChAccPwChange($chAccPwChange) { - if (is_null($chAccPwChange)) { - throw new \InvalidArgumentException('non-nullable chAccPwChange cannot be null'); - } $this->container['chAccPwChange'] = $chAccPwChange; return $this; @@ -715,9 +703,6 @@ public function getChAccPwChangeInd() */ public function setChAccPwChangeInd($chAccPwChangeInd) { - if (is_null($chAccPwChangeInd)) { - throw new \InvalidArgumentException('non-nullable chAccPwChangeInd cannot be null'); - } $allowedValues = $this->getChAccPwChangeIndAllowableValues(); if (!in_array($chAccPwChangeInd, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -752,9 +737,6 @@ public function getChAccString() */ public function setChAccString($chAccString) { - if (is_null($chAccString)) { - throw new \InvalidArgumentException('non-nullable chAccString cannot be null'); - } $this->container['chAccString'] = $chAccString; return $this; @@ -779,9 +761,6 @@ public function getNbPurchaseAccount() */ public function setNbPurchaseAccount($nbPurchaseAccount) { - if (is_null($nbPurchaseAccount)) { - throw new \InvalidArgumentException('non-nullable nbPurchaseAccount cannot be null'); - } $this->container['nbPurchaseAccount'] = $nbPurchaseAccount; return $this; @@ -806,9 +785,6 @@ public function getPaymentAccAge() */ public function setPaymentAccAge($paymentAccAge) { - if (is_null($paymentAccAge)) { - throw new \InvalidArgumentException('non-nullable paymentAccAge cannot be null'); - } $this->container['paymentAccAge'] = $paymentAccAge; return $this; @@ -833,9 +809,6 @@ public function getPaymentAccInd() */ public function setPaymentAccInd($paymentAccInd) { - if (is_null($paymentAccInd)) { - throw new \InvalidArgumentException('non-nullable paymentAccInd cannot be null'); - } $allowedValues = $this->getPaymentAccIndAllowableValues(); if (!in_array($paymentAccInd, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -870,9 +843,6 @@ public function getProvisionAttemptsDay() */ public function setProvisionAttemptsDay($provisionAttemptsDay) { - if (is_null($provisionAttemptsDay)) { - throw new \InvalidArgumentException('non-nullable provisionAttemptsDay cannot be null'); - } $this->container['provisionAttemptsDay'] = $provisionAttemptsDay; return $this; @@ -897,9 +867,6 @@ public function getShipAddressUsage() */ public function setShipAddressUsage($shipAddressUsage) { - if (is_null($shipAddressUsage)) { - throw new \InvalidArgumentException('non-nullable shipAddressUsage cannot be null'); - } $this->container['shipAddressUsage'] = $shipAddressUsage; return $this; @@ -924,9 +891,6 @@ public function getShipAddressUsageInd() */ public function setShipAddressUsageInd($shipAddressUsageInd) { - if (is_null($shipAddressUsageInd)) { - throw new \InvalidArgumentException('non-nullable shipAddressUsageInd cannot be null'); - } $allowedValues = $this->getShipAddressUsageIndAllowableValues(); if (!in_array($shipAddressUsageInd, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -961,9 +925,6 @@ public function getShipNameIndicator() */ public function setShipNameIndicator($shipNameIndicator) { - if (is_null($shipNameIndicator)) { - throw new \InvalidArgumentException('non-nullable shipNameIndicator cannot be null'); - } $allowedValues = $this->getShipNameIndicatorAllowableValues(); if (!in_array($shipNameIndicator, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -998,9 +959,6 @@ public function getSuspiciousAccActivity() */ public function setSuspiciousAccActivity($suspiciousAccActivity) { - if (is_null($suspiciousAccActivity)) { - throw new \InvalidArgumentException('non-nullable suspiciousAccActivity cannot be null'); - } $allowedValues = $this->getSuspiciousAccActivityAllowableValues(); if (!in_array($suspiciousAccActivity, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1035,9 +993,6 @@ public function getTxnActivityDay() */ public function setTxnActivityDay($txnActivityDay) { - if (is_null($txnActivityDay)) { - throw new \InvalidArgumentException('non-nullable txnActivityDay cannot be null'); - } $this->container['txnActivityDay'] = $txnActivityDay; return $this; @@ -1062,9 +1017,6 @@ public function getTxnActivityYear() */ public function setTxnActivityYear($txnActivityYear) { - if (is_null($txnActivityYear)) { - throw new \InvalidArgumentException('non-nullable txnActivityYear cannot be null'); - } $this->container['txnActivityYear'] = $txnActivityYear; return $this; diff --git a/src/Adyen/Model/Checkout/AchDetails.php b/src/Adyen/Model/Checkout/AchDetails.php index 7a1f0a885..8fc99e09f 100644 --- a/src/Adyen/Model/Checkout/AchDetails.php +++ b/src/Adyen/Model/Checkout/AchDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -414,9 +414,6 @@ public function getBankAccountNumber() */ public function setBankAccountNumber($bankAccountNumber) { - if (is_null($bankAccountNumber)) { - throw new \InvalidArgumentException('non-nullable bankAccountNumber cannot be null'); - } $this->container['bankAccountNumber'] = $bankAccountNumber; return $this; @@ -441,9 +438,6 @@ public function getBankAccountType() */ public function setBankAccountType($bankAccountType) { - if (is_null($bankAccountType)) { - throw new \InvalidArgumentException('non-nullable bankAccountType cannot be null'); - } $allowedValues = $this->getBankAccountTypeAllowableValues(); if (!in_array($bankAccountType, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -478,9 +472,6 @@ public function getBankLocationId() */ public function setBankLocationId($bankLocationId) { - if (is_null($bankLocationId)) { - throw new \InvalidArgumentException('non-nullable bankLocationId cannot be null'); - } $this->container['bankLocationId'] = $bankLocationId; return $this; @@ -505,9 +496,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -532,9 +520,6 @@ public function getEncryptedBankAccountNumber() */ public function setEncryptedBankAccountNumber($encryptedBankAccountNumber) { - if (is_null($encryptedBankAccountNumber)) { - throw new \InvalidArgumentException('non-nullable encryptedBankAccountNumber cannot be null'); - } $this->container['encryptedBankAccountNumber'] = $encryptedBankAccountNumber; return $this; @@ -559,9 +544,6 @@ public function getEncryptedBankLocationId() */ public function setEncryptedBankLocationId($encryptedBankLocationId) { - if (is_null($encryptedBankLocationId)) { - throw new \InvalidArgumentException('non-nullable encryptedBankLocationId cannot be null'); - } $this->container['encryptedBankLocationId'] = $encryptedBankLocationId; return $this; @@ -586,9 +568,6 @@ public function getOwnerName() */ public function setOwnerName($ownerName) { - if (is_null($ownerName)) { - throw new \InvalidArgumentException('non-nullable ownerName cannot be null'); - } $this->container['ownerName'] = $ownerName; return $this; @@ -615,9 +594,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -642,9 +618,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -669,9 +642,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/AdditionalData3DSecure.php b/src/Adyen/Model/Checkout/AdditionalData3DSecure.php index a89105094..843ae4bb7 100644 --- a/src/Adyen/Model/Checkout/AdditionalData3DSecure.php +++ b/src/Adyen/Model/Checkout/AdditionalData3DSecure.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -361,9 +361,6 @@ public function getAllow3DS2() */ public function setAllow3DS2($allow3DS2) { - if (is_null($allow3DS2)) { - throw new \InvalidArgumentException('non-nullable allow3DS2 cannot be null'); - } $this->container['allow3DS2'] = $allow3DS2; return $this; @@ -388,9 +385,6 @@ public function getChallengeWindowSize() */ public function setChallengeWindowSize($challengeWindowSize) { - if (is_null($challengeWindowSize)) { - throw new \InvalidArgumentException('non-nullable challengeWindowSize cannot be null'); - } $allowedValues = $this->getChallengeWindowSizeAllowableValues(); if (!in_array($challengeWindowSize, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -427,9 +421,6 @@ public function getExecuteThreeD() */ public function setExecuteThreeD($executeThreeD) { - if (is_null($executeThreeD)) { - throw new \InvalidArgumentException('non-nullable executeThreeD cannot be null'); - } $this->container['executeThreeD'] = $executeThreeD; return $this; @@ -454,9 +445,6 @@ public function getMpiImplementationType() */ public function setMpiImplementationType($mpiImplementationType) { - if (is_null($mpiImplementationType)) { - throw new \InvalidArgumentException('non-nullable mpiImplementationType cannot be null'); - } $this->container['mpiImplementationType'] = $mpiImplementationType; return $this; @@ -481,9 +469,6 @@ public function getScaExemption() */ public function setScaExemption($scaExemption) { - if (is_null($scaExemption)) { - throw new \InvalidArgumentException('non-nullable scaExemption cannot be null'); - } $this->container['scaExemption'] = $scaExemption; return $this; @@ -508,9 +493,6 @@ public function getThreeDSVersion() */ public function setThreeDSVersion($threeDSVersion) { - if (is_null($threeDSVersion)) { - throw new \InvalidArgumentException('non-nullable threeDSVersion cannot be null'); - } $this->container['threeDSVersion'] = $threeDSVersion; return $this; diff --git a/src/Adyen/Model/Checkout/AdditionalDataAirline.php b/src/Adyen/Model/Checkout/AdditionalDataAirline.php index 35af80d8d..c9a991d8e 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataAirline.php +++ b/src/Adyen/Model/Checkout/AdditionalDataAirline.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -494,9 +494,6 @@ public function getAirlineAgencyInvoiceNumber() */ public function setAirlineAgencyInvoiceNumber($airlineAgencyInvoiceNumber) { - if (is_null($airlineAgencyInvoiceNumber)) { - throw new \InvalidArgumentException('non-nullable airlineAgencyInvoiceNumber cannot be null'); - } $this->container['airlineAgencyInvoiceNumber'] = $airlineAgencyInvoiceNumber; return $this; @@ -521,9 +518,6 @@ public function getAirlineAgencyPlanName() */ public function setAirlineAgencyPlanName($airlineAgencyPlanName) { - if (is_null($airlineAgencyPlanName)) { - throw new \InvalidArgumentException('non-nullable airlineAgencyPlanName cannot be null'); - } $this->container['airlineAgencyPlanName'] = $airlineAgencyPlanName; return $this; @@ -548,9 +542,6 @@ public function getAirlineAirlineCode() */ public function setAirlineAirlineCode($airlineAirlineCode) { - if (is_null($airlineAirlineCode)) { - throw new \InvalidArgumentException('non-nullable airlineAirlineCode cannot be null'); - } $this->container['airlineAirlineCode'] = $airlineAirlineCode; return $this; @@ -575,9 +566,6 @@ public function getAirlineAirlineDesignatorCode() */ public function setAirlineAirlineDesignatorCode($airlineAirlineDesignatorCode) { - if (is_null($airlineAirlineDesignatorCode)) { - throw new \InvalidArgumentException('non-nullable airlineAirlineDesignatorCode cannot be null'); - } $this->container['airlineAirlineDesignatorCode'] = $airlineAirlineDesignatorCode; return $this; @@ -602,9 +590,6 @@ public function getAirlineBoardingFee() */ public function setAirlineBoardingFee($airlineBoardingFee) { - if (is_null($airlineBoardingFee)) { - throw new \InvalidArgumentException('non-nullable airlineBoardingFee cannot be null'); - } $this->container['airlineBoardingFee'] = $airlineBoardingFee; return $this; @@ -629,9 +614,6 @@ public function getAirlineComputerizedReservationSystem() */ public function setAirlineComputerizedReservationSystem($airlineComputerizedReservationSystem) { - if (is_null($airlineComputerizedReservationSystem)) { - throw new \InvalidArgumentException('non-nullable airlineComputerizedReservationSystem cannot be null'); - } $this->container['airlineComputerizedReservationSystem'] = $airlineComputerizedReservationSystem; return $this; @@ -656,9 +638,6 @@ public function getAirlineCustomerReferenceNumber() */ public function setAirlineCustomerReferenceNumber($airlineCustomerReferenceNumber) { - if (is_null($airlineCustomerReferenceNumber)) { - throw new \InvalidArgumentException('non-nullable airlineCustomerReferenceNumber cannot be null'); - } $this->container['airlineCustomerReferenceNumber'] = $airlineCustomerReferenceNumber; return $this; @@ -683,9 +662,6 @@ public function getAirlineDocumentType() */ public function setAirlineDocumentType($airlineDocumentType) { - if (is_null($airlineDocumentType)) { - throw new \InvalidArgumentException('non-nullable airlineDocumentType cannot be null'); - } $this->container['airlineDocumentType'] = $airlineDocumentType; return $this; @@ -710,9 +686,6 @@ public function getAirlineFlightDate() */ public function setAirlineFlightDate($airlineFlightDate) { - if (is_null($airlineFlightDate)) { - throw new \InvalidArgumentException('non-nullable airlineFlightDate cannot be null'); - } $this->container['airlineFlightDate'] = $airlineFlightDate; return $this; @@ -737,9 +710,6 @@ public function getAirlineIssueDate() */ public function setAirlineIssueDate($airlineIssueDate) { - if (is_null($airlineIssueDate)) { - throw new \InvalidArgumentException('non-nullable airlineIssueDate cannot be null'); - } $this->container['airlineIssueDate'] = $airlineIssueDate; return $this; @@ -764,9 +734,6 @@ public function getAirlineLegCarrierCode() */ public function setAirlineLegCarrierCode($airlineLegCarrierCode) { - if (is_null($airlineLegCarrierCode)) { - throw new \InvalidArgumentException('non-nullable airlineLegCarrierCode cannot be null'); - } $this->container['airlineLegCarrierCode'] = $airlineLegCarrierCode; return $this; @@ -791,9 +758,6 @@ public function getAirlineLegClassOfTravel() */ public function setAirlineLegClassOfTravel($airlineLegClassOfTravel) { - if (is_null($airlineLegClassOfTravel)) { - throw new \InvalidArgumentException('non-nullable airlineLegClassOfTravel cannot be null'); - } $this->container['airlineLegClassOfTravel'] = $airlineLegClassOfTravel; return $this; @@ -818,9 +782,6 @@ public function getAirlineLegDateOfTravel() */ public function setAirlineLegDateOfTravel($airlineLegDateOfTravel) { - if (is_null($airlineLegDateOfTravel)) { - throw new \InvalidArgumentException('non-nullable airlineLegDateOfTravel cannot be null'); - } $this->container['airlineLegDateOfTravel'] = $airlineLegDateOfTravel; return $this; @@ -845,9 +806,6 @@ public function getAirlineLegDepartAirport() */ public function setAirlineLegDepartAirport($airlineLegDepartAirport) { - if (is_null($airlineLegDepartAirport)) { - throw new \InvalidArgumentException('non-nullable airlineLegDepartAirport cannot be null'); - } $this->container['airlineLegDepartAirport'] = $airlineLegDepartAirport; return $this; @@ -872,9 +830,6 @@ public function getAirlineLegDepartTax() */ public function setAirlineLegDepartTax($airlineLegDepartTax) { - if (is_null($airlineLegDepartTax)) { - throw new \InvalidArgumentException('non-nullable airlineLegDepartTax cannot be null'); - } $this->container['airlineLegDepartTax'] = $airlineLegDepartTax; return $this; @@ -899,9 +854,6 @@ public function getAirlineLegDestinationCode() */ public function setAirlineLegDestinationCode($airlineLegDestinationCode) { - if (is_null($airlineLegDestinationCode)) { - throw new \InvalidArgumentException('non-nullable airlineLegDestinationCode cannot be null'); - } $this->container['airlineLegDestinationCode'] = $airlineLegDestinationCode; return $this; @@ -926,9 +878,6 @@ public function getAirlineLegFareBaseCode() */ public function setAirlineLegFareBaseCode($airlineLegFareBaseCode) { - if (is_null($airlineLegFareBaseCode)) { - throw new \InvalidArgumentException('non-nullable airlineLegFareBaseCode cannot be null'); - } $this->container['airlineLegFareBaseCode'] = $airlineLegFareBaseCode; return $this; @@ -953,9 +902,6 @@ public function getAirlineLegFlightNumber() */ public function setAirlineLegFlightNumber($airlineLegFlightNumber) { - if (is_null($airlineLegFlightNumber)) { - throw new \InvalidArgumentException('non-nullable airlineLegFlightNumber cannot be null'); - } $this->container['airlineLegFlightNumber'] = $airlineLegFlightNumber; return $this; @@ -980,9 +926,6 @@ public function getAirlineLegStopOverCode() */ public function setAirlineLegStopOverCode($airlineLegStopOverCode) { - if (is_null($airlineLegStopOverCode)) { - throw new \InvalidArgumentException('non-nullable airlineLegStopOverCode cannot be null'); - } $this->container['airlineLegStopOverCode'] = $airlineLegStopOverCode; return $this; @@ -1007,9 +950,6 @@ public function getAirlinePassengerDateOfBirth() */ public function setAirlinePassengerDateOfBirth($airlinePassengerDateOfBirth) { - if (is_null($airlinePassengerDateOfBirth)) { - throw new \InvalidArgumentException('non-nullable airlinePassengerDateOfBirth cannot be null'); - } $this->container['airlinePassengerDateOfBirth'] = $airlinePassengerDateOfBirth; return $this; @@ -1034,9 +974,6 @@ public function getAirlinePassengerFirstName() */ public function setAirlinePassengerFirstName($airlinePassengerFirstName) { - if (is_null($airlinePassengerFirstName)) { - throw new \InvalidArgumentException('non-nullable airlinePassengerFirstName cannot be null'); - } $this->container['airlinePassengerFirstName'] = $airlinePassengerFirstName; return $this; @@ -1061,9 +998,6 @@ public function getAirlinePassengerLastName() */ public function setAirlinePassengerLastName($airlinePassengerLastName) { - if (is_null($airlinePassengerLastName)) { - throw new \InvalidArgumentException('non-nullable airlinePassengerLastName cannot be null'); - } $this->container['airlinePassengerLastName'] = $airlinePassengerLastName; return $this; @@ -1088,9 +1022,6 @@ public function getAirlinePassengerTelephoneNumber() */ public function setAirlinePassengerTelephoneNumber($airlinePassengerTelephoneNumber) { - if (is_null($airlinePassengerTelephoneNumber)) { - throw new \InvalidArgumentException('non-nullable airlinePassengerTelephoneNumber cannot be null'); - } $this->container['airlinePassengerTelephoneNumber'] = $airlinePassengerTelephoneNumber; return $this; @@ -1115,9 +1046,6 @@ public function getAirlinePassengerTravellerType() */ public function setAirlinePassengerTravellerType($airlinePassengerTravellerType) { - if (is_null($airlinePassengerTravellerType)) { - throw new \InvalidArgumentException('non-nullable airlinePassengerTravellerType cannot be null'); - } $this->container['airlinePassengerTravellerType'] = $airlinePassengerTravellerType; return $this; @@ -1142,9 +1070,6 @@ public function getAirlinePassengerName() */ public function setAirlinePassengerName($airlinePassengerName) { - if (is_null($airlinePassengerName)) { - throw new \InvalidArgumentException('non-nullable airlinePassengerName cannot be null'); - } $this->container['airlinePassengerName'] = $airlinePassengerName; return $this; @@ -1169,9 +1094,6 @@ public function getAirlineTicketIssueAddress() */ public function setAirlineTicketIssueAddress($airlineTicketIssueAddress) { - if (is_null($airlineTicketIssueAddress)) { - throw new \InvalidArgumentException('non-nullable airlineTicketIssueAddress cannot be null'); - } $this->container['airlineTicketIssueAddress'] = $airlineTicketIssueAddress; return $this; @@ -1196,9 +1118,6 @@ public function getAirlineTicketNumber() */ public function setAirlineTicketNumber($airlineTicketNumber) { - if (is_null($airlineTicketNumber)) { - throw new \InvalidArgumentException('non-nullable airlineTicketNumber cannot be null'); - } $this->container['airlineTicketNumber'] = $airlineTicketNumber; return $this; @@ -1223,9 +1142,6 @@ public function getAirlineTravelAgencyCode() */ public function setAirlineTravelAgencyCode($airlineTravelAgencyCode) { - if (is_null($airlineTravelAgencyCode)) { - throw new \InvalidArgumentException('non-nullable airlineTravelAgencyCode cannot be null'); - } $this->container['airlineTravelAgencyCode'] = $airlineTravelAgencyCode; return $this; @@ -1250,9 +1166,6 @@ public function getAirlineTravelAgencyName() */ public function setAirlineTravelAgencyName($airlineTravelAgencyName) { - if (is_null($airlineTravelAgencyName)) { - throw new \InvalidArgumentException('non-nullable airlineTravelAgencyName cannot be null'); - } $this->container['airlineTravelAgencyName'] = $airlineTravelAgencyName; return $this; diff --git a/src/Adyen/Model/Checkout/AdditionalDataCarRental.php b/src/Adyen/Model/Checkout/AdditionalDataCarRental.php index 49de58f9c..3e4223ee8 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataCarRental.php +++ b/src/Adyen/Model/Checkout/AdditionalDataCarRental.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -449,9 +449,6 @@ public function getCarRentalCheckOutDate() */ public function setCarRentalCheckOutDate($carRentalCheckOutDate) { - if (is_null($carRentalCheckOutDate)) { - throw new \InvalidArgumentException('non-nullable carRentalCheckOutDate cannot be null'); - } $this->container['carRentalCheckOutDate'] = $carRentalCheckOutDate; return $this; @@ -476,9 +473,6 @@ public function getCarRentalCustomerServiceTollFreeNumber() */ public function setCarRentalCustomerServiceTollFreeNumber($carRentalCustomerServiceTollFreeNumber) { - if (is_null($carRentalCustomerServiceTollFreeNumber)) { - throw new \InvalidArgumentException('non-nullable carRentalCustomerServiceTollFreeNumber cannot be null'); - } $this->container['carRentalCustomerServiceTollFreeNumber'] = $carRentalCustomerServiceTollFreeNumber; return $this; @@ -503,9 +497,6 @@ public function getCarRentalDaysRented() */ public function setCarRentalDaysRented($carRentalDaysRented) { - if (is_null($carRentalDaysRented)) { - throw new \InvalidArgumentException('non-nullable carRentalDaysRented cannot be null'); - } $this->container['carRentalDaysRented'] = $carRentalDaysRented; return $this; @@ -530,9 +521,6 @@ public function getCarRentalFuelCharges() */ public function setCarRentalFuelCharges($carRentalFuelCharges) { - if (is_null($carRentalFuelCharges)) { - throw new \InvalidArgumentException('non-nullable carRentalFuelCharges cannot be null'); - } $this->container['carRentalFuelCharges'] = $carRentalFuelCharges; return $this; @@ -557,9 +545,6 @@ public function getCarRentalInsuranceCharges() */ public function setCarRentalInsuranceCharges($carRentalInsuranceCharges) { - if (is_null($carRentalInsuranceCharges)) { - throw new \InvalidArgumentException('non-nullable carRentalInsuranceCharges cannot be null'); - } $this->container['carRentalInsuranceCharges'] = $carRentalInsuranceCharges; return $this; @@ -584,9 +569,6 @@ public function getCarRentalLocationCity() */ public function setCarRentalLocationCity($carRentalLocationCity) { - if (is_null($carRentalLocationCity)) { - throw new \InvalidArgumentException('non-nullable carRentalLocationCity cannot be null'); - } $this->container['carRentalLocationCity'] = $carRentalLocationCity; return $this; @@ -611,9 +593,6 @@ public function getCarRentalLocationCountry() */ public function setCarRentalLocationCountry($carRentalLocationCountry) { - if (is_null($carRentalLocationCountry)) { - throw new \InvalidArgumentException('non-nullable carRentalLocationCountry cannot be null'); - } $this->container['carRentalLocationCountry'] = $carRentalLocationCountry; return $this; @@ -638,9 +617,6 @@ public function getCarRentalLocationStateProvince() */ public function setCarRentalLocationStateProvince($carRentalLocationStateProvince) { - if (is_null($carRentalLocationStateProvince)) { - throw new \InvalidArgumentException('non-nullable carRentalLocationStateProvince cannot be null'); - } $this->container['carRentalLocationStateProvince'] = $carRentalLocationStateProvince; return $this; @@ -665,9 +641,6 @@ public function getCarRentalNoShowIndicator() */ public function setCarRentalNoShowIndicator($carRentalNoShowIndicator) { - if (is_null($carRentalNoShowIndicator)) { - throw new \InvalidArgumentException('non-nullable carRentalNoShowIndicator cannot be null'); - } $this->container['carRentalNoShowIndicator'] = $carRentalNoShowIndicator; return $this; @@ -692,9 +665,6 @@ public function getCarRentalOneWayDropOffCharges() */ public function setCarRentalOneWayDropOffCharges($carRentalOneWayDropOffCharges) { - if (is_null($carRentalOneWayDropOffCharges)) { - throw new \InvalidArgumentException('non-nullable carRentalOneWayDropOffCharges cannot be null'); - } $this->container['carRentalOneWayDropOffCharges'] = $carRentalOneWayDropOffCharges; return $this; @@ -719,9 +689,6 @@ public function getCarRentalRate() */ public function setCarRentalRate($carRentalRate) { - if (is_null($carRentalRate)) { - throw new \InvalidArgumentException('non-nullable carRentalRate cannot be null'); - } $this->container['carRentalRate'] = $carRentalRate; return $this; @@ -746,9 +713,6 @@ public function getCarRentalRateIndicator() */ public function setCarRentalRateIndicator($carRentalRateIndicator) { - if (is_null($carRentalRateIndicator)) { - throw new \InvalidArgumentException('non-nullable carRentalRateIndicator cannot be null'); - } $this->container['carRentalRateIndicator'] = $carRentalRateIndicator; return $this; @@ -773,9 +737,6 @@ public function getCarRentalRentalAgreementNumber() */ public function setCarRentalRentalAgreementNumber($carRentalRentalAgreementNumber) { - if (is_null($carRentalRentalAgreementNumber)) { - throw new \InvalidArgumentException('non-nullable carRentalRentalAgreementNumber cannot be null'); - } $this->container['carRentalRentalAgreementNumber'] = $carRentalRentalAgreementNumber; return $this; @@ -800,9 +761,6 @@ public function getCarRentalRentalClassId() */ public function setCarRentalRentalClassId($carRentalRentalClassId) { - if (is_null($carRentalRentalClassId)) { - throw new \InvalidArgumentException('non-nullable carRentalRentalClassId cannot be null'); - } $this->container['carRentalRentalClassId'] = $carRentalRentalClassId; return $this; @@ -827,9 +785,6 @@ public function getCarRentalRenterName() */ public function setCarRentalRenterName($carRentalRenterName) { - if (is_null($carRentalRenterName)) { - throw new \InvalidArgumentException('non-nullable carRentalRenterName cannot be null'); - } $this->container['carRentalRenterName'] = $carRentalRenterName; return $this; @@ -854,9 +809,6 @@ public function getCarRentalReturnCity() */ public function setCarRentalReturnCity($carRentalReturnCity) { - if (is_null($carRentalReturnCity)) { - throw new \InvalidArgumentException('non-nullable carRentalReturnCity cannot be null'); - } $this->container['carRentalReturnCity'] = $carRentalReturnCity; return $this; @@ -881,9 +833,6 @@ public function getCarRentalReturnCountry() */ public function setCarRentalReturnCountry($carRentalReturnCountry) { - if (is_null($carRentalReturnCountry)) { - throw new \InvalidArgumentException('non-nullable carRentalReturnCountry cannot be null'); - } $this->container['carRentalReturnCountry'] = $carRentalReturnCountry; return $this; @@ -908,9 +857,6 @@ public function getCarRentalReturnDate() */ public function setCarRentalReturnDate($carRentalReturnDate) { - if (is_null($carRentalReturnDate)) { - throw new \InvalidArgumentException('non-nullable carRentalReturnDate cannot be null'); - } $this->container['carRentalReturnDate'] = $carRentalReturnDate; return $this; @@ -935,9 +881,6 @@ public function getCarRentalReturnLocationId() */ public function setCarRentalReturnLocationId($carRentalReturnLocationId) { - if (is_null($carRentalReturnLocationId)) { - throw new \InvalidArgumentException('non-nullable carRentalReturnLocationId cannot be null'); - } $this->container['carRentalReturnLocationId'] = $carRentalReturnLocationId; return $this; @@ -962,9 +905,6 @@ public function getCarRentalReturnStateProvince() */ public function setCarRentalReturnStateProvince($carRentalReturnStateProvince) { - if (is_null($carRentalReturnStateProvince)) { - throw new \InvalidArgumentException('non-nullable carRentalReturnStateProvince cannot be null'); - } $this->container['carRentalReturnStateProvince'] = $carRentalReturnStateProvince; return $this; @@ -989,9 +929,6 @@ public function getCarRentalTaxExemptIndicator() */ public function setCarRentalTaxExemptIndicator($carRentalTaxExemptIndicator) { - if (is_null($carRentalTaxExemptIndicator)) { - throw new \InvalidArgumentException('non-nullable carRentalTaxExemptIndicator cannot be null'); - } $this->container['carRentalTaxExemptIndicator'] = $carRentalTaxExemptIndicator; return $this; @@ -1016,9 +953,6 @@ public function getTravelEntertainmentAuthDataDuration() */ public function setTravelEntertainmentAuthDataDuration($travelEntertainmentAuthDataDuration) { - if (is_null($travelEntertainmentAuthDataDuration)) { - throw new \InvalidArgumentException('non-nullable travelEntertainmentAuthDataDuration cannot be null'); - } $this->container['travelEntertainmentAuthDataDuration'] = $travelEntertainmentAuthDataDuration; return $this; @@ -1043,9 +977,6 @@ public function getTravelEntertainmentAuthDataMarket() */ public function setTravelEntertainmentAuthDataMarket($travelEntertainmentAuthDataMarket) { - if (is_null($travelEntertainmentAuthDataMarket)) { - throw new \InvalidArgumentException('non-nullable travelEntertainmentAuthDataMarket cannot be null'); - } $this->container['travelEntertainmentAuthDataMarket'] = $travelEntertainmentAuthDataMarket; return $this; diff --git a/src/Adyen/Model/Checkout/AdditionalDataCommon.php b/src/Adyen/Model/Checkout/AdditionalDataCommon.php index b2905d68a..d8667692d 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataCommon.php +++ b/src/Adyen/Model/Checkout/AdditionalDataCommon.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -423,9 +423,6 @@ public function getRequestedTestErrorResponseCode() */ public function setRequestedTestErrorResponseCode($requestedTestErrorResponseCode) { - if (is_null($requestedTestErrorResponseCode)) { - throw new \InvalidArgumentException('non-nullable requestedTestErrorResponseCode cannot be null'); - } $this->container['requestedTestErrorResponseCode'] = $requestedTestErrorResponseCode; return $this; @@ -450,9 +447,6 @@ public function getAllowPartialAuth() */ public function setAllowPartialAuth($allowPartialAuth) { - if (is_null($allowPartialAuth)) { - throw new \InvalidArgumentException('non-nullable allowPartialAuth cannot be null'); - } $this->container['allowPartialAuth'] = $allowPartialAuth; return $this; @@ -477,9 +471,6 @@ public function getAuthorisationType() */ public function setAuthorisationType($authorisationType) { - if (is_null($authorisationType)) { - throw new \InvalidArgumentException('non-nullable authorisationType cannot be null'); - } $this->container['authorisationType'] = $authorisationType; return $this; @@ -504,9 +495,6 @@ public function getCustomRoutingFlag() */ public function setCustomRoutingFlag($customRoutingFlag) { - if (is_null($customRoutingFlag)) { - throw new \InvalidArgumentException('non-nullable customRoutingFlag cannot be null'); - } $this->container['customRoutingFlag'] = $customRoutingFlag; return $this; @@ -531,9 +519,6 @@ public function getIndustryUsage() */ 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( @@ -568,9 +553,6 @@ public function getManualCapture() */ public function setManualCapture($manualCapture) { - if (is_null($manualCapture)) { - throw new \InvalidArgumentException('non-nullable manualCapture cannot be null'); - } $this->container['manualCapture'] = $manualCapture; return $this; @@ -595,9 +577,6 @@ public function getNetworkTxReference() */ public function setNetworkTxReference($networkTxReference) { - if (is_null($networkTxReference)) { - throw new \InvalidArgumentException('non-nullable networkTxReference cannot be null'); - } $this->container['networkTxReference'] = $networkTxReference; return $this; @@ -622,9 +601,6 @@ public function getOverwriteBrand() */ public function setOverwriteBrand($overwriteBrand) { - if (is_null($overwriteBrand)) { - throw new \InvalidArgumentException('non-nullable overwriteBrand cannot be null'); - } $this->container['overwriteBrand'] = $overwriteBrand; return $this; @@ -649,9 +625,6 @@ public function getSubMerchantCity() */ public function setSubMerchantCity($subMerchantCity) { - if (is_null($subMerchantCity)) { - throw new \InvalidArgumentException('non-nullable subMerchantCity cannot be null'); - } $this->container['subMerchantCity'] = $subMerchantCity; return $this; @@ -676,9 +649,6 @@ public function getSubMerchantCountry() */ public function setSubMerchantCountry($subMerchantCountry) { - if (is_null($subMerchantCountry)) { - throw new \InvalidArgumentException('non-nullable subMerchantCountry cannot be null'); - } $this->container['subMerchantCountry'] = $subMerchantCountry; return $this; @@ -703,9 +673,6 @@ public function getSubMerchantID() */ public function setSubMerchantID($subMerchantID) { - if (is_null($subMerchantID)) { - throw new \InvalidArgumentException('non-nullable subMerchantID cannot be null'); - } $this->container['subMerchantID'] = $subMerchantID; return $this; @@ -730,9 +697,6 @@ public function getSubMerchantName() */ public function setSubMerchantName($subMerchantName) { - if (is_null($subMerchantName)) { - throw new \InvalidArgumentException('non-nullable subMerchantName cannot be null'); - } $this->container['subMerchantName'] = $subMerchantName; return $this; @@ -757,9 +721,6 @@ public function getSubMerchantPostalCode() */ public function setSubMerchantPostalCode($subMerchantPostalCode) { - if (is_null($subMerchantPostalCode)) { - throw new \InvalidArgumentException('non-nullable subMerchantPostalCode cannot be null'); - } $this->container['subMerchantPostalCode'] = $subMerchantPostalCode; return $this; @@ -784,9 +745,6 @@ public function getSubMerchantState() */ public function setSubMerchantState($subMerchantState) { - if (is_null($subMerchantState)) { - throw new \InvalidArgumentException('non-nullable subMerchantState cannot be null'); - } $this->container['subMerchantState'] = $subMerchantState; return $this; @@ -811,9 +769,6 @@ public function getSubMerchantStreet() */ public function setSubMerchantStreet($subMerchantStreet) { - if (is_null($subMerchantStreet)) { - throw new \InvalidArgumentException('non-nullable subMerchantStreet cannot be null'); - } $this->container['subMerchantStreet'] = $subMerchantStreet; return $this; @@ -838,9 +793,6 @@ public function getSubMerchantTaxId() */ public function setSubMerchantTaxId($subMerchantTaxId) { - if (is_null($subMerchantTaxId)) { - throw new \InvalidArgumentException('non-nullable subMerchantTaxId cannot be null'); - } $this->container['subMerchantTaxId'] = $subMerchantTaxId; return $this; diff --git a/src/Adyen/Model/Checkout/AdditionalDataLevel23.php b/src/Adyen/Model/Checkout/AdditionalDataLevel23.php index 47d789255..a3fb6fe60 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataLevel23.php +++ b/src/Adyen/Model/Checkout/AdditionalDataLevel23.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -407,9 +407,6 @@ public function getEnhancedSchemeDataCustomerReference() */ public function setEnhancedSchemeDataCustomerReference($enhancedSchemeDataCustomerReference) { - if (is_null($enhancedSchemeDataCustomerReference)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataCustomerReference cannot be null'); - } $this->container['enhancedSchemeDataCustomerReference'] = $enhancedSchemeDataCustomerReference; return $this; @@ -434,9 +431,6 @@ public function getEnhancedSchemeDataDestinationCountryCode() */ public function setEnhancedSchemeDataDestinationCountryCode($enhancedSchemeDataDestinationCountryCode) { - if (is_null($enhancedSchemeDataDestinationCountryCode)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataDestinationCountryCode cannot be null'); - } $this->container['enhancedSchemeDataDestinationCountryCode'] = $enhancedSchemeDataDestinationCountryCode; return $this; @@ -461,9 +455,6 @@ public function getEnhancedSchemeDataDestinationPostalCode() */ public function setEnhancedSchemeDataDestinationPostalCode($enhancedSchemeDataDestinationPostalCode) { - if (is_null($enhancedSchemeDataDestinationPostalCode)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataDestinationPostalCode cannot be null'); - } $this->container['enhancedSchemeDataDestinationPostalCode'] = $enhancedSchemeDataDestinationPostalCode; return $this; @@ -488,9 +479,6 @@ public function getEnhancedSchemeDataDestinationStateProvinceCode() */ public function setEnhancedSchemeDataDestinationStateProvinceCode($enhancedSchemeDataDestinationStateProvinceCode) { - if (is_null($enhancedSchemeDataDestinationStateProvinceCode)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataDestinationStateProvinceCode cannot be null'); - } $this->container['enhancedSchemeDataDestinationStateProvinceCode'] = $enhancedSchemeDataDestinationStateProvinceCode; return $this; @@ -515,9 +503,6 @@ public function getEnhancedSchemeDataDutyAmount() */ public function setEnhancedSchemeDataDutyAmount($enhancedSchemeDataDutyAmount) { - if (is_null($enhancedSchemeDataDutyAmount)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataDutyAmount cannot be null'); - } $this->container['enhancedSchemeDataDutyAmount'] = $enhancedSchemeDataDutyAmount; return $this; @@ -542,9 +527,6 @@ public function getEnhancedSchemeDataFreightAmount() */ public function setEnhancedSchemeDataFreightAmount($enhancedSchemeDataFreightAmount) { - if (is_null($enhancedSchemeDataFreightAmount)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataFreightAmount cannot be null'); - } $this->container['enhancedSchemeDataFreightAmount'] = $enhancedSchemeDataFreightAmount; return $this; @@ -569,9 +551,6 @@ public function getEnhancedSchemeDataItemDetailLineItemNrCommodityCode() */ public function setEnhancedSchemeDataItemDetailLineItemNrCommodityCode($enhancedSchemeDataItemDetailLineItemNrCommodityCode) { - if (is_null($enhancedSchemeDataItemDetailLineItemNrCommodityCode)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataItemDetailLineItemNrCommodityCode cannot be null'); - } $this->container['enhancedSchemeDataItemDetailLineItemNrCommodityCode'] = $enhancedSchemeDataItemDetailLineItemNrCommodityCode; return $this; @@ -596,9 +575,6 @@ public function getEnhancedSchemeDataItemDetailLineItemNrDescription() */ public function setEnhancedSchemeDataItemDetailLineItemNrDescription($enhancedSchemeDataItemDetailLineItemNrDescription) { - if (is_null($enhancedSchemeDataItemDetailLineItemNrDescription)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataItemDetailLineItemNrDescription cannot be null'); - } $this->container['enhancedSchemeDataItemDetailLineItemNrDescription'] = $enhancedSchemeDataItemDetailLineItemNrDescription; return $this; @@ -623,9 +599,6 @@ public function getEnhancedSchemeDataItemDetailLineItemNrDiscountAmount() */ public function setEnhancedSchemeDataItemDetailLineItemNrDiscountAmount($enhancedSchemeDataItemDetailLineItemNrDiscountAmount) { - if (is_null($enhancedSchemeDataItemDetailLineItemNrDiscountAmount)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataItemDetailLineItemNrDiscountAmount cannot be null'); - } $this->container['enhancedSchemeDataItemDetailLineItemNrDiscountAmount'] = $enhancedSchemeDataItemDetailLineItemNrDiscountAmount; return $this; @@ -650,9 +623,6 @@ public function getEnhancedSchemeDataItemDetailLineItemNrProductCode() */ public function setEnhancedSchemeDataItemDetailLineItemNrProductCode($enhancedSchemeDataItemDetailLineItemNrProductCode) { - if (is_null($enhancedSchemeDataItemDetailLineItemNrProductCode)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataItemDetailLineItemNrProductCode cannot be null'); - } $this->container['enhancedSchemeDataItemDetailLineItemNrProductCode'] = $enhancedSchemeDataItemDetailLineItemNrProductCode; return $this; @@ -677,9 +647,6 @@ public function getEnhancedSchemeDataItemDetailLineItemNrQuantity() */ public function setEnhancedSchemeDataItemDetailLineItemNrQuantity($enhancedSchemeDataItemDetailLineItemNrQuantity) { - if (is_null($enhancedSchemeDataItemDetailLineItemNrQuantity)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataItemDetailLineItemNrQuantity cannot be null'); - } $this->container['enhancedSchemeDataItemDetailLineItemNrQuantity'] = $enhancedSchemeDataItemDetailLineItemNrQuantity; return $this; @@ -704,9 +671,6 @@ public function getEnhancedSchemeDataItemDetailLineItemNrTotalAmount() */ public function setEnhancedSchemeDataItemDetailLineItemNrTotalAmount($enhancedSchemeDataItemDetailLineItemNrTotalAmount) { - if (is_null($enhancedSchemeDataItemDetailLineItemNrTotalAmount)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataItemDetailLineItemNrTotalAmount cannot be null'); - } $this->container['enhancedSchemeDataItemDetailLineItemNrTotalAmount'] = $enhancedSchemeDataItemDetailLineItemNrTotalAmount; return $this; @@ -731,9 +695,6 @@ public function getEnhancedSchemeDataItemDetailLineItemNrUnitOfMeasure() */ public function setEnhancedSchemeDataItemDetailLineItemNrUnitOfMeasure($enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure) { - if (is_null($enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure cannot be null'); - } $this->container['enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure'] = $enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure; return $this; @@ -758,9 +719,6 @@ public function getEnhancedSchemeDataItemDetailLineItemNrUnitPrice() */ public function setEnhancedSchemeDataItemDetailLineItemNrUnitPrice($enhancedSchemeDataItemDetailLineItemNrUnitPrice) { - if (is_null($enhancedSchemeDataItemDetailLineItemNrUnitPrice)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataItemDetailLineItemNrUnitPrice cannot be null'); - } $this->container['enhancedSchemeDataItemDetailLineItemNrUnitPrice'] = $enhancedSchemeDataItemDetailLineItemNrUnitPrice; return $this; @@ -785,9 +743,6 @@ public function getEnhancedSchemeDataOrderDate() */ public function setEnhancedSchemeDataOrderDate($enhancedSchemeDataOrderDate) { - if (is_null($enhancedSchemeDataOrderDate)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataOrderDate cannot be null'); - } $this->container['enhancedSchemeDataOrderDate'] = $enhancedSchemeDataOrderDate; return $this; @@ -812,9 +767,6 @@ public function getEnhancedSchemeDataShipFromPostalCode() */ public function setEnhancedSchemeDataShipFromPostalCode($enhancedSchemeDataShipFromPostalCode) { - if (is_null($enhancedSchemeDataShipFromPostalCode)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataShipFromPostalCode cannot be null'); - } $this->container['enhancedSchemeDataShipFromPostalCode'] = $enhancedSchemeDataShipFromPostalCode; return $this; @@ -839,9 +791,6 @@ public function getEnhancedSchemeDataTotalTaxAmount() */ public function setEnhancedSchemeDataTotalTaxAmount($enhancedSchemeDataTotalTaxAmount) { - if (is_null($enhancedSchemeDataTotalTaxAmount)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataTotalTaxAmount cannot be null'); - } $this->container['enhancedSchemeDataTotalTaxAmount'] = $enhancedSchemeDataTotalTaxAmount; return $this; diff --git a/src/Adyen/Model/Checkout/AdditionalDataLodging.php b/src/Adyen/Model/Checkout/AdditionalDataLodging.php index fb107fdd3..c05676ad6 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataLodging.php +++ b/src/Adyen/Model/Checkout/AdditionalDataLodging.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -407,9 +407,6 @@ public function getLodgingSpecialProgramCode() */ public function setLodgingSpecialProgramCode($lodgingSpecialProgramCode) { - if (is_null($lodgingSpecialProgramCode)) { - throw new \InvalidArgumentException('non-nullable lodgingSpecialProgramCode cannot be null'); - } $this->container['lodgingSpecialProgramCode'] = $lodgingSpecialProgramCode; return $this; @@ -434,9 +431,6 @@ public function getLodgingCheckInDate() */ public function setLodgingCheckInDate($lodgingCheckInDate) { - if (is_null($lodgingCheckInDate)) { - throw new \InvalidArgumentException('non-nullable lodgingCheckInDate cannot be null'); - } $this->container['lodgingCheckInDate'] = $lodgingCheckInDate; return $this; @@ -461,9 +455,6 @@ public function getLodgingCheckOutDate() */ public function setLodgingCheckOutDate($lodgingCheckOutDate) { - if (is_null($lodgingCheckOutDate)) { - throw new \InvalidArgumentException('non-nullable lodgingCheckOutDate cannot be null'); - } $this->container['lodgingCheckOutDate'] = $lodgingCheckOutDate; return $this; @@ -488,9 +479,6 @@ public function getLodgingCustomerServiceTollFreeNumber() */ public function setLodgingCustomerServiceTollFreeNumber($lodgingCustomerServiceTollFreeNumber) { - if (is_null($lodgingCustomerServiceTollFreeNumber)) { - throw new \InvalidArgumentException('non-nullable lodgingCustomerServiceTollFreeNumber cannot be null'); - } $this->container['lodgingCustomerServiceTollFreeNumber'] = $lodgingCustomerServiceTollFreeNumber; return $this; @@ -515,9 +503,6 @@ public function getLodgingFireSafetyActIndicator() */ public function setLodgingFireSafetyActIndicator($lodgingFireSafetyActIndicator) { - if (is_null($lodgingFireSafetyActIndicator)) { - throw new \InvalidArgumentException('non-nullable lodgingFireSafetyActIndicator cannot be null'); - } $this->container['lodgingFireSafetyActIndicator'] = $lodgingFireSafetyActIndicator; return $this; @@ -542,9 +527,6 @@ public function getLodgingFolioCashAdvances() */ public function setLodgingFolioCashAdvances($lodgingFolioCashAdvances) { - if (is_null($lodgingFolioCashAdvances)) { - throw new \InvalidArgumentException('non-nullable lodgingFolioCashAdvances cannot be null'); - } $this->container['lodgingFolioCashAdvances'] = $lodgingFolioCashAdvances; return $this; @@ -569,9 +551,6 @@ public function getLodgingFolioNumber() */ public function setLodgingFolioNumber($lodgingFolioNumber) { - if (is_null($lodgingFolioNumber)) { - throw new \InvalidArgumentException('non-nullable lodgingFolioNumber cannot be null'); - } $this->container['lodgingFolioNumber'] = $lodgingFolioNumber; return $this; @@ -596,9 +575,6 @@ public function getLodgingFoodBeverageCharges() */ public function setLodgingFoodBeverageCharges($lodgingFoodBeverageCharges) { - if (is_null($lodgingFoodBeverageCharges)) { - throw new \InvalidArgumentException('non-nullable lodgingFoodBeverageCharges cannot be null'); - } $this->container['lodgingFoodBeverageCharges'] = $lodgingFoodBeverageCharges; return $this; @@ -623,9 +599,6 @@ public function getLodgingNoShowIndicator() */ public function setLodgingNoShowIndicator($lodgingNoShowIndicator) { - if (is_null($lodgingNoShowIndicator)) { - throw new \InvalidArgumentException('non-nullable lodgingNoShowIndicator cannot be null'); - } $this->container['lodgingNoShowIndicator'] = $lodgingNoShowIndicator; return $this; @@ -650,9 +623,6 @@ public function getLodgingPrepaidExpenses() */ public function setLodgingPrepaidExpenses($lodgingPrepaidExpenses) { - if (is_null($lodgingPrepaidExpenses)) { - throw new \InvalidArgumentException('non-nullable lodgingPrepaidExpenses cannot be null'); - } $this->container['lodgingPrepaidExpenses'] = $lodgingPrepaidExpenses; return $this; @@ -677,9 +647,6 @@ public function getLodgingPropertyPhoneNumber() */ public function setLodgingPropertyPhoneNumber($lodgingPropertyPhoneNumber) { - if (is_null($lodgingPropertyPhoneNumber)) { - throw new \InvalidArgumentException('non-nullable lodgingPropertyPhoneNumber cannot be null'); - } $this->container['lodgingPropertyPhoneNumber'] = $lodgingPropertyPhoneNumber; return $this; @@ -704,9 +671,6 @@ public function getLodgingRoom1NumberOfNights() */ public function setLodgingRoom1NumberOfNights($lodgingRoom1NumberOfNights) { - if (is_null($lodgingRoom1NumberOfNights)) { - throw new \InvalidArgumentException('non-nullable lodgingRoom1NumberOfNights cannot be null'); - } $this->container['lodgingRoom1NumberOfNights'] = $lodgingRoom1NumberOfNights; return $this; @@ -731,9 +695,6 @@ public function getLodgingRoom1Rate() */ public function setLodgingRoom1Rate($lodgingRoom1Rate) { - if (is_null($lodgingRoom1Rate)) { - throw new \InvalidArgumentException('non-nullable lodgingRoom1Rate cannot be null'); - } $this->container['lodgingRoom1Rate'] = $lodgingRoom1Rate; return $this; @@ -758,9 +719,6 @@ public function getLodgingTotalRoomTax() */ public function setLodgingTotalRoomTax($lodgingTotalRoomTax) { - if (is_null($lodgingTotalRoomTax)) { - throw new \InvalidArgumentException('non-nullable lodgingTotalRoomTax cannot be null'); - } $this->container['lodgingTotalRoomTax'] = $lodgingTotalRoomTax; return $this; @@ -785,9 +743,6 @@ public function getLodgingTotalTax() */ public function setLodgingTotalTax($lodgingTotalTax) { - if (is_null($lodgingTotalTax)) { - throw new \InvalidArgumentException('non-nullable lodgingTotalTax cannot be null'); - } $this->container['lodgingTotalTax'] = $lodgingTotalTax; return $this; @@ -812,9 +767,6 @@ public function getTravelEntertainmentAuthDataDuration() */ public function setTravelEntertainmentAuthDataDuration($travelEntertainmentAuthDataDuration) { - if (is_null($travelEntertainmentAuthDataDuration)) { - throw new \InvalidArgumentException('non-nullable travelEntertainmentAuthDataDuration cannot be null'); - } $this->container['travelEntertainmentAuthDataDuration'] = $travelEntertainmentAuthDataDuration; return $this; @@ -839,9 +791,6 @@ public function getTravelEntertainmentAuthDataMarket() */ public function setTravelEntertainmentAuthDataMarket($travelEntertainmentAuthDataMarket) { - if (is_null($travelEntertainmentAuthDataMarket)) { - throw new \InvalidArgumentException('non-nullable travelEntertainmentAuthDataMarket cannot be null'); - } $this->container['travelEntertainmentAuthDataMarket'] = $travelEntertainmentAuthDataMarket; return $this; diff --git a/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php b/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php index 1139a4b1b..1b9e6ae1b 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php +++ b/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -414,9 +414,6 @@ public function getOpeninvoicedataMerchantData() */ public function setOpeninvoicedataMerchantData($openinvoicedataMerchantData) { - if (is_null($openinvoicedataMerchantData)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataMerchantData cannot be null'); - } $this->container['openinvoicedataMerchantData'] = $openinvoicedataMerchantData; return $this; @@ -441,9 +438,6 @@ public function getOpeninvoicedataNumberOfLines() */ public function setOpeninvoicedataNumberOfLines($openinvoicedataNumberOfLines) { - if (is_null($openinvoicedataNumberOfLines)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataNumberOfLines cannot be null'); - } $this->container['openinvoicedataNumberOfLines'] = $openinvoicedataNumberOfLines; return $this; @@ -468,9 +462,6 @@ public function getOpeninvoicedataRecipientFirstName() */ public function setOpeninvoicedataRecipientFirstName($openinvoicedataRecipientFirstName) { - if (is_null($openinvoicedataRecipientFirstName)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataRecipientFirstName cannot be null'); - } $this->container['openinvoicedataRecipientFirstName'] = $openinvoicedataRecipientFirstName; return $this; @@ -495,9 +486,6 @@ public function getOpeninvoicedataRecipientLastName() */ public function setOpeninvoicedataRecipientLastName($openinvoicedataRecipientLastName) { - if (is_null($openinvoicedataRecipientLastName)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataRecipientLastName cannot be null'); - } $this->container['openinvoicedataRecipientLastName'] = $openinvoicedataRecipientLastName; return $this; @@ -522,9 +510,6 @@ public function getOpeninvoicedataLineItemNrCurrencyCode() */ public function setOpeninvoicedataLineItemNrCurrencyCode($openinvoicedataLineItemNrCurrencyCode) { - if (is_null($openinvoicedataLineItemNrCurrencyCode)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataLineItemNrCurrencyCode cannot be null'); - } $this->container['openinvoicedataLineItemNrCurrencyCode'] = $openinvoicedataLineItemNrCurrencyCode; return $this; @@ -549,9 +534,6 @@ public function getOpeninvoicedataLineItemNrDescription() */ public function setOpeninvoicedataLineItemNrDescription($openinvoicedataLineItemNrDescription) { - if (is_null($openinvoicedataLineItemNrDescription)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataLineItemNrDescription cannot be null'); - } $this->container['openinvoicedataLineItemNrDescription'] = $openinvoicedataLineItemNrDescription; return $this; @@ -576,9 +558,6 @@ public function getOpeninvoicedataLineItemNrItemAmount() */ public function setOpeninvoicedataLineItemNrItemAmount($openinvoicedataLineItemNrItemAmount) { - if (is_null($openinvoicedataLineItemNrItemAmount)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataLineItemNrItemAmount cannot be null'); - } $this->container['openinvoicedataLineItemNrItemAmount'] = $openinvoicedataLineItemNrItemAmount; return $this; @@ -603,9 +582,6 @@ public function getOpeninvoicedataLineItemNrItemId() */ public function setOpeninvoicedataLineItemNrItemId($openinvoicedataLineItemNrItemId) { - if (is_null($openinvoicedataLineItemNrItemId)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataLineItemNrItemId cannot be null'); - } $this->container['openinvoicedataLineItemNrItemId'] = $openinvoicedataLineItemNrItemId; return $this; @@ -630,9 +606,6 @@ public function getOpeninvoicedataLineItemNrItemVatAmount() */ public function setOpeninvoicedataLineItemNrItemVatAmount($openinvoicedataLineItemNrItemVatAmount) { - if (is_null($openinvoicedataLineItemNrItemVatAmount)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataLineItemNrItemVatAmount cannot be null'); - } $this->container['openinvoicedataLineItemNrItemVatAmount'] = $openinvoicedataLineItemNrItemVatAmount; return $this; @@ -657,9 +630,6 @@ public function getOpeninvoicedataLineItemNrItemVatPercentage() */ public function setOpeninvoicedataLineItemNrItemVatPercentage($openinvoicedataLineItemNrItemVatPercentage) { - if (is_null($openinvoicedataLineItemNrItemVatPercentage)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataLineItemNrItemVatPercentage cannot be null'); - } $this->container['openinvoicedataLineItemNrItemVatPercentage'] = $openinvoicedataLineItemNrItemVatPercentage; return $this; @@ -684,9 +654,6 @@ public function getOpeninvoicedataLineItemNrNumberOfItems() */ public function setOpeninvoicedataLineItemNrNumberOfItems($openinvoicedataLineItemNrNumberOfItems) { - if (is_null($openinvoicedataLineItemNrNumberOfItems)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataLineItemNrNumberOfItems cannot be null'); - } $this->container['openinvoicedataLineItemNrNumberOfItems'] = $openinvoicedataLineItemNrNumberOfItems; return $this; @@ -711,9 +678,6 @@ public function getOpeninvoicedataLineItemNrReturnShippingCompany() */ public function setOpeninvoicedataLineItemNrReturnShippingCompany($openinvoicedataLineItemNrReturnShippingCompany) { - if (is_null($openinvoicedataLineItemNrReturnShippingCompany)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataLineItemNrReturnShippingCompany cannot be null'); - } $this->container['openinvoicedataLineItemNrReturnShippingCompany'] = $openinvoicedataLineItemNrReturnShippingCompany; return $this; @@ -738,9 +702,6 @@ public function getOpeninvoicedataLineItemNrReturnTrackingNumber() */ public function setOpeninvoicedataLineItemNrReturnTrackingNumber($openinvoicedataLineItemNrReturnTrackingNumber) { - if (is_null($openinvoicedataLineItemNrReturnTrackingNumber)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataLineItemNrReturnTrackingNumber cannot be null'); - } $this->container['openinvoicedataLineItemNrReturnTrackingNumber'] = $openinvoicedataLineItemNrReturnTrackingNumber; return $this; @@ -765,9 +726,6 @@ public function getOpeninvoicedataLineItemNrReturnTrackingUri() */ public function setOpeninvoicedataLineItemNrReturnTrackingUri($openinvoicedataLineItemNrReturnTrackingUri) { - if (is_null($openinvoicedataLineItemNrReturnTrackingUri)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataLineItemNrReturnTrackingUri cannot be null'); - } $this->container['openinvoicedataLineItemNrReturnTrackingUri'] = $openinvoicedataLineItemNrReturnTrackingUri; return $this; @@ -792,9 +750,6 @@ public function getOpeninvoicedataLineItemNrShippingCompany() */ public function setOpeninvoicedataLineItemNrShippingCompany($openinvoicedataLineItemNrShippingCompany) { - if (is_null($openinvoicedataLineItemNrShippingCompany)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataLineItemNrShippingCompany cannot be null'); - } $this->container['openinvoicedataLineItemNrShippingCompany'] = $openinvoicedataLineItemNrShippingCompany; return $this; @@ -819,9 +774,6 @@ public function getOpeninvoicedataLineItemNrShippingMethod() */ public function setOpeninvoicedataLineItemNrShippingMethod($openinvoicedataLineItemNrShippingMethod) { - if (is_null($openinvoicedataLineItemNrShippingMethod)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataLineItemNrShippingMethod cannot be null'); - } $this->container['openinvoicedataLineItemNrShippingMethod'] = $openinvoicedataLineItemNrShippingMethod; return $this; @@ -846,9 +798,6 @@ public function getOpeninvoicedataLineItemNrTrackingNumber() */ public function setOpeninvoicedataLineItemNrTrackingNumber($openinvoicedataLineItemNrTrackingNumber) { - if (is_null($openinvoicedataLineItemNrTrackingNumber)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataLineItemNrTrackingNumber cannot be null'); - } $this->container['openinvoicedataLineItemNrTrackingNumber'] = $openinvoicedataLineItemNrTrackingNumber; return $this; @@ -873,9 +822,6 @@ public function getOpeninvoicedataLineItemNrTrackingUri() */ public function setOpeninvoicedataLineItemNrTrackingUri($openinvoicedataLineItemNrTrackingUri) { - if (is_null($openinvoicedataLineItemNrTrackingUri)) { - throw new \InvalidArgumentException('non-nullable openinvoicedataLineItemNrTrackingUri cannot be null'); - } $this->container['openinvoicedataLineItemNrTrackingUri'] = $openinvoicedataLineItemNrTrackingUri; return $this; diff --git a/src/Adyen/Model/Checkout/AdditionalDataOpi.php b/src/Adyen/Model/Checkout/AdditionalDataOpi.php index 4f6a9a5a8..163394e2c 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataOpi.php +++ b/src/Adyen/Model/Checkout/AdditionalDataOpi.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -295,9 +295,6 @@ public function getOpiIncludeTransToken() */ public function setOpiIncludeTransToken($opiIncludeTransToken) { - if (is_null($opiIncludeTransToken)) { - throw new \InvalidArgumentException('non-nullable opiIncludeTransToken cannot be null'); - } $this->container['opiIncludeTransToken'] = $opiIncludeTransToken; return $this; diff --git a/src/Adyen/Model/Checkout/AdditionalDataRatepay.php b/src/Adyen/Model/Checkout/AdditionalDataRatepay.php index e0d036926..46cd59957 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRatepay.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRatepay.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -344,9 +344,6 @@ public function getRatepayInstallmentAmount() */ public function setRatepayInstallmentAmount($ratepayInstallmentAmount) { - if (is_null($ratepayInstallmentAmount)) { - throw new \InvalidArgumentException('non-nullable ratepayInstallmentAmount cannot be null'); - } $this->container['ratepayInstallmentAmount'] = $ratepayInstallmentAmount; return $this; @@ -371,9 +368,6 @@ public function getRatepayInterestRate() */ public function setRatepayInterestRate($ratepayInterestRate) { - if (is_null($ratepayInterestRate)) { - throw new \InvalidArgumentException('non-nullable ratepayInterestRate cannot be null'); - } $this->container['ratepayInterestRate'] = $ratepayInterestRate; return $this; @@ -398,9 +392,6 @@ public function getRatepayLastInstallmentAmount() */ public function setRatepayLastInstallmentAmount($ratepayLastInstallmentAmount) { - if (is_null($ratepayLastInstallmentAmount)) { - throw new \InvalidArgumentException('non-nullable ratepayLastInstallmentAmount cannot be null'); - } $this->container['ratepayLastInstallmentAmount'] = $ratepayLastInstallmentAmount; return $this; @@ -425,9 +416,6 @@ public function getRatepayPaymentFirstday() */ public function setRatepayPaymentFirstday($ratepayPaymentFirstday) { - if (is_null($ratepayPaymentFirstday)) { - throw new \InvalidArgumentException('non-nullable ratepayPaymentFirstday cannot be null'); - } $this->container['ratepayPaymentFirstday'] = $ratepayPaymentFirstday; return $this; @@ -452,9 +440,6 @@ public function getRatepaydataDeliveryDate() */ public function setRatepaydataDeliveryDate($ratepaydataDeliveryDate) { - if (is_null($ratepaydataDeliveryDate)) { - throw new \InvalidArgumentException('non-nullable ratepaydataDeliveryDate cannot be null'); - } $this->container['ratepaydataDeliveryDate'] = $ratepaydataDeliveryDate; return $this; @@ -479,9 +464,6 @@ public function getRatepaydataDueDate() */ public function setRatepaydataDueDate($ratepaydataDueDate) { - if (is_null($ratepaydataDueDate)) { - throw new \InvalidArgumentException('non-nullable ratepaydataDueDate cannot be null'); - } $this->container['ratepaydataDueDate'] = $ratepaydataDueDate; return $this; @@ -506,9 +488,6 @@ public function getRatepaydataInvoiceDate() */ public function setRatepaydataInvoiceDate($ratepaydataInvoiceDate) { - if (is_null($ratepaydataInvoiceDate)) { - throw new \InvalidArgumentException('non-nullable ratepaydataInvoiceDate cannot be null'); - } $this->container['ratepaydataInvoiceDate'] = $ratepaydataInvoiceDate; return $this; @@ -533,9 +512,6 @@ public function getRatepaydataInvoiceId() */ public function setRatepaydataInvoiceId($ratepaydataInvoiceId) { - if (is_null($ratepaydataInvoiceId)) { - throw new \InvalidArgumentException('non-nullable ratepaydataInvoiceId cannot be null'); - } $this->container['ratepaydataInvoiceId'] = $ratepaydataInvoiceId; return $this; diff --git a/src/Adyen/Model/Checkout/AdditionalDataRetry.php b/src/Adyen/Model/Checkout/AdditionalDataRetry.php index 62011ee9a..766fcfef1 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRetry.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRetry.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -309,9 +309,6 @@ public function getRetryChainAttemptNumber() */ public function setRetryChainAttemptNumber($retryChainAttemptNumber) { - if (is_null($retryChainAttemptNumber)) { - throw new \InvalidArgumentException('non-nullable retryChainAttemptNumber cannot be null'); - } $this->container['retryChainAttemptNumber'] = $retryChainAttemptNumber; return $this; @@ -336,9 +333,6 @@ public function getRetryOrderAttemptNumber() */ public function setRetryOrderAttemptNumber($retryOrderAttemptNumber) { - if (is_null($retryOrderAttemptNumber)) { - throw new \InvalidArgumentException('non-nullable retryOrderAttemptNumber cannot be null'); - } $this->container['retryOrderAttemptNumber'] = $retryOrderAttemptNumber; return $this; @@ -363,9 +357,6 @@ public function getRetrySkipRetry() */ public function setRetrySkipRetry($retrySkipRetry) { - if (is_null($retrySkipRetry)) { - throw new \InvalidArgumentException('non-nullable retrySkipRetry cannot be null'); - } $this->container['retrySkipRetry'] = $retrySkipRetry; return $this; diff --git a/src/Adyen/Model/Checkout/AdditionalDataRisk.php b/src/Adyen/Model/Checkout/AdditionalDataRisk.php index 6b202b0f7..73890446c 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRisk.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRisk.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -435,9 +435,6 @@ public function getRiskdataCustomFieldName() */ public function setRiskdataCustomFieldName($riskdataCustomFieldName) { - if (is_null($riskdataCustomFieldName)) { - throw new \InvalidArgumentException('non-nullable riskdataCustomFieldName cannot be null'); - } $this->container['riskdataCustomFieldName'] = $riskdataCustomFieldName; return $this; @@ -462,9 +459,6 @@ public function getRiskdataBasketItemItemNrAmountPerItem() */ public function setRiskdataBasketItemItemNrAmountPerItem($riskdataBasketItemItemNrAmountPerItem) { - if (is_null($riskdataBasketItemItemNrAmountPerItem)) { - throw new \InvalidArgumentException('non-nullable riskdataBasketItemItemNrAmountPerItem cannot be null'); - } $this->container['riskdataBasketItemItemNrAmountPerItem'] = $riskdataBasketItemItemNrAmountPerItem; return $this; @@ -489,9 +483,6 @@ public function getRiskdataBasketItemItemNrBrand() */ public function setRiskdataBasketItemItemNrBrand($riskdataBasketItemItemNrBrand) { - if (is_null($riskdataBasketItemItemNrBrand)) { - throw new \InvalidArgumentException('non-nullable riskdataBasketItemItemNrBrand cannot be null'); - } $this->container['riskdataBasketItemItemNrBrand'] = $riskdataBasketItemItemNrBrand; return $this; @@ -516,9 +507,6 @@ public function getRiskdataBasketItemItemNrCategory() */ public function setRiskdataBasketItemItemNrCategory($riskdataBasketItemItemNrCategory) { - if (is_null($riskdataBasketItemItemNrCategory)) { - throw new \InvalidArgumentException('non-nullable riskdataBasketItemItemNrCategory cannot be null'); - } $this->container['riskdataBasketItemItemNrCategory'] = $riskdataBasketItemItemNrCategory; return $this; @@ -543,9 +531,6 @@ public function getRiskdataBasketItemItemNrColor() */ public function setRiskdataBasketItemItemNrColor($riskdataBasketItemItemNrColor) { - if (is_null($riskdataBasketItemItemNrColor)) { - throw new \InvalidArgumentException('non-nullable riskdataBasketItemItemNrColor cannot be null'); - } $this->container['riskdataBasketItemItemNrColor'] = $riskdataBasketItemItemNrColor; return $this; @@ -570,9 +555,6 @@ public function getRiskdataBasketItemItemNrCurrency() */ public function setRiskdataBasketItemItemNrCurrency($riskdataBasketItemItemNrCurrency) { - if (is_null($riskdataBasketItemItemNrCurrency)) { - throw new \InvalidArgumentException('non-nullable riskdataBasketItemItemNrCurrency cannot be null'); - } $this->container['riskdataBasketItemItemNrCurrency'] = $riskdataBasketItemItemNrCurrency; return $this; @@ -597,9 +579,6 @@ public function getRiskdataBasketItemItemNrItemID() */ public function setRiskdataBasketItemItemNrItemID($riskdataBasketItemItemNrItemID) { - if (is_null($riskdataBasketItemItemNrItemID)) { - throw new \InvalidArgumentException('non-nullable riskdataBasketItemItemNrItemID cannot be null'); - } $this->container['riskdataBasketItemItemNrItemID'] = $riskdataBasketItemItemNrItemID; return $this; @@ -624,9 +603,6 @@ public function getRiskdataBasketItemItemNrManufacturer() */ public function setRiskdataBasketItemItemNrManufacturer($riskdataBasketItemItemNrManufacturer) { - if (is_null($riskdataBasketItemItemNrManufacturer)) { - throw new \InvalidArgumentException('non-nullable riskdataBasketItemItemNrManufacturer cannot be null'); - } $this->container['riskdataBasketItemItemNrManufacturer'] = $riskdataBasketItemItemNrManufacturer; return $this; @@ -651,9 +627,6 @@ public function getRiskdataBasketItemItemNrProductTitle() */ public function setRiskdataBasketItemItemNrProductTitle($riskdataBasketItemItemNrProductTitle) { - if (is_null($riskdataBasketItemItemNrProductTitle)) { - throw new \InvalidArgumentException('non-nullable riskdataBasketItemItemNrProductTitle cannot be null'); - } $this->container['riskdataBasketItemItemNrProductTitle'] = $riskdataBasketItemItemNrProductTitle; return $this; @@ -678,9 +651,6 @@ public function getRiskdataBasketItemItemNrQuantity() */ public function setRiskdataBasketItemItemNrQuantity($riskdataBasketItemItemNrQuantity) { - if (is_null($riskdataBasketItemItemNrQuantity)) { - throw new \InvalidArgumentException('non-nullable riskdataBasketItemItemNrQuantity cannot be null'); - } $this->container['riskdataBasketItemItemNrQuantity'] = $riskdataBasketItemItemNrQuantity; return $this; @@ -705,9 +675,6 @@ public function getRiskdataBasketItemItemNrReceiverEmail() */ public function setRiskdataBasketItemItemNrReceiverEmail($riskdataBasketItemItemNrReceiverEmail) { - if (is_null($riskdataBasketItemItemNrReceiverEmail)) { - throw new \InvalidArgumentException('non-nullable riskdataBasketItemItemNrReceiverEmail cannot be null'); - } $this->container['riskdataBasketItemItemNrReceiverEmail'] = $riskdataBasketItemItemNrReceiverEmail; return $this; @@ -732,9 +699,6 @@ public function getRiskdataBasketItemItemNrSize() */ public function setRiskdataBasketItemItemNrSize($riskdataBasketItemItemNrSize) { - if (is_null($riskdataBasketItemItemNrSize)) { - throw new \InvalidArgumentException('non-nullable riskdataBasketItemItemNrSize cannot be null'); - } $this->container['riskdataBasketItemItemNrSize'] = $riskdataBasketItemItemNrSize; return $this; @@ -759,9 +723,6 @@ public function getRiskdataBasketItemItemNrSku() */ public function setRiskdataBasketItemItemNrSku($riskdataBasketItemItemNrSku) { - if (is_null($riskdataBasketItemItemNrSku)) { - throw new \InvalidArgumentException('non-nullable riskdataBasketItemItemNrSku cannot be null'); - } $this->container['riskdataBasketItemItemNrSku'] = $riskdataBasketItemItemNrSku; return $this; @@ -786,9 +747,6 @@ public function getRiskdataBasketItemItemNrUpc() */ public function setRiskdataBasketItemItemNrUpc($riskdataBasketItemItemNrUpc) { - if (is_null($riskdataBasketItemItemNrUpc)) { - throw new \InvalidArgumentException('non-nullable riskdataBasketItemItemNrUpc cannot be null'); - } $this->container['riskdataBasketItemItemNrUpc'] = $riskdataBasketItemItemNrUpc; return $this; @@ -813,9 +771,6 @@ public function getRiskdataPromotionsPromotionItemNrPromotionCode() */ public function setRiskdataPromotionsPromotionItemNrPromotionCode($riskdataPromotionsPromotionItemNrPromotionCode) { - if (is_null($riskdataPromotionsPromotionItemNrPromotionCode)) { - throw new \InvalidArgumentException('non-nullable riskdataPromotionsPromotionItemNrPromotionCode cannot be null'); - } $this->container['riskdataPromotionsPromotionItemNrPromotionCode'] = $riskdataPromotionsPromotionItemNrPromotionCode; return $this; @@ -840,9 +795,6 @@ public function getRiskdataPromotionsPromotionItemNrPromotionDiscountAmount() */ public function setRiskdataPromotionsPromotionItemNrPromotionDiscountAmount($riskdataPromotionsPromotionItemNrPromotionDiscountAmount) { - if (is_null($riskdataPromotionsPromotionItemNrPromotionDiscountAmount)) { - throw new \InvalidArgumentException('non-nullable riskdataPromotionsPromotionItemNrPromotionDiscountAmount cannot be null'); - } $this->container['riskdataPromotionsPromotionItemNrPromotionDiscountAmount'] = $riskdataPromotionsPromotionItemNrPromotionDiscountAmount; return $this; @@ -867,9 +819,6 @@ public function getRiskdataPromotionsPromotionItemNrPromotionDiscountCurrency() */ public function setRiskdataPromotionsPromotionItemNrPromotionDiscountCurrency($riskdataPromotionsPromotionItemNrPromotionDiscountCurrency) { - if (is_null($riskdataPromotionsPromotionItemNrPromotionDiscountCurrency)) { - throw new \InvalidArgumentException('non-nullable riskdataPromotionsPromotionItemNrPromotionDiscountCurrency cannot be null'); - } $this->container['riskdataPromotionsPromotionItemNrPromotionDiscountCurrency'] = $riskdataPromotionsPromotionItemNrPromotionDiscountCurrency; return $this; @@ -894,9 +843,6 @@ public function getRiskdataPromotionsPromotionItemNrPromotionDiscountPercentage( */ public function setRiskdataPromotionsPromotionItemNrPromotionDiscountPercentage($riskdataPromotionsPromotionItemNrPromotionDiscountPercentage) { - if (is_null($riskdataPromotionsPromotionItemNrPromotionDiscountPercentage)) { - throw new \InvalidArgumentException('non-nullable riskdataPromotionsPromotionItemNrPromotionDiscountPercentage cannot be null'); - } $this->container['riskdataPromotionsPromotionItemNrPromotionDiscountPercentage'] = $riskdataPromotionsPromotionItemNrPromotionDiscountPercentage; return $this; @@ -921,9 +867,6 @@ public function getRiskdataPromotionsPromotionItemNrPromotionName() */ public function setRiskdataPromotionsPromotionItemNrPromotionName($riskdataPromotionsPromotionItemNrPromotionName) { - if (is_null($riskdataPromotionsPromotionItemNrPromotionName)) { - throw new \InvalidArgumentException('non-nullable riskdataPromotionsPromotionItemNrPromotionName cannot be null'); - } $this->container['riskdataPromotionsPromotionItemNrPromotionName'] = $riskdataPromotionsPromotionItemNrPromotionName; return $this; @@ -948,9 +891,6 @@ public function getRiskdataRiskProfileReference() */ public function setRiskdataRiskProfileReference($riskdataRiskProfileReference) { - if (is_null($riskdataRiskProfileReference)) { - throw new \InvalidArgumentException('non-nullable riskdataRiskProfileReference cannot be null'); - } $this->container['riskdataRiskProfileReference'] = $riskdataRiskProfileReference; return $this; @@ -975,9 +915,6 @@ public function getRiskdataSkipRisk() */ public function setRiskdataSkipRisk($riskdataSkipRisk) { - if (is_null($riskdataSkipRisk)) { - throw new \InvalidArgumentException('non-nullable riskdataSkipRisk cannot be null'); - } $this->container['riskdataSkipRisk'] = $riskdataSkipRisk; return $this; diff --git a/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php b/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php index 1e741f073..b838e3fcd 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -393,9 +393,6 @@ public function getPayPalCountryCode() */ public function setPayPalCountryCode($payPalCountryCode) { - if (is_null($payPalCountryCode)) { - throw new \InvalidArgumentException('non-nullable payPalCountryCode cannot be null'); - } $this->container['payPalCountryCode'] = $payPalCountryCode; return $this; @@ -420,9 +417,6 @@ public function getPayPalEmailId() */ public function setPayPalEmailId($payPalEmailId) { - if (is_null($payPalEmailId)) { - throw new \InvalidArgumentException('non-nullable payPalEmailId cannot be null'); - } $this->container['payPalEmailId'] = $payPalEmailId; return $this; @@ -447,9 +441,6 @@ public function getPayPalFirstName() */ public function setPayPalFirstName($payPalFirstName) { - if (is_null($payPalFirstName)) { - throw new \InvalidArgumentException('non-nullable payPalFirstName cannot be null'); - } $this->container['payPalFirstName'] = $payPalFirstName; return $this; @@ -474,9 +465,6 @@ public function getPayPalLastName() */ public function setPayPalLastName($payPalLastName) { - if (is_null($payPalLastName)) { - throw new \InvalidArgumentException('non-nullable payPalLastName cannot be null'); - } $this->container['payPalLastName'] = $payPalLastName; return $this; @@ -501,9 +489,6 @@ public function getPayPalPayerId() */ public function setPayPalPayerId($payPalPayerId) { - if (is_null($payPalPayerId)) { - throw new \InvalidArgumentException('non-nullable payPalPayerId cannot be null'); - } $this->container['payPalPayerId'] = $payPalPayerId; return $this; @@ -528,9 +513,6 @@ public function getPayPalPhone() */ public function setPayPalPhone($payPalPhone) { - if (is_null($payPalPhone)) { - throw new \InvalidArgumentException('non-nullable payPalPhone cannot be null'); - } $this->container['payPalPhone'] = $payPalPhone; return $this; @@ -555,9 +537,6 @@ public function getPayPalProtectionEligibility() */ public function setPayPalProtectionEligibility($payPalProtectionEligibility) { - if (is_null($payPalProtectionEligibility)) { - throw new \InvalidArgumentException('non-nullable payPalProtectionEligibility cannot be null'); - } $this->container['payPalProtectionEligibility'] = $payPalProtectionEligibility; return $this; @@ -582,9 +561,6 @@ public function getPayPalTransactionId() */ public function setPayPalTransactionId($payPalTransactionId) { - if (is_null($payPalTransactionId)) { - throw new \InvalidArgumentException('non-nullable payPalTransactionId cannot be null'); - } $this->container['payPalTransactionId'] = $payPalTransactionId; return $this; @@ -609,9 +585,6 @@ public function getAvsResultRaw() */ public function setAvsResultRaw($avsResultRaw) { - if (is_null($avsResultRaw)) { - throw new \InvalidArgumentException('non-nullable avsResultRaw cannot be null'); - } $this->container['avsResultRaw'] = $avsResultRaw; return $this; @@ -630,15 +603,12 @@ public function getBin() /** * Sets bin * - * @param string|null $bin The Bank Identification Number of a credit card, which is the first six digits of a card number. Required for [tokenized card request](https://docs.adyen.com/risk-management/standalone-risk#tokenised-pan-request). + * @param string|null $bin The Bank Identification Number of a credit card, which is the first six digits of a card number. Required for [tokenized card request](https://docs.adyen.com/online-payments/tokenization). * * @return self */ public function setBin($bin) { - if (is_null($bin)) { - throw new \InvalidArgumentException('non-nullable bin cannot be null'); - } $this->container['bin'] = $bin; return $this; @@ -663,9 +633,6 @@ public function getCvcResultRaw() */ public function setCvcResultRaw($cvcResultRaw) { - if (is_null($cvcResultRaw)) { - throw new \InvalidArgumentException('non-nullable cvcResultRaw cannot be null'); - } $this->container['cvcResultRaw'] = $cvcResultRaw; return $this; @@ -690,9 +657,6 @@ public function getRiskToken() */ public function setRiskToken($riskToken) { - if (is_null($riskToken)) { - throw new \InvalidArgumentException('non-nullable riskToken cannot be null'); - } $this->container['riskToken'] = $riskToken; return $this; @@ -717,9 +681,6 @@ public function getThreeDAuthenticated() */ public function setThreeDAuthenticated($threeDAuthenticated) { - if (is_null($threeDAuthenticated)) { - throw new \InvalidArgumentException('non-nullable threeDAuthenticated cannot be null'); - } $this->container['threeDAuthenticated'] = $threeDAuthenticated; return $this; @@ -744,9 +705,6 @@ public function getThreeDOffered() */ public function setThreeDOffered($threeDOffered) { - if (is_null($threeDOffered)) { - throw new \InvalidArgumentException('non-nullable threeDOffered cannot be null'); - } $this->container['threeDOffered'] = $threeDOffered; return $this; @@ -771,9 +729,6 @@ public function getTokenDataType() */ public function setTokenDataType($tokenDataType) { - if (is_null($tokenDataType)) { - throw new \InvalidArgumentException('non-nullable tokenDataType cannot be null'); - } $this->container['tokenDataType'] = $tokenDataType; return $this; diff --git a/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php b/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php index 20bdba4df..47ee3491f 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php +++ b/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -358,9 +358,6 @@ public function getSubMerchantNumberOfSubSellers() */ public function setSubMerchantNumberOfSubSellers($subMerchantNumberOfSubSellers) { - if (is_null($subMerchantNumberOfSubSellers)) { - throw new \InvalidArgumentException('non-nullable subMerchantNumberOfSubSellers cannot be null'); - } $this->container['subMerchantNumberOfSubSellers'] = $subMerchantNumberOfSubSellers; return $this; @@ -385,9 +382,6 @@ public function getSubMerchantSubSellerSubSellerNrCity() */ public function setSubMerchantSubSellerSubSellerNrCity($subMerchantSubSellerSubSellerNrCity) { - if (is_null($subMerchantSubSellerSubSellerNrCity)) { - throw new \InvalidArgumentException('non-nullable subMerchantSubSellerSubSellerNrCity cannot be null'); - } $this->container['subMerchantSubSellerSubSellerNrCity'] = $subMerchantSubSellerSubSellerNrCity; return $this; @@ -412,9 +406,6 @@ public function getSubMerchantSubSellerSubSellerNrCountry() */ public function setSubMerchantSubSellerSubSellerNrCountry($subMerchantSubSellerSubSellerNrCountry) { - if (is_null($subMerchantSubSellerSubSellerNrCountry)) { - throw new \InvalidArgumentException('non-nullable subMerchantSubSellerSubSellerNrCountry cannot be null'); - } $this->container['subMerchantSubSellerSubSellerNrCountry'] = $subMerchantSubSellerSubSellerNrCountry; return $this; @@ -439,9 +430,6 @@ public function getSubMerchantSubSellerSubSellerNrId() */ public function setSubMerchantSubSellerSubSellerNrId($subMerchantSubSellerSubSellerNrId) { - if (is_null($subMerchantSubSellerSubSellerNrId)) { - throw new \InvalidArgumentException('non-nullable subMerchantSubSellerSubSellerNrId cannot be null'); - } $this->container['subMerchantSubSellerSubSellerNrId'] = $subMerchantSubSellerSubSellerNrId; return $this; @@ -466,9 +454,6 @@ public function getSubMerchantSubSellerSubSellerNrMcc() */ public function setSubMerchantSubSellerSubSellerNrMcc($subMerchantSubSellerSubSellerNrMcc) { - if (is_null($subMerchantSubSellerSubSellerNrMcc)) { - throw new \InvalidArgumentException('non-nullable subMerchantSubSellerSubSellerNrMcc cannot be null'); - } $this->container['subMerchantSubSellerSubSellerNrMcc'] = $subMerchantSubSellerSubSellerNrMcc; return $this; @@ -493,9 +478,6 @@ public function getSubMerchantSubSellerSubSellerNrName() */ public function setSubMerchantSubSellerSubSellerNrName($subMerchantSubSellerSubSellerNrName) { - if (is_null($subMerchantSubSellerSubSellerNrName)) { - throw new \InvalidArgumentException('non-nullable subMerchantSubSellerSubSellerNrName cannot be null'); - } $this->container['subMerchantSubSellerSubSellerNrName'] = $subMerchantSubSellerSubSellerNrName; return $this; @@ -520,9 +502,6 @@ public function getSubMerchantSubSellerSubSellerNrPostalCode() */ public function setSubMerchantSubSellerSubSellerNrPostalCode($subMerchantSubSellerSubSellerNrPostalCode) { - if (is_null($subMerchantSubSellerSubSellerNrPostalCode)) { - throw new \InvalidArgumentException('non-nullable subMerchantSubSellerSubSellerNrPostalCode cannot be null'); - } $this->container['subMerchantSubSellerSubSellerNrPostalCode'] = $subMerchantSubSellerSubSellerNrPostalCode; return $this; @@ -547,9 +526,6 @@ public function getSubMerchantSubSellerSubSellerNrState() */ public function setSubMerchantSubSellerSubSellerNrState($subMerchantSubSellerSubSellerNrState) { - if (is_null($subMerchantSubSellerSubSellerNrState)) { - throw new \InvalidArgumentException('non-nullable subMerchantSubSellerSubSellerNrState cannot be null'); - } $this->container['subMerchantSubSellerSubSellerNrState'] = $subMerchantSubSellerSubSellerNrState; return $this; @@ -574,9 +550,6 @@ public function getSubMerchantSubSellerSubSellerNrStreet() */ public function setSubMerchantSubSellerSubSellerNrStreet($subMerchantSubSellerSubSellerNrStreet) { - if (is_null($subMerchantSubSellerSubSellerNrStreet)) { - throw new \InvalidArgumentException('non-nullable subMerchantSubSellerSubSellerNrStreet cannot be null'); - } $this->container['subMerchantSubSellerSubSellerNrStreet'] = $subMerchantSubSellerSubSellerNrStreet; return $this; @@ -601,9 +574,6 @@ public function getSubMerchantSubSellerSubSellerNrTaxId() */ public function setSubMerchantSubSellerSubSellerNrTaxId($subMerchantSubSellerSubSellerNrTaxId) { - if (is_null($subMerchantSubSellerSubSellerNrTaxId)) { - throw new \InvalidArgumentException('non-nullable subMerchantSubSellerSubSellerNrTaxId cannot be null'); - } $this->container['subMerchantSubSellerSubSellerNrTaxId'] = $subMerchantSubSellerSubSellerNrTaxId; return $this; diff --git a/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php b/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php index c131c4374..91b2a8e2f 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php +++ b/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -351,9 +351,6 @@ public function getEnhancedSchemeDataCustomerReference() */ public function setEnhancedSchemeDataCustomerReference($enhancedSchemeDataCustomerReference) { - if (is_null($enhancedSchemeDataCustomerReference)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataCustomerReference cannot be null'); - } $this->container['enhancedSchemeDataCustomerReference'] = $enhancedSchemeDataCustomerReference; return $this; @@ -378,9 +375,6 @@ public function getEnhancedSchemeDataEmployeeName() */ public function setEnhancedSchemeDataEmployeeName($enhancedSchemeDataEmployeeName) { - if (is_null($enhancedSchemeDataEmployeeName)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataEmployeeName cannot be null'); - } $this->container['enhancedSchemeDataEmployeeName'] = $enhancedSchemeDataEmployeeName; return $this; @@ -405,9 +399,6 @@ public function getEnhancedSchemeDataJobDescription() */ public function setEnhancedSchemeDataJobDescription($enhancedSchemeDataJobDescription) { - if (is_null($enhancedSchemeDataJobDescription)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataJobDescription cannot be null'); - } $this->container['enhancedSchemeDataJobDescription'] = $enhancedSchemeDataJobDescription; return $this; @@ -432,9 +423,6 @@ public function getEnhancedSchemeDataRegularHoursRate() */ public function setEnhancedSchemeDataRegularHoursRate($enhancedSchemeDataRegularHoursRate) { - if (is_null($enhancedSchemeDataRegularHoursRate)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataRegularHoursRate cannot be null'); - } $this->container['enhancedSchemeDataRegularHoursRate'] = $enhancedSchemeDataRegularHoursRate; return $this; @@ -459,9 +447,6 @@ public function getEnhancedSchemeDataRegularHoursWorked() */ public function setEnhancedSchemeDataRegularHoursWorked($enhancedSchemeDataRegularHoursWorked) { - if (is_null($enhancedSchemeDataRegularHoursWorked)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataRegularHoursWorked cannot be null'); - } $this->container['enhancedSchemeDataRegularHoursWorked'] = $enhancedSchemeDataRegularHoursWorked; return $this; @@ -486,9 +471,6 @@ public function getEnhancedSchemeDataRequestName() */ public function setEnhancedSchemeDataRequestName($enhancedSchemeDataRequestName) { - if (is_null($enhancedSchemeDataRequestName)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataRequestName cannot be null'); - } $this->container['enhancedSchemeDataRequestName'] = $enhancedSchemeDataRequestName; return $this; @@ -513,9 +495,6 @@ public function getEnhancedSchemeDataTempStartDate() */ public function setEnhancedSchemeDataTempStartDate($enhancedSchemeDataTempStartDate) { - if (is_null($enhancedSchemeDataTempStartDate)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataTempStartDate cannot be null'); - } $this->container['enhancedSchemeDataTempStartDate'] = $enhancedSchemeDataTempStartDate; return $this; @@ -540,9 +519,6 @@ public function getEnhancedSchemeDataTempWeekEnding() */ public function setEnhancedSchemeDataTempWeekEnding($enhancedSchemeDataTempWeekEnding) { - if (is_null($enhancedSchemeDataTempWeekEnding)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataTempWeekEnding cannot be null'); - } $this->container['enhancedSchemeDataTempWeekEnding'] = $enhancedSchemeDataTempWeekEnding; return $this; @@ -567,9 +543,6 @@ public function getEnhancedSchemeDataTotalTaxAmount() */ public function setEnhancedSchemeDataTotalTaxAmount($enhancedSchemeDataTotalTaxAmount) { - if (is_null($enhancedSchemeDataTotalTaxAmount)) { - throw new \InvalidArgumentException('non-nullable enhancedSchemeDataTotalTaxAmount cannot be null'); - } $this->container['enhancedSchemeDataTotalTaxAmount'] = $enhancedSchemeDataTotalTaxAmount; return $this; diff --git a/src/Adyen/Model/Checkout/AdditionalDataWallets.php b/src/Adyen/Model/Checkout/AdditionalDataWallets.php index acf5d7154..6279faf0e 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataWallets.php +++ b/src/Adyen/Model/Checkout/AdditionalDataWallets.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -330,9 +330,6 @@ public function getAndroidpayToken() */ public function setAndroidpayToken($androidpayToken) { - if (is_null($androidpayToken)) { - throw new \InvalidArgumentException('non-nullable androidpayToken cannot be null'); - } $this->container['androidpayToken'] = $androidpayToken; return $this; @@ -357,9 +354,6 @@ public function getMasterpassTransactionId() */ public function setMasterpassTransactionId($masterpassTransactionId) { - if (is_null($masterpassTransactionId)) { - throw new \InvalidArgumentException('non-nullable masterpassTransactionId cannot be null'); - } $this->container['masterpassTransactionId'] = $masterpassTransactionId; return $this; @@ -384,9 +378,6 @@ public function getPaymentToken() */ public function setPaymentToken($paymentToken) { - if (is_null($paymentToken)) { - throw new \InvalidArgumentException('non-nullable paymentToken cannot be null'); - } $this->container['paymentToken'] = $paymentToken; return $this; @@ -411,9 +402,6 @@ public function getPaywithgoogleToken() */ public function setPaywithgoogleToken($paywithgoogleToken) { - if (is_null($paywithgoogleToken)) { - throw new \InvalidArgumentException('non-nullable paywithgoogleToken cannot be null'); - } $this->container['paywithgoogleToken'] = $paywithgoogleToken; return $this; @@ -438,9 +426,6 @@ public function getSamsungpayToken() */ public function setSamsungpayToken($samsungpayToken) { - if (is_null($samsungpayToken)) { - throw new \InvalidArgumentException('non-nullable samsungpayToken cannot be null'); - } $this->container['samsungpayToken'] = $samsungpayToken; return $this; @@ -465,9 +450,6 @@ public function getVisacheckoutCallId() */ public function setVisacheckoutCallId($visacheckoutCallId) { - if (is_null($visacheckoutCallId)) { - throw new \InvalidArgumentException('non-nullable visacheckoutCallId cannot be null'); - } $this->container['visacheckoutCallId'] = $visacheckoutCallId; return $this; diff --git a/src/Adyen/Model/Checkout/Address.php b/src/Adyen/Model/Checkout/Address.php index 082e8f957..e879b281d 100644 --- a/src/Adyen/Model/Checkout/Address.php +++ b/src/Adyen/Model/Checkout/Address.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -345,9 +345,6 @@ public function getCity() */ public function setCity($city) { - if (is_null($city)) { - throw new \InvalidArgumentException('non-nullable city cannot be null'); - } $this->container['city'] = $city; return $this; @@ -372,9 +369,6 @@ public function getCountry() */ public function setCountry($country) { - if (is_null($country)) { - throw new \InvalidArgumentException('non-nullable country cannot be null'); - } $this->container['country'] = $country; return $this; @@ -399,9 +393,6 @@ public function getHouseNumberOrName() */ public function setHouseNumberOrName($houseNumberOrName) { - if (is_null($houseNumberOrName)) { - throw new \InvalidArgumentException('non-nullable houseNumberOrName cannot be null'); - } $this->container['houseNumberOrName'] = $houseNumberOrName; return $this; @@ -426,9 +417,6 @@ public function getPostalCode() */ public function setPostalCode($postalCode) { - if (is_null($postalCode)) { - throw new \InvalidArgumentException('non-nullable postalCode cannot be null'); - } $this->container['postalCode'] = $postalCode; return $this; @@ -453,9 +441,6 @@ public function getStateOrProvince() */ public function setStateOrProvince($stateOrProvince) { - if (is_null($stateOrProvince)) { - throw new \InvalidArgumentException('non-nullable stateOrProvince cannot be null'); - } $this->container['stateOrProvince'] = $stateOrProvince; return $this; @@ -480,9 +465,6 @@ public function getStreet() */ public function setStreet($street) { - if (is_null($street)) { - throw new \InvalidArgumentException('non-nullable street cannot be null'); - } $this->container['street'] = $street; return $this; diff --git a/src/Adyen/Model/Checkout/AfterpayDetails.php b/src/Adyen/Model/Checkout/AfterpayDetails.php index bcce83df2..e75e3a286 100644 --- a/src/Adyen/Model/Checkout/AfterpayDetails.php +++ b/src/Adyen/Model/Checkout/AfterpayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -367,9 +367,6 @@ public function getBillingAddress() */ public function setBillingAddress($billingAddress) { - if (is_null($billingAddress)) { - throw new \InvalidArgumentException('non-nullable billingAddress cannot be null'); - } $this->container['billingAddress'] = $billingAddress; return $this; @@ -394,9 +391,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -421,9 +415,6 @@ public function getDeliveryAddress() */ public function setDeliveryAddress($deliveryAddress) { - if (is_null($deliveryAddress)) { - throw new \InvalidArgumentException('non-nullable deliveryAddress cannot be null'); - } $this->container['deliveryAddress'] = $deliveryAddress; return $this; @@ -448,9 +439,6 @@ public function getPersonalDetails() */ public function setPersonalDetails($personalDetails) { - if (is_null($personalDetails)) { - throw new \InvalidArgumentException('non-nullable personalDetails cannot be null'); - } $this->container['personalDetails'] = $personalDetails; return $this; @@ -477,9 +465,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -504,9 +489,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -531,9 +513,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/AmazonPayDetails.php b/src/Adyen/Model/Checkout/AmazonPayDetails.php index 9444f642f..b0ec9b727 100644 --- a/src/Adyen/Model/Checkout/AmazonPayDetails.php +++ b/src/Adyen/Model/Checkout/AmazonPayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -337,9 +337,6 @@ public function getAmazonPayToken() */ public function setAmazonPayToken($amazonPayToken) { - if (is_null($amazonPayToken)) { - throw new \InvalidArgumentException('non-nullable amazonPayToken cannot be null'); - } $this->container['amazonPayToken'] = $amazonPayToken; return $this; @@ -364,9 +361,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -391,9 +385,6 @@ public function getCheckoutSessionId() */ public function setCheckoutSessionId($checkoutSessionId) { - if (is_null($checkoutSessionId)) { - throw new \InvalidArgumentException('non-nullable checkoutSessionId cannot be null'); - } $this->container['checkoutSessionId'] = $checkoutSessionId; return $this; @@ -418,9 +409,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/Amount.php b/src/Adyen/Model/Checkout/Amount.php index b57dcb927..db9e4959c 100644 --- a/src/Adyen/Model/Checkout/Amount.php +++ b/src/Adyen/Model/Checkout/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -308,9 +308,6 @@ public function getCurrency() */ public function setCurrency($currency) { - if (is_null($currency)) { - throw new \InvalidArgumentException('non-nullable currency cannot be null'); - } $this->container['currency'] = $currency; return $this; @@ -335,9 +332,6 @@ public function getValue() */ public function setValue($value) { - if (is_null($value)) { - throw new \InvalidArgumentException('non-nullable value cannot be null'); - } $this->container['value'] = $value; return $this; diff --git a/src/Adyen/Model/Checkout/AncvDetails.php b/src/Adyen/Model/Checkout/AncvDetails.php index e27693adc..fde253f91 100644 --- a/src/Adyen/Model/Checkout/AncvDetails.php +++ b/src/Adyen/Model/Checkout/AncvDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -344,9 +344,6 @@ public function getBeneficiaryId() */ public function setBeneficiaryId($beneficiaryId) { - if (is_null($beneficiaryId)) { - throw new \InvalidArgumentException('non-nullable beneficiaryId cannot be null'); - } $this->container['beneficiaryId'] = $beneficiaryId; return $this; @@ -371,9 +368,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -400,9 +394,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -427,9 +418,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -454,9 +442,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/AndroidPayDetails.php b/src/Adyen/Model/Checkout/AndroidPayDetails.php index c7fc1cd74..c90afb3be 100644 --- a/src/Adyen/Model/Checkout/AndroidPayDetails.php +++ b/src/Adyen/Model/Checkout/AndroidPayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -323,9 +323,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -350,9 +347,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/ApplePayDetails.php b/src/Adyen/Model/Checkout/ApplePayDetails.php index ce31f2f22..0d0504f22 100644 --- a/src/Adyen/Model/Checkout/ApplePayDetails.php +++ b/src/Adyen/Model/Checkout/ApplePayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -377,9 +377,6 @@ public function getApplePayToken() */ public function setApplePayToken($applePayToken) { - if (is_null($applePayToken)) { - throw new \InvalidArgumentException('non-nullable applePayToken cannot be null'); - } $this->container['applePayToken'] = $applePayToken; return $this; @@ -404,9 +401,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -431,9 +425,6 @@ public function getFundingSource() */ public function setFundingSource($fundingSource) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); - } $allowedValues = $this->getFundingSourceAllowableValues(); if (!in_array($fundingSource, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -470,9 +461,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -497,9 +485,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -524,9 +509,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/ApplePayDonations.php b/src/Adyen/Model/Checkout/ApplePayDonations.php index eee209dad..029677dd5 100644 --- a/src/Adyen/Model/Checkout/ApplePayDonations.php +++ b/src/Adyen/Model/Checkout/ApplePayDonations.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -377,9 +377,6 @@ public function getApplePayToken() */ public function setApplePayToken($applePayToken) { - if (is_null($applePayToken)) { - throw new \InvalidArgumentException('non-nullable applePayToken cannot be null'); - } $this->container['applePayToken'] = $applePayToken; return $this; @@ -404,9 +401,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -431,9 +425,6 @@ public function getFundingSource() */ public function setFundingSource($fundingSource) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); - } $allowedValues = $this->getFundingSourceAllowableValues(); if (!in_array($fundingSource, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -470,9 +461,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -497,9 +485,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -524,9 +509,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/ApplePaySessionRequest.php b/src/Adyen/Model/Checkout/ApplePaySessionRequest.php index 8cbd1e55c..721dc27ac 100644 --- a/src/Adyen/Model/Checkout/ApplePaySessionRequest.php +++ b/src/Adyen/Model/Checkout/ApplePaySessionRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -318,9 +318,6 @@ public function getDisplayName() */ public function setDisplayName($displayName) { - if (is_null($displayName)) { - throw new \InvalidArgumentException('non-nullable displayName cannot be null'); - } $this->container['displayName'] = $displayName; return $this; @@ -345,9 +342,6 @@ public function getDomainName() */ public function setDomainName($domainName) { - if (is_null($domainName)) { - throw new \InvalidArgumentException('non-nullable domainName cannot be null'); - } $this->container['domainName'] = $domainName; return $this; @@ -372,9 +366,6 @@ public function getMerchantIdentifier() */ public function setMerchantIdentifier($merchantIdentifier) { - if (is_null($merchantIdentifier)) { - throw new \InvalidArgumentException('non-nullable merchantIdentifier cannot be null'); - } $this->container['merchantIdentifier'] = $merchantIdentifier; return $this; diff --git a/src/Adyen/Model/Checkout/ApplePaySessionResponse.php b/src/Adyen/Model/Checkout/ApplePaySessionResponse.php index d71f35373..d706bc4a8 100644 --- a/src/Adyen/Model/Checkout/ApplePaySessionResponse.php +++ b/src/Adyen/Model/Checkout/ApplePaySessionResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -298,9 +298,6 @@ public function getData() */ public function setData($data) { - if (is_null($data)) { - throw new \InvalidArgumentException('non-nullable data cannot be null'); - } $this->container['data'] = $data; return $this; diff --git a/src/Adyen/Model/Checkout/ApplicationInfo.php b/src/Adyen/Model/Checkout/ApplicationInfo.php index b87f00ecb..db0af5a4c 100644 --- a/src/Adyen/Model/Checkout/ApplicationInfo.php +++ b/src/Adyen/Model/Checkout/ApplicationInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -330,9 +330,6 @@ public function getAdyenLibrary() */ public function setAdyenLibrary($adyenLibrary) { - if (is_null($adyenLibrary)) { - throw new \InvalidArgumentException('non-nullable adyenLibrary cannot be null'); - } $this->container['adyenLibrary'] = $adyenLibrary; return $this; @@ -357,9 +354,6 @@ public function getAdyenPaymentSource() */ public function setAdyenPaymentSource($adyenPaymentSource) { - if (is_null($adyenPaymentSource)) { - throw new \InvalidArgumentException('non-nullable adyenPaymentSource cannot be null'); - } $this->container['adyenPaymentSource'] = $adyenPaymentSource; return $this; @@ -384,9 +378,6 @@ public function getExternalPlatform() */ public function setExternalPlatform($externalPlatform) { - if (is_null($externalPlatform)) { - throw new \InvalidArgumentException('non-nullable externalPlatform cannot be null'); - } $this->container['externalPlatform'] = $externalPlatform; return $this; @@ -411,9 +402,6 @@ public function getMerchantApplication() */ public function setMerchantApplication($merchantApplication) { - if (is_null($merchantApplication)) { - throw new \InvalidArgumentException('non-nullable merchantApplication cannot be null'); - } $this->container['merchantApplication'] = $merchantApplication; return $this; @@ -438,9 +426,6 @@ public function getMerchantDevice() */ public function setMerchantDevice($merchantDevice) { - if (is_null($merchantDevice)) { - throw new \InvalidArgumentException('non-nullable merchantDevice cannot be null'); - } $this->container['merchantDevice'] = $merchantDevice; return $this; @@ -465,9 +450,6 @@ public function getShopperInteractionDevice() */ public function setShopperInteractionDevice($shopperInteractionDevice) { - if (is_null($shopperInteractionDevice)) { - throw new \InvalidArgumentException('non-nullable shopperInteractionDevice cannot be null'); - } $this->container['shopperInteractionDevice'] = $shopperInteractionDevice; return $this; diff --git a/src/Adyen/Model/Checkout/AuthenticationData.php b/src/Adyen/Model/Checkout/AuthenticationData.php index 1b18b576f..e39d5bbcf 100644 --- a/src/Adyen/Model/Checkout/AuthenticationData.php +++ b/src/Adyen/Model/Checkout/AuthenticationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -332,9 +332,6 @@ public function getAttemptAuthentication() */ public function setAttemptAuthentication($attemptAuthentication) { - if (is_null($attemptAuthentication)) { - throw new \InvalidArgumentException('non-nullable attemptAuthentication cannot be null'); - } $allowedValues = $this->getAttemptAuthenticationAllowableValues(); if (!in_array($attemptAuthentication, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -369,9 +366,6 @@ public function getAuthenticationOnly() */ public function setAuthenticationOnly($authenticationOnly) { - if (is_null($authenticationOnly)) { - throw new \InvalidArgumentException('non-nullable authenticationOnly cannot be null'); - } $this->container['authenticationOnly'] = $authenticationOnly; return $this; @@ -396,9 +390,6 @@ public function getThreeDSRequestData() */ public function setThreeDSRequestData($threeDSRequestData) { - if (is_null($threeDSRequestData)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestData cannot be null'); - } $this->container['threeDSRequestData'] = $threeDSRequestData; return $this; diff --git a/src/Adyen/Model/Checkout/Avs.php b/src/Adyen/Model/Checkout/Avs.php index 20e82c167..e467667ac 100644 --- a/src/Adyen/Model/Checkout/Avs.php +++ b/src/Adyen/Model/Checkout/Avs.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -327,9 +327,6 @@ public function getAddressEditable() */ public function setAddressEditable($addressEditable) { - if (is_null($addressEditable)) { - throw new \InvalidArgumentException('non-nullable addressEditable cannot be null'); - } $this->container['addressEditable'] = $addressEditable; return $this; @@ -354,9 +351,6 @@ public function getEnabled() */ public function setEnabled($enabled) { - if (is_null($enabled)) { - throw new \InvalidArgumentException('non-nullable enabled cannot be null'); - } $allowedValues = $this->getEnabledAllowableValues(); if (!in_array($enabled, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php b/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php index 3c093bf01..8834d1d86 100644 --- a/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php +++ b/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -358,9 +358,6 @@ public function getBankAccountNumber() */ public function setBankAccountNumber($bankAccountNumber) { - if (is_null($bankAccountNumber)) { - throw new \InvalidArgumentException('non-nullable bankAccountNumber cannot be null'); - } $this->container['bankAccountNumber'] = $bankAccountNumber; return $this; @@ -385,9 +382,6 @@ public function getBankLocationId() */ public function setBankLocationId($bankLocationId) { - if (is_null($bankLocationId)) { - throw new \InvalidArgumentException('non-nullable bankLocationId cannot be null'); - } $this->container['bankLocationId'] = $bankLocationId; return $this; @@ -412,9 +406,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -439,9 +430,6 @@ public function getHolderName() */ public function setHolderName($holderName) { - if (is_null($holderName)) { - throw new \InvalidArgumentException('non-nullable holderName cannot be null'); - } $this->container['holderName'] = $holderName; return $this; @@ -468,9 +456,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -495,9 +480,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -522,9 +504,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/BalanceCheckRequest.php b/src/Adyen/Model/Checkout/BalanceCheckRequest.php index ffb038c64..5b50f53eb 100644 --- a/src/Adyen/Model/Checkout/BalanceCheckRequest.php +++ b/src/Adyen/Model/Checkout/BalanceCheckRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -657,9 +657,6 @@ public function getAccountInfo() */ public function setAccountInfo($accountInfo) { - if (is_null($accountInfo)) { - throw new \InvalidArgumentException('non-nullable accountInfo cannot be null'); - } $this->container['accountInfo'] = $accountInfo; return $this; @@ -684,9 +681,6 @@ public function getAdditionalAmount() */ public function setAdditionalAmount($additionalAmount) { - if (is_null($additionalAmount)) { - throw new \InvalidArgumentException('non-nullable additionalAmount cannot be null'); - } $this->container['additionalAmount'] = $additionalAmount; return $this; @@ -711,9 +705,6 @@ public function getAdditionalData() */ public function setAdditionalData($additionalData) { - if (is_null($additionalData)) { - throw new \InvalidArgumentException('non-nullable additionalData cannot be null'); - } $this->container['additionalData'] = $additionalData; return $this; @@ -738,9 +729,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -765,9 +753,6 @@ public function getApplicationInfo() */ public function setApplicationInfo($applicationInfo) { - if (is_null($applicationInfo)) { - throw new \InvalidArgumentException('non-nullable applicationInfo cannot be null'); - } $this->container['applicationInfo'] = $applicationInfo; return $this; @@ -792,9 +777,6 @@ public function getBillingAddress() */ public function setBillingAddress($billingAddress) { - if (is_null($billingAddress)) { - throw new \InvalidArgumentException('non-nullable billingAddress cannot be null'); - } $this->container['billingAddress'] = $billingAddress; return $this; @@ -819,9 +801,6 @@ public function getBrowserInfo() */ public function setBrowserInfo($browserInfo) { - if (is_null($browserInfo)) { - throw new \InvalidArgumentException('non-nullable browserInfo cannot be null'); - } $this->container['browserInfo'] = $browserInfo; return $this; @@ -846,7 +825,6 @@ public function getCaptureDelayHours() */ public function setCaptureDelayHours($captureDelayHours) { - // Do nothing for nullable integers $this->container['captureDelayHours'] = $captureDelayHours; return $this; @@ -871,9 +849,6 @@ public function getDateOfBirth() */ public function setDateOfBirth($dateOfBirth) { - if (is_null($dateOfBirth)) { - throw new \InvalidArgumentException('non-nullable dateOfBirth cannot be null'); - } $this->container['dateOfBirth'] = $dateOfBirth; return $this; @@ -898,9 +873,6 @@ public function getDccQuote() */ public function setDccQuote($dccQuote) { - if (is_null($dccQuote)) { - throw new \InvalidArgumentException('non-nullable dccQuote cannot be null'); - } $this->container['dccQuote'] = $dccQuote; return $this; @@ -925,9 +897,6 @@ public function getDeliveryAddress() */ public function setDeliveryAddress($deliveryAddress) { - if (is_null($deliveryAddress)) { - throw new \InvalidArgumentException('non-nullable deliveryAddress cannot be null'); - } $this->container['deliveryAddress'] = $deliveryAddress; return $this; @@ -952,9 +921,6 @@ public function getDeliveryDate() */ public function setDeliveryDate($deliveryDate) { - if (is_null($deliveryDate)) { - throw new \InvalidArgumentException('non-nullable deliveryDate cannot be null'); - } $this->container['deliveryDate'] = $deliveryDate; return $this; @@ -979,9 +945,6 @@ public function getDeviceFingerprint() */ public function setDeviceFingerprint($deviceFingerprint) { - if (is_null($deviceFingerprint)) { - throw new \InvalidArgumentException('non-nullable deviceFingerprint cannot be null'); - } $this->container['deviceFingerprint'] = $deviceFingerprint; return $this; @@ -1006,7 +969,6 @@ public function getFraudOffset() */ public function setFraudOffset($fraudOffset) { - // Do nothing for nullable integers $this->container['fraudOffset'] = $fraudOffset; return $this; @@ -1031,9 +993,6 @@ public function getInstallments() */ public function setInstallments($installments) { - if (is_null($installments)) { - throw new \InvalidArgumentException('non-nullable installments cannot be null'); - } $this->container['installments'] = $installments; return $this; @@ -1058,9 +1017,6 @@ public function getLocalizedShopperStatement() */ public function setLocalizedShopperStatement($localizedShopperStatement) { - if (is_null($localizedShopperStatement)) { - throw new \InvalidArgumentException('non-nullable localizedShopperStatement cannot be null'); - } $this->container['localizedShopperStatement'] = $localizedShopperStatement; return $this; @@ -1085,9 +1041,6 @@ public function getMcc() */ public function setMcc($mcc) { - if (is_null($mcc)) { - throw new \InvalidArgumentException('non-nullable mcc cannot be null'); - } $this->container['mcc'] = $mcc; return $this; @@ -1112,9 +1065,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -1139,9 +1089,6 @@ public function getMerchantOrderReference() */ public function setMerchantOrderReference($merchantOrderReference) { - if (is_null($merchantOrderReference)) { - throw new \InvalidArgumentException('non-nullable merchantOrderReference cannot be null'); - } $this->container['merchantOrderReference'] = $merchantOrderReference; return $this; @@ -1166,9 +1113,6 @@ public function getMerchantRiskIndicator() */ public function setMerchantRiskIndicator($merchantRiskIndicator) { - if (is_null($merchantRiskIndicator)) { - throw new \InvalidArgumentException('non-nullable merchantRiskIndicator cannot be null'); - } $this->container['merchantRiskIndicator'] = $merchantRiskIndicator; return $this; @@ -1193,9 +1137,6 @@ public function getMetadata() */ public function setMetadata($metadata) { - if (is_null($metadata)) { - throw new \InvalidArgumentException('non-nullable metadata cannot be null'); - } $this->container['metadata'] = $metadata; return $this; @@ -1220,9 +1161,6 @@ public function getOrderReference() */ public function setOrderReference($orderReference) { - if (is_null($orderReference)) { - throw new \InvalidArgumentException('non-nullable orderReference cannot be null'); - } $this->container['orderReference'] = $orderReference; return $this; @@ -1247,9 +1185,6 @@ public function getPaymentMethod() */ public function setPaymentMethod($paymentMethod) { - if (is_null($paymentMethod)) { - throw new \InvalidArgumentException('non-nullable paymentMethod cannot be null'); - } $this->container['paymentMethod'] = $paymentMethod; return $this; @@ -1274,9 +1209,6 @@ public function getRecurring() */ public function setRecurring($recurring) { - if (is_null($recurring)) { - throw new \InvalidArgumentException('non-nullable recurring cannot be null'); - } $this->container['recurring'] = $recurring; return $this; @@ -1301,9 +1233,6 @@ public function getRecurringProcessingModel() */ 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( @@ -1338,9 +1267,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -1365,9 +1291,6 @@ public function getSelectedBrand() */ public function setSelectedBrand($selectedBrand) { - if (is_null($selectedBrand)) { - throw new \InvalidArgumentException('non-nullable selectedBrand cannot be null'); - } $this->container['selectedBrand'] = $selectedBrand; return $this; @@ -1392,9 +1315,6 @@ public function getSelectedRecurringDetailReference() */ public function setSelectedRecurringDetailReference($selectedRecurringDetailReference) { - if (is_null($selectedRecurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable selectedRecurringDetailReference cannot be null'); - } $this->container['selectedRecurringDetailReference'] = $selectedRecurringDetailReference; return $this; @@ -1419,9 +1339,6 @@ public function getSessionId() */ public function setSessionId($sessionId) { - if (is_null($sessionId)) { - throw new \InvalidArgumentException('non-nullable sessionId cannot be null'); - } $this->container['sessionId'] = $sessionId; return $this; @@ -1446,9 +1363,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -1473,9 +1387,6 @@ public function getShopperIP() */ public function setShopperIP($shopperIP) { - if (is_null($shopperIP)) { - throw new \InvalidArgumentException('non-nullable shopperIP cannot be null'); - } $this->container['shopperIP'] = $shopperIP; return $this; @@ -1500,9 +1411,6 @@ public function getShopperInteraction() */ public function setShopperInteraction($shopperInteraction) { - if (is_null($shopperInteraction)) { - throw new \InvalidArgumentException('non-nullable shopperInteraction cannot be null'); - } $allowedValues = $this->getShopperInteractionAllowableValues(); if (!in_array($shopperInteraction, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1537,9 +1445,6 @@ public function getShopperLocale() */ public function setShopperLocale($shopperLocale) { - if (is_null($shopperLocale)) { - throw new \InvalidArgumentException('non-nullable shopperLocale cannot be null'); - } $this->container['shopperLocale'] = $shopperLocale; return $this; @@ -1564,9 +1469,6 @@ public function getShopperName() */ public function setShopperName($shopperName) { - if (is_null($shopperName)) { - throw new \InvalidArgumentException('non-nullable shopperName cannot be null'); - } $this->container['shopperName'] = $shopperName; return $this; @@ -1591,9 +1493,6 @@ public function getShopperReference() */ public function setShopperReference($shopperReference) { - if (is_null($shopperReference)) { - throw new \InvalidArgumentException('non-nullable shopperReference cannot be null'); - } $this->container['shopperReference'] = $shopperReference; return $this; @@ -1618,9 +1517,6 @@ public function getShopperStatement() */ public function setShopperStatement($shopperStatement) { - if (is_null($shopperStatement)) { - throw new \InvalidArgumentException('non-nullable shopperStatement cannot be null'); - } $this->container['shopperStatement'] = $shopperStatement; return $this; @@ -1645,9 +1541,6 @@ public function getSocialSecurityNumber() */ public function setSocialSecurityNumber($socialSecurityNumber) { - if (is_null($socialSecurityNumber)) { - throw new \InvalidArgumentException('non-nullable socialSecurityNumber cannot be null'); - } $this->container['socialSecurityNumber'] = $socialSecurityNumber; return $this; @@ -1672,9 +1565,6 @@ public function getSplits() */ public function setSplits($splits) { - if (is_null($splits)) { - throw new \InvalidArgumentException('non-nullable splits cannot be null'); - } $this->container['splits'] = $splits; return $this; @@ -1699,9 +1589,6 @@ public function getStore() */ public function setStore($store) { - if (is_null($store)) { - throw new \InvalidArgumentException('non-nullable store cannot be null'); - } $this->container['store'] = $store; return $this; @@ -1726,9 +1613,6 @@ public function getTelephoneNumber() */ public function setTelephoneNumber($telephoneNumber) { - if (is_null($telephoneNumber)) { - throw new \InvalidArgumentException('non-nullable telephoneNumber cannot be null'); - } $this->container['telephoneNumber'] = $telephoneNumber; return $this; @@ -1753,9 +1637,6 @@ public function getThreeDS2RequestData() */ public function setThreeDS2RequestData($threeDS2RequestData) { - if (is_null($threeDS2RequestData)) { - throw new \InvalidArgumentException('non-nullable threeDS2RequestData cannot be null'); - } $this->container['threeDS2RequestData'] = $threeDS2RequestData; return $this; @@ -1782,9 +1663,6 @@ public function getThreeDSAuthenticationOnly() */ public function setThreeDSAuthenticationOnly($threeDSAuthenticationOnly) { - if (is_null($threeDSAuthenticationOnly)) { - throw new \InvalidArgumentException('non-nullable threeDSAuthenticationOnly cannot be null'); - } $this->container['threeDSAuthenticationOnly'] = $threeDSAuthenticationOnly; return $this; @@ -1809,9 +1687,6 @@ public function getTotalsGroup() */ public function setTotalsGroup($totalsGroup) { - if (is_null($totalsGroup)) { - throw new \InvalidArgumentException('non-nullable totalsGroup cannot be null'); - } $this->container['totalsGroup'] = $totalsGroup; return $this; @@ -1836,9 +1711,6 @@ public function getTrustedShopper() */ public function setTrustedShopper($trustedShopper) { - if (is_null($trustedShopper)) { - throw new \InvalidArgumentException('non-nullable trustedShopper cannot be null'); - } $this->container['trustedShopper'] = $trustedShopper; return $this; diff --git a/src/Adyen/Model/Checkout/BalanceCheckResponse.php b/src/Adyen/Model/Checkout/BalanceCheckResponse.php index a66598ea4..8accb4390 100644 --- a/src/Adyen/Model/Checkout/BalanceCheckResponse.php +++ b/src/Adyen/Model/Checkout/BalanceCheckResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -368,9 +368,6 @@ public function getAdditionalData() */ public function setAdditionalData($additionalData) { - if (is_null($additionalData)) { - throw new \InvalidArgumentException('non-nullable additionalData cannot be null'); - } $this->container['additionalData'] = $additionalData; return $this; @@ -395,9 +392,6 @@ public function getBalance() */ public function setBalance($balance) { - if (is_null($balance)) { - throw new \InvalidArgumentException('non-nullable balance cannot be null'); - } $this->container['balance'] = $balance; return $this; @@ -422,9 +416,6 @@ public function getFraudResult() */ public function setFraudResult($fraudResult) { - if (is_null($fraudResult)) { - throw new \InvalidArgumentException('non-nullable fraudResult cannot be null'); - } $this->container['fraudResult'] = $fraudResult; return $this; @@ -449,9 +440,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; @@ -476,9 +464,6 @@ public function getRefusalReason() */ public function setRefusalReason($refusalReason) { - if (is_null($refusalReason)) { - throw new \InvalidArgumentException('non-nullable refusalReason cannot be null'); - } $this->container['refusalReason'] = $refusalReason; return $this; @@ -503,9 +488,6 @@ public function getResultCode() */ public function setResultCode($resultCode) { - if (is_null($resultCode)) { - throw new \InvalidArgumentException('non-nullable resultCode cannot be null'); - } $allowedValues = $this->getResultCodeAllowableValues(); if (!in_array($resultCode, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -540,9 +522,6 @@ public function getTransactionLimit() */ public function setTransactionLimit($transactionLimit) { - if (is_null($transactionLimit)) { - throw new \InvalidArgumentException('non-nullable transactionLimit cannot be null'); - } $this->container['transactionLimit'] = $transactionLimit; return $this; diff --git a/src/Adyen/Model/Checkout/BankAccount.php b/src/Adyen/Model/Checkout/BankAccount.php index 1987c93a9..fd8e92cde 100644 --- a/src/Adyen/Model/Checkout/BankAccount.php +++ b/src/Adyen/Model/Checkout/BankAccount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -351,9 +351,6 @@ public function getBankAccountNumber() */ public function setBankAccountNumber($bankAccountNumber) { - if (is_null($bankAccountNumber)) { - throw new \InvalidArgumentException('non-nullable bankAccountNumber cannot be null'); - } $this->container['bankAccountNumber'] = $bankAccountNumber; return $this; @@ -378,9 +375,6 @@ public function getBankCity() */ public function setBankCity($bankCity) { - if (is_null($bankCity)) { - throw new \InvalidArgumentException('non-nullable bankCity cannot be null'); - } $this->container['bankCity'] = $bankCity; return $this; @@ -405,9 +399,6 @@ public function getBankLocationId() */ public function setBankLocationId($bankLocationId) { - if (is_null($bankLocationId)) { - throw new \InvalidArgumentException('non-nullable bankLocationId cannot be null'); - } $this->container['bankLocationId'] = $bankLocationId; return $this; @@ -432,9 +423,6 @@ public function getBankName() */ public function setBankName($bankName) { - if (is_null($bankName)) { - throw new \InvalidArgumentException('non-nullable bankName cannot be null'); - } $this->container['bankName'] = $bankName; return $this; @@ -459,9 +447,6 @@ public function getBic() */ public function setBic($bic) { - if (is_null($bic)) { - throw new \InvalidArgumentException('non-nullable bic cannot be null'); - } $this->container['bic'] = $bic; return $this; @@ -486,9 +471,6 @@ public function getCountryCode() */ public function setCountryCode($countryCode) { - if (is_null($countryCode)) { - throw new \InvalidArgumentException('non-nullable countryCode cannot be null'); - } $this->container['countryCode'] = $countryCode; return $this; @@ -513,9 +495,6 @@ public function getIban() */ public function setIban($iban) { - if (is_null($iban)) { - throw new \InvalidArgumentException('non-nullable iban cannot be null'); - } $this->container['iban'] = $iban; return $this; @@ -540,9 +519,6 @@ public function getOwnerName() */ public function setOwnerName($ownerName) { - if (is_null($ownerName)) { - throw new \InvalidArgumentException('non-nullable ownerName cannot be null'); - } $this->container['ownerName'] = $ownerName; return $this; @@ -567,9 +543,6 @@ public function getTaxId() */ public function setTaxId($taxId) { - if (is_null($taxId)) { - throw new \InvalidArgumentException('non-nullable taxId cannot be null'); - } $this->container['taxId'] = $taxId; return $this; diff --git a/src/Adyen/Model/Checkout/BillDeskDetails.php b/src/Adyen/Model/Checkout/BillDeskDetails.php index 431b97324..9a218c71f 100644 --- a/src/Adyen/Model/Checkout/BillDeskDetails.php +++ b/src/Adyen/Model/Checkout/BillDeskDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -338,9 +338,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -365,9 +362,6 @@ public function getIssuer() */ public function setIssuer($issuer) { - if (is_null($issuer)) { - throw new \InvalidArgumentException('non-nullable issuer cannot be null'); - } $this->container['issuer'] = $issuer; return $this; @@ -392,9 +386,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/BillingAddress.php b/src/Adyen/Model/Checkout/BillingAddress.php index e4f5dbf7c..2b492cebf 100644 --- a/src/Adyen/Model/Checkout/BillingAddress.php +++ b/src/Adyen/Model/Checkout/BillingAddress.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -345,9 +345,6 @@ public function getCity() */ public function setCity($city) { - if (is_null($city)) { - throw new \InvalidArgumentException('non-nullable city cannot be null'); - } $this->container['city'] = $city; return $this; @@ -372,9 +369,6 @@ public function getCountry() */ public function setCountry($country) { - if (is_null($country)) { - throw new \InvalidArgumentException('non-nullable country cannot be null'); - } $this->container['country'] = $country; return $this; @@ -399,9 +393,6 @@ public function getHouseNumberOrName() */ public function setHouseNumberOrName($houseNumberOrName) { - if (is_null($houseNumberOrName)) { - throw new \InvalidArgumentException('non-nullable houseNumberOrName cannot be null'); - } $this->container['houseNumberOrName'] = $houseNumberOrName; return $this; @@ -426,9 +417,6 @@ public function getPostalCode() */ public function setPostalCode($postalCode) { - if (is_null($postalCode)) { - throw new \InvalidArgumentException('non-nullable postalCode cannot be null'); - } $this->container['postalCode'] = $postalCode; return $this; @@ -453,9 +441,6 @@ public function getStateOrProvince() */ public function setStateOrProvince($stateOrProvince) { - if (is_null($stateOrProvince)) { - throw new \InvalidArgumentException('non-nullable stateOrProvince cannot be null'); - } $this->container['stateOrProvince'] = $stateOrProvince; return $this; @@ -480,9 +465,6 @@ public function getStreet() */ public function setStreet($street) { - if (is_null($street)) { - throw new \InvalidArgumentException('non-nullable street cannot be null'); - } $this->container['street'] = $street; return $this; diff --git a/src/Adyen/Model/Checkout/BlikDetails.php b/src/Adyen/Model/Checkout/BlikDetails.php index 8ce47f5df..11788298d 100644 --- a/src/Adyen/Model/Checkout/BlikDetails.php +++ b/src/Adyen/Model/Checkout/BlikDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -344,9 +344,6 @@ public function getBlikCode() */ public function setBlikCode($blikCode) { - if (is_null($blikCode)) { - throw new \InvalidArgumentException('non-nullable blikCode cannot be null'); - } $this->container['blikCode'] = $blikCode; return $this; @@ -371,9 +368,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -400,9 +394,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -427,9 +418,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -454,9 +442,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/BrowserInfo.php b/src/Adyen/Model/Checkout/BrowserInfo.php index 947c9d78d..1fafd1a5c 100644 --- a/src/Adyen/Model/Checkout/BrowserInfo.php +++ b/src/Adyen/Model/Checkout/BrowserInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -375,9 +375,6 @@ public function getAcceptHeader() */ public function setAcceptHeader($acceptHeader) { - if (is_null($acceptHeader)) { - throw new \InvalidArgumentException('non-nullable acceptHeader cannot be null'); - } $this->container['acceptHeader'] = $acceptHeader; return $this; @@ -402,7 +399,6 @@ public function getColorDepth() */ public function setColorDepth($colorDepth) { - // Do nothing for nullable integers $this->container['colorDepth'] = $colorDepth; return $this; @@ -427,9 +423,6 @@ public function getJavaEnabled() */ public function setJavaEnabled($javaEnabled) { - if (is_null($javaEnabled)) { - throw new \InvalidArgumentException('non-nullable javaEnabled cannot be null'); - } $this->container['javaEnabled'] = $javaEnabled; return $this; @@ -454,9 +447,6 @@ public function getJavaScriptEnabled() */ public function setJavaScriptEnabled($javaScriptEnabled) { - if (is_null($javaScriptEnabled)) { - throw new \InvalidArgumentException('non-nullable javaScriptEnabled cannot be null'); - } $this->container['javaScriptEnabled'] = $javaScriptEnabled; return $this; @@ -481,9 +471,6 @@ public function getLanguage() */ public function setLanguage($language) { - if (is_null($language)) { - throw new \InvalidArgumentException('non-nullable language cannot be null'); - } $this->container['language'] = $language; return $this; @@ -508,7 +495,6 @@ public function getScreenHeight() */ public function setScreenHeight($screenHeight) { - // Do nothing for nullable integers $this->container['screenHeight'] = $screenHeight; return $this; @@ -533,7 +519,6 @@ public function getScreenWidth() */ public function setScreenWidth($screenWidth) { - // Do nothing for nullable integers $this->container['screenWidth'] = $screenWidth; return $this; @@ -558,7 +543,6 @@ public function getTimeZoneOffset() */ public function setTimeZoneOffset($timeZoneOffset) { - // Do nothing for nullable integers $this->container['timeZoneOffset'] = $timeZoneOffset; return $this; @@ -583,9 +567,6 @@ public function getUserAgent() */ public function setUserAgent($userAgent) { - if (is_null($userAgent)) { - throw new \InvalidArgumentException('non-nullable userAgent cannot be null'); - } $this->container['userAgent'] = $userAgent; return $this; diff --git a/src/Adyen/Model/Checkout/CancelOrderRequest.php b/src/Adyen/Model/Checkout/CancelOrderRequest.php index 7697cbf52..e2ba44d8c 100644 --- a/src/Adyen/Model/Checkout/CancelOrderRequest.php +++ b/src/Adyen/Model/Checkout/CancelOrderRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -308,9 +308,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -335,9 +332,6 @@ public function getOrder() */ public function setOrder($order) { - if (is_null($order)) { - throw new \InvalidArgumentException('non-nullable order cannot be null'); - } $this->container['order'] = $order; return $this; diff --git a/src/Adyen/Model/Checkout/CancelOrderResponse.php b/src/Adyen/Model/Checkout/CancelOrderResponse.php index 282a1a957..af367cb75 100644 --- a/src/Adyen/Model/Checkout/CancelOrderResponse.php +++ b/src/Adyen/Model/Checkout/CancelOrderResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -329,9 +329,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; @@ -356,9 +353,6 @@ public function getResultCode() */ public function setResultCode($resultCode) { - if (is_null($resultCode)) { - throw new \InvalidArgumentException('non-nullable resultCode cannot be null'); - } $allowedValues = $this->getResultCodeAllowableValues(); if (!in_array($resultCode, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/Card.php b/src/Adyen/Model/Checkout/Card.php index 46e56ff7b..a8f7f319a 100644 --- a/src/Adyen/Model/Checkout/Card.php +++ b/src/Adyen/Model/Checkout/Card.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -344,9 +344,6 @@ public function getCvc() */ public function setCvc($cvc) { - if (is_null($cvc)) { - throw new \InvalidArgumentException('non-nullable cvc cannot be null'); - } $this->container['cvc'] = $cvc; return $this; @@ -371,9 +368,6 @@ public function getExpiryMonth() */ public function setExpiryMonth($expiryMonth) { - if (is_null($expiryMonth)) { - throw new \InvalidArgumentException('non-nullable expiryMonth cannot be null'); - } $this->container['expiryMonth'] = $expiryMonth; return $this; @@ -398,9 +392,6 @@ public function getExpiryYear() */ public function setExpiryYear($expiryYear) { - if (is_null($expiryYear)) { - throw new \InvalidArgumentException('non-nullable expiryYear cannot be null'); - } $this->container['expiryYear'] = $expiryYear; return $this; @@ -425,9 +416,6 @@ public function getHolderName() */ public function setHolderName($holderName) { - if (is_null($holderName)) { - throw new \InvalidArgumentException('non-nullable holderName cannot be null'); - } $this->container['holderName'] = $holderName; return $this; @@ -452,9 +440,6 @@ public function getIssueNumber() */ public function setIssueNumber($issueNumber) { - if (is_null($issueNumber)) { - throw new \InvalidArgumentException('non-nullable issueNumber cannot be null'); - } $this->container['issueNumber'] = $issueNumber; return $this; @@ -479,9 +464,6 @@ public function getNumber() */ public function setNumber($number) { - if (is_null($number)) { - throw new \InvalidArgumentException('non-nullable number cannot be null'); - } $this->container['number'] = $number; return $this; @@ -506,9 +488,6 @@ public function getStartMonth() */ public function setStartMonth($startMonth) { - if (is_null($startMonth)) { - throw new \InvalidArgumentException('non-nullable startMonth cannot be null'); - } $this->container['startMonth'] = $startMonth; return $this; @@ -533,9 +512,6 @@ public function getStartYear() */ public function setStartYear($startYear) { - if (is_null($startYear)) { - throw new \InvalidArgumentException('non-nullable startYear cannot be null'); - } $this->container['startYear'] = $startYear; return $this; diff --git a/src/Adyen/Model/Checkout/CardBrandDetails.php b/src/Adyen/Model/Checkout/CardBrandDetails.php index e97d36a85..0a8181802 100644 --- a/src/Adyen/Model/Checkout/CardBrandDetails.php +++ b/src/Adyen/Model/Checkout/CardBrandDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -302,9 +302,6 @@ public function getSupported() */ public function setSupported($supported) { - if (is_null($supported)) { - throw new \InvalidArgumentException('non-nullable supported cannot be null'); - } $this->container['supported'] = $supported; return $this; @@ -329,9 +326,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $this->container['type'] = $type; return $this; diff --git a/src/Adyen/Model/Checkout/CardDetails.php b/src/Adyen/Model/Checkout/CardDetails.php index 36354f95b..982236f8b 100644 --- a/src/Adyen/Model/Checkout/CardDetails.php +++ b/src/Adyen/Model/Checkout/CardDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -494,9 +494,6 @@ public function getBrand() */ public function setBrand($brand) { - if (is_null($brand)) { - throw new \InvalidArgumentException('non-nullable brand cannot be null'); - } $this->container['brand'] = $brand; return $this; @@ -521,9 +518,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -550,9 +544,6 @@ public function getCupsecureplusSmscode() */ public function setCupsecureplusSmscode($cupsecureplusSmscode) { - if (is_null($cupsecureplusSmscode)) { - throw new \InvalidArgumentException('non-nullable cupsecureplusSmscode cannot be null'); - } $this->container['cupsecureplusSmscode'] = $cupsecureplusSmscode; return $this; @@ -577,9 +568,6 @@ public function getCvc() */ public function setCvc($cvc) { - if (is_null($cvc)) { - throw new \InvalidArgumentException('non-nullable cvc cannot be null'); - } $this->container['cvc'] = $cvc; return $this; @@ -604,9 +592,6 @@ public function getEncryptedCardNumber() */ public function setEncryptedCardNumber($encryptedCardNumber) { - if (is_null($encryptedCardNumber)) { - throw new \InvalidArgumentException('non-nullable encryptedCardNumber cannot be null'); - } $this->container['encryptedCardNumber'] = $encryptedCardNumber; return $this; @@ -631,9 +616,6 @@ public function getEncryptedExpiryMonth() */ public function setEncryptedExpiryMonth($encryptedExpiryMonth) { - if (is_null($encryptedExpiryMonth)) { - throw new \InvalidArgumentException('non-nullable encryptedExpiryMonth cannot be null'); - } $this->container['encryptedExpiryMonth'] = $encryptedExpiryMonth; return $this; @@ -658,9 +640,6 @@ public function getEncryptedExpiryYear() */ public function setEncryptedExpiryYear($encryptedExpiryYear) { - if (is_null($encryptedExpiryYear)) { - throw new \InvalidArgumentException('non-nullable encryptedExpiryYear cannot be null'); - } $this->container['encryptedExpiryYear'] = $encryptedExpiryYear; return $this; @@ -685,9 +664,6 @@ public function getEncryptedSecurityCode() */ public function setEncryptedSecurityCode($encryptedSecurityCode) { - if (is_null($encryptedSecurityCode)) { - throw new \InvalidArgumentException('non-nullable encryptedSecurityCode cannot be null'); - } $this->container['encryptedSecurityCode'] = $encryptedSecurityCode; return $this; @@ -712,9 +688,6 @@ public function getExpiryMonth() */ public function setExpiryMonth($expiryMonth) { - if (is_null($expiryMonth)) { - throw new \InvalidArgumentException('non-nullable expiryMonth cannot be null'); - } $this->container['expiryMonth'] = $expiryMonth; return $this; @@ -739,9 +712,6 @@ public function getExpiryYear() */ public function setExpiryYear($expiryYear) { - if (is_null($expiryYear)) { - throw new \InvalidArgumentException('non-nullable expiryYear cannot be null'); - } $this->container['expiryYear'] = $expiryYear; return $this; @@ -766,9 +736,6 @@ public function getFundingSource() */ public function setFundingSource($fundingSource) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); - } $allowedValues = $this->getFundingSourceAllowableValues(); if (!in_array($fundingSource, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -803,9 +770,6 @@ public function getHolderName() */ public function setHolderName($holderName) { - if (is_null($holderName)) { - throw new \InvalidArgumentException('non-nullable holderName cannot be null'); - } $this->container['holderName'] = $holderName; return $this; @@ -830,9 +794,6 @@ public function getNetworkPaymentReference() */ public function setNetworkPaymentReference($networkPaymentReference) { - if (is_null($networkPaymentReference)) { - throw new \InvalidArgumentException('non-nullable networkPaymentReference cannot be null'); - } $this->container['networkPaymentReference'] = $networkPaymentReference; return $this; @@ -857,9 +818,6 @@ public function getNumber() */ public function setNumber($number) { - if (is_null($number)) { - throw new \InvalidArgumentException('non-nullable number cannot be null'); - } $this->container['number'] = $number; return $this; @@ -886,9 +844,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -913,9 +868,6 @@ public function getShopperNotificationReference() */ public function setShopperNotificationReference($shopperNotificationReference) { - if (is_null($shopperNotificationReference)) { - throw new \InvalidArgumentException('non-nullable shopperNotificationReference cannot be null'); - } $this->container['shopperNotificationReference'] = $shopperNotificationReference; return $this; @@ -940,9 +892,6 @@ public function getSrcCorrelationId() */ public function setSrcCorrelationId($srcCorrelationId) { - if (is_null($srcCorrelationId)) { - throw new \InvalidArgumentException('non-nullable srcCorrelationId cannot be null'); - } $this->container['srcCorrelationId'] = $srcCorrelationId; return $this; @@ -967,9 +916,6 @@ public function getSrcScheme() */ public function setSrcScheme($srcScheme) { - if (is_null($srcScheme)) { - throw new \InvalidArgumentException('non-nullable srcScheme cannot be null'); - } $this->container['srcScheme'] = $srcScheme; return $this; @@ -994,9 +940,6 @@ public function getSrcTokenReference() */ public function setSrcTokenReference($srcTokenReference) { - if (is_null($srcTokenReference)) { - throw new \InvalidArgumentException('non-nullable srcTokenReference cannot be null'); - } $this->container['srcTokenReference'] = $srcTokenReference; return $this; @@ -1021,9 +964,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -1048,9 +988,6 @@ public function getThreeDS2SdkVersion() */ public function setThreeDS2SdkVersion($threeDS2SdkVersion) { - if (is_null($threeDS2SdkVersion)) { - throw new \InvalidArgumentException('non-nullable threeDS2SdkVersion cannot be null'); - } $this->container['threeDS2SdkVersion'] = $threeDS2SdkVersion; return $this; @@ -1075,9 +1012,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/CardDetailsRequest.php b/src/Adyen/Model/Checkout/CardDetailsRequest.php index b1896e9e8..f75d6bc26 100644 --- a/src/Adyen/Model/Checkout/CardDetailsRequest.php +++ b/src/Adyen/Model/Checkout/CardDetailsRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -329,9 +329,6 @@ public function getCardNumber() */ public function setCardNumber($cardNumber) { - if (is_null($cardNumber)) { - throw new \InvalidArgumentException('non-nullable cardNumber cannot be null'); - } $this->container['cardNumber'] = $cardNumber; return $this; @@ -356,9 +353,6 @@ public function getCountryCode() */ public function setCountryCode($countryCode) { - if (is_null($countryCode)) { - throw new \InvalidArgumentException('non-nullable countryCode cannot be null'); - } $this->container['countryCode'] = $countryCode; return $this; @@ -383,9 +377,6 @@ public function getEncryptedCardNumber() */ public function setEncryptedCardNumber($encryptedCardNumber) { - if (is_null($encryptedCardNumber)) { - throw new \InvalidArgumentException('non-nullable encryptedCardNumber cannot be null'); - } $this->container['encryptedCardNumber'] = $encryptedCardNumber; return $this; @@ -410,9 +401,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -437,9 +425,6 @@ public function getSupportedBrands() */ public function setSupportedBrands($supportedBrands) { - if (is_null($supportedBrands)) { - throw new \InvalidArgumentException('non-nullable supportedBrands cannot be null'); - } $this->container['supportedBrands'] = $supportedBrands; return $this; diff --git a/src/Adyen/Model/Checkout/CardDetailsResponse.php b/src/Adyen/Model/Checkout/CardDetailsResponse.php index f4c029e91..63a905e7d 100644 --- a/src/Adyen/Model/Checkout/CardDetailsResponse.php +++ b/src/Adyen/Model/Checkout/CardDetailsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -302,9 +302,6 @@ public function getBrands() */ public function setBrands($brands) { - if (is_null($brands)) { - throw new \InvalidArgumentException('non-nullable brands cannot be null'); - } $this->container['brands'] = $brands; return $this; @@ -329,9 +326,6 @@ public function getIssuingCountryCode() */ public function setIssuingCountryCode($issuingCountryCode) { - if (is_null($issuingCountryCode)) { - throw new \InvalidArgumentException('non-nullable issuingCountryCode cannot be null'); - } $this->container['issuingCountryCode'] = $issuingCountryCode; return $this; diff --git a/src/Adyen/Model/Checkout/CardDonations.php b/src/Adyen/Model/Checkout/CardDonations.php index 1998e7669..f2b23a531 100644 --- a/src/Adyen/Model/Checkout/CardDonations.php +++ b/src/Adyen/Model/Checkout/CardDonations.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -494,9 +494,6 @@ public function getBrand() */ public function setBrand($brand) { - if (is_null($brand)) { - throw new \InvalidArgumentException('non-nullable brand cannot be null'); - } $this->container['brand'] = $brand; return $this; @@ -521,9 +518,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -550,9 +544,6 @@ public function getCupsecureplusSmscode() */ public function setCupsecureplusSmscode($cupsecureplusSmscode) { - if (is_null($cupsecureplusSmscode)) { - throw new \InvalidArgumentException('non-nullable cupsecureplusSmscode cannot be null'); - } $this->container['cupsecureplusSmscode'] = $cupsecureplusSmscode; return $this; @@ -577,9 +568,6 @@ public function getCvc() */ public function setCvc($cvc) { - if (is_null($cvc)) { - throw new \InvalidArgumentException('non-nullable cvc cannot be null'); - } $this->container['cvc'] = $cvc; return $this; @@ -604,9 +592,6 @@ public function getEncryptedCardNumber() */ public function setEncryptedCardNumber($encryptedCardNumber) { - if (is_null($encryptedCardNumber)) { - throw new \InvalidArgumentException('non-nullable encryptedCardNumber cannot be null'); - } $this->container['encryptedCardNumber'] = $encryptedCardNumber; return $this; @@ -631,9 +616,6 @@ public function getEncryptedExpiryMonth() */ public function setEncryptedExpiryMonth($encryptedExpiryMonth) { - if (is_null($encryptedExpiryMonth)) { - throw new \InvalidArgumentException('non-nullable encryptedExpiryMonth cannot be null'); - } $this->container['encryptedExpiryMonth'] = $encryptedExpiryMonth; return $this; @@ -658,9 +640,6 @@ public function getEncryptedExpiryYear() */ public function setEncryptedExpiryYear($encryptedExpiryYear) { - if (is_null($encryptedExpiryYear)) { - throw new \InvalidArgumentException('non-nullable encryptedExpiryYear cannot be null'); - } $this->container['encryptedExpiryYear'] = $encryptedExpiryYear; return $this; @@ -685,9 +664,6 @@ public function getEncryptedSecurityCode() */ public function setEncryptedSecurityCode($encryptedSecurityCode) { - if (is_null($encryptedSecurityCode)) { - throw new \InvalidArgumentException('non-nullable encryptedSecurityCode cannot be null'); - } $this->container['encryptedSecurityCode'] = $encryptedSecurityCode; return $this; @@ -712,9 +688,6 @@ public function getExpiryMonth() */ public function setExpiryMonth($expiryMonth) { - if (is_null($expiryMonth)) { - throw new \InvalidArgumentException('non-nullable expiryMonth cannot be null'); - } $this->container['expiryMonth'] = $expiryMonth; return $this; @@ -739,9 +712,6 @@ public function getExpiryYear() */ public function setExpiryYear($expiryYear) { - if (is_null($expiryYear)) { - throw new \InvalidArgumentException('non-nullable expiryYear cannot be null'); - } $this->container['expiryYear'] = $expiryYear; return $this; @@ -766,9 +736,6 @@ public function getFundingSource() */ public function setFundingSource($fundingSource) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); - } $allowedValues = $this->getFundingSourceAllowableValues(); if (!in_array($fundingSource, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -803,9 +770,6 @@ public function getHolderName() */ public function setHolderName($holderName) { - if (is_null($holderName)) { - throw new \InvalidArgumentException('non-nullable holderName cannot be null'); - } $this->container['holderName'] = $holderName; return $this; @@ -830,9 +794,6 @@ public function getNetworkPaymentReference() */ public function setNetworkPaymentReference($networkPaymentReference) { - if (is_null($networkPaymentReference)) { - throw new \InvalidArgumentException('non-nullable networkPaymentReference cannot be null'); - } $this->container['networkPaymentReference'] = $networkPaymentReference; return $this; @@ -857,9 +818,6 @@ public function getNumber() */ public function setNumber($number) { - if (is_null($number)) { - throw new \InvalidArgumentException('non-nullable number cannot be null'); - } $this->container['number'] = $number; return $this; @@ -886,9 +844,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -913,9 +868,6 @@ public function getShopperNotificationReference() */ public function setShopperNotificationReference($shopperNotificationReference) { - if (is_null($shopperNotificationReference)) { - throw new \InvalidArgumentException('non-nullable shopperNotificationReference cannot be null'); - } $this->container['shopperNotificationReference'] = $shopperNotificationReference; return $this; @@ -940,9 +892,6 @@ public function getSrcCorrelationId() */ public function setSrcCorrelationId($srcCorrelationId) { - if (is_null($srcCorrelationId)) { - throw new \InvalidArgumentException('non-nullable srcCorrelationId cannot be null'); - } $this->container['srcCorrelationId'] = $srcCorrelationId; return $this; @@ -967,9 +916,6 @@ public function getSrcScheme() */ public function setSrcScheme($srcScheme) { - if (is_null($srcScheme)) { - throw new \InvalidArgumentException('non-nullable srcScheme cannot be null'); - } $this->container['srcScheme'] = $srcScheme; return $this; @@ -994,9 +940,6 @@ public function getSrcTokenReference() */ public function setSrcTokenReference($srcTokenReference) { - if (is_null($srcTokenReference)) { - throw new \InvalidArgumentException('non-nullable srcTokenReference cannot be null'); - } $this->container['srcTokenReference'] = $srcTokenReference; return $this; @@ -1021,9 +964,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -1048,9 +988,6 @@ public function getThreeDS2SdkVersion() */ public function setThreeDS2SdkVersion($threeDS2SdkVersion) { - if (is_null($threeDS2SdkVersion)) { - throw new \InvalidArgumentException('non-nullable threeDS2SdkVersion cannot be null'); - } $this->container['threeDS2SdkVersion'] = $threeDS2SdkVersion; return $this; @@ -1075,9 +1012,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/CashAppDetails.php b/src/Adyen/Model/Checkout/CashAppDetails.php index b647ef3dd..a2b2db839 100644 --- a/src/Adyen/Model/Checkout/CashAppDetails.php +++ b/src/Adyen/Model/Checkout/CashAppDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -52,6 +52,7 @@ class CashAppDetails implements ModelInterface, ArrayAccess, \JsonSerializable 'recurringDetailReference' => 'string', 'requestId' => 'string', 'storedPaymentMethodId' => 'string', + 'subtype' => 'string', 'type' => 'string' ]; @@ -71,6 +72,7 @@ class CashAppDetails implements ModelInterface, ArrayAccess, \JsonSerializable 'recurringDetailReference' => null, 'requestId' => null, 'storedPaymentMethodId' => null, + 'subtype' => null, 'type' => null ]; @@ -88,6 +90,7 @@ class CashAppDetails implements ModelInterface, ArrayAccess, \JsonSerializable 'recurringDetailReference' => false, 'requestId' => false, 'storedPaymentMethodId' => false, + 'subtype' => false, 'type' => false ]; @@ -185,6 +188,7 @@ public function isNullableSetToNull(string $property): bool 'recurringDetailReference' => 'recurringDetailReference', 'requestId' => 'requestId', 'storedPaymentMethodId' => 'storedPaymentMethodId', + 'subtype' => 'subtype', 'type' => 'type' ]; @@ -202,6 +206,7 @@ public function isNullableSetToNull(string $property): bool 'recurringDetailReference' => 'setRecurringDetailReference', 'requestId' => 'setRequestId', 'storedPaymentMethodId' => 'setStoredPaymentMethodId', + 'subtype' => 'setSubtype', 'type' => 'setType' ]; @@ -219,6 +224,7 @@ public function isNullableSetToNull(string $property): bool 'recurringDetailReference' => 'getRecurringDetailReference', 'requestId' => 'getRequestId', 'storedPaymentMethodId' => 'getStoredPaymentMethodId', + 'subtype' => 'getSubtype', 'type' => 'getType' ]; @@ -299,6 +305,7 @@ public function __construct(array $data = null) $this->setIfExists('recurringDetailReference', $data ?? [], null); $this->setIfExists('requestId', $data ?? [], null); $this->setIfExists('storedPaymentMethodId', $data ?? [], null); + $this->setIfExists('subtype', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); } @@ -372,9 +379,6 @@ public function getCashtag() */ public function setCashtag($cashtag) { - if (is_null($cashtag)) { - throw new \InvalidArgumentException('non-nullable cashtag cannot be null'); - } $this->container['cashtag'] = $cashtag; return $this; @@ -399,9 +403,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -426,9 +427,6 @@ public function getCustomerId() */ public function setCustomerId($customerId) { - if (is_null($customerId)) { - throw new \InvalidArgumentException('non-nullable customerId cannot be null'); - } $this->container['customerId'] = $customerId; return $this; @@ -453,9 +451,6 @@ public function getGrantId() */ public function setGrantId($grantId) { - if (is_null($grantId)) { - throw new \InvalidArgumentException('non-nullable grantId cannot be null'); - } $this->container['grantId'] = $grantId; return $this; @@ -480,9 +475,6 @@ public function getOnFileGrantId() */ public function setOnFileGrantId($onFileGrantId) { - if (is_null($onFileGrantId)) { - throw new \InvalidArgumentException('non-nullable onFileGrantId cannot be null'); - } $this->container['onFileGrantId'] = $onFileGrantId; return $this; @@ -509,9 +501,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -536,9 +525,6 @@ public function getRequestId() */ public function setRequestId($requestId) { - if (is_null($requestId)) { - throw new \InvalidArgumentException('non-nullable requestId cannot be null'); - } $this->container['requestId'] = $requestId; return $this; @@ -563,14 +549,35 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; } + /** + * Gets subtype + * + * @return string|null + */ + public function getSubtype() + { + return $this->container['subtype']; + } + + /** + * Sets subtype + * + * @param string|null $subtype The payment method subtype. + * + * @return self + */ + public function setSubtype($subtype) + { + $this->container['subtype'] = $subtype; + + return $this; + } + /** * Gets type * @@ -590,9 +597,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/CellulantDetails.php b/src/Adyen/Model/Checkout/CellulantDetails.php index b03a57fa7..c695e7b0c 100644 --- a/src/Adyen/Model/Checkout/CellulantDetails.php +++ b/src/Adyen/Model/Checkout/CellulantDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -330,9 +330,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -357,9 +354,6 @@ public function getIssuer() */ public function setIssuer($issuer) { - if (is_null($issuer)) { - throw new \InvalidArgumentException('non-nullable issuer cannot be null'); - } $this->container['issuer'] = $issuer; return $this; @@ -384,9 +378,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/CheckoutAwaitAction.php b/src/Adyen/Model/Checkout/CheckoutAwaitAction.php index 1bace49c3..50b6744ae 100644 --- a/src/Adyen/Model/Checkout/CheckoutAwaitAction.php +++ b/src/Adyen/Model/Checkout/CheckoutAwaitAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -340,9 +340,6 @@ public function getPaymentData() */ public function setPaymentData($paymentData) { - if (is_null($paymentData)) { - throw new \InvalidArgumentException('non-nullable paymentData cannot be null'); - } $this->container['paymentData'] = $paymentData; return $this; @@ -367,9 +364,6 @@ public function getPaymentMethodType() */ public function setPaymentMethodType($paymentMethodType) { - if (is_null($paymentMethodType)) { - throw new \InvalidArgumentException('non-nullable paymentMethodType cannot be null'); - } $this->container['paymentMethodType'] = $paymentMethodType; return $this; @@ -394,9 +388,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -431,9 +422,6 @@ public function getUrl() */ public function setUrl($url) { - if (is_null($url)) { - throw new \InvalidArgumentException('non-nullable url cannot be null'); - } $this->container['url'] = $url; return $this; diff --git a/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php b/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php index bb5698f13..c5a1bc958 100644 --- a/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php +++ b/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -354,9 +354,6 @@ public function getAuthorisationToken() */ public function setAuthorisationToken($authorisationToken) { - if (is_null($authorisationToken)) { - throw new \InvalidArgumentException('non-nullable authorisationToken cannot be null'); - } $this->container['authorisationToken'] = $authorisationToken; return $this; @@ -381,9 +378,6 @@ public function getPaymentData() */ public function setPaymentData($paymentData) { - if (is_null($paymentData)) { - throw new \InvalidArgumentException('non-nullable paymentData cannot be null'); - } $this->container['paymentData'] = $paymentData; return $this; @@ -408,9 +402,6 @@ public function getPaymentMethodType() */ public function setPaymentMethodType($paymentMethodType) { - if (is_null($paymentMethodType)) { - throw new \InvalidArgumentException('non-nullable paymentMethodType cannot be null'); - } $this->container['paymentMethodType'] = $paymentMethodType; return $this; @@ -435,9 +426,6 @@ public function getToken() */ public function setToken($token) { - if (is_null($token)) { - throw new \InvalidArgumentException('non-nullable token cannot be null'); - } $this->container['token'] = $token; return $this; @@ -462,9 +450,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -499,9 +484,6 @@ public function getUrl() */ public function setUrl($url) { - if (is_null($url)) { - throw new \InvalidArgumentException('non-nullable url cannot be null'); - } $this->container['url'] = $url; return $this; diff --git a/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php b/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php index e7b03e0d9..82b6fe4f9 100644 --- a/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php +++ b/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -354,9 +354,6 @@ public function getData() */ public function setData($data) { - if (is_null($data)) { - throw new \InvalidArgumentException('non-nullable data cannot be null'); - } $this->container['data'] = $data; return $this; @@ -381,9 +378,6 @@ public function getMethod() */ public function setMethod($method) { - if (is_null($method)) { - throw new \InvalidArgumentException('non-nullable method cannot be null'); - } $this->container['method'] = $method; return $this; @@ -408,9 +402,6 @@ public function getNativeRedirectData() */ public function setNativeRedirectData($nativeRedirectData) { - if (is_null($nativeRedirectData)) { - throw new \InvalidArgumentException('non-nullable nativeRedirectData cannot be null'); - } $this->container['nativeRedirectData'] = $nativeRedirectData; return $this; @@ -435,9 +426,6 @@ public function getPaymentMethodType() */ public function setPaymentMethodType($paymentMethodType) { - if (is_null($paymentMethodType)) { - throw new \InvalidArgumentException('non-nullable paymentMethodType cannot be null'); - } $this->container['paymentMethodType'] = $paymentMethodType; return $this; @@ -462,9 +450,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -499,9 +484,6 @@ public function getUrl() */ public function setUrl($url) { - if (is_null($url)) { - throw new \InvalidArgumentException('non-nullable url cannot be null'); - } $this->container['url'] = $url; return $this; diff --git a/src/Adyen/Model/Checkout/CheckoutOrderResponse.php b/src/Adyen/Model/Checkout/CheckoutOrderResponse.php index 96c97e259..190bbe71a 100644 --- a/src/Adyen/Model/Checkout/CheckoutOrderResponse.php +++ b/src/Adyen/Model/Checkout/CheckoutOrderResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -333,9 +333,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -360,9 +357,6 @@ public function getExpiresAt() */ public function setExpiresAt($expiresAt) { - if (is_null($expiresAt)) { - throw new \InvalidArgumentException('non-nullable expiresAt cannot be null'); - } $this->container['expiresAt'] = $expiresAt; return $this; @@ -387,9 +381,6 @@ public function getOrderData() */ public function setOrderData($orderData) { - if (is_null($orderData)) { - throw new \InvalidArgumentException('non-nullable orderData cannot be null'); - } $this->container['orderData'] = $orderData; return $this; @@ -414,9 +405,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; @@ -441,9 +429,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -468,9 +453,6 @@ public function getRemainingAmount() */ public function setRemainingAmount($remainingAmount) { - if (is_null($remainingAmount)) { - throw new \InvalidArgumentException('non-nullable remainingAmount cannot be null'); - } $this->container['remainingAmount'] = $remainingAmount; return $this; diff --git a/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php b/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php index ca15ca03e..b99b62f16 100644 --- a/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php +++ b/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -87,13 +87,13 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali 'grantId' => 'string', 'onFileGrantId' => 'string', 'requestId' => 'string', + 'subtype' => 'string', 'firstName' => 'string', 'lastName' => 'string', 'shopperEmail' => 'string', 'telephoneNumber' => 'string', 'googlePayCardNetwork' => 'string', 'googlePayToken' => 'string', - 'subtype' => 'string', 'masterpassTransactionId' => 'string', 'orderID' => 'string', 'payeePreferred' => 'string', @@ -159,13 +159,13 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali 'grantId' => null, 'onFileGrantId' => null, 'requestId' => null, + 'subtype' => null, 'firstName' => null, 'lastName' => null, 'shopperEmail' => null, 'telephoneNumber' => null, 'googlePayCardNetwork' => null, 'googlePayToken' => null, - 'subtype' => null, 'masterpassTransactionId' => null, 'orderID' => null, 'payeePreferred' => null, @@ -229,13 +229,13 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali 'grantId' => false, 'onFileGrantId' => false, 'requestId' => false, + 'subtype' => false, 'firstName' => false, 'lastName' => false, 'shopperEmail' => false, 'telephoneNumber' => false, 'googlePayCardNetwork' => false, 'googlePayToken' => false, - 'subtype' => false, 'masterpassTransactionId' => false, 'orderID' => false, 'payeePreferred' => false, @@ -379,13 +379,13 @@ public function isNullableSetToNull(string $property): bool 'grantId' => 'grantId', 'onFileGrantId' => 'onFileGrantId', 'requestId' => 'requestId', + 'subtype' => 'subtype', 'firstName' => 'firstName', 'lastName' => 'lastName', 'shopperEmail' => 'shopperEmail', 'telephoneNumber' => 'telephoneNumber', 'googlePayCardNetwork' => 'googlePayCardNetwork', 'googlePayToken' => 'googlePayToken', - 'subtype' => 'subtype', 'masterpassTransactionId' => 'masterpassTransactionId', 'orderID' => 'orderID', 'payeePreferred' => 'payeePreferred', @@ -449,13 +449,13 @@ public function isNullableSetToNull(string $property): bool 'grantId' => 'setGrantId', 'onFileGrantId' => 'setOnFileGrantId', 'requestId' => 'setRequestId', + 'subtype' => 'setSubtype', 'firstName' => 'setFirstName', 'lastName' => 'setLastName', 'shopperEmail' => 'setShopperEmail', 'telephoneNumber' => 'setTelephoneNumber', 'googlePayCardNetwork' => 'setGooglePayCardNetwork', 'googlePayToken' => 'setGooglePayToken', - 'subtype' => 'setSubtype', 'masterpassTransactionId' => 'setMasterpassTransactionId', 'orderID' => 'setOrderID', 'payeePreferred' => 'setPayeePreferred', @@ -519,13 +519,13 @@ public function isNullableSetToNull(string $property): bool 'grantId' => 'getGrantId', 'onFileGrantId' => 'getOnFileGrantId', 'requestId' => 'getRequestId', + 'subtype' => 'getSubtype', 'firstName' => 'getFirstName', 'lastName' => 'getLastName', 'shopperEmail' => 'getShopperEmail', 'telephoneNumber' => 'getTelephoneNumber', 'googlePayCardNetwork' => 'getGooglePayCardNetwork', 'googlePayToken' => 'getGooglePayToken', - 'subtype' => 'getSubtype', 'masterpassTransactionId' => 'getMasterpassTransactionId', 'orderID' => 'getOrderID', 'payeePreferred' => 'getPayeePreferred', @@ -639,13 +639,13 @@ public function __construct(array $data = null) $this->setIfExists('grantId', $data ?? [], null); $this->setIfExists('onFileGrantId', $data ?? [], null); $this->setIfExists('requestId', $data ?? [], null); + $this->setIfExists('subtype', $data ?? [], null); $this->setIfExists('firstName', $data ?? [], null); $this->setIfExists('lastName', $data ?? [], null); $this->setIfExists('shopperEmail', $data ?? [], null); $this->setIfExists('telephoneNumber', $data ?? [], null); $this->setIfExists('googlePayCardNetwork', $data ?? [], null); $this->setIfExists('googlePayToken', $data ?? [], null); - $this->setIfExists('subtype', $data ?? [], null); $this->setIfExists('masterpassTransactionId', $data ?? [], null); $this->setIfExists('orderID', $data ?? [], null); $this->setIfExists('payeePreferred', $data ?? [], null); @@ -703,6 +703,7 @@ public function listInvalidProperties() if ($this->container['issuer'] === null) { $invalidProperties[] = "'issuer' can't be null"; } + if ($this->container['firstName'] === null) { $invalidProperties[] = "'firstName' can't be null"; } @@ -718,7 +719,6 @@ public function listInvalidProperties() if ($this->container['googlePayToken'] === null) { $invalidProperties[] = "'googlePayToken' can't be null"; } - if ($this->container['masterpassTransactionId'] === null) { $invalidProperties[] = "'masterpassTransactionId' can't be null"; } @@ -768,9 +768,6 @@ public function getBankAccountNumber() */ public function setBankAccountNumber($bankAccountNumber) { - if (is_null($bankAccountNumber)) { - throw new \InvalidArgumentException('non-nullable bankAccountNumber cannot be null'); - } $this->container['bankAccountNumber'] = $bankAccountNumber; return $this; @@ -795,9 +792,6 @@ public function getBankAccountType() */ public function setBankAccountType($bankAccountType) { - if (is_null($bankAccountType)) { - throw new \InvalidArgumentException('non-nullable bankAccountType cannot be null'); - } $this->container['bankAccountType'] = $bankAccountType; return $this; @@ -822,9 +816,6 @@ public function getBankLocationId() */ public function setBankLocationId($bankLocationId) { - if (is_null($bankLocationId)) { - throw new \InvalidArgumentException('non-nullable bankLocationId cannot be null'); - } $this->container['bankLocationId'] = $bankLocationId; return $this; @@ -849,9 +840,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -876,9 +864,6 @@ public function getEncryptedBankAccountNumber() */ public function setEncryptedBankAccountNumber($encryptedBankAccountNumber) { - if (is_null($encryptedBankAccountNumber)) { - throw new \InvalidArgumentException('non-nullable encryptedBankAccountNumber cannot be null'); - } $this->container['encryptedBankAccountNumber'] = $encryptedBankAccountNumber; return $this; @@ -903,9 +888,6 @@ public function getEncryptedBankLocationId() */ public function setEncryptedBankLocationId($encryptedBankLocationId) { - if (is_null($encryptedBankLocationId)) { - throw new \InvalidArgumentException('non-nullable encryptedBankLocationId cannot be null'); - } $this->container['encryptedBankLocationId'] = $encryptedBankLocationId; return $this; @@ -930,9 +912,6 @@ public function getOwnerName() */ public function setOwnerName($ownerName) { - if (is_null($ownerName)) { - throw new \InvalidArgumentException('non-nullable ownerName cannot be null'); - } $this->container['ownerName'] = $ownerName; return $this; @@ -959,9 +938,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -986,9 +962,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -1013,9 +986,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $this->container['type'] = $type; return $this; @@ -1040,9 +1010,6 @@ public function getBillingAddress() */ public function setBillingAddress($billingAddress) { - if (is_null($billingAddress)) { - throw new \InvalidArgumentException('non-nullable billingAddress cannot be null'); - } $this->container['billingAddress'] = $billingAddress; return $this; @@ -1067,9 +1034,6 @@ public function getDeliveryAddress() */ public function setDeliveryAddress($deliveryAddress) { - if (is_null($deliveryAddress)) { - throw new \InvalidArgumentException('non-nullable deliveryAddress cannot be null'); - } $this->container['deliveryAddress'] = $deliveryAddress; return $this; @@ -1094,9 +1058,6 @@ public function getPersonalDetails() */ public function setPersonalDetails($personalDetails) { - if (is_null($personalDetails)) { - throw new \InvalidArgumentException('non-nullable personalDetails cannot be null'); - } $this->container['personalDetails'] = $personalDetails; return $this; @@ -1121,9 +1082,6 @@ public function getAmazonPayToken() */ public function setAmazonPayToken($amazonPayToken) { - if (is_null($amazonPayToken)) { - throw new \InvalidArgumentException('non-nullable amazonPayToken cannot be null'); - } $this->container['amazonPayToken'] = $amazonPayToken; return $this; @@ -1148,9 +1106,6 @@ public function getCheckoutSessionId() */ public function setCheckoutSessionId($checkoutSessionId) { - if (is_null($checkoutSessionId)) { - throw new \InvalidArgumentException('non-nullable checkoutSessionId cannot be null'); - } $this->container['checkoutSessionId'] = $checkoutSessionId; return $this; @@ -1175,9 +1130,6 @@ public function getBeneficiaryId() */ public function setBeneficiaryId($beneficiaryId) { - if (is_null($beneficiaryId)) { - throw new \InvalidArgumentException('non-nullable beneficiaryId cannot be null'); - } $this->container['beneficiaryId'] = $beneficiaryId; return $this; @@ -1202,9 +1154,6 @@ public function getApplePayToken() */ public function setApplePayToken($applePayToken) { - if (is_null($applePayToken)) { - throw new \InvalidArgumentException('non-nullable applePayToken cannot be null'); - } $this->container['applePayToken'] = $applePayToken; return $this; @@ -1229,9 +1178,6 @@ public function getFundingSource() */ public function setFundingSource($fundingSource) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); - } $this->container['fundingSource'] = $fundingSource; return $this; @@ -1256,9 +1202,6 @@ public function getHolderName() */ public function setHolderName($holderName) { - if (is_null($holderName)) { - throw new \InvalidArgumentException('non-nullable holderName cannot be null'); - } $this->container['holderName'] = $holderName; return $this; @@ -1277,15 +1220,12 @@ public function getIssuer() /** * Sets issuer * - * @param string $issuer The shopper's bank. Specify this with the issuer value that corresponds to this bank. + * @param string $issuer The PayByBank issuer value of the shopper's selected bank. * * @return self */ public function setIssuer($issuer) { - if (is_null($issuer)) { - throw new \InvalidArgumentException('non-nullable issuer cannot be null'); - } $this->container['issuer'] = $issuer; return $this; @@ -1310,9 +1250,6 @@ public function getBlikCode() */ public function setBlikCode($blikCode) { - if (is_null($blikCode)) { - throw new \InvalidArgumentException('non-nullable blikCode cannot be null'); - } $this->container['blikCode'] = $blikCode; return $this; @@ -1337,9 +1274,6 @@ public function getBrand() */ public function setBrand($brand) { - if (is_null($brand)) { - throw new \InvalidArgumentException('non-nullable brand cannot be null'); - } $this->container['brand'] = $brand; return $this; @@ -1366,9 +1300,6 @@ public function getCupsecureplusSmscode() */ public function setCupsecureplusSmscode($cupsecureplusSmscode) { - if (is_null($cupsecureplusSmscode)) { - throw new \InvalidArgumentException('non-nullable cupsecureplusSmscode cannot be null'); - } $this->container['cupsecureplusSmscode'] = $cupsecureplusSmscode; return $this; @@ -1393,9 +1324,6 @@ public function getCvc() */ public function setCvc($cvc) { - if (is_null($cvc)) { - throw new \InvalidArgumentException('non-nullable cvc cannot be null'); - } $this->container['cvc'] = $cvc; return $this; @@ -1420,9 +1348,6 @@ public function getEncryptedCardNumber() */ public function setEncryptedCardNumber($encryptedCardNumber) { - if (is_null($encryptedCardNumber)) { - throw new \InvalidArgumentException('non-nullable encryptedCardNumber cannot be null'); - } $this->container['encryptedCardNumber'] = $encryptedCardNumber; return $this; @@ -1447,9 +1372,6 @@ public function getEncryptedExpiryMonth() */ public function setEncryptedExpiryMonth($encryptedExpiryMonth) { - if (is_null($encryptedExpiryMonth)) { - throw new \InvalidArgumentException('non-nullable encryptedExpiryMonth cannot be null'); - } $this->container['encryptedExpiryMonth'] = $encryptedExpiryMonth; return $this; @@ -1474,9 +1396,6 @@ public function getEncryptedExpiryYear() */ public function setEncryptedExpiryYear($encryptedExpiryYear) { - if (is_null($encryptedExpiryYear)) { - throw new \InvalidArgumentException('non-nullable encryptedExpiryYear cannot be null'); - } $this->container['encryptedExpiryYear'] = $encryptedExpiryYear; return $this; @@ -1501,9 +1420,6 @@ public function getEncryptedSecurityCode() */ public function setEncryptedSecurityCode($encryptedSecurityCode) { - if (is_null($encryptedSecurityCode)) { - throw new \InvalidArgumentException('non-nullable encryptedSecurityCode cannot be null'); - } $this->container['encryptedSecurityCode'] = $encryptedSecurityCode; return $this; @@ -1528,9 +1444,6 @@ public function getExpiryMonth() */ public function setExpiryMonth($expiryMonth) { - if (is_null($expiryMonth)) { - throw new \InvalidArgumentException('non-nullable expiryMonth cannot be null'); - } $this->container['expiryMonth'] = $expiryMonth; return $this; @@ -1555,9 +1468,6 @@ public function getExpiryYear() */ public function setExpiryYear($expiryYear) { - if (is_null($expiryYear)) { - throw new \InvalidArgumentException('non-nullable expiryYear cannot be null'); - } $this->container['expiryYear'] = $expiryYear; return $this; @@ -1582,9 +1492,6 @@ public function getNetworkPaymentReference() */ public function setNetworkPaymentReference($networkPaymentReference) { - if (is_null($networkPaymentReference)) { - throw new \InvalidArgumentException('non-nullable networkPaymentReference cannot be null'); - } $this->container['networkPaymentReference'] = $networkPaymentReference; return $this; @@ -1609,9 +1516,6 @@ public function getNumber() */ public function setNumber($number) { - if (is_null($number)) { - throw new \InvalidArgumentException('non-nullable number cannot be null'); - } $this->container['number'] = $number; return $this; @@ -1636,9 +1540,6 @@ public function getShopperNotificationReference() */ public function setShopperNotificationReference($shopperNotificationReference) { - if (is_null($shopperNotificationReference)) { - throw new \InvalidArgumentException('non-nullable shopperNotificationReference cannot be null'); - } $this->container['shopperNotificationReference'] = $shopperNotificationReference; return $this; @@ -1663,9 +1564,6 @@ public function getSrcCorrelationId() */ public function setSrcCorrelationId($srcCorrelationId) { - if (is_null($srcCorrelationId)) { - throw new \InvalidArgumentException('non-nullable srcCorrelationId cannot be null'); - } $this->container['srcCorrelationId'] = $srcCorrelationId; return $this; @@ -1690,9 +1588,6 @@ public function getSrcScheme() */ public function setSrcScheme($srcScheme) { - if (is_null($srcScheme)) { - throw new \InvalidArgumentException('non-nullable srcScheme cannot be null'); - } $this->container['srcScheme'] = $srcScheme; return $this; @@ -1717,9 +1612,6 @@ public function getSrcTokenReference() */ public function setSrcTokenReference($srcTokenReference) { - if (is_null($srcTokenReference)) { - throw new \InvalidArgumentException('non-nullable srcTokenReference cannot be null'); - } $this->container['srcTokenReference'] = $srcTokenReference; return $this; @@ -1744,9 +1636,6 @@ public function getThreeDS2SdkVersion() */ public function setThreeDS2SdkVersion($threeDS2SdkVersion) { - if (is_null($threeDS2SdkVersion)) { - throw new \InvalidArgumentException('non-nullable threeDS2SdkVersion cannot be null'); - } $this->container['threeDS2SdkVersion'] = $threeDS2SdkVersion; return $this; @@ -1771,9 +1660,6 @@ public function getCashtag() */ public function setCashtag($cashtag) { - if (is_null($cashtag)) { - throw new \InvalidArgumentException('non-nullable cashtag cannot be null'); - } $this->container['cashtag'] = $cashtag; return $this; @@ -1798,9 +1684,6 @@ public function getCustomerId() */ public function setCustomerId($customerId) { - if (is_null($customerId)) { - throw new \InvalidArgumentException('non-nullable customerId cannot be null'); - } $this->container['customerId'] = $customerId; return $this; @@ -1825,9 +1708,6 @@ public function getGrantId() */ public function setGrantId($grantId) { - if (is_null($grantId)) { - throw new \InvalidArgumentException('non-nullable grantId cannot be null'); - } $this->container['grantId'] = $grantId; return $this; @@ -1852,9 +1732,6 @@ public function getOnFileGrantId() */ public function setOnFileGrantId($onFileGrantId) { - if (is_null($onFileGrantId)) { - throw new \InvalidArgumentException('non-nullable onFileGrantId cannot be null'); - } $this->container['onFileGrantId'] = $onFileGrantId; return $this; @@ -1879,14 +1756,35 @@ public function getRequestId() */ public function setRequestId($requestId) { - if (is_null($requestId)) { - throw new \InvalidArgumentException('non-nullable requestId cannot be null'); - } $this->container['requestId'] = $requestId; return $this; } + /** + * Gets subtype + * + * @return string|null + */ + public function getSubtype() + { + return $this->container['subtype']; + } + + /** + * Sets subtype + * + * @param string|null $subtype The type of flow to initiate. + * + * @return self + */ + public function setSubtype($subtype) + { + $this->container['subtype'] = $subtype; + + return $this; + } + /** * Gets firstName * @@ -1906,9 +1804,6 @@ public function getFirstName() */ public function setFirstName($firstName) { - if (is_null($firstName)) { - throw new \InvalidArgumentException('non-nullable firstName cannot be null'); - } $this->container['firstName'] = $firstName; return $this; @@ -1933,9 +1828,6 @@ public function getLastName() */ public function setLastName($lastName) { - if (is_null($lastName)) { - throw new \InvalidArgumentException('non-nullable lastName cannot be null'); - } $this->container['lastName'] = $lastName; return $this; @@ -1960,9 +1852,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -1987,9 +1876,6 @@ public function getTelephoneNumber() */ public function setTelephoneNumber($telephoneNumber) { - if (is_null($telephoneNumber)) { - throw new \InvalidArgumentException('non-nullable telephoneNumber cannot be null'); - } $this->container['telephoneNumber'] = $telephoneNumber; return $this; @@ -2014,9 +1900,6 @@ public function getGooglePayCardNetwork() */ public function setGooglePayCardNetwork($googlePayCardNetwork) { - if (is_null($googlePayCardNetwork)) { - throw new \InvalidArgumentException('non-nullable googlePayCardNetwork cannot be null'); - } $this->container['googlePayCardNetwork'] = $googlePayCardNetwork; return $this; @@ -2041,41 +1924,11 @@ public function getGooglePayToken() */ public function setGooglePayToken($googlePayToken) { - if (is_null($googlePayToken)) { - throw new \InvalidArgumentException('non-nullable googlePayToken cannot be null'); - } $this->container['googlePayToken'] = $googlePayToken; return $this; } - /** - * Gets subtype - * - * @return string|null - */ - public function getSubtype() - { - return $this->container['subtype']; - } - - /** - * Sets subtype - * - * @param string|null $subtype The type of flow to initiate. - * - * @return self - */ - public function setSubtype($subtype) - { - if (is_null($subtype)) { - throw new \InvalidArgumentException('non-nullable subtype cannot be null'); - } - $this->container['subtype'] = $subtype; - - return $this; - } - /** * Gets masterpassTransactionId * @@ -2095,9 +1948,6 @@ public function getMasterpassTransactionId() */ public function setMasterpassTransactionId($masterpassTransactionId) { - if (is_null($masterpassTransactionId)) { - throw new \InvalidArgumentException('non-nullable masterpassTransactionId cannot be null'); - } $this->container['masterpassTransactionId'] = $masterpassTransactionId; return $this; @@ -2122,9 +1972,6 @@ public function getOrderID() */ public function setOrderID($orderID) { - if (is_null($orderID)) { - throw new \InvalidArgumentException('non-nullable orderID cannot be null'); - } $this->container['orderID'] = $orderID; return $this; @@ -2149,9 +1996,6 @@ public function getPayeePreferred() */ public function setPayeePreferred($payeePreferred) { - if (is_null($payeePreferred)) { - throw new \InvalidArgumentException('non-nullable payeePreferred cannot be null'); - } $this->container['payeePreferred'] = $payeePreferred; return $this; @@ -2176,9 +2020,6 @@ public function getPayerID() */ public function setPayerID($payerID) { - if (is_null($payerID)) { - throw new \InvalidArgumentException('non-nullable payerID cannot be null'); - } $this->container['payerID'] = $payerID; return $this; @@ -2203,9 +2044,6 @@ public function getPayerSelected() */ public function setPayerSelected($payerSelected) { - if (is_null($payerSelected)) { - throw new \InvalidArgumentException('non-nullable payerSelected cannot be null'); - } $this->container['payerSelected'] = $payerSelected; return $this; @@ -2230,9 +2068,6 @@ public function getVirtualPaymentAddress() */ public function setVirtualPaymentAddress($virtualPaymentAddress) { - if (is_null($virtualPaymentAddress)) { - throw new \InvalidArgumentException('non-nullable virtualPaymentAddress cannot be null'); - } $this->container['virtualPaymentAddress'] = $virtualPaymentAddress; return $this; @@ -2257,9 +2092,6 @@ public function getSamsungPayToken() */ public function setSamsungPayToken($samsungPayToken) { - if (is_null($samsungPayToken)) { - throw new \InvalidArgumentException('non-nullable samsungPayToken cannot be null'); - } $this->container['samsungPayToken'] = $samsungPayToken; return $this; @@ -2284,9 +2116,6 @@ public function getIban() */ public function setIban($iban) { - if (is_null($iban)) { - throw new \InvalidArgumentException('non-nullable iban cannot be null'); - } $this->container['iban'] = $iban; return $this; @@ -2311,9 +2140,6 @@ public function getBillingSequenceNumber() */ public function setBillingSequenceNumber($billingSequenceNumber) { - if (is_null($billingSequenceNumber)) { - throw new \InvalidArgumentException('non-nullable billingSequenceNumber cannot be null'); - } $this->container['billingSequenceNumber'] = $billingSequenceNumber; return $this; @@ -2338,9 +2164,6 @@ public function getAppId() */ public function setAppId($appId) { - if (is_null($appId)) { - throw new \InvalidArgumentException('non-nullable appId cannot be null'); - } $this->container['appId'] = $appId; return $this; @@ -2365,9 +2188,6 @@ public function getVisaCheckoutCallId() */ public function setVisaCheckoutCallId($visaCheckoutCallId) { - if (is_null($visaCheckoutCallId)) { - throw new \InvalidArgumentException('non-nullable visaCheckoutCallId cannot be null'); - } $this->container['visaCheckoutCallId'] = $visaCheckoutCallId; return $this; @@ -2392,9 +2212,6 @@ public function getOpenid() */ public function setOpenid($openid) { - if (is_null($openid)) { - throw new \InvalidArgumentException('non-nullable openid cannot be null'); - } $this->container['openid'] = $openid; return $this; @@ -2419,9 +2236,6 @@ public function getClickAndCollect() */ public function setClickAndCollect($clickAndCollect) { - if (is_null($clickAndCollect)) { - throw new \InvalidArgumentException('non-nullable clickAndCollect cannot be null'); - } $this->container['clickAndCollect'] = $clickAndCollect; return $this; diff --git a/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php b/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php index d17d89ae6..faa4dafcd 100644 --- a/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php +++ b/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -354,9 +354,6 @@ public function getExpiresAt() */ public function setExpiresAt($expiresAt) { - if (is_null($expiresAt)) { - throw new \InvalidArgumentException('non-nullable expiresAt cannot be null'); - } $this->container['expiresAt'] = $expiresAt; return $this; @@ -381,9 +378,6 @@ public function getPaymentData() */ public function setPaymentData($paymentData) { - if (is_null($paymentData)) { - throw new \InvalidArgumentException('non-nullable paymentData cannot be null'); - } $this->container['paymentData'] = $paymentData; return $this; @@ -408,9 +402,6 @@ public function getPaymentMethodType() */ public function setPaymentMethodType($paymentMethodType) { - if (is_null($paymentMethodType)) { - throw new \InvalidArgumentException('non-nullable paymentMethodType cannot be null'); - } $this->container['paymentMethodType'] = $paymentMethodType; return $this; @@ -435,9 +426,6 @@ public function getQrCodeData() */ public function setQrCodeData($qrCodeData) { - if (is_null($qrCodeData)) { - throw new \InvalidArgumentException('non-nullable qrCodeData cannot be null'); - } $this->container['qrCodeData'] = $qrCodeData; return $this; @@ -462,9 +450,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -499,9 +484,6 @@ public function getUrl() */ public function setUrl($url) { - if (is_null($url)) { - throw new \InvalidArgumentException('non-nullable url cannot be null'); - } $this->container['url'] = $url; return $this; diff --git a/src/Adyen/Model/Checkout/CheckoutRedirectAction.php b/src/Adyen/Model/Checkout/CheckoutRedirectAction.php index 77ca93dfc..2450bf2e5 100644 --- a/src/Adyen/Model/Checkout/CheckoutRedirectAction.php +++ b/src/Adyen/Model/Checkout/CheckoutRedirectAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -347,9 +347,6 @@ public function getData() */ public function setData($data) { - if (is_null($data)) { - throw new \InvalidArgumentException('non-nullable data cannot be null'); - } $this->container['data'] = $data; return $this; @@ -374,9 +371,6 @@ public function getMethod() */ public function setMethod($method) { - if (is_null($method)) { - throw new \InvalidArgumentException('non-nullable method cannot be null'); - } $this->container['method'] = $method; return $this; @@ -401,9 +395,6 @@ public function getPaymentMethodType() */ public function setPaymentMethodType($paymentMethodType) { - if (is_null($paymentMethodType)) { - throw new \InvalidArgumentException('non-nullable paymentMethodType cannot be null'); - } $this->container['paymentMethodType'] = $paymentMethodType; return $this; @@ -428,9 +419,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -465,9 +453,6 @@ public function getUrl() */ public function setUrl($url) { - if (is_null($url)) { - throw new \InvalidArgumentException('non-nullable url cannot be null'); - } $this->container['url'] = $url; return $this; diff --git a/src/Adyen/Model/Checkout/CheckoutSDKAction.php b/src/Adyen/Model/Checkout/CheckoutSDKAction.php index 8d280ca10..c4f871123 100644 --- a/src/Adyen/Model/Checkout/CheckoutSDKAction.php +++ b/src/Adyen/Model/Checkout/CheckoutSDKAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -349,9 +349,6 @@ public function getPaymentData() */ public function setPaymentData($paymentData) { - if (is_null($paymentData)) { - throw new \InvalidArgumentException('non-nullable paymentData cannot be null'); - } $this->container['paymentData'] = $paymentData; return $this; @@ -376,9 +373,6 @@ public function getPaymentMethodType() */ public function setPaymentMethodType($paymentMethodType) { - if (is_null($paymentMethodType)) { - throw new \InvalidArgumentException('non-nullable paymentMethodType cannot be null'); - } $this->container['paymentMethodType'] = $paymentMethodType; return $this; @@ -403,9 +397,6 @@ public function getSdkData() */ public function setSdkData($sdkData) { - if (is_null($sdkData)) { - throw new \InvalidArgumentException('non-nullable sdkData cannot be null'); - } $this->container['sdkData'] = $sdkData; return $this; @@ -430,9 +421,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -467,9 +455,6 @@ public function getUrl() */ public function setUrl($url) { - if (is_null($url)) { - throw new \InvalidArgumentException('non-nullable url cannot be null'); - } $this->container['url'] = $url; return $this; diff --git a/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php b/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php index df2eb51f7..f75187bce 100644 --- a/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php +++ b/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -337,9 +337,6 @@ public function getPlans() */ public function setPlans($plans) { - if (is_null($plans)) { - throw new \InvalidArgumentException('non-nullable plans cannot be null'); - } $allowedValues = $this->getPlansAllowableValues(); if (array_diff($plans, $allowedValues)) { throw new \InvalidArgumentException( @@ -373,7 +370,6 @@ public function getPreselectedValue() */ public function setPreselectedValue($preselectedValue) { - // Do nothing for nullable integers $this->container['preselectedValue'] = $preselectedValue; return $this; @@ -398,9 +394,6 @@ public function getValues() */ public function setValues($values) { - if (is_null($values)) { - throw new \InvalidArgumentException('non-nullable values cannot be null'); - } $this->container['values'] = $values; return $this; diff --git a/src/Adyen/Model/Checkout/CheckoutSessionThreeDS2RequestData.php b/src/Adyen/Model/Checkout/CheckoutSessionThreeDS2RequestData.php index e81a2f281..7ab30e4d3 100644 --- a/src/Adyen/Model/Checkout/CheckoutSessionThreeDS2RequestData.php +++ b/src/Adyen/Model/Checkout/CheckoutSessionThreeDS2RequestData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -347,9 +347,6 @@ public function getHomePhone() */ public function setHomePhone($homePhone) { - if (is_null($homePhone)) { - throw new \InvalidArgumentException('non-nullable homePhone cannot be null'); - } $this->container['homePhone'] = $homePhone; return $this; @@ -374,9 +371,6 @@ public function getMobilePhone() */ public function setMobilePhone($mobilePhone) { - if (is_null($mobilePhone)) { - throw new \InvalidArgumentException('non-nullable mobilePhone cannot be null'); - } $this->container['mobilePhone'] = $mobilePhone; return $this; @@ -401,9 +395,6 @@ public function getThreeDSRequestorChallengeInd() */ public function setThreeDSRequestorChallengeInd($threeDSRequestorChallengeInd) { - if (is_null($threeDSRequestorChallengeInd)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestorChallengeInd cannot be null'); - } $allowedValues = $this->getThreeDSRequestorChallengeIndAllowableValues(); if (!in_array($threeDSRequestorChallengeInd, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -438,9 +429,6 @@ public function getWorkPhone() */ public function setWorkPhone($workPhone) { - if (is_null($workPhone)) { - throw new \InvalidArgumentException('non-nullable workPhone cannot be null'); - } $this->container['workPhone'] = $workPhone; return $this; diff --git a/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php b/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php index 03b383fc1..3e0c538f4 100644 --- a/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php +++ b/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -361,9 +361,6 @@ public function getAuthorisationToken() */ public function setAuthorisationToken($authorisationToken) { - if (is_null($authorisationToken)) { - throw new \InvalidArgumentException('non-nullable authorisationToken cannot be null'); - } $this->container['authorisationToken'] = $authorisationToken; return $this; @@ -388,9 +385,6 @@ public function getPaymentData() */ public function setPaymentData($paymentData) { - if (is_null($paymentData)) { - throw new \InvalidArgumentException('non-nullable paymentData cannot be null'); - } $this->container['paymentData'] = $paymentData; return $this; @@ -415,9 +409,6 @@ public function getPaymentMethodType() */ public function setPaymentMethodType($paymentMethodType) { - if (is_null($paymentMethodType)) { - throw new \InvalidArgumentException('non-nullable paymentMethodType cannot be null'); - } $this->container['paymentMethodType'] = $paymentMethodType; return $this; @@ -442,9 +433,6 @@ public function getSubtype() */ public function setSubtype($subtype) { - if (is_null($subtype)) { - throw new \InvalidArgumentException('non-nullable subtype cannot be null'); - } $this->container['subtype'] = $subtype; return $this; @@ -469,9 +457,6 @@ public function getToken() */ public function setToken($token) { - if (is_null($token)) { - throw new \InvalidArgumentException('non-nullable token cannot be null'); - } $this->container['token'] = $token; return $this; @@ -496,9 +481,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -533,9 +515,6 @@ public function getUrl() */ public function setUrl($url) { - if (is_null($url)) { - throw new \InvalidArgumentException('non-nullable url cannot be null'); - } $this->container['url'] = $url; return $this; diff --git a/src/Adyen/Model/Checkout/CheckoutVoucherAction.php b/src/Adyen/Model/Checkout/CheckoutVoucherAction.php index 67b083cf5..fc53cef04 100644 --- a/src/Adyen/Model/Checkout/CheckoutVoucherAction.php +++ b/src/Adyen/Model/Checkout/CheckoutVoucherAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -459,9 +459,6 @@ public function getAlternativeReference() */ public function setAlternativeReference($alternativeReference) { - if (is_null($alternativeReference)) { - throw new \InvalidArgumentException('non-nullable alternativeReference cannot be null'); - } $this->container['alternativeReference'] = $alternativeReference; return $this; @@ -486,9 +483,6 @@ public function getCollectionInstitutionNumber() */ public function setCollectionInstitutionNumber($collectionInstitutionNumber) { - if (is_null($collectionInstitutionNumber)) { - throw new \InvalidArgumentException('non-nullable collectionInstitutionNumber cannot be null'); - } $this->container['collectionInstitutionNumber'] = $collectionInstitutionNumber; return $this; @@ -513,9 +507,6 @@ public function getDownloadUrl() */ public function setDownloadUrl($downloadUrl) { - if (is_null($downloadUrl)) { - throw new \InvalidArgumentException('non-nullable downloadUrl cannot be null'); - } $this->container['downloadUrl'] = $downloadUrl; return $this; @@ -540,9 +531,6 @@ public function getEntity() */ public function setEntity($entity) { - if (is_null($entity)) { - throw new \InvalidArgumentException('non-nullable entity cannot be null'); - } $this->container['entity'] = $entity; return $this; @@ -567,9 +555,6 @@ public function getExpiresAt() */ public function setExpiresAt($expiresAt) { - if (is_null($expiresAt)) { - throw new \InvalidArgumentException('non-nullable expiresAt cannot be null'); - } $this->container['expiresAt'] = $expiresAt; return $this; @@ -594,9 +579,6 @@ public function getInitialAmount() */ public function setInitialAmount($initialAmount) { - if (is_null($initialAmount)) { - throw new \InvalidArgumentException('non-nullable initialAmount cannot be null'); - } $this->container['initialAmount'] = $initialAmount; return $this; @@ -621,9 +603,6 @@ public function getInstructionsUrl() */ public function setInstructionsUrl($instructionsUrl) { - if (is_null($instructionsUrl)) { - throw new \InvalidArgumentException('non-nullable instructionsUrl cannot be null'); - } $this->container['instructionsUrl'] = $instructionsUrl; return $this; @@ -648,9 +627,6 @@ public function getIssuer() */ public function setIssuer($issuer) { - if (is_null($issuer)) { - throw new \InvalidArgumentException('non-nullable issuer cannot be null'); - } $this->container['issuer'] = $issuer; return $this; @@ -675,9 +651,6 @@ public function getMaskedTelephoneNumber() */ public function setMaskedTelephoneNumber($maskedTelephoneNumber) { - if (is_null($maskedTelephoneNumber)) { - throw new \InvalidArgumentException('non-nullable maskedTelephoneNumber cannot be null'); - } $this->container['maskedTelephoneNumber'] = $maskedTelephoneNumber; return $this; @@ -702,9 +675,6 @@ public function getMerchantName() */ public function setMerchantName($merchantName) { - if (is_null($merchantName)) { - throw new \InvalidArgumentException('non-nullable merchantName cannot be null'); - } $this->container['merchantName'] = $merchantName; return $this; @@ -729,9 +699,6 @@ public function getMerchantReference() */ public function setMerchantReference($merchantReference) { - if (is_null($merchantReference)) { - throw new \InvalidArgumentException('non-nullable merchantReference cannot be null'); - } $this->container['merchantReference'] = $merchantReference; return $this; @@ -750,15 +717,12 @@ public function getPassCreationToken() /** * Sets passCreationToken * - * @param string|null $passCreationToken A base64 encoded signature of all properties + * @param string|null $passCreationToken A Base64-encoded token containing all properties of the voucher. For iOS, you can use this to pass a voucher to Apple Wallet. * * @return self */ public function setPassCreationToken($passCreationToken) { - if (is_null($passCreationToken)) { - throw new \InvalidArgumentException('non-nullable passCreationToken cannot be null'); - } $this->container['passCreationToken'] = $passCreationToken; return $this; @@ -783,9 +747,6 @@ public function getPaymentData() */ public function setPaymentData($paymentData) { - if (is_null($paymentData)) { - throw new \InvalidArgumentException('non-nullable paymentData cannot be null'); - } $this->container['paymentData'] = $paymentData; return $this; @@ -810,9 +771,6 @@ public function getPaymentMethodType() */ public function setPaymentMethodType($paymentMethodType) { - if (is_null($paymentMethodType)) { - throw new \InvalidArgumentException('non-nullable paymentMethodType cannot be null'); - } $this->container['paymentMethodType'] = $paymentMethodType; return $this; @@ -837,9 +795,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -864,9 +819,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -891,9 +843,6 @@ public function getShopperName() */ public function setShopperName($shopperName) { - if (is_null($shopperName)) { - throw new \InvalidArgumentException('non-nullable shopperName cannot be null'); - } $this->container['shopperName'] = $shopperName; return $this; @@ -918,9 +867,6 @@ public function getSurcharge() */ public function setSurcharge($surcharge) { - if (is_null($surcharge)) { - throw new \InvalidArgumentException('non-nullable surcharge cannot be null'); - } $this->container['surcharge'] = $surcharge; return $this; @@ -945,9 +891,6 @@ public function getTotalAmount() */ public function setTotalAmount($totalAmount) { - if (is_null($totalAmount)) { - throw new \InvalidArgumentException('non-nullable totalAmount cannot be null'); - } $this->container['totalAmount'] = $totalAmount; return $this; @@ -972,9 +915,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1009,9 +949,6 @@ public function getUrl() */ public function setUrl($url) { - if (is_null($url)) { - throw new \InvalidArgumentException('non-nullable url cannot be null'); - } $this->container['url'] = $url; return $this; diff --git a/src/Adyen/Model/Checkout/CommonField.php b/src/Adyen/Model/Checkout/CommonField.php index a86cb1c26..9a2ab112e 100644 --- a/src/Adyen/Model/Checkout/CommonField.php +++ b/src/Adyen/Model/Checkout/CommonField.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -302,9 +302,6 @@ public function getName() */ public function setName($name) { - if (is_null($name)) { - throw new \InvalidArgumentException('non-nullable name cannot be null'); - } $this->container['name'] = $name; return $this; @@ -329,9 +326,6 @@ public function getVersion() */ public function setVersion($version) { - if (is_null($version)) { - throw new \InvalidArgumentException('non-nullable version cannot be null'); - } $this->container['version'] = $version; return $this; diff --git a/src/Adyen/Model/Checkout/Company.php b/src/Adyen/Model/Checkout/Company.php index f5b92d299..952109186 100644 --- a/src/Adyen/Model/Checkout/Company.php +++ b/src/Adyen/Model/Checkout/Company.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -330,9 +330,6 @@ public function getHomepage() */ public function setHomepage($homepage) { - if (is_null($homepage)) { - throw new \InvalidArgumentException('non-nullable homepage cannot be null'); - } $this->container['homepage'] = $homepage; return $this; @@ -357,9 +354,6 @@ public function getName() */ public function setName($name) { - if (is_null($name)) { - throw new \InvalidArgumentException('non-nullable name cannot be null'); - } $this->container['name'] = $name; return $this; @@ -384,9 +378,6 @@ public function getRegistrationNumber() */ public function setRegistrationNumber($registrationNumber) { - if (is_null($registrationNumber)) { - throw new \InvalidArgumentException('non-nullable registrationNumber cannot be null'); - } $this->container['registrationNumber'] = $registrationNumber; return $this; @@ -411,9 +402,6 @@ public function getRegistryLocation() */ public function setRegistryLocation($registryLocation) { - if (is_null($registryLocation)) { - throw new \InvalidArgumentException('non-nullable registryLocation cannot be null'); - } $this->container['registryLocation'] = $registryLocation; return $this; @@ -438,9 +426,6 @@ public function getTaxId() */ public function setTaxId($taxId) { - if (is_null($taxId)) { - throw new \InvalidArgumentException('non-nullable taxId cannot be null'); - } $this->container['taxId'] = $taxId; return $this; @@ -465,9 +450,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $this->container['type'] = $type; return $this; diff --git a/src/Adyen/Model/Checkout/Configuration.php b/src/Adyen/Model/Checkout/Configuration.php index 85f7cf0b4..f95df7972 100644 --- a/src/Adyen/Model/Checkout/Configuration.php +++ b/src/Adyen/Model/Checkout/Configuration.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -341,9 +341,6 @@ public function getAvs() */ public function setAvs($avs) { - if (is_null($avs)) { - throw new \InvalidArgumentException('non-nullable avs cannot be null'); - } $this->container['avs'] = $avs; return $this; @@ -368,9 +365,6 @@ public function getCardHolderName() */ public function setCardHolderName($cardHolderName) { - if (is_null($cardHolderName)) { - throw new \InvalidArgumentException('non-nullable cardHolderName cannot be null'); - } $allowedValues = $this->getCardHolderNameAllowableValues(); if (!in_array($cardHolderName, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -405,9 +399,6 @@ public function getInstallments() */ public function setInstallments($installments) { - if (is_null($installments)) { - throw new \InvalidArgumentException('non-nullable installments cannot be null'); - } $this->container['installments'] = $installments; return $this; @@ -432,9 +423,6 @@ public function getShopperInput() */ public function setShopperInput($shopperInput) { - if (is_null($shopperInput)) { - throw new \InvalidArgumentException('non-nullable shopperInput cannot be null'); - } $this->container['shopperInput'] = $shopperInput; return $this; diff --git a/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php b/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php index db8bbc5d8..f5261d372 100644 --- a/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php +++ b/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -845,9 +845,6 @@ public function getAccountInfo() */ public function setAccountInfo($accountInfo) { - if (is_null($accountInfo)) { - throw new \InvalidArgumentException('non-nullable accountInfo cannot be null'); - } $this->container['accountInfo'] = $accountInfo; return $this; @@ -872,9 +869,6 @@ public function getAdditionalAmount() */ public function setAdditionalAmount($additionalAmount) { - if (is_null($additionalAmount)) { - throw new \InvalidArgumentException('non-nullable additionalAmount cannot be null'); - } $this->container['additionalAmount'] = $additionalAmount; return $this; @@ -899,9 +893,6 @@ public function getAdditionalData() */ public function setAdditionalData($additionalData) { - if (is_null($additionalData)) { - throw new \InvalidArgumentException('non-nullable additionalData cannot be null'); - } $this->container['additionalData'] = $additionalData; return $this; @@ -926,9 +917,6 @@ public function getAllowedPaymentMethods() */ public function setAllowedPaymentMethods($allowedPaymentMethods) { - if (is_null($allowedPaymentMethods)) { - throw new \InvalidArgumentException('non-nullable allowedPaymentMethods cannot be null'); - } $this->container['allowedPaymentMethods'] = $allowedPaymentMethods; return $this; @@ -953,9 +941,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -980,9 +965,6 @@ public function getApplicationInfo() */ public function setApplicationInfo($applicationInfo) { - if (is_null($applicationInfo)) { - throw new \InvalidArgumentException('non-nullable applicationInfo cannot be null'); - } $this->container['applicationInfo'] = $applicationInfo; return $this; @@ -1007,9 +989,6 @@ public function getAuthenticationData() */ public function setAuthenticationData($authenticationData) { - if (is_null($authenticationData)) { - throw new \InvalidArgumentException('non-nullable authenticationData cannot be null'); - } $this->container['authenticationData'] = $authenticationData; return $this; @@ -1034,9 +1013,6 @@ public function getBillingAddress() */ public function setBillingAddress($billingAddress) { - if (is_null($billingAddress)) { - throw new \InvalidArgumentException('non-nullable billingAddress cannot be null'); - } $this->container['billingAddress'] = $billingAddress; return $this; @@ -1061,9 +1037,6 @@ public function getBlockedPaymentMethods() */ public function setBlockedPaymentMethods($blockedPaymentMethods) { - if (is_null($blockedPaymentMethods)) { - throw new \InvalidArgumentException('non-nullable blockedPaymentMethods cannot be null'); - } $this->container['blockedPaymentMethods'] = $blockedPaymentMethods; return $this; @@ -1088,7 +1061,6 @@ public function getCaptureDelayHours() */ public function setCaptureDelayHours($captureDelayHours) { - // Do nothing for nullable integers $this->container['captureDelayHours'] = $captureDelayHours; return $this; @@ -1113,9 +1085,6 @@ public function getChannel() */ public function setChannel($channel) { - if (is_null($channel)) { - throw new \InvalidArgumentException('non-nullable channel cannot be null'); - } $allowedValues = $this->getChannelAllowableValues(); if (!in_array($channel, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1150,9 +1119,6 @@ public function getCompany() */ public function setCompany($company) { - if (is_null($company)) { - throw new \InvalidArgumentException('non-nullable company cannot be null'); - } $this->container['company'] = $company; return $this; @@ -1177,9 +1143,6 @@ public function getCountryCode() */ public function setCountryCode($countryCode) { - if (is_null($countryCode)) { - throw new \InvalidArgumentException('non-nullable countryCode cannot be null'); - } $this->container['countryCode'] = $countryCode; return $this; @@ -1204,9 +1167,6 @@ public function getDateOfBirth() */ public function setDateOfBirth($dateOfBirth) { - if (is_null($dateOfBirth)) { - throw new \InvalidArgumentException('non-nullable dateOfBirth cannot be null'); - } $this->container['dateOfBirth'] = $dateOfBirth; return $this; @@ -1231,9 +1191,6 @@ public function getDeliverAt() */ public function setDeliverAt($deliverAt) { - if (is_null($deliverAt)) { - throw new \InvalidArgumentException('non-nullable deliverAt cannot be null'); - } $this->container['deliverAt'] = $deliverAt; return $this; @@ -1258,9 +1215,6 @@ public function getDeliveryAddress() */ public function setDeliveryAddress($deliveryAddress) { - if (is_null($deliveryAddress)) { - throw new \InvalidArgumentException('non-nullable deliveryAddress cannot be null'); - } $this->container['deliveryAddress'] = $deliveryAddress; return $this; @@ -1285,9 +1239,6 @@ public function getEnableOneClick() */ public function setEnableOneClick($enableOneClick) { - if (is_null($enableOneClick)) { - throw new \InvalidArgumentException('non-nullable enableOneClick cannot be null'); - } $this->container['enableOneClick'] = $enableOneClick; return $this; @@ -1312,9 +1263,6 @@ public function getEnablePayOut() */ public function setEnablePayOut($enablePayOut) { - if (is_null($enablePayOut)) { - throw new \InvalidArgumentException('non-nullable enablePayOut cannot be null'); - } $this->container['enablePayOut'] = $enablePayOut; return $this; @@ -1339,9 +1287,6 @@ public function getEnableRecurring() */ public function setEnableRecurring($enableRecurring) { - if (is_null($enableRecurring)) { - throw new \InvalidArgumentException('non-nullable enableRecurring cannot be null'); - } $this->container['enableRecurring'] = $enableRecurring; return $this; @@ -1366,9 +1311,6 @@ public function getExpiresAt() */ public function setExpiresAt($expiresAt) { - if (is_null($expiresAt)) { - throw new \InvalidArgumentException('non-nullable expiresAt cannot be null'); - } $this->container['expiresAt'] = $expiresAt; return $this; @@ -1393,9 +1335,6 @@ public function getFundOrigin() */ public function setFundOrigin($fundOrigin) { - if (is_null($fundOrigin)) { - throw new \InvalidArgumentException('non-nullable fundOrigin cannot be null'); - } $this->container['fundOrigin'] = $fundOrigin; return $this; @@ -1420,9 +1359,6 @@ public function getFundRecipient() */ public function setFundRecipient($fundRecipient) { - if (is_null($fundRecipient)) { - throw new \InvalidArgumentException('non-nullable fundRecipient cannot be null'); - } $this->container['fundRecipient'] = $fundRecipient; return $this; @@ -1447,9 +1383,6 @@ public function getInstallmentOptions() */ public function setInstallmentOptions($installmentOptions) { - if (is_null($installmentOptions)) { - throw new \InvalidArgumentException('non-nullable installmentOptions cannot be null'); - } $this->container['installmentOptions'] = $installmentOptions; return $this; @@ -1474,9 +1407,6 @@ public function getLineItems() */ public function setLineItems($lineItems) { - if (is_null($lineItems)) { - throw new \InvalidArgumentException('non-nullable lineItems cannot be null'); - } $this->container['lineItems'] = $lineItems; return $this; @@ -1501,9 +1431,6 @@ public function getMandate() */ public function setMandate($mandate) { - if (is_null($mandate)) { - throw new \InvalidArgumentException('non-nullable mandate cannot be null'); - } $this->container['mandate'] = $mandate; return $this; @@ -1528,9 +1455,6 @@ public function getMcc() */ public function setMcc($mcc) { - if (is_null($mcc)) { - throw new \InvalidArgumentException('non-nullable mcc cannot be null'); - } $this->container['mcc'] = $mcc; return $this; @@ -1555,9 +1479,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -1582,9 +1503,6 @@ public function getMerchantOrderReference() */ public function setMerchantOrderReference($merchantOrderReference) { - if (is_null($merchantOrderReference)) { - throw new \InvalidArgumentException('non-nullable merchantOrderReference cannot be null'); - } $this->container['merchantOrderReference'] = $merchantOrderReference; return $this; @@ -1609,9 +1527,6 @@ public function getMetadata() */ public function setMetadata($metadata) { - if (is_null($metadata)) { - throw new \InvalidArgumentException('non-nullable metadata cannot be null'); - } $this->container['metadata'] = $metadata; return $this; @@ -1636,9 +1551,6 @@ public function getMode() */ 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( @@ -1673,9 +1585,6 @@ public function getMpiData() */ public function setMpiData($mpiData) { - if (is_null($mpiData)) { - throw new \InvalidArgumentException('non-nullable mpiData cannot be null'); - } $this->container['mpiData'] = $mpiData; return $this; @@ -1700,9 +1609,6 @@ public function getPlatformChargebackLogic() */ public function setPlatformChargebackLogic($platformChargebackLogic) { - if (is_null($platformChargebackLogic)) { - throw new \InvalidArgumentException('non-nullable platformChargebackLogic cannot be null'); - } $this->container['platformChargebackLogic'] = $platformChargebackLogic; return $this; @@ -1727,9 +1633,6 @@ public function getRecurringExpiry() */ public function setRecurringExpiry($recurringExpiry) { - if (is_null($recurringExpiry)) { - throw new \InvalidArgumentException('non-nullable recurringExpiry cannot be null'); - } $this->container['recurringExpiry'] = $recurringExpiry; return $this; @@ -1754,9 +1657,6 @@ public function getRecurringFrequency() */ public function setRecurringFrequency($recurringFrequency) { - if (is_null($recurringFrequency)) { - throw new \InvalidArgumentException('non-nullable recurringFrequency cannot be null'); - } $this->container['recurringFrequency'] = $recurringFrequency; return $this; @@ -1781,9 +1681,6 @@ public function getRecurringProcessingModel() */ 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( @@ -1818,9 +1715,6 @@ public function getRedirectFromIssuerMethod() */ public function setRedirectFromIssuerMethod($redirectFromIssuerMethod) { - if (is_null($redirectFromIssuerMethod)) { - throw new \InvalidArgumentException('non-nullable redirectFromIssuerMethod cannot be null'); - } $this->container['redirectFromIssuerMethod'] = $redirectFromIssuerMethod; return $this; @@ -1845,9 +1739,6 @@ public function getRedirectToIssuerMethod() */ public function setRedirectToIssuerMethod($redirectToIssuerMethod) { - if (is_null($redirectToIssuerMethod)) { - throw new \InvalidArgumentException('non-nullable redirectToIssuerMethod cannot be null'); - } $this->container['redirectToIssuerMethod'] = $redirectToIssuerMethod; return $this; @@ -1872,9 +1763,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -1899,9 +1787,6 @@ public function getReturnUrl() */ public function setReturnUrl($returnUrl) { - if (is_null($returnUrl)) { - throw new \InvalidArgumentException('non-nullable returnUrl cannot be null'); - } $this->container['returnUrl'] = $returnUrl; return $this; @@ -1926,9 +1811,6 @@ public function getRiskData() */ public function setRiskData($riskData) { - if (is_null($riskData)) { - throw new \InvalidArgumentException('non-nullable riskData cannot be null'); - } $this->container['riskData'] = $riskData; return $this; @@ -1953,9 +1835,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -1980,9 +1859,6 @@ public function getShopperIP() */ public function setShopperIP($shopperIP) { - if (is_null($shopperIP)) { - throw new \InvalidArgumentException('non-nullable shopperIP cannot be null'); - } $this->container['shopperIP'] = $shopperIP; return $this; @@ -2007,9 +1883,6 @@ public function getShopperInteraction() */ public function setShopperInteraction($shopperInteraction) { - if (is_null($shopperInteraction)) { - throw new \InvalidArgumentException('non-nullable shopperInteraction cannot be null'); - } $allowedValues = $this->getShopperInteractionAllowableValues(); if (!in_array($shopperInteraction, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -2044,9 +1917,6 @@ public function getShopperLocale() */ public function setShopperLocale($shopperLocale) { - if (is_null($shopperLocale)) { - throw new \InvalidArgumentException('non-nullable shopperLocale cannot be null'); - } $this->container['shopperLocale'] = $shopperLocale; return $this; @@ -2071,9 +1941,6 @@ public function getShopperName() */ public function setShopperName($shopperName) { - if (is_null($shopperName)) { - throw new \InvalidArgumentException('non-nullable shopperName cannot be null'); - } $this->container['shopperName'] = $shopperName; return $this; @@ -2098,9 +1965,6 @@ public function getShopperReference() */ public function setShopperReference($shopperReference) { - if (is_null($shopperReference)) { - throw new \InvalidArgumentException('non-nullable shopperReference cannot be null'); - } $this->container['shopperReference'] = $shopperReference; return $this; @@ -2125,9 +1989,6 @@ public function getShopperStatement() */ public function setShopperStatement($shopperStatement) { - if (is_null($shopperStatement)) { - throw new \InvalidArgumentException('non-nullable shopperStatement cannot be null'); - } $this->container['shopperStatement'] = $shopperStatement; return $this; @@ -2152,9 +2013,6 @@ public function getShowInstallmentAmount() */ public function setShowInstallmentAmount($showInstallmentAmount) { - if (is_null($showInstallmentAmount)) { - throw new \InvalidArgumentException('non-nullable showInstallmentAmount cannot be null'); - } $this->container['showInstallmentAmount'] = $showInstallmentAmount; return $this; @@ -2179,9 +2037,6 @@ public function getShowRemovePaymentMethodButton() */ public function setShowRemovePaymentMethodButton($showRemovePaymentMethodButton) { - if (is_null($showRemovePaymentMethodButton)) { - throw new \InvalidArgumentException('non-nullable showRemovePaymentMethodButton cannot be null'); - } $this->container['showRemovePaymentMethodButton'] = $showRemovePaymentMethodButton; return $this; @@ -2206,9 +2061,6 @@ public function getSocialSecurityNumber() */ public function setSocialSecurityNumber($socialSecurityNumber) { - if (is_null($socialSecurityNumber)) { - throw new \InvalidArgumentException('non-nullable socialSecurityNumber cannot be null'); - } $this->container['socialSecurityNumber'] = $socialSecurityNumber; return $this; @@ -2233,9 +2085,6 @@ public function getSplitCardFundingSources() */ public function setSplitCardFundingSources($splitCardFundingSources) { - if (is_null($splitCardFundingSources)) { - throw new \InvalidArgumentException('non-nullable splitCardFundingSources cannot be null'); - } $this->container['splitCardFundingSources'] = $splitCardFundingSources; return $this; @@ -2254,15 +2103,12 @@ public function getSplits() /** * 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/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * @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/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/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; @@ -2287,9 +2133,6 @@ public function getStore() */ public function setStore($store) { - if (is_null($store)) { - throw new \InvalidArgumentException('non-nullable store cannot be null'); - } $this->container['store'] = $store; return $this; @@ -2314,9 +2157,6 @@ public function getStorePaymentMethod() */ public function setStorePaymentMethod($storePaymentMethod) { - if (is_null($storePaymentMethod)) { - throw new \InvalidArgumentException('non-nullable storePaymentMethod cannot be null'); - } $this->container['storePaymentMethod'] = $storePaymentMethod; return $this; @@ -2341,9 +2181,6 @@ public function getStorePaymentMethodMode() */ public function setStorePaymentMethodMode($storePaymentMethodMode) { - if (is_null($storePaymentMethodMode)) { - throw new \InvalidArgumentException('non-nullable storePaymentMethodMode cannot be null'); - } $allowedValues = $this->getStorePaymentMethodModeAllowableValues(); if (!in_array($storePaymentMethodMode, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -2378,9 +2215,6 @@ public function getTelephoneNumber() */ public function setTelephoneNumber($telephoneNumber) { - if (is_null($telephoneNumber)) { - throw new \InvalidArgumentException('non-nullable telephoneNumber cannot be null'); - } $this->container['telephoneNumber'] = $telephoneNumber; return $this; @@ -2405,9 +2239,6 @@ public function getThemeId() */ public function setThemeId($themeId) { - if (is_null($themeId)) { - throw new \InvalidArgumentException('non-nullable themeId cannot be null'); - } $this->container['themeId'] = $themeId; return $this; @@ -2432,9 +2263,6 @@ public function getThreeDS2RequestData() */ public function setThreeDS2RequestData($threeDS2RequestData) { - if (is_null($threeDS2RequestData)) { - throw new \InvalidArgumentException('non-nullable threeDS2RequestData cannot be null'); - } $this->container['threeDS2RequestData'] = $threeDS2RequestData; return $this; @@ -2461,9 +2289,6 @@ public function getThreeDSAuthenticationOnly() */ public function setThreeDSAuthenticationOnly($threeDSAuthenticationOnly) { - if (is_null($threeDSAuthenticationOnly)) { - throw new \InvalidArgumentException('non-nullable threeDSAuthenticationOnly cannot be null'); - } $this->container['threeDSAuthenticationOnly'] = $threeDSAuthenticationOnly; return $this; @@ -2488,9 +2313,6 @@ public function getTrustedShopper() */ public function setTrustedShopper($trustedShopper) { - if (is_null($trustedShopper)) { - throw new \InvalidArgumentException('non-nullable trustedShopper cannot be null'); - } $this->container['trustedShopper'] = $trustedShopper; return $this; diff --git a/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php b/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php index dcabd4da4..5a1ac6520 100644 --- a/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php +++ b/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -872,9 +872,6 @@ public function getAccountInfo() */ public function setAccountInfo($accountInfo) { - if (is_null($accountInfo)) { - throw new \InvalidArgumentException('non-nullable accountInfo cannot be null'); - } $this->container['accountInfo'] = $accountInfo; return $this; @@ -899,9 +896,6 @@ public function getAdditionalAmount() */ public function setAdditionalAmount($additionalAmount) { - if (is_null($additionalAmount)) { - throw new \InvalidArgumentException('non-nullable additionalAmount cannot be null'); - } $this->container['additionalAmount'] = $additionalAmount; return $this; @@ -926,9 +920,6 @@ public function getAdditionalData() */ public function setAdditionalData($additionalData) { - if (is_null($additionalData)) { - throw new \InvalidArgumentException('non-nullable additionalData cannot be null'); - } $this->container['additionalData'] = $additionalData; return $this; @@ -953,9 +944,6 @@ public function getAllowedPaymentMethods() */ public function setAllowedPaymentMethods($allowedPaymentMethods) { - if (is_null($allowedPaymentMethods)) { - throw new \InvalidArgumentException('non-nullable allowedPaymentMethods cannot be null'); - } $this->container['allowedPaymentMethods'] = $allowedPaymentMethods; return $this; @@ -980,9 +968,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -1007,9 +992,6 @@ public function getApplicationInfo() */ public function setApplicationInfo($applicationInfo) { - if (is_null($applicationInfo)) { - throw new \InvalidArgumentException('non-nullable applicationInfo cannot be null'); - } $this->container['applicationInfo'] = $applicationInfo; return $this; @@ -1034,9 +1016,6 @@ public function getAuthenticationData() */ public function setAuthenticationData($authenticationData) { - if (is_null($authenticationData)) { - throw new \InvalidArgumentException('non-nullable authenticationData cannot be null'); - } $this->container['authenticationData'] = $authenticationData; return $this; @@ -1061,9 +1040,6 @@ public function getBillingAddress() */ public function setBillingAddress($billingAddress) { - if (is_null($billingAddress)) { - throw new \InvalidArgumentException('non-nullable billingAddress cannot be null'); - } $this->container['billingAddress'] = $billingAddress; return $this; @@ -1088,9 +1064,6 @@ public function getBlockedPaymentMethods() */ public function setBlockedPaymentMethods($blockedPaymentMethods) { - if (is_null($blockedPaymentMethods)) { - throw new \InvalidArgumentException('non-nullable blockedPaymentMethods cannot be null'); - } $this->container['blockedPaymentMethods'] = $blockedPaymentMethods; return $this; @@ -1115,7 +1088,6 @@ public function getCaptureDelayHours() */ public function setCaptureDelayHours($captureDelayHours) { - // Do nothing for nullable integers $this->container['captureDelayHours'] = $captureDelayHours; return $this; @@ -1140,9 +1112,6 @@ public function getChannel() */ public function setChannel($channel) { - if (is_null($channel)) { - throw new \InvalidArgumentException('non-nullable channel cannot be null'); - } $allowedValues = $this->getChannelAllowableValues(); if (!in_array($channel, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1177,9 +1146,6 @@ public function getCompany() */ public function setCompany($company) { - if (is_null($company)) { - throw new \InvalidArgumentException('non-nullable company cannot be null'); - } $this->container['company'] = $company; return $this; @@ -1204,9 +1170,6 @@ public function getCountryCode() */ public function setCountryCode($countryCode) { - if (is_null($countryCode)) { - throw new \InvalidArgumentException('non-nullable countryCode cannot be null'); - } $this->container['countryCode'] = $countryCode; return $this; @@ -1231,9 +1194,6 @@ public function getDateOfBirth() */ public function setDateOfBirth($dateOfBirth) { - if (is_null($dateOfBirth)) { - throw new \InvalidArgumentException('non-nullable dateOfBirth cannot be null'); - } $this->container['dateOfBirth'] = $dateOfBirth; return $this; @@ -1258,9 +1218,6 @@ public function getDeliverAt() */ public function setDeliverAt($deliverAt) { - if (is_null($deliverAt)) { - throw new \InvalidArgumentException('non-nullable deliverAt cannot be null'); - } $this->container['deliverAt'] = $deliverAt; return $this; @@ -1285,9 +1242,6 @@ public function getDeliveryAddress() */ public function setDeliveryAddress($deliveryAddress) { - if (is_null($deliveryAddress)) { - throw new \InvalidArgumentException('non-nullable deliveryAddress cannot be null'); - } $this->container['deliveryAddress'] = $deliveryAddress; return $this; @@ -1312,9 +1266,6 @@ public function getEnableOneClick() */ public function setEnableOneClick($enableOneClick) { - if (is_null($enableOneClick)) { - throw new \InvalidArgumentException('non-nullable enableOneClick cannot be null'); - } $this->container['enableOneClick'] = $enableOneClick; return $this; @@ -1339,9 +1290,6 @@ public function getEnablePayOut() */ public function setEnablePayOut($enablePayOut) { - if (is_null($enablePayOut)) { - throw new \InvalidArgumentException('non-nullable enablePayOut cannot be null'); - } $this->container['enablePayOut'] = $enablePayOut; return $this; @@ -1366,9 +1314,6 @@ public function getEnableRecurring() */ public function setEnableRecurring($enableRecurring) { - if (is_null($enableRecurring)) { - throw new \InvalidArgumentException('non-nullable enableRecurring cannot be null'); - } $this->container['enableRecurring'] = $enableRecurring; return $this; @@ -1393,9 +1338,6 @@ public function getExpiresAt() */ public function setExpiresAt($expiresAt) { - if (is_null($expiresAt)) { - throw new \InvalidArgumentException('non-nullable expiresAt cannot be null'); - } $this->container['expiresAt'] = $expiresAt; return $this; @@ -1420,9 +1362,6 @@ public function getFundOrigin() */ public function setFundOrigin($fundOrigin) { - if (is_null($fundOrigin)) { - throw new \InvalidArgumentException('non-nullable fundOrigin cannot be null'); - } $this->container['fundOrigin'] = $fundOrigin; return $this; @@ -1447,9 +1386,6 @@ public function getFundRecipient() */ public function setFundRecipient($fundRecipient) { - if (is_null($fundRecipient)) { - throw new \InvalidArgumentException('non-nullable fundRecipient cannot be null'); - } $this->container['fundRecipient'] = $fundRecipient; return $this; @@ -1474,9 +1410,6 @@ public function getId() */ public function setId($id) { - if (is_null($id)) { - throw new \InvalidArgumentException('non-nullable id cannot be null'); - } $this->container['id'] = $id; return $this; @@ -1501,9 +1434,6 @@ public function getInstallmentOptions() */ public function setInstallmentOptions($installmentOptions) { - if (is_null($installmentOptions)) { - throw new \InvalidArgumentException('non-nullable installmentOptions cannot be null'); - } $this->container['installmentOptions'] = $installmentOptions; return $this; @@ -1528,9 +1458,6 @@ public function getLineItems() */ public function setLineItems($lineItems) { - if (is_null($lineItems)) { - throw new \InvalidArgumentException('non-nullable lineItems cannot be null'); - } $this->container['lineItems'] = $lineItems; return $this; @@ -1555,9 +1482,6 @@ public function getMandate() */ public function setMandate($mandate) { - if (is_null($mandate)) { - throw new \InvalidArgumentException('non-nullable mandate cannot be null'); - } $this->container['mandate'] = $mandate; return $this; @@ -1582,9 +1506,6 @@ public function getMcc() */ public function setMcc($mcc) { - if (is_null($mcc)) { - throw new \InvalidArgumentException('non-nullable mcc cannot be null'); - } $this->container['mcc'] = $mcc; return $this; @@ -1609,9 +1530,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -1636,9 +1554,6 @@ public function getMerchantOrderReference() */ public function setMerchantOrderReference($merchantOrderReference) { - if (is_null($merchantOrderReference)) { - throw new \InvalidArgumentException('non-nullable merchantOrderReference cannot be null'); - } $this->container['merchantOrderReference'] = $merchantOrderReference; return $this; @@ -1663,9 +1578,6 @@ public function getMetadata() */ public function setMetadata($metadata) { - if (is_null($metadata)) { - throw new \InvalidArgumentException('non-nullable metadata cannot be null'); - } $this->container['metadata'] = $metadata; return $this; @@ -1690,9 +1602,6 @@ public function getMode() */ 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( @@ -1727,9 +1636,6 @@ public function getMpiData() */ public function setMpiData($mpiData) { - if (is_null($mpiData)) { - throw new \InvalidArgumentException('non-nullable mpiData cannot be null'); - } $this->container['mpiData'] = $mpiData; return $this; @@ -1754,9 +1660,6 @@ public function getPlatformChargebackLogic() */ public function setPlatformChargebackLogic($platformChargebackLogic) { - if (is_null($platformChargebackLogic)) { - throw new \InvalidArgumentException('non-nullable platformChargebackLogic cannot be null'); - } $this->container['platformChargebackLogic'] = $platformChargebackLogic; return $this; @@ -1781,9 +1684,6 @@ public function getRecurringExpiry() */ public function setRecurringExpiry($recurringExpiry) { - if (is_null($recurringExpiry)) { - throw new \InvalidArgumentException('non-nullable recurringExpiry cannot be null'); - } $this->container['recurringExpiry'] = $recurringExpiry; return $this; @@ -1808,9 +1708,6 @@ public function getRecurringFrequency() */ public function setRecurringFrequency($recurringFrequency) { - if (is_null($recurringFrequency)) { - throw new \InvalidArgumentException('non-nullable recurringFrequency cannot be null'); - } $this->container['recurringFrequency'] = $recurringFrequency; return $this; @@ -1835,9 +1732,6 @@ public function getRecurringProcessingModel() */ 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( @@ -1872,9 +1766,6 @@ public function getRedirectFromIssuerMethod() */ public function setRedirectFromIssuerMethod($redirectFromIssuerMethod) { - if (is_null($redirectFromIssuerMethod)) { - throw new \InvalidArgumentException('non-nullable redirectFromIssuerMethod cannot be null'); - } $this->container['redirectFromIssuerMethod'] = $redirectFromIssuerMethod; return $this; @@ -1899,9 +1790,6 @@ public function getRedirectToIssuerMethod() */ public function setRedirectToIssuerMethod($redirectToIssuerMethod) { - if (is_null($redirectToIssuerMethod)) { - throw new \InvalidArgumentException('non-nullable redirectToIssuerMethod cannot be null'); - } $this->container['redirectToIssuerMethod'] = $redirectToIssuerMethod; return $this; @@ -1926,9 +1814,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -1953,9 +1838,6 @@ public function getReturnUrl() */ public function setReturnUrl($returnUrl) { - if (is_null($returnUrl)) { - throw new \InvalidArgumentException('non-nullable returnUrl cannot be null'); - } $this->container['returnUrl'] = $returnUrl; return $this; @@ -1980,9 +1862,6 @@ public function getRiskData() */ public function setRiskData($riskData) { - if (is_null($riskData)) { - throw new \InvalidArgumentException('non-nullable riskData cannot be null'); - } $this->container['riskData'] = $riskData; return $this; @@ -2007,9 +1886,6 @@ public function getSessionData() */ public function setSessionData($sessionData) { - if (is_null($sessionData)) { - throw new \InvalidArgumentException('non-nullable sessionData cannot be null'); - } $this->container['sessionData'] = $sessionData; return $this; @@ -2034,9 +1910,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -2061,9 +1934,6 @@ public function getShopperIP() */ public function setShopperIP($shopperIP) { - if (is_null($shopperIP)) { - throw new \InvalidArgumentException('non-nullable shopperIP cannot be null'); - } $this->container['shopperIP'] = $shopperIP; return $this; @@ -2088,9 +1958,6 @@ public function getShopperInteraction() */ public function setShopperInteraction($shopperInteraction) { - if (is_null($shopperInteraction)) { - throw new \InvalidArgumentException('non-nullable shopperInteraction cannot be null'); - } $allowedValues = $this->getShopperInteractionAllowableValues(); if (!in_array($shopperInteraction, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -2125,9 +1992,6 @@ public function getShopperLocale() */ public function setShopperLocale($shopperLocale) { - if (is_null($shopperLocale)) { - throw new \InvalidArgumentException('non-nullable shopperLocale cannot be null'); - } $this->container['shopperLocale'] = $shopperLocale; return $this; @@ -2152,9 +2016,6 @@ public function getShopperName() */ public function setShopperName($shopperName) { - if (is_null($shopperName)) { - throw new \InvalidArgumentException('non-nullable shopperName cannot be null'); - } $this->container['shopperName'] = $shopperName; return $this; @@ -2179,9 +2040,6 @@ public function getShopperReference() */ public function setShopperReference($shopperReference) { - if (is_null($shopperReference)) { - throw new \InvalidArgumentException('non-nullable shopperReference cannot be null'); - } $this->container['shopperReference'] = $shopperReference; return $this; @@ -2206,9 +2064,6 @@ public function getShopperStatement() */ public function setShopperStatement($shopperStatement) { - if (is_null($shopperStatement)) { - throw new \InvalidArgumentException('non-nullable shopperStatement cannot be null'); - } $this->container['shopperStatement'] = $shopperStatement; return $this; @@ -2233,9 +2088,6 @@ public function getShowInstallmentAmount() */ public function setShowInstallmentAmount($showInstallmentAmount) { - if (is_null($showInstallmentAmount)) { - throw new \InvalidArgumentException('non-nullable showInstallmentAmount cannot be null'); - } $this->container['showInstallmentAmount'] = $showInstallmentAmount; return $this; @@ -2260,9 +2112,6 @@ public function getShowRemovePaymentMethodButton() */ public function setShowRemovePaymentMethodButton($showRemovePaymentMethodButton) { - if (is_null($showRemovePaymentMethodButton)) { - throw new \InvalidArgumentException('non-nullable showRemovePaymentMethodButton cannot be null'); - } $this->container['showRemovePaymentMethodButton'] = $showRemovePaymentMethodButton; return $this; @@ -2287,9 +2136,6 @@ public function getSocialSecurityNumber() */ public function setSocialSecurityNumber($socialSecurityNumber) { - if (is_null($socialSecurityNumber)) { - throw new \InvalidArgumentException('non-nullable socialSecurityNumber cannot be null'); - } $this->container['socialSecurityNumber'] = $socialSecurityNumber; return $this; @@ -2314,9 +2160,6 @@ public function getSplitCardFundingSources() */ public function setSplitCardFundingSources($splitCardFundingSources) { - if (is_null($splitCardFundingSources)) { - throw new \InvalidArgumentException('non-nullable splitCardFundingSources cannot be null'); - } $this->container['splitCardFundingSources'] = $splitCardFundingSources; return $this; @@ -2335,15 +2178,12 @@ public function getSplits() /** * 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/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * @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/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/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; @@ -2368,9 +2208,6 @@ public function getStore() */ public function setStore($store) { - if (is_null($store)) { - throw new \InvalidArgumentException('non-nullable store cannot be null'); - } $this->container['store'] = $store; return $this; @@ -2395,9 +2232,6 @@ public function getStorePaymentMethod() */ public function setStorePaymentMethod($storePaymentMethod) { - if (is_null($storePaymentMethod)) { - throw new \InvalidArgumentException('non-nullable storePaymentMethod cannot be null'); - } $this->container['storePaymentMethod'] = $storePaymentMethod; return $this; @@ -2422,9 +2256,6 @@ public function getStorePaymentMethodMode() */ public function setStorePaymentMethodMode($storePaymentMethodMode) { - if (is_null($storePaymentMethodMode)) { - throw new \InvalidArgumentException('non-nullable storePaymentMethodMode cannot be null'); - } $allowedValues = $this->getStorePaymentMethodModeAllowableValues(); if (!in_array($storePaymentMethodMode, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -2459,9 +2290,6 @@ public function getTelephoneNumber() */ public function setTelephoneNumber($telephoneNumber) { - if (is_null($telephoneNumber)) { - throw new \InvalidArgumentException('non-nullable telephoneNumber cannot be null'); - } $this->container['telephoneNumber'] = $telephoneNumber; return $this; @@ -2486,9 +2314,6 @@ public function getThemeId() */ public function setThemeId($themeId) { - if (is_null($themeId)) { - throw new \InvalidArgumentException('non-nullable themeId cannot be null'); - } $this->container['themeId'] = $themeId; return $this; @@ -2513,9 +2338,6 @@ public function getThreeDS2RequestData() */ public function setThreeDS2RequestData($threeDS2RequestData) { - if (is_null($threeDS2RequestData)) { - throw new \InvalidArgumentException('non-nullable threeDS2RequestData cannot be null'); - } $this->container['threeDS2RequestData'] = $threeDS2RequestData; return $this; @@ -2542,9 +2364,6 @@ public function getThreeDSAuthenticationOnly() */ public function setThreeDSAuthenticationOnly($threeDSAuthenticationOnly) { - if (is_null($threeDSAuthenticationOnly)) { - throw new \InvalidArgumentException('non-nullable threeDSAuthenticationOnly cannot be null'); - } $this->container['threeDSAuthenticationOnly'] = $threeDSAuthenticationOnly; return $this; @@ -2569,9 +2388,6 @@ public function getTrustedShopper() */ public function setTrustedShopper($trustedShopper) { - if (is_null($trustedShopper)) { - throw new \InvalidArgumentException('non-nullable trustedShopper cannot be null'); - } $this->container['trustedShopper'] = $trustedShopper; return $this; @@ -2596,9 +2412,6 @@ public function getUrl() */ public function setUrl($url) { - if (is_null($url)) { - throw new \InvalidArgumentException('non-nullable url cannot be null'); - } $this->container['url'] = $url; return $this; diff --git a/src/Adyen/Model/Checkout/CreateOrderRequest.php b/src/Adyen/Model/Checkout/CreateOrderRequest.php index e2ab4a207..fd9e056a2 100644 --- a/src/Adyen/Model/Checkout/CreateOrderRequest.php +++ b/src/Adyen/Model/Checkout/CreateOrderRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -325,9 +325,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -352,9 +349,6 @@ public function getExpiresAt() */ public function setExpiresAt($expiresAt) { - if (is_null($expiresAt)) { - throw new \InvalidArgumentException('non-nullable expiresAt cannot be null'); - } $this->container['expiresAt'] = $expiresAt; return $this; @@ -379,9 +373,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -406,9 +397,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; diff --git a/src/Adyen/Model/Checkout/CreateOrderResponse.php b/src/Adyen/Model/Checkout/CreateOrderResponse.php index 4d768d9cf..bff8f3bf8 100644 --- a/src/Adyen/Model/Checkout/CreateOrderResponse.php +++ b/src/Adyen/Model/Checkout/CreateOrderResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -394,9 +394,6 @@ public function getAdditionalData() */ public function setAdditionalData($additionalData) { - if (is_null($additionalData)) { - throw new \InvalidArgumentException('non-nullable additionalData cannot be null'); - } $this->container['additionalData'] = $additionalData; return $this; @@ -421,9 +418,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -448,9 +442,6 @@ public function getExpiresAt() */ public function setExpiresAt($expiresAt) { - if (is_null($expiresAt)) { - throw new \InvalidArgumentException('non-nullable expiresAt cannot be null'); - } $this->container['expiresAt'] = $expiresAt; return $this; @@ -475,9 +466,6 @@ public function getFraudResult() */ public function setFraudResult($fraudResult) { - if (is_null($fraudResult)) { - throw new \InvalidArgumentException('non-nullable fraudResult cannot be null'); - } $this->container['fraudResult'] = $fraudResult; return $this; @@ -502,9 +490,6 @@ public function getOrderData() */ public function setOrderData($orderData) { - if (is_null($orderData)) { - throw new \InvalidArgumentException('non-nullable orderData cannot be null'); - } $this->container['orderData'] = $orderData; return $this; @@ -529,9 +514,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; @@ -556,9 +538,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -583,9 +562,6 @@ public function getRefusalReason() */ public function setRefusalReason($refusalReason) { - if (is_null($refusalReason)) { - throw new \InvalidArgumentException('non-nullable refusalReason cannot be null'); - } $this->container['refusalReason'] = $refusalReason; return $this; @@ -610,9 +586,6 @@ public function getRemainingAmount() */ public function setRemainingAmount($remainingAmount) { - if (is_null($remainingAmount)) { - throw new \InvalidArgumentException('non-nullable remainingAmount cannot be null'); - } $this->container['remainingAmount'] = $remainingAmount; return $this; @@ -637,9 +610,6 @@ public function getResultCode() */ public function setResultCode($resultCode) { - if (is_null($resultCode)) { - throw new \InvalidArgumentException('non-nullable resultCode cannot be null'); - } $allowedValues = $this->getResultCodeAllowableValues(); if (!in_array($resultCode, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/DeliveryAddress.php b/src/Adyen/Model/Checkout/DeliveryAddress.php index 285fa8f6f..a007f5dfc 100644 --- a/src/Adyen/Model/Checkout/DeliveryAddress.php +++ b/src/Adyen/Model/Checkout/DeliveryAddress.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -359,9 +359,6 @@ public function getCity() */ public function setCity($city) { - if (is_null($city)) { - throw new \InvalidArgumentException('non-nullable city cannot be null'); - } $this->container['city'] = $city; return $this; @@ -386,9 +383,6 @@ public function getCountry() */ public function setCountry($country) { - if (is_null($country)) { - throw new \InvalidArgumentException('non-nullable country cannot be null'); - } $this->container['country'] = $country; return $this; @@ -413,9 +407,6 @@ public function getFirstName() */ public function setFirstName($firstName) { - if (is_null($firstName)) { - throw new \InvalidArgumentException('non-nullable firstName cannot be null'); - } $this->container['firstName'] = $firstName; return $this; @@ -440,9 +431,6 @@ public function getHouseNumberOrName() */ public function setHouseNumberOrName($houseNumberOrName) { - if (is_null($houseNumberOrName)) { - throw new \InvalidArgumentException('non-nullable houseNumberOrName cannot be null'); - } $this->container['houseNumberOrName'] = $houseNumberOrName; return $this; @@ -467,9 +455,6 @@ public function getLastName() */ public function setLastName($lastName) { - if (is_null($lastName)) { - throw new \InvalidArgumentException('non-nullable lastName cannot be null'); - } $this->container['lastName'] = $lastName; return $this; @@ -494,9 +479,6 @@ public function getPostalCode() */ public function setPostalCode($postalCode) { - if (is_null($postalCode)) { - throw new \InvalidArgumentException('non-nullable postalCode cannot be null'); - } $this->container['postalCode'] = $postalCode; return $this; @@ -521,9 +503,6 @@ public function getStateOrProvince() */ public function setStateOrProvince($stateOrProvince) { - if (is_null($stateOrProvince)) { - throw new \InvalidArgumentException('non-nullable stateOrProvince cannot be null'); - } $this->container['stateOrProvince'] = $stateOrProvince; return $this; @@ -548,9 +527,6 @@ public function getStreet() */ public function setStreet($street) { - if (is_null($street)) { - throw new \InvalidArgumentException('non-nullable street cannot be null'); - } $this->container['street'] = $street; return $this; diff --git a/src/Adyen/Model/Checkout/DeliveryMethod.php b/src/Adyen/Model/Checkout/DeliveryMethod.php index e1dc44bc9..c12a00d11 100644 --- a/src/Adyen/Model/Checkout/DeliveryMethod.php +++ b/src/Adyen/Model/Checkout/DeliveryMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -344,9 +344,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -371,9 +368,6 @@ public function getDescription() */ public function setDescription($description) { - if (is_null($description)) { - throw new \InvalidArgumentException('non-nullable description cannot be null'); - } $this->container['description'] = $description; return $this; @@ -398,9 +392,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -425,9 +416,6 @@ public function getSelected() */ public function setSelected($selected) { - if (is_null($selected)) { - throw new \InvalidArgumentException('non-nullable selected cannot be null'); - } $this->container['selected'] = $selected; return $this; @@ -452,9 +440,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php b/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php index d70c7255b..6ae80d0cd 100644 --- a/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php +++ b/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -295,9 +295,6 @@ public function getAuthenticationOnly() */ public function setAuthenticationOnly($authenticationOnly) { - if (is_null($authenticationOnly)) { - throw new \InvalidArgumentException('non-nullable authenticationOnly cannot be null'); - } $this->container['authenticationOnly'] = $authenticationOnly; return $this; diff --git a/src/Adyen/Model/Checkout/DeviceRenderOptions.php b/src/Adyen/Model/Checkout/DeviceRenderOptions.php index 2e6b2a41c..709a12924 100644 --- a/src/Adyen/Model/Checkout/DeviceRenderOptions.php +++ b/src/Adyen/Model/Checkout/DeviceRenderOptions.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -347,9 +347,6 @@ public function getSdkInterface() */ public function setSdkInterface($sdkInterface) { - if (is_null($sdkInterface)) { - throw new \InvalidArgumentException('non-nullable sdkInterface cannot be null'); - } $allowedValues = $this->getSdkInterfaceAllowableValues(); if (!in_array($sdkInterface, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -384,9 +381,6 @@ public function getSdkUiType() */ public function setSdkUiType($sdkUiType) { - if (is_null($sdkUiType)) { - throw new \InvalidArgumentException('non-nullable sdkUiType cannot be null'); - } $allowedValues = $this->getSdkUiTypeAllowableValues(); if (array_diff($sdkUiType, $allowedValues)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/DokuDetails.php b/src/Adyen/Model/Checkout/DokuDetails.php index aced98464..81076bba8 100644 --- a/src/Adyen/Model/Checkout/DokuDetails.php +++ b/src/Adyen/Model/Checkout/DokuDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -376,9 +376,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -403,9 +400,6 @@ public function getFirstName() */ public function setFirstName($firstName) { - if (is_null($firstName)) { - throw new \InvalidArgumentException('non-nullable firstName cannot be null'); - } $this->container['firstName'] = $firstName; return $this; @@ -430,9 +424,6 @@ public function getLastName() */ public function setLastName($lastName) { - if (is_null($lastName)) { - throw new \InvalidArgumentException('non-nullable lastName cannot be null'); - } $this->container['lastName'] = $lastName; return $this; @@ -457,9 +448,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -484,9 +472,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/DonationPaymentMethod.php b/src/Adyen/Model/Checkout/DonationPaymentMethod.php index 400a6a5dc..f75750057 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentMethod.php +++ b/src/Adyen/Model/Checkout/DonationPaymentMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -481,9 +481,6 @@ public function getApplePayToken() */ public function setApplePayToken($applePayToken) { - if (is_null($applePayToken)) { - throw new \InvalidArgumentException('non-nullable applePayToken cannot be null'); - } $this->container['applePayToken'] = $applePayToken; return $this; @@ -508,9 +505,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -535,9 +529,6 @@ public function getFundingSource() */ public function setFundingSource($fundingSource) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); - } $this->container['fundingSource'] = $fundingSource; return $this; @@ -564,9 +555,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -591,9 +579,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -618,9 +603,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $this->container['type'] = $type; return $this; @@ -645,9 +627,6 @@ public function getBrand() */ public function setBrand($brand) { - if (is_null($brand)) { - throw new \InvalidArgumentException('non-nullable brand cannot be null'); - } $this->container['brand'] = $brand; return $this; @@ -674,9 +653,6 @@ public function getCupsecureplusSmscode() */ public function setCupsecureplusSmscode($cupsecureplusSmscode) { - if (is_null($cupsecureplusSmscode)) { - throw new \InvalidArgumentException('non-nullable cupsecureplusSmscode cannot be null'); - } $this->container['cupsecureplusSmscode'] = $cupsecureplusSmscode; return $this; @@ -701,9 +677,6 @@ public function getCvc() */ public function setCvc($cvc) { - if (is_null($cvc)) { - throw new \InvalidArgumentException('non-nullable cvc cannot be null'); - } $this->container['cvc'] = $cvc; return $this; @@ -728,9 +701,6 @@ public function getEncryptedCardNumber() */ public function setEncryptedCardNumber($encryptedCardNumber) { - if (is_null($encryptedCardNumber)) { - throw new \InvalidArgumentException('non-nullable encryptedCardNumber cannot be null'); - } $this->container['encryptedCardNumber'] = $encryptedCardNumber; return $this; @@ -755,9 +725,6 @@ public function getEncryptedExpiryMonth() */ public function setEncryptedExpiryMonth($encryptedExpiryMonth) { - if (is_null($encryptedExpiryMonth)) { - throw new \InvalidArgumentException('non-nullable encryptedExpiryMonth cannot be null'); - } $this->container['encryptedExpiryMonth'] = $encryptedExpiryMonth; return $this; @@ -782,9 +749,6 @@ public function getEncryptedExpiryYear() */ public function setEncryptedExpiryYear($encryptedExpiryYear) { - if (is_null($encryptedExpiryYear)) { - throw new \InvalidArgumentException('non-nullable encryptedExpiryYear cannot be null'); - } $this->container['encryptedExpiryYear'] = $encryptedExpiryYear; return $this; @@ -809,9 +773,6 @@ public function getEncryptedSecurityCode() */ public function setEncryptedSecurityCode($encryptedSecurityCode) { - if (is_null($encryptedSecurityCode)) { - throw new \InvalidArgumentException('non-nullable encryptedSecurityCode cannot be null'); - } $this->container['encryptedSecurityCode'] = $encryptedSecurityCode; return $this; @@ -836,9 +797,6 @@ public function getExpiryMonth() */ public function setExpiryMonth($expiryMonth) { - if (is_null($expiryMonth)) { - throw new \InvalidArgumentException('non-nullable expiryMonth cannot be null'); - } $this->container['expiryMonth'] = $expiryMonth; return $this; @@ -863,9 +821,6 @@ public function getExpiryYear() */ public function setExpiryYear($expiryYear) { - if (is_null($expiryYear)) { - throw new \InvalidArgumentException('non-nullable expiryYear cannot be null'); - } $this->container['expiryYear'] = $expiryYear; return $this; @@ -890,9 +845,6 @@ public function getHolderName() */ public function setHolderName($holderName) { - if (is_null($holderName)) { - throw new \InvalidArgumentException('non-nullable holderName cannot be null'); - } $this->container['holderName'] = $holderName; return $this; @@ -917,9 +869,6 @@ public function getNetworkPaymentReference() */ public function setNetworkPaymentReference($networkPaymentReference) { - if (is_null($networkPaymentReference)) { - throw new \InvalidArgumentException('non-nullable networkPaymentReference cannot be null'); - } $this->container['networkPaymentReference'] = $networkPaymentReference; return $this; @@ -944,9 +893,6 @@ public function getNumber() */ public function setNumber($number) { - if (is_null($number)) { - throw new \InvalidArgumentException('non-nullable number cannot be null'); - } $this->container['number'] = $number; return $this; @@ -971,9 +917,6 @@ public function getShopperNotificationReference() */ public function setShopperNotificationReference($shopperNotificationReference) { - if (is_null($shopperNotificationReference)) { - throw new \InvalidArgumentException('non-nullable shopperNotificationReference cannot be null'); - } $this->container['shopperNotificationReference'] = $shopperNotificationReference; return $this; @@ -998,9 +941,6 @@ public function getSrcCorrelationId() */ public function setSrcCorrelationId($srcCorrelationId) { - if (is_null($srcCorrelationId)) { - throw new \InvalidArgumentException('non-nullable srcCorrelationId cannot be null'); - } $this->container['srcCorrelationId'] = $srcCorrelationId; return $this; @@ -1025,9 +965,6 @@ public function getSrcScheme() */ public function setSrcScheme($srcScheme) { - if (is_null($srcScheme)) { - throw new \InvalidArgumentException('non-nullable srcScheme cannot be null'); - } $this->container['srcScheme'] = $srcScheme; return $this; @@ -1052,9 +989,6 @@ public function getSrcTokenReference() */ public function setSrcTokenReference($srcTokenReference) { - if (is_null($srcTokenReference)) { - throw new \InvalidArgumentException('non-nullable srcTokenReference cannot be null'); - } $this->container['srcTokenReference'] = $srcTokenReference; return $this; @@ -1079,9 +1013,6 @@ public function getThreeDS2SdkVersion() */ public function setThreeDS2SdkVersion($threeDS2SdkVersion) { - if (is_null($threeDS2SdkVersion)) { - throw new \InvalidArgumentException('non-nullable threeDS2SdkVersion cannot be null'); - } $this->container['threeDS2SdkVersion'] = $threeDS2SdkVersion; return $this; @@ -1106,9 +1037,6 @@ public function getGooglePayCardNetwork() */ public function setGooglePayCardNetwork($googlePayCardNetwork) { - if (is_null($googlePayCardNetwork)) { - throw new \InvalidArgumentException('non-nullable googlePayCardNetwork cannot be null'); - } $this->container['googlePayCardNetwork'] = $googlePayCardNetwork; return $this; @@ -1133,9 +1061,6 @@ public function getGooglePayToken() */ public function setGooglePayToken($googlePayToken) { - if (is_null($googlePayToken)) { - throw new \InvalidArgumentException('non-nullable googlePayToken cannot be null'); - } $this->container['googlePayToken'] = $googlePayToken; return $this; @@ -1160,9 +1085,6 @@ public function getIssuer() */ public function setIssuer($issuer) { - if (is_null($issuer)) { - throw new \InvalidArgumentException('non-nullable issuer cannot be null'); - } $this->container['issuer'] = $issuer; return $this; diff --git a/src/Adyen/Model/Checkout/DonationPaymentRequest.php b/src/Adyen/Model/Checkout/DonationPaymentRequest.php index 1fb7ec456..d37feb987 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentRequest.php +++ b/src/Adyen/Model/Checkout/DonationPaymentRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -667,9 +667,6 @@ public function getAccountInfo() */ public function setAccountInfo($accountInfo) { - if (is_null($accountInfo)) { - throw new \InvalidArgumentException('non-nullable accountInfo cannot be null'); - } $this->container['accountInfo'] = $accountInfo; return $this; @@ -694,9 +691,6 @@ public function getAdditionalData() */ public function setAdditionalData($additionalData) { - if (is_null($additionalData)) { - throw new \InvalidArgumentException('non-nullable additionalData cannot be null'); - } $this->container['additionalData'] = $additionalData; return $this; @@ -721,9 +715,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -748,9 +739,6 @@ public function getApplicationInfo() */ public function setApplicationInfo($applicationInfo) { - if (is_null($applicationInfo)) { - throw new \InvalidArgumentException('non-nullable applicationInfo cannot be null'); - } $this->container['applicationInfo'] = $applicationInfo; return $this; @@ -775,9 +763,6 @@ public function getAuthenticationData() */ public function setAuthenticationData($authenticationData) { - if (is_null($authenticationData)) { - throw new \InvalidArgumentException('non-nullable authenticationData cannot be null'); - } $this->container['authenticationData'] = $authenticationData; return $this; @@ -802,9 +787,6 @@ public function getBillingAddress() */ public function setBillingAddress($billingAddress) { - if (is_null($billingAddress)) { - throw new \InvalidArgumentException('non-nullable billingAddress cannot be null'); - } $this->container['billingAddress'] = $billingAddress; return $this; @@ -829,9 +811,6 @@ public function getBrowserInfo() */ public function setBrowserInfo($browserInfo) { - if (is_null($browserInfo)) { - throw new \InvalidArgumentException('non-nullable browserInfo cannot be null'); - } $this->container['browserInfo'] = $browserInfo; return $this; @@ -856,9 +835,6 @@ public function getChannel() */ public function setChannel($channel) { - if (is_null($channel)) { - throw new \InvalidArgumentException('non-nullable channel cannot be null'); - } $allowedValues = $this->getChannelAllowableValues(); if (!in_array($channel, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -893,9 +869,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -922,9 +895,6 @@ public function getConversionId() */ public function setConversionId($conversionId) { - if (is_null($conversionId)) { - throw new \InvalidArgumentException('non-nullable conversionId cannot be null'); - } $this->container['conversionId'] = $conversionId; return $this; @@ -949,9 +919,6 @@ public function getCountryCode() */ public function setCountryCode($countryCode) { - if (is_null($countryCode)) { - throw new \InvalidArgumentException('non-nullable countryCode cannot be null'); - } $this->container['countryCode'] = $countryCode; return $this; @@ -976,9 +943,6 @@ public function getDateOfBirth() */ public function setDateOfBirth($dateOfBirth) { - if (is_null($dateOfBirth)) { - throw new \InvalidArgumentException('non-nullable dateOfBirth cannot be null'); - } $this->container['dateOfBirth'] = $dateOfBirth; return $this; @@ -1003,9 +967,6 @@ public function getDeliverAt() */ public function setDeliverAt($deliverAt) { - if (is_null($deliverAt)) { - throw new \InvalidArgumentException('non-nullable deliverAt cannot be null'); - } $this->container['deliverAt'] = $deliverAt; return $this; @@ -1030,9 +991,6 @@ public function getDeliveryAddress() */ public function setDeliveryAddress($deliveryAddress) { - if (is_null($deliveryAddress)) { - throw new \InvalidArgumentException('non-nullable deliveryAddress cannot be null'); - } $this->container['deliveryAddress'] = $deliveryAddress; return $this; @@ -1057,9 +1015,6 @@ public function getDeviceFingerprint() */ public function setDeviceFingerprint($deviceFingerprint) { - if (is_null($deviceFingerprint)) { - throw new \InvalidArgumentException('non-nullable deviceFingerprint cannot be null'); - } $this->container['deviceFingerprint'] = $deviceFingerprint; return $this; @@ -1084,9 +1039,6 @@ public function getDonationAccount() */ public function setDonationAccount($donationAccount) { - if (is_null($donationAccount)) { - throw new \InvalidArgumentException('non-nullable donationAccount cannot be null'); - } $this->container['donationAccount'] = $donationAccount; return $this; @@ -1111,9 +1063,6 @@ public function getDonationOriginalPspReference() */ public function setDonationOriginalPspReference($donationOriginalPspReference) { - if (is_null($donationOriginalPspReference)) { - throw new \InvalidArgumentException('non-nullable donationOriginalPspReference cannot be null'); - } $this->container['donationOriginalPspReference'] = $donationOriginalPspReference; return $this; @@ -1138,9 +1087,6 @@ public function getDonationToken() */ public function setDonationToken($donationToken) { - if (is_null($donationToken)) { - throw new \InvalidArgumentException('non-nullable donationToken cannot be null'); - } $this->container['donationToken'] = $donationToken; return $this; @@ -1165,9 +1111,6 @@ public function getLineItems() */ public function setLineItems($lineItems) { - if (is_null($lineItems)) { - throw new \InvalidArgumentException('non-nullable lineItems cannot be null'); - } $this->container['lineItems'] = $lineItems; return $this; @@ -1192,9 +1135,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -1219,9 +1159,6 @@ public function getMerchantRiskIndicator() */ public function setMerchantRiskIndicator($merchantRiskIndicator) { - if (is_null($merchantRiskIndicator)) { - throw new \InvalidArgumentException('non-nullable merchantRiskIndicator cannot be null'); - } $this->container['merchantRiskIndicator'] = $merchantRiskIndicator; return $this; @@ -1246,9 +1183,6 @@ public function getMetadata() */ public function setMetadata($metadata) { - if (is_null($metadata)) { - throw new \InvalidArgumentException('non-nullable metadata cannot be null'); - } $this->container['metadata'] = $metadata; return $this; @@ -1273,9 +1207,6 @@ public function getMpiData() */ public function setMpiData($mpiData) { - if (is_null($mpiData)) { - throw new \InvalidArgumentException('non-nullable mpiData cannot be null'); - } $this->container['mpiData'] = $mpiData; return $this; @@ -1300,9 +1231,6 @@ public function getOrigin() */ public function setOrigin($origin) { - if (is_null($origin)) { - throw new \InvalidArgumentException('non-nullable origin cannot be null'); - } $this->container['origin'] = $origin; return $this; @@ -1327,9 +1255,6 @@ public function getPaymentMethod() */ public function setPaymentMethod($paymentMethod) { - if (is_null($paymentMethod)) { - throw new \InvalidArgumentException('non-nullable paymentMethod cannot be null'); - } $this->container['paymentMethod'] = $paymentMethod; return $this; @@ -1354,9 +1279,6 @@ public function getRecurringProcessingModel() */ 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( @@ -1391,9 +1313,6 @@ public function getRedirectFromIssuerMethod() */ public function setRedirectFromIssuerMethod($redirectFromIssuerMethod) { - if (is_null($redirectFromIssuerMethod)) { - throw new \InvalidArgumentException('non-nullable redirectFromIssuerMethod cannot be null'); - } $this->container['redirectFromIssuerMethod'] = $redirectFromIssuerMethod; return $this; @@ -1418,9 +1337,6 @@ public function getRedirectToIssuerMethod() */ public function setRedirectToIssuerMethod($redirectToIssuerMethod) { - if (is_null($redirectToIssuerMethod)) { - throw new \InvalidArgumentException('non-nullable redirectToIssuerMethod cannot be null'); - } $this->container['redirectToIssuerMethod'] = $redirectToIssuerMethod; return $this; @@ -1445,9 +1361,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -1472,9 +1385,6 @@ public function getReturnUrl() */ public function setReturnUrl($returnUrl) { - if (is_null($returnUrl)) { - throw new \InvalidArgumentException('non-nullable returnUrl cannot be null'); - } $this->container['returnUrl'] = $returnUrl; return $this; @@ -1499,9 +1409,6 @@ public function getSessionValidity() */ public function setSessionValidity($sessionValidity) { - if (is_null($sessionValidity)) { - throw new \InvalidArgumentException('non-nullable sessionValidity cannot be null'); - } $this->container['sessionValidity'] = $sessionValidity; return $this; @@ -1526,9 +1433,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -1553,9 +1457,6 @@ public function getShopperIP() */ public function setShopperIP($shopperIP) { - if (is_null($shopperIP)) { - throw new \InvalidArgumentException('non-nullable shopperIP cannot be null'); - } $this->container['shopperIP'] = $shopperIP; return $this; @@ -1580,9 +1481,6 @@ public function getShopperInteraction() */ public function setShopperInteraction($shopperInteraction) { - if (is_null($shopperInteraction)) { - throw new \InvalidArgumentException('non-nullable shopperInteraction cannot be null'); - } $allowedValues = $this->getShopperInteractionAllowableValues(); if (!in_array($shopperInteraction, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1617,9 +1515,6 @@ public function getShopperLocale() */ public function setShopperLocale($shopperLocale) { - if (is_null($shopperLocale)) { - throw new \InvalidArgumentException('non-nullable shopperLocale cannot be null'); - } $this->container['shopperLocale'] = $shopperLocale; return $this; @@ -1644,9 +1539,6 @@ public function getShopperName() */ public function setShopperName($shopperName) { - if (is_null($shopperName)) { - throw new \InvalidArgumentException('non-nullable shopperName cannot be null'); - } $this->container['shopperName'] = $shopperName; return $this; @@ -1671,9 +1563,6 @@ public function getShopperReference() */ public function setShopperReference($shopperReference) { - if (is_null($shopperReference)) { - throw new \InvalidArgumentException('non-nullable shopperReference cannot be null'); - } $this->container['shopperReference'] = $shopperReference; return $this; @@ -1698,9 +1587,6 @@ public function getSocialSecurityNumber() */ public function setSocialSecurityNumber($socialSecurityNumber) { - if (is_null($socialSecurityNumber)) { - throw new \InvalidArgumentException('non-nullable socialSecurityNumber cannot be null'); - } $this->container['socialSecurityNumber'] = $socialSecurityNumber; return $this; @@ -1725,9 +1611,6 @@ public function getTelephoneNumber() */ public function setTelephoneNumber($telephoneNumber) { - if (is_null($telephoneNumber)) { - throw new \InvalidArgumentException('non-nullable telephoneNumber cannot be null'); - } $this->container['telephoneNumber'] = $telephoneNumber; return $this; @@ -1752,9 +1635,6 @@ public function getThreeDS2RequestData() */ public function setThreeDS2RequestData($threeDS2RequestData) { - if (is_null($threeDS2RequestData)) { - throw new \InvalidArgumentException('non-nullable threeDS2RequestData cannot be null'); - } $this->container['threeDS2RequestData'] = $threeDS2RequestData; return $this; @@ -1781,9 +1661,6 @@ public function getThreeDSAuthenticationOnly() */ public function setThreeDSAuthenticationOnly($threeDSAuthenticationOnly) { - if (is_null($threeDSAuthenticationOnly)) { - throw new \InvalidArgumentException('non-nullable threeDSAuthenticationOnly cannot be null'); - } $this->container['threeDSAuthenticationOnly'] = $threeDSAuthenticationOnly; return $this; diff --git a/src/Adyen/Model/Checkout/DonationPaymentResponse.php b/src/Adyen/Model/Checkout/DonationPaymentResponse.php index acc5f2cc8..f0735ccdd 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentResponse.php +++ b/src/Adyen/Model/Checkout/DonationPaymentResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -362,9 +362,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -389,9 +386,6 @@ public function getDonationAccount() */ public function setDonationAccount($donationAccount) { - if (is_null($donationAccount)) { - throw new \InvalidArgumentException('non-nullable donationAccount cannot be null'); - } $this->container['donationAccount'] = $donationAccount; return $this; @@ -416,9 +410,6 @@ public function getId() */ public function setId($id) { - if (is_null($id)) { - throw new \InvalidArgumentException('non-nullable id cannot be null'); - } $this->container['id'] = $id; return $this; @@ -443,9 +434,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -470,9 +458,6 @@ public function getPayment() */ public function setPayment($payment) { - if (is_null($payment)) { - throw new \InvalidArgumentException('non-nullable payment cannot be null'); - } $this->container['payment'] = $payment; return $this; @@ -497,9 +482,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -524,9 +506,6 @@ public function getStatus() */ public function setStatus($status) { - if (is_null($status)) { - throw new \InvalidArgumentException('non-nullable status cannot be null'); - } $allowedValues = $this->getStatusAllowableValues(); if (!in_array($status, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/DotpayDetails.php b/src/Adyen/Model/Checkout/DotpayDetails.php index 081288824..32941c47b 100644 --- a/src/Adyen/Model/Checkout/DotpayDetails.php +++ b/src/Adyen/Model/Checkout/DotpayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -333,9 +333,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -360,9 +357,6 @@ public function getIssuer() */ public function setIssuer($issuer) { - if (is_null($issuer)) { - throw new \InvalidArgumentException('non-nullable issuer cannot be null'); - } $this->container['issuer'] = $issuer; return $this; @@ -387,9 +381,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/DragonpayDetails.php b/src/Adyen/Model/Checkout/DragonpayDetails.php index abad7bcb2..f9e06413f 100644 --- a/src/Adyen/Model/Checkout/DragonpayDetails.php +++ b/src/Adyen/Model/Checkout/DragonpayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -349,9 +349,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -376,9 +373,6 @@ public function getIssuer() */ public function setIssuer($issuer) { - if (is_null($issuer)) { - throw new \InvalidArgumentException('non-nullable issuer cannot be null'); - } $this->container['issuer'] = $issuer; return $this; @@ -403,9 +397,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -430,9 +421,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/EcontextVoucherDetails.php b/src/Adyen/Model/Checkout/EcontextVoucherDetails.php index b1cf9ee8a..21128b6f9 100644 --- a/src/Adyen/Model/Checkout/EcontextVoucherDetails.php +++ b/src/Adyen/Model/Checkout/EcontextVoucherDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -374,9 +374,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -401,9 +398,6 @@ public function getFirstName() */ public function setFirstName($firstName) { - if (is_null($firstName)) { - throw new \InvalidArgumentException('non-nullable firstName cannot be null'); - } $this->container['firstName'] = $firstName; return $this; @@ -428,9 +422,6 @@ public function getLastName() */ public function setLastName($lastName) { - if (is_null($lastName)) { - throw new \InvalidArgumentException('non-nullable lastName cannot be null'); - } $this->container['lastName'] = $lastName; return $this; @@ -455,9 +446,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -482,9 +470,6 @@ public function getTelephoneNumber() */ public function setTelephoneNumber($telephoneNumber) { - if (is_null($telephoneNumber)) { - throw new \InvalidArgumentException('non-nullable telephoneNumber cannot be null'); - } $this->container['telephoneNumber'] = $telephoneNumber; return $this; @@ -509,9 +494,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/EncryptedOrderData.php b/src/Adyen/Model/Checkout/EncryptedOrderData.php index 0bc334c3b..5adc234fd 100644 --- a/src/Adyen/Model/Checkout/EncryptedOrderData.php +++ b/src/Adyen/Model/Checkout/EncryptedOrderData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -308,9 +308,6 @@ public function getOrderData() */ public function setOrderData($orderData) { - if (is_null($orderData)) { - throw new \InvalidArgumentException('non-nullable orderData cannot be null'); - } $this->container['orderData'] = $orderData; return $this; @@ -335,9 +332,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; diff --git a/src/Adyen/Model/Checkout/ExternalPlatform.php b/src/Adyen/Model/Checkout/ExternalPlatform.php index 5cbd27a35..9224bd59d 100644 --- a/src/Adyen/Model/Checkout/ExternalPlatform.php +++ b/src/Adyen/Model/Checkout/ExternalPlatform.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -309,9 +309,6 @@ public function getIntegrator() */ public function setIntegrator($integrator) { - if (is_null($integrator)) { - throw new \InvalidArgumentException('non-nullable integrator cannot be null'); - } $this->container['integrator'] = $integrator; return $this; @@ -336,9 +333,6 @@ public function getName() */ public function setName($name) { - if (is_null($name)) { - throw new \InvalidArgumentException('non-nullable name cannot be null'); - } $this->container['name'] = $name; return $this; @@ -363,9 +357,6 @@ public function getVersion() */ public function setVersion($version) { - if (is_null($version)) { - throw new \InvalidArgumentException('non-nullable version cannot be null'); - } $this->container['version'] = $version; return $this; diff --git a/src/Adyen/Model/Checkout/ForexQuote.php b/src/Adyen/Model/Checkout/ForexQuote.php index 42ff96732..41d6f33b3 100644 --- a/src/Adyen/Model/Checkout/ForexQuote.php +++ b/src/Adyen/Model/Checkout/ForexQuote.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -378,9 +378,6 @@ public function getAccount() */ public function setAccount($account) { - if (is_null($account)) { - throw new \InvalidArgumentException('non-nullable account cannot be null'); - } $this->container['account'] = $account; return $this; @@ -405,9 +402,6 @@ public function getAccountType() */ public function setAccountType($accountType) { - if (is_null($accountType)) { - throw new \InvalidArgumentException('non-nullable accountType cannot be null'); - } $this->container['accountType'] = $accountType; return $this; @@ -432,9 +426,6 @@ public function getBaseAmount() */ public function setBaseAmount($baseAmount) { - if (is_null($baseAmount)) { - throw new \InvalidArgumentException('non-nullable baseAmount cannot be null'); - } $this->container['baseAmount'] = $baseAmount; return $this; @@ -459,7 +450,6 @@ public function getBasePoints() */ public function setBasePoints($basePoints) { - // Do nothing for nullable integers $this->container['basePoints'] = $basePoints; return $this; @@ -484,9 +474,6 @@ public function getBuy() */ public function setBuy($buy) { - if (is_null($buy)) { - throw new \InvalidArgumentException('non-nullable buy cannot be null'); - } $this->container['buy'] = $buy; return $this; @@ -511,9 +498,6 @@ public function getInterbank() */ public function setInterbank($interbank) { - if (is_null($interbank)) { - throw new \InvalidArgumentException('non-nullable interbank cannot be null'); - } $this->container['interbank'] = $interbank; return $this; @@ -538,9 +522,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -565,9 +546,6 @@ public function getSell() */ public function setSell($sell) { - if (is_null($sell)) { - throw new \InvalidArgumentException('non-nullable sell cannot be null'); - } $this->container['sell'] = $sell; return $this; @@ -592,9 +570,6 @@ public function getSignature() */ public function setSignature($signature) { - if (is_null($signature)) { - throw new \InvalidArgumentException('non-nullable signature cannot be null'); - } $this->container['signature'] = $signature; return $this; @@ -619,9 +594,6 @@ public function getSource() */ public function setSource($source) { - if (is_null($source)) { - throw new \InvalidArgumentException('non-nullable source cannot be null'); - } $this->container['source'] = $source; return $this; @@ -646,9 +618,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $this->container['type'] = $type; return $this; @@ -673,9 +642,6 @@ public function getValidTill() */ public function setValidTill($validTill) { - if (is_null($validTill)) { - throw new \InvalidArgumentException('non-nullable validTill cannot be null'); - } $this->container['validTill'] = $validTill; return $this; diff --git a/src/Adyen/Model/Checkout/FraudCheckResult.php b/src/Adyen/Model/Checkout/FraudCheckResult.php index 84da4ba9c..2bb830271 100644 --- a/src/Adyen/Model/Checkout/FraudCheckResult.php +++ b/src/Adyen/Model/Checkout/FraudCheckResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -318,7 +318,6 @@ public function getAccountScore() */ public function setAccountScore($accountScore) { - // Do nothing for nullable integers $this->container['accountScore'] = $accountScore; return $this; @@ -343,7 +342,6 @@ public function getCheckId() */ public function setCheckId($checkId) { - // Do nothing for nullable integers $this->container['checkId'] = $checkId; return $this; @@ -368,9 +366,6 @@ public function getName() */ public function setName($name) { - if (is_null($name)) { - throw new \InvalidArgumentException('non-nullable name cannot be null'); - } $this->container['name'] = $name; return $this; diff --git a/src/Adyen/Model/Checkout/FraudResult.php b/src/Adyen/Model/Checkout/FraudResult.php index 81941a200..287d5a6e1 100644 --- a/src/Adyen/Model/Checkout/FraudResult.php +++ b/src/Adyen/Model/Checkout/FraudResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -305,7 +305,6 @@ public function getAccountScore() */ public function setAccountScore($accountScore) { - // Do nothing for nullable integers $this->container['accountScore'] = $accountScore; return $this; @@ -330,9 +329,6 @@ public function getResults() */ public function setResults($results) { - if (is_null($results)) { - throw new \InvalidArgumentException('non-nullable results cannot be null'); - } $this->container['results'] = $results; return $this; diff --git a/src/Adyen/Model/Checkout/FundOrigin.php b/src/Adyen/Model/Checkout/FundOrigin.php index 6a9be7973..1010ae767 100644 --- a/src/Adyen/Model/Checkout/FundOrigin.php +++ b/src/Adyen/Model/Checkout/FundOrigin.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -323,9 +323,6 @@ public function getBillingAddress() */ public function setBillingAddress($billingAddress) { - if (is_null($billingAddress)) { - throw new \InvalidArgumentException('non-nullable billingAddress cannot be null'); - } $this->container['billingAddress'] = $billingAddress; return $this; @@ -350,9 +347,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -377,9 +371,6 @@ public function getShopperName() */ public function setShopperName($shopperName) { - if (is_null($shopperName)) { - throw new \InvalidArgumentException('non-nullable shopperName cannot be null'); - } $this->container['shopperName'] = $shopperName; return $this; @@ -404,9 +395,6 @@ public function getTelephoneNumber() */ public function setTelephoneNumber($telephoneNumber) { - if (is_null($telephoneNumber)) { - throw new \InvalidArgumentException('non-nullable telephoneNumber cannot be null'); - } $this->container['telephoneNumber'] = $telephoneNumber; return $this; @@ -431,9 +419,6 @@ public function getWalletIdentifier() */ public function setWalletIdentifier($walletIdentifier) { - if (is_null($walletIdentifier)) { - throw new \InvalidArgumentException('non-nullable walletIdentifier cannot be null'); - } $this->container['walletIdentifier'] = $walletIdentifier; return $this; diff --git a/src/Adyen/Model/Checkout/FundRecipient.php b/src/Adyen/Model/Checkout/FundRecipient.php index 3cf6c400c..12e6bb7f7 100644 --- a/src/Adyen/Model/Checkout/FundRecipient.php +++ b/src/Adyen/Model/Checkout/FundRecipient.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -358,9 +358,6 @@ public function getBillingAddress() */ public function setBillingAddress($billingAddress) { - if (is_null($billingAddress)) { - throw new \InvalidArgumentException('non-nullable billingAddress cannot be null'); - } $this->container['billingAddress'] = $billingAddress; return $this; @@ -385,9 +382,6 @@ public function getPaymentMethod() */ public function setPaymentMethod($paymentMethod) { - if (is_null($paymentMethod)) { - throw new \InvalidArgumentException('non-nullable paymentMethod cannot be null'); - } $this->container['paymentMethod'] = $paymentMethod; return $this; @@ -412,9 +406,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -439,9 +430,6 @@ public function getShopperName() */ public function setShopperName($shopperName) { - if (is_null($shopperName)) { - throw new \InvalidArgumentException('non-nullable shopperName cannot be null'); - } $this->container['shopperName'] = $shopperName; return $this; @@ -466,9 +454,6 @@ public function getShopperReference() */ public function setShopperReference($shopperReference) { - if (is_null($shopperReference)) { - throw new \InvalidArgumentException('non-nullable shopperReference cannot be null'); - } $this->container['shopperReference'] = $shopperReference; return $this; @@ -493,9 +478,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -520,9 +502,6 @@ public function getSubMerchant() */ public function setSubMerchant($subMerchant) { - if (is_null($subMerchant)) { - throw new \InvalidArgumentException('non-nullable subMerchant cannot be null'); - } $this->container['subMerchant'] = $subMerchant; return $this; @@ -547,9 +526,6 @@ public function getTelephoneNumber() */ public function setTelephoneNumber($telephoneNumber) { - if (is_null($telephoneNumber)) { - throw new \InvalidArgumentException('non-nullable telephoneNumber cannot be null'); - } $this->container['telephoneNumber'] = $telephoneNumber; return $this; @@ -574,9 +550,6 @@ public function getWalletIdentifier() */ public function setWalletIdentifier($walletIdentifier) { - if (is_null($walletIdentifier)) { - throw new \InvalidArgumentException('non-nullable walletIdentifier cannot be null'); - } $this->container['walletIdentifier'] = $walletIdentifier; return $this; @@ -601,9 +574,6 @@ public function getWalletOwnerTaxId() */ public function setWalletOwnerTaxId($walletOwnerTaxId) { - if (is_null($walletOwnerTaxId)) { - throw new \InvalidArgumentException('non-nullable walletOwnerTaxId cannot be null'); - } $this->container['walletOwnerTaxId'] = $walletOwnerTaxId; return $this; diff --git a/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php b/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php index b9ef41f1f..ca057f4bc 100644 --- a/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php +++ b/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -356,9 +356,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -383,9 +380,6 @@ public function getIssuer() */ public function setIssuer($issuer) { - if (is_null($issuer)) { - throw new \InvalidArgumentException('non-nullable issuer cannot be null'); - } $this->container['issuer'] = $issuer; return $this; @@ -412,9 +406,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -439,9 +430,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -466,9 +454,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/GiropayDetails.php b/src/Adyen/Model/Checkout/GiropayDetails.php index abc78141f..e1d299be0 100644 --- a/src/Adyen/Model/Checkout/GiropayDetails.php +++ b/src/Adyen/Model/Checkout/GiropayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -337,9 +337,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -366,9 +363,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -393,9 +387,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -420,9 +411,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/GooglePayDetails.php b/src/Adyen/Model/Checkout/GooglePayDetails.php index fb827ce37..dcf8c2e5c 100644 --- a/src/Adyen/Model/Checkout/GooglePayDetails.php +++ b/src/Adyen/Model/Checkout/GooglePayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -50,6 +50,7 @@ class GooglePayDetails implements ModelInterface, ArrayAccess, \JsonSerializable 'googlePayToken' => 'string', 'recurringDetailReference' => 'string', 'storedPaymentMethodId' => 'string', + 'threeDS2SdkVersion' => 'string', 'type' => 'string' ]; @@ -67,6 +68,7 @@ class GooglePayDetails implements ModelInterface, ArrayAccess, \JsonSerializable 'googlePayToken' => null, 'recurringDetailReference' => null, 'storedPaymentMethodId' => null, + 'threeDS2SdkVersion' => null, 'type' => null ]; @@ -82,6 +84,7 @@ class GooglePayDetails implements ModelInterface, ArrayAccess, \JsonSerializable 'googlePayToken' => false, 'recurringDetailReference' => false, 'storedPaymentMethodId' => false, + 'threeDS2SdkVersion' => false, 'type' => false ]; @@ -177,6 +180,7 @@ public function isNullableSetToNull(string $property): bool 'googlePayToken' => 'googlePayToken', 'recurringDetailReference' => 'recurringDetailReference', 'storedPaymentMethodId' => 'storedPaymentMethodId', + 'threeDS2SdkVersion' => 'threeDS2SdkVersion', 'type' => 'type' ]; @@ -192,6 +196,7 @@ public function isNullableSetToNull(string $property): bool 'googlePayToken' => 'setGooglePayToken', 'recurringDetailReference' => 'setRecurringDetailReference', 'storedPaymentMethodId' => 'setStoredPaymentMethodId', + 'threeDS2SdkVersion' => 'setThreeDS2SdkVersion', 'type' => 'setType' ]; @@ -207,6 +212,7 @@ public function isNullableSetToNull(string $property): bool 'googlePayToken' => 'getGooglePayToken', 'recurringDetailReference' => 'getRecurringDetailReference', 'storedPaymentMethodId' => 'getStoredPaymentMethodId', + 'threeDS2SdkVersion' => 'getThreeDS2SdkVersion', 'type' => 'getType' ]; @@ -299,6 +305,7 @@ public function __construct(array $data = null) $this->setIfExists('googlePayToken', $data ?? [], null); $this->setIfExists('recurringDetailReference', $data ?? [], null); $this->setIfExists('storedPaymentMethodId', $data ?? [], null); + $this->setIfExists('threeDS2SdkVersion', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); } @@ -384,9 +391,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -411,9 +415,6 @@ public function getFundingSource() */ public function setFundingSource($fundingSource) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); - } $allowedValues = $this->getFundingSourceAllowableValues(); if (!in_array($fundingSource, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -448,9 +449,6 @@ public function getGooglePayCardNetwork() */ public function setGooglePayCardNetwork($googlePayCardNetwork) { - if (is_null($googlePayCardNetwork)) { - throw new \InvalidArgumentException('non-nullable googlePayCardNetwork cannot be null'); - } $this->container['googlePayCardNetwork'] = $googlePayCardNetwork; return $this; @@ -475,9 +473,6 @@ public function getGooglePayToken() */ public function setGooglePayToken($googlePayToken) { - if (is_null($googlePayToken)) { - throw new \InvalidArgumentException('non-nullable googlePayToken cannot be null'); - } $this->container['googlePayToken'] = $googlePayToken; return $this; @@ -504,9 +499,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -531,14 +523,35 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; } + /** + * Gets threeDS2SdkVersion + * + * @return string|null + */ + public function getThreeDS2SdkVersion() + { + return $this->container['threeDS2SdkVersion']; + } + + /** + * Sets threeDS2SdkVersion + * + * @param string|null $threeDS2SdkVersion Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. + * + * @return self + */ + public function setThreeDS2SdkVersion($threeDS2SdkVersion) + { + $this->container['threeDS2SdkVersion'] = $threeDS2SdkVersion; + + return $this; + } + /** * Gets type * @@ -558,9 +571,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/GooglePayDonations.php b/src/Adyen/Model/Checkout/GooglePayDonations.php index 4012f729e..55eae78cd 100644 --- a/src/Adyen/Model/Checkout/GooglePayDonations.php +++ b/src/Adyen/Model/Checkout/GooglePayDonations.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -50,6 +50,7 @@ class GooglePayDonations implements ModelInterface, ArrayAccess, \JsonSerializab 'googlePayToken' => 'string', 'recurringDetailReference' => 'string', 'storedPaymentMethodId' => 'string', + 'threeDS2SdkVersion' => 'string', 'type' => 'string' ]; @@ -67,6 +68,7 @@ class GooglePayDonations implements ModelInterface, ArrayAccess, \JsonSerializab 'googlePayToken' => null, 'recurringDetailReference' => null, 'storedPaymentMethodId' => null, + 'threeDS2SdkVersion' => null, 'type' => null ]; @@ -82,6 +84,7 @@ class GooglePayDonations implements ModelInterface, ArrayAccess, \JsonSerializab 'googlePayToken' => false, 'recurringDetailReference' => false, 'storedPaymentMethodId' => false, + 'threeDS2SdkVersion' => false, 'type' => false ]; @@ -177,6 +180,7 @@ public function isNullableSetToNull(string $property): bool 'googlePayToken' => 'googlePayToken', 'recurringDetailReference' => 'recurringDetailReference', 'storedPaymentMethodId' => 'storedPaymentMethodId', + 'threeDS2SdkVersion' => 'threeDS2SdkVersion', 'type' => 'type' ]; @@ -192,6 +196,7 @@ public function isNullableSetToNull(string $property): bool 'googlePayToken' => 'setGooglePayToken', 'recurringDetailReference' => 'setRecurringDetailReference', 'storedPaymentMethodId' => 'setStoredPaymentMethodId', + 'threeDS2SdkVersion' => 'setThreeDS2SdkVersion', 'type' => 'setType' ]; @@ -207,6 +212,7 @@ public function isNullableSetToNull(string $property): bool 'googlePayToken' => 'getGooglePayToken', 'recurringDetailReference' => 'getRecurringDetailReference', 'storedPaymentMethodId' => 'getStoredPaymentMethodId', + 'threeDS2SdkVersion' => 'getThreeDS2SdkVersion', 'type' => 'getType' ]; @@ -299,6 +305,7 @@ public function __construct(array $data = null) $this->setIfExists('googlePayToken', $data ?? [], null); $this->setIfExists('recurringDetailReference', $data ?? [], null); $this->setIfExists('storedPaymentMethodId', $data ?? [], null); + $this->setIfExists('threeDS2SdkVersion', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); } @@ -384,9 +391,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -411,9 +415,6 @@ public function getFundingSource() */ public function setFundingSource($fundingSource) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); - } $allowedValues = $this->getFundingSourceAllowableValues(); if (!in_array($fundingSource, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -448,9 +449,6 @@ public function getGooglePayCardNetwork() */ public function setGooglePayCardNetwork($googlePayCardNetwork) { - if (is_null($googlePayCardNetwork)) { - throw new \InvalidArgumentException('non-nullable googlePayCardNetwork cannot be null'); - } $this->container['googlePayCardNetwork'] = $googlePayCardNetwork; return $this; @@ -475,9 +473,6 @@ public function getGooglePayToken() */ public function setGooglePayToken($googlePayToken) { - if (is_null($googlePayToken)) { - throw new \InvalidArgumentException('non-nullable googlePayToken cannot be null'); - } $this->container['googlePayToken'] = $googlePayToken; return $this; @@ -504,9 +499,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -531,14 +523,35 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; } + /** + * Gets threeDS2SdkVersion + * + * @return string|null + */ + public function getThreeDS2SdkVersion() + { + return $this->container['threeDS2SdkVersion']; + } + + /** + * Sets threeDS2SdkVersion + * + * @param string|null $threeDS2SdkVersion Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. + * + * @return self + */ + public function setThreeDS2SdkVersion($threeDS2SdkVersion) + { + $this->container['threeDS2SdkVersion'] = $threeDS2SdkVersion; + + return $this; + } + /** * Gets type * @@ -558,9 +571,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/IdealDetails.php b/src/Adyen/Model/Checkout/IdealDetails.php index e8290f6b6..3fbf36b6a 100644 --- a/src/Adyen/Model/Checkout/IdealDetails.php +++ b/src/Adyen/Model/Checkout/IdealDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -347,9 +347,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -374,9 +371,6 @@ public function getIssuer() */ public function setIssuer($issuer) { - if (is_null($issuer)) { - throw new \InvalidArgumentException('non-nullable issuer cannot be null'); - } $this->container['issuer'] = $issuer; return $this; @@ -403,9 +397,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -430,9 +421,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -457,9 +445,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/IdealDonations.php b/src/Adyen/Model/Checkout/IdealDonations.php index bb3472cb0..b430b9fff 100644 --- a/src/Adyen/Model/Checkout/IdealDonations.php +++ b/src/Adyen/Model/Checkout/IdealDonations.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -347,9 +347,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -374,9 +371,6 @@ public function getIssuer() */ public function setIssuer($issuer) { - if (is_null($issuer)) { - throw new \InvalidArgumentException('non-nullable issuer cannot be null'); - } $this->container['issuer'] = $issuer; return $this; @@ -403,9 +397,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -430,9 +421,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -457,9 +445,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/InputDetail.php b/src/Adyen/Model/Checkout/InputDetail.php index d0f613356..b3a614fa5 100644 --- a/src/Adyen/Model/Checkout/InputDetail.php +++ b/src/Adyen/Model/Checkout/InputDetail.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -351,9 +351,6 @@ public function getConfiguration() */ public function setConfiguration($configuration) { - if (is_null($configuration)) { - throw new \InvalidArgumentException('non-nullable configuration cannot be null'); - } $this->container['configuration'] = $configuration; return $this; @@ -378,9 +375,6 @@ public function getDetails() */ public function setDetails($details) { - if (is_null($details)) { - throw new \InvalidArgumentException('non-nullable details cannot be null'); - } $this->container['details'] = $details; return $this; @@ -407,9 +401,6 @@ public function getInputDetails() */ public function setInputDetails($inputDetails) { - if (is_null($inputDetails)) { - throw new \InvalidArgumentException('non-nullable inputDetails cannot be null'); - } $this->container['inputDetails'] = $inputDetails; return $this; @@ -434,9 +425,6 @@ public function getItemSearchUrl() */ public function setItemSearchUrl($itemSearchUrl) { - if (is_null($itemSearchUrl)) { - throw new \InvalidArgumentException('non-nullable itemSearchUrl cannot be null'); - } $this->container['itemSearchUrl'] = $itemSearchUrl; return $this; @@ -461,9 +449,6 @@ public function getItems() */ public function setItems($items) { - if (is_null($items)) { - throw new \InvalidArgumentException('non-nullable items cannot be null'); - } $this->container['items'] = $items; return $this; @@ -488,9 +473,6 @@ public function getKey() */ public function setKey($key) { - if (is_null($key)) { - throw new \InvalidArgumentException('non-nullable key cannot be null'); - } $this->container['key'] = $key; return $this; @@ -515,9 +497,6 @@ public function getOptional() */ public function setOptional($optional) { - if (is_null($optional)) { - throw new \InvalidArgumentException('non-nullable optional cannot be null'); - } $this->container['optional'] = $optional; return $this; @@ -542,9 +521,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $this->container['type'] = $type; return $this; @@ -569,9 +545,6 @@ public function getValue() */ public function setValue($value) { - if (is_null($value)) { - throw new \InvalidArgumentException('non-nullable value cannot be null'); - } $this->container['value'] = $value; return $this; diff --git a/src/Adyen/Model/Checkout/InstallmentOption.php b/src/Adyen/Model/Checkout/InstallmentOption.php index 1b11c705d..542738dec 100644 --- a/src/Adyen/Model/Checkout/InstallmentOption.php +++ b/src/Adyen/Model/Checkout/InstallmentOption.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -344,7 +344,6 @@ public function getMaxValue() */ public function setMaxValue($maxValue) { - // Do nothing for nullable integers $this->container['maxValue'] = $maxValue; return $this; @@ -369,9 +368,6 @@ public function getPlans() */ public function setPlans($plans) { - if (is_null($plans)) { - throw new \InvalidArgumentException('non-nullable plans cannot be null'); - } $allowedValues = $this->getPlansAllowableValues(); if (array_diff($plans, $allowedValues)) { throw new \InvalidArgumentException( @@ -405,7 +401,6 @@ public function getPreselectedValue() */ public function setPreselectedValue($preselectedValue) { - // Do nothing for nullable integers $this->container['preselectedValue'] = $preselectedValue; return $this; @@ -430,9 +425,6 @@ public function getValues() */ public function setValues($values) { - if (is_null($values)) { - throw new \InvalidArgumentException('non-nullable values cannot be null'); - } $this->container['values'] = $values; return $this; diff --git a/src/Adyen/Model/Checkout/Installments.php b/src/Adyen/Model/Checkout/Installments.php index 4a82c1ef2..c07cdb464 100644 --- a/src/Adyen/Model/Checkout/Installments.php +++ b/src/Adyen/Model/Checkout/Installments.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -349,7 +349,6 @@ public function getExtra() */ public function setExtra($extra) { - // Do nothing for nullable integers $this->container['extra'] = $extra; return $this; @@ -374,9 +373,6 @@ public function getPlan() */ public function setPlan($plan) { - if (is_null($plan)) { - throw new \InvalidArgumentException('non-nullable plan cannot be null'); - } $allowedValues = $this->getPlanAllowableValues(); if (!in_array($plan, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -411,7 +407,6 @@ public function getValue() */ public function setValue($value) { - // Do nothing for nullable integers $this->container['value'] = $value; return $this; diff --git a/src/Adyen/Model/Checkout/InstallmentsNumber.php b/src/Adyen/Model/Checkout/InstallmentsNumber.php index 593078cd9..6e63c564c 100644 --- a/src/Adyen/Model/Checkout/InstallmentsNumber.php +++ b/src/Adyen/Model/Checkout/InstallmentsNumber.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -298,7 +298,6 @@ public function getMaxNumberOfInstallments() */ public function setMaxNumberOfInstallments($maxNumberOfInstallments) { - // Do nothing for nullable integers $this->container['maxNumberOfInstallments'] = $maxNumberOfInstallments; return $this; diff --git a/src/Adyen/Model/Checkout/Item.php b/src/Adyen/Model/Checkout/Item.php index 747b15c02..ea68c1760 100644 --- a/src/Adyen/Model/Checkout/Item.php +++ b/src/Adyen/Model/Checkout/Item.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -302,9 +302,6 @@ public function getId() */ public function setId($id) { - if (is_null($id)) { - throw new \InvalidArgumentException('non-nullable id cannot be null'); - } $this->container['id'] = $id; return $this; @@ -329,9 +326,6 @@ public function getName() */ public function setName($name) { - if (is_null($name)) { - throw new \InvalidArgumentException('non-nullable name cannot be null'); - } $this->container['name'] = $name; return $this; diff --git a/src/Adyen/Model/Checkout/KlarnaDetails.php b/src/Adyen/Model/Checkout/KlarnaDetails.php index 217a04b52..ff1703dd8 100644 --- a/src/Adyen/Model/Checkout/KlarnaDetails.php +++ b/src/Adyen/Model/Checkout/KlarnaDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -380,9 +380,6 @@ public function getBillingAddress() */ public function setBillingAddress($billingAddress) { - if (is_null($billingAddress)) { - throw new \InvalidArgumentException('non-nullable billingAddress cannot be null'); - } $this->container['billingAddress'] = $billingAddress; return $this; @@ -407,9 +404,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -434,9 +428,6 @@ public function getDeliveryAddress() */ public function setDeliveryAddress($deliveryAddress) { - if (is_null($deliveryAddress)) { - throw new \InvalidArgumentException('non-nullable deliveryAddress cannot be null'); - } $this->container['deliveryAddress'] = $deliveryAddress; return $this; @@ -461,9 +452,6 @@ public function getPersonalDetails() */ public function setPersonalDetails($personalDetails) { - if (is_null($personalDetails)) { - throw new \InvalidArgumentException('non-nullable personalDetails cannot be null'); - } $this->container['personalDetails'] = $personalDetails; return $this; @@ -490,9 +478,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -517,9 +502,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -544,9 +526,6 @@ public function getSubtype() */ public function setSubtype($subtype) { - if (is_null($subtype)) { - throw new \InvalidArgumentException('non-nullable subtype cannot be null'); - } $this->container['subtype'] = $subtype; return $this; @@ -571,9 +550,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/LineItem.php b/src/Adyen/Model/Checkout/LineItem.php index be4773087..c5ba9dad1 100644 --- a/src/Adyen/Model/Checkout/LineItem.php +++ b/src/Adyen/Model/Checkout/LineItem.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -414,9 +414,6 @@ public function getAmountExcludingTax() */ public function setAmountExcludingTax($amountExcludingTax) { - if (is_null($amountExcludingTax)) { - throw new \InvalidArgumentException('non-nullable amountExcludingTax cannot be null'); - } $this->container['amountExcludingTax'] = $amountExcludingTax; return $this; @@ -441,9 +438,6 @@ public function getAmountIncludingTax() */ public function setAmountIncludingTax($amountIncludingTax) { - if (is_null($amountIncludingTax)) { - throw new \InvalidArgumentException('non-nullable amountIncludingTax cannot be null'); - } $this->container['amountIncludingTax'] = $amountIncludingTax; return $this; @@ -468,9 +462,6 @@ public function getBrand() */ public function setBrand($brand) { - if (is_null($brand)) { - throw new \InvalidArgumentException('non-nullable brand cannot be null'); - } $this->container['brand'] = $brand; return $this; @@ -495,9 +486,6 @@ public function getColor() */ public function setColor($color) { - if (is_null($color)) { - throw new \InvalidArgumentException('non-nullable color cannot be null'); - } $this->container['color'] = $color; return $this; @@ -522,9 +510,6 @@ public function getDescription() */ public function setDescription($description) { - if (is_null($description)) { - throw new \InvalidArgumentException('non-nullable description cannot be null'); - } $this->container['description'] = $description; return $this; @@ -549,9 +534,6 @@ public function getId() */ public function setId($id) { - if (is_null($id)) { - throw new \InvalidArgumentException('non-nullable id cannot be null'); - } $this->container['id'] = $id; return $this; @@ -576,9 +558,6 @@ public function getImageUrl() */ public function setImageUrl($imageUrl) { - if (is_null($imageUrl)) { - throw new \InvalidArgumentException('non-nullable imageUrl cannot be null'); - } $this->container['imageUrl'] = $imageUrl; return $this; @@ -603,9 +582,6 @@ public function getItemCategory() */ public function setItemCategory($itemCategory) { - if (is_null($itemCategory)) { - throw new \InvalidArgumentException('non-nullable itemCategory cannot be null'); - } $this->container['itemCategory'] = $itemCategory; return $this; @@ -630,9 +606,6 @@ public function getManufacturer() */ public function setManufacturer($manufacturer) { - if (is_null($manufacturer)) { - throw new \InvalidArgumentException('non-nullable manufacturer cannot be null'); - } $this->container['manufacturer'] = $manufacturer; return $this; @@ -657,9 +630,6 @@ public function getMarketplaceSellerId() */ public function setMarketplaceSellerId($marketplaceSellerId) { - if (is_null($marketplaceSellerId)) { - throw new \InvalidArgumentException('non-nullable marketplaceSellerId cannot be null'); - } $this->container['marketplaceSellerId'] = $marketplaceSellerId; return $this; @@ -684,9 +654,6 @@ public function getProductUrl() */ public function setProductUrl($productUrl) { - if (is_null($productUrl)) { - throw new \InvalidArgumentException('non-nullable productUrl cannot be null'); - } $this->container['productUrl'] = $productUrl; return $this; @@ -711,9 +678,6 @@ public function getQuantity() */ public function setQuantity($quantity) { - if (is_null($quantity)) { - throw new \InvalidArgumentException('non-nullable quantity cannot be null'); - } $this->container['quantity'] = $quantity; return $this; @@ -738,9 +702,6 @@ public function getReceiverEmail() */ public function setReceiverEmail($receiverEmail) { - if (is_null($receiverEmail)) { - throw new \InvalidArgumentException('non-nullable receiverEmail cannot be null'); - } $this->container['receiverEmail'] = $receiverEmail; return $this; @@ -765,9 +726,6 @@ public function getSize() */ public function setSize($size) { - if (is_null($size)) { - throw new \InvalidArgumentException('non-nullable size cannot be null'); - } $this->container['size'] = $size; return $this; @@ -792,9 +750,6 @@ public function getSku() */ public function setSku($sku) { - if (is_null($sku)) { - throw new \InvalidArgumentException('non-nullable sku cannot be null'); - } $this->container['sku'] = $sku; return $this; @@ -819,9 +774,6 @@ public function getTaxAmount() */ public function setTaxAmount($taxAmount) { - if (is_null($taxAmount)) { - throw new \InvalidArgumentException('non-nullable taxAmount cannot be null'); - } $this->container['taxAmount'] = $taxAmount; return $this; @@ -846,9 +798,6 @@ public function getTaxPercentage() */ public function setTaxPercentage($taxPercentage) { - if (is_null($taxPercentage)) { - throw new \InvalidArgumentException('non-nullable taxPercentage cannot be null'); - } $this->container['taxPercentage'] = $taxPercentage; return $this; @@ -873,9 +822,6 @@ public function getUpc() */ public function setUpc($upc) { - if (is_null($upc)) { - throw new \InvalidArgumentException('non-nullable upc cannot be null'); - } $this->container['upc'] = $upc; return $this; diff --git a/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php b/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php index f176b50f2..c10bba0a4 100644 --- a/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php +++ b/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -309,9 +309,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -336,9 +333,6 @@ public function getShopperReference() */ public function setShopperReference($shopperReference) { - if (is_null($shopperReference)) { - throw new \InvalidArgumentException('non-nullable shopperReference cannot be null'); - } $this->container['shopperReference'] = $shopperReference; return $this; @@ -363,9 +357,6 @@ public function getStoredPaymentMethods() */ public function setStoredPaymentMethods($storedPaymentMethods) { - if (is_null($storedPaymentMethods)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethods cannot be null'); - } $this->container['storedPaymentMethods'] = $storedPaymentMethods; return $this; diff --git a/src/Adyen/Model/Checkout/Mandate.php b/src/Adyen/Model/Checkout/Mandate.php index e300c52e3..4183317c7 100644 --- a/src/Adyen/Model/Checkout/Mandate.php +++ b/src/Adyen/Model/Checkout/Mandate.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -436,9 +436,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -463,9 +460,6 @@ public function getAmountRule() */ public function setAmountRule($amountRule) { - if (is_null($amountRule)) { - throw new \InvalidArgumentException('non-nullable amountRule cannot be null'); - } $allowedValues = $this->getAmountRuleAllowableValues(); if (!in_array($amountRule, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -500,9 +494,6 @@ public function getBillingAttemptsRule() */ public function setBillingAttemptsRule($billingAttemptsRule) { - if (is_null($billingAttemptsRule)) { - throw new \InvalidArgumentException('non-nullable billingAttemptsRule cannot be null'); - } $allowedValues = $this->getBillingAttemptsRuleAllowableValues(); if (!in_array($billingAttemptsRule, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -537,9 +528,6 @@ public function getBillingDay() */ public function setBillingDay($billingDay) { - if (is_null($billingDay)) { - throw new \InvalidArgumentException('non-nullable billingDay cannot be null'); - } $this->container['billingDay'] = $billingDay; return $this; @@ -564,9 +552,6 @@ public function getEndsAt() */ public function setEndsAt($endsAt) { - if (is_null($endsAt)) { - throw new \InvalidArgumentException('non-nullable endsAt cannot be null'); - } $this->container['endsAt'] = $endsAt; return $this; @@ -591,9 +576,6 @@ public function getFrequency() */ public function setFrequency($frequency) { - if (is_null($frequency)) { - throw new \InvalidArgumentException('non-nullable frequency cannot be null'); - } $allowedValues = $this->getFrequencyAllowableValues(); if (!in_array($frequency, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -628,9 +610,6 @@ public function getRemarks() */ public function setRemarks($remarks) { - if (is_null($remarks)) { - throw new \InvalidArgumentException('non-nullable remarks cannot be null'); - } $this->container['remarks'] = $remarks; return $this; @@ -655,9 +634,6 @@ public function getStartsAt() */ public function setStartsAt($startsAt) { - if (is_null($startsAt)) { - throw new \InvalidArgumentException('non-nullable startsAt cannot be null'); - } $this->container['startsAt'] = $startsAt; return $this; diff --git a/src/Adyen/Model/Checkout/MasterpassDetails.php b/src/Adyen/Model/Checkout/MasterpassDetails.php index b069f1610..6f2c61c4c 100644 --- a/src/Adyen/Model/Checkout/MasterpassDetails.php +++ b/src/Adyen/Model/Checkout/MasterpassDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -363,9 +363,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -390,9 +387,6 @@ public function getFundingSource() */ public function setFundingSource($fundingSource) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); - } $allowedValues = $this->getFundingSourceAllowableValues(); if (!in_array($fundingSource, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -427,9 +421,6 @@ public function getMasterpassTransactionId() */ public function setMasterpassTransactionId($masterpassTransactionId) { - if (is_null($masterpassTransactionId)) { - throw new \InvalidArgumentException('non-nullable masterpassTransactionId cannot be null'); - } $this->container['masterpassTransactionId'] = $masterpassTransactionId; return $this; @@ -454,9 +445,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/MbwayDetails.php b/src/Adyen/Model/Checkout/MbwayDetails.php index b55de8e2f..5c4b34182 100644 --- a/src/Adyen/Model/Checkout/MbwayDetails.php +++ b/src/Adyen/Model/Checkout/MbwayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -343,9 +343,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -370,9 +367,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -397,9 +391,6 @@ public function getTelephoneNumber() */ public function setTelephoneNumber($telephoneNumber) { - if (is_null($telephoneNumber)) { - throw new \InvalidArgumentException('non-nullable telephoneNumber cannot be null'); - } $this->container['telephoneNumber'] = $telephoneNumber; return $this; @@ -424,9 +415,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/MerchantDevice.php b/src/Adyen/Model/Checkout/MerchantDevice.php index fdcd4e186..123de3a1d 100644 --- a/src/Adyen/Model/Checkout/MerchantDevice.php +++ b/src/Adyen/Model/Checkout/MerchantDevice.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -309,9 +309,6 @@ public function getOs() */ public function setOs($os) { - if (is_null($os)) { - throw new \InvalidArgumentException('non-nullable os cannot be null'); - } $this->container['os'] = $os; return $this; @@ -336,9 +333,6 @@ public function getOsVersion() */ public function setOsVersion($osVersion) { - if (is_null($osVersion)) { - throw new \InvalidArgumentException('non-nullable osVersion cannot be null'); - } $this->container['osVersion'] = $osVersion; return $this; @@ -363,9 +357,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; diff --git a/src/Adyen/Model/Checkout/MerchantRiskIndicator.php b/src/Adyen/Model/Checkout/MerchantRiskIndicator.php index c2c045224..73db3e624 100644 --- a/src/Adyen/Model/Checkout/MerchantRiskIndicator.php +++ b/src/Adyen/Model/Checkout/MerchantRiskIndicator.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -446,9 +446,6 @@ public function getAddressMatch() */ public function setAddressMatch($addressMatch) { - if (is_null($addressMatch)) { - throw new \InvalidArgumentException('non-nullable addressMatch cannot be null'); - } $this->container['addressMatch'] = $addressMatch; return $this; @@ -473,9 +470,6 @@ public function getDeliveryAddressIndicator() */ public function setDeliveryAddressIndicator($deliveryAddressIndicator) { - if (is_null($deliveryAddressIndicator)) { - throw new \InvalidArgumentException('non-nullable deliveryAddressIndicator cannot be null'); - } $allowedValues = $this->getDeliveryAddressIndicatorAllowableValues(); if (!in_array($deliveryAddressIndicator, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -512,9 +506,6 @@ public function getDeliveryEmail() */ public function setDeliveryEmail($deliveryEmail) { - if (is_null($deliveryEmail)) { - throw new \InvalidArgumentException('non-nullable deliveryEmail cannot be null'); - } $this->container['deliveryEmail'] = $deliveryEmail; return $this; @@ -539,9 +530,6 @@ public function getDeliveryEmailAddress() */ public function setDeliveryEmailAddress($deliveryEmailAddress) { - if (is_null($deliveryEmailAddress)) { - throw new \InvalidArgumentException('non-nullable deliveryEmailAddress cannot be null'); - } $this->container['deliveryEmailAddress'] = $deliveryEmailAddress; return $this; @@ -566,9 +554,6 @@ public function getDeliveryTimeframe() */ public function setDeliveryTimeframe($deliveryTimeframe) { - if (is_null($deliveryTimeframe)) { - throw new \InvalidArgumentException('non-nullable deliveryTimeframe cannot be null'); - } $allowedValues = $this->getDeliveryTimeframeAllowableValues(); if (!in_array($deliveryTimeframe, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -603,9 +588,6 @@ public function getGiftCardAmount() */ public function setGiftCardAmount($giftCardAmount) { - if (is_null($giftCardAmount)) { - throw new \InvalidArgumentException('non-nullable giftCardAmount cannot be null'); - } $this->container['giftCardAmount'] = $giftCardAmount; return $this; @@ -630,7 +612,6 @@ public function getGiftCardCount() */ public function setGiftCardCount($giftCardCount) { - // Do nothing for nullable integers $this->container['giftCardCount'] = $giftCardCount; return $this; @@ -655,9 +636,6 @@ public function getGiftCardCurr() */ public function setGiftCardCurr($giftCardCurr) { - if (is_null($giftCardCurr)) { - throw new \InvalidArgumentException('non-nullable giftCardCurr cannot be null'); - } $this->container['giftCardCurr'] = $giftCardCurr; return $this; @@ -682,9 +660,6 @@ public function getPreOrderDate() */ public function setPreOrderDate($preOrderDate) { - if (is_null($preOrderDate)) { - throw new \InvalidArgumentException('non-nullable preOrderDate cannot be null'); - } $this->container['preOrderDate'] = $preOrderDate; return $this; @@ -709,9 +684,6 @@ public function getPreOrderPurchase() */ public function setPreOrderPurchase($preOrderPurchase) { - if (is_null($preOrderPurchase)) { - throw new \InvalidArgumentException('non-nullable preOrderPurchase cannot be null'); - } $this->container['preOrderPurchase'] = $preOrderPurchase; return $this; @@ -736,9 +708,6 @@ public function getPreOrderPurchaseInd() */ public function setPreOrderPurchaseInd($preOrderPurchaseInd) { - if (is_null($preOrderPurchaseInd)) { - throw new \InvalidArgumentException('non-nullable preOrderPurchaseInd cannot be null'); - } $this->container['preOrderPurchaseInd'] = $preOrderPurchaseInd; return $this; @@ -763,9 +732,6 @@ public function getReorderItems() */ public function setReorderItems($reorderItems) { - if (is_null($reorderItems)) { - throw new \InvalidArgumentException('non-nullable reorderItems cannot be null'); - } $this->container['reorderItems'] = $reorderItems; return $this; @@ -790,9 +756,6 @@ public function getReorderItemsInd() */ public function setReorderItemsInd($reorderItemsInd) { - if (is_null($reorderItemsInd)) { - throw new \InvalidArgumentException('non-nullable reorderItemsInd cannot be null'); - } $this->container['reorderItemsInd'] = $reorderItemsInd; return $this; @@ -817,9 +780,6 @@ public function getShipIndicator() */ public function setShipIndicator($shipIndicator) { - if (is_null($shipIndicator)) { - throw new \InvalidArgumentException('non-nullable shipIndicator cannot be null'); - } $this->container['shipIndicator'] = $shipIndicator; return $this; diff --git a/src/Adyen/Model/Checkout/MobilePayDetails.php b/src/Adyen/Model/Checkout/MobilePayDetails.php index 54d924dce..1c84d5fed 100644 --- a/src/Adyen/Model/Checkout/MobilePayDetails.php +++ b/src/Adyen/Model/Checkout/MobilePayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -323,9 +323,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -350,9 +347,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/ModelInterface.php b/src/Adyen/Model/Checkout/ModelInterface.php index db5493a75..661c821be 100644 --- a/src/Adyen/Model/Checkout/ModelInterface.php +++ b/src/Adyen/Model/Checkout/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/MolPayDetails.php b/src/Adyen/Model/Checkout/MolPayDetails.php index 85f553177..d39994ce5 100644 --- a/src/Adyen/Model/Checkout/MolPayDetails.php +++ b/src/Adyen/Model/Checkout/MolPayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -338,9 +338,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -365,9 +362,6 @@ public function getIssuer() */ public function setIssuer($issuer) { - if (is_null($issuer)) { - throw new \InvalidArgumentException('non-nullable issuer cannot be null'); - } $this->container['issuer'] = $issuer; return $this; @@ -392,9 +386,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/Name.php b/src/Adyen/Model/Checkout/Name.php index f1b79cadd..cc5120246 100644 --- a/src/Adyen/Model/Checkout/Name.php +++ b/src/Adyen/Model/Checkout/Name.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -308,9 +308,6 @@ public function getFirstName() */ public function setFirstName($firstName) { - if (is_null($firstName)) { - throw new \InvalidArgumentException('non-nullable firstName cannot be null'); - } $this->container['firstName'] = $firstName; return $this; @@ -335,9 +332,6 @@ public function getLastName() */ public function setLastName($lastName) { - if (is_null($lastName)) { - throw new \InvalidArgumentException('non-nullable lastName cannot be null'); - } $this->container['lastName'] = $lastName; return $this; diff --git a/src/Adyen/Model/Checkout/ObjectSerializer.php b/src/Adyen/Model/Checkout/ObjectSerializer.php index 2b682c18f..29dd654c7 100644 --- a/src/Adyen/Model/Checkout/ObjectSerializer.php +++ b/src/Adyen/Model/Checkout/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -261,7 +261,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/Checkout/OpenInvoiceDetails.php b/src/Adyen/Model/Checkout/OpenInvoiceDetails.php index 58ada5135..17179ca06 100644 --- a/src/Adyen/Model/Checkout/OpenInvoiceDetails.php +++ b/src/Adyen/Model/Checkout/OpenInvoiceDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -362,9 +362,6 @@ public function getBillingAddress() */ public function setBillingAddress($billingAddress) { - if (is_null($billingAddress)) { - throw new \InvalidArgumentException('non-nullable billingAddress cannot be null'); - } $this->container['billingAddress'] = $billingAddress; return $this; @@ -389,9 +386,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -416,9 +410,6 @@ public function getDeliveryAddress() */ public function setDeliveryAddress($deliveryAddress) { - if (is_null($deliveryAddress)) { - throw new \InvalidArgumentException('non-nullable deliveryAddress cannot be null'); - } $this->container['deliveryAddress'] = $deliveryAddress; return $this; @@ -443,9 +434,6 @@ public function getPersonalDetails() */ public function setPersonalDetails($personalDetails) { - if (is_null($personalDetails)) { - throw new \InvalidArgumentException('non-nullable personalDetails cannot be null'); - } $this->container['personalDetails'] = $personalDetails; return $this; @@ -472,9 +460,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -499,9 +484,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -526,9 +508,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/PayByBankDetails.php b/src/Adyen/Model/Checkout/PayByBankDetails.php new file mode 100644 index 000000000..ae3d927a9 --- /dev/null +++ b/src/Adyen/Model/Checkout/PayByBankDetails.php @@ -0,0 +1,503 @@ + + */ +class PayByBankDetails implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'PayByBankDetails'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'checkoutAttemptId' => 'string', + 'issuer' => 'string', + 'type' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'checkoutAttemptId' => null, + 'issuer' => null, + 'type' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static $openAPINullables = [ + 'checkoutAttemptId' => false, + 'issuer' => false, + 'type' => 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 = [ + 'checkoutAttemptId' => 'checkoutAttemptId', + 'issuer' => 'issuer', + 'type' => 'type' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'checkoutAttemptId' => 'setCheckoutAttemptId', + 'issuer' => 'setIssuer', + 'type' => 'setType' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'checkoutAttemptId' => 'getCheckoutAttemptId', + 'issuer' => 'getIssuer', + 'type' => 'getType' + ]; + + /** + * 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; + } + + public const TYPE_PAYBYBANK = 'paybybank'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getTypeAllowableValues() + { + return [ + self::TYPE_PAYBYBANK, + ]; + } + /** + * 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('checkoutAttemptId', $data ?? [], null); + $this->setIfExists('issuer', $data ?? [], null); + $this->setIfExists('type', $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['type'] === null) { + $invalidProperties[] = "'type' can't be null"; + } + $allowedValues = $this->getTypeAllowableValues(); + if (!is_null($this->container['type']) && !in_array($this->container['type'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'type', must be one of '%s'", + $this->container['type'], + implode("', '", $allowedValues) + ); + } + + 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 checkoutAttemptId + * + * @return string|null + */ + public function getCheckoutAttemptId() + { + return $this->container['checkoutAttemptId']; + } + + /** + * Sets checkoutAttemptId + * + * @param string|null $checkoutAttemptId The checkout attempt identifier. + * + * @return self + */ + public function setCheckoutAttemptId($checkoutAttemptId) + { + $this->container['checkoutAttemptId'] = $checkoutAttemptId; + + return $this; + } + + /** + * Gets issuer + * + * @return string|null + */ + public function getIssuer() + { + return $this->container['issuer']; + } + + /** + * Sets issuer + * + * @param string|null $issuer The PayByBank issuer value of the shopper's selected bank. + * + * @return self + */ + public function setIssuer($issuer) + { + $this->container['issuer'] = $issuer; + + return $this; + } + + /** + * Gets type + * + * @return string + */ + public function getType() + { + return $this->container['type']; + } + + /** + * Sets type + * + * @param string $type **paybybank** + * + * @return self + */ + public function setType($type) + { + $allowedValues = $this->getTypeAllowableValues(); + if (!in_array($type, $allowedValues, true)) { + throw new \InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'type', must be one of '%s'", + $type, + implode("', '", $allowedValues) + ) + ); + } + $this->container['type'] = $type; + + 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); + } + + public function toArray(): array + { + $array = []; + foreach (self::$openAPITypes as $propertyName => $propertyType) { + $propertyValue = $this[$propertyName]; + if ($propertyValue !== null) { + // Check if the property value is an object and has a toArray() method + if (is_object($propertyValue) && method_exists($propertyValue, 'toArray')) { + $array[$propertyName] = $propertyValue->toArray(); + // Check if it's type datetime + } elseif ($propertyValue instanceof \DateTime) { + $array[$propertyName] = $propertyValue->format(DATE_ATOM); + // If it's an array type we should check whether it contains objects and if so call toArray method + } elseif (is_array($propertyValue)) { + $array[$propertyName] = array_map(function ($item) { + return $item instanceof ModelInterface ? $item->toArray() : $item; + }, $propertyValue); + } else { + // Otherwise, directly assign the property value to the array + $array[$propertyName] = $propertyValue; + } + } + } + return $array; + } + + /** + * 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/Checkout/PayPalDetails.php b/src/Adyen/Model/Checkout/PayPalDetails.php index f1ae70649..f97a1cb2d 100644 --- a/src/Adyen/Model/Checkout/PayPalDetails.php +++ b/src/Adyen/Model/Checkout/PayPalDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -398,9 +398,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -425,9 +422,6 @@ public function getOrderID() */ public function setOrderID($orderID) { - if (is_null($orderID)) { - throw new \InvalidArgumentException('non-nullable orderID cannot be null'); - } $this->container['orderID'] = $orderID; return $this; @@ -452,9 +446,6 @@ public function getPayeePreferred() */ public function setPayeePreferred($payeePreferred) { - if (is_null($payeePreferred)) { - throw new \InvalidArgumentException('non-nullable payeePreferred cannot be null'); - } $this->container['payeePreferred'] = $payeePreferred; return $this; @@ -479,9 +470,6 @@ public function getPayerID() */ public function setPayerID($payerID) { - if (is_null($payerID)) { - throw new \InvalidArgumentException('non-nullable payerID cannot be null'); - } $this->container['payerID'] = $payerID; return $this; @@ -506,9 +494,6 @@ public function getPayerSelected() */ public function setPayerSelected($payerSelected) { - if (is_null($payerSelected)) { - throw new \InvalidArgumentException('non-nullable payerSelected cannot be null'); - } $this->container['payerSelected'] = $payerSelected; return $this; @@ -535,9 +520,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -562,9 +544,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -589,9 +568,6 @@ public function getSubtype() */ public function setSubtype($subtype) { - if (is_null($subtype)) { - throw new \InvalidArgumentException('non-nullable subtype cannot be null'); - } $allowedValues = $this->getSubtypeAllowableValues(); if (!in_array($subtype, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -626,9 +602,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/PayUUpiDetails.php b/src/Adyen/Model/Checkout/PayUUpiDetails.php index 87c448386..156b1356e 100644 --- a/src/Adyen/Model/Checkout/PayUUpiDetails.php +++ b/src/Adyen/Model/Checkout/PayUUpiDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -354,9 +354,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -383,9 +380,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -410,9 +404,6 @@ public function getShopperNotificationReference() */ public function setShopperNotificationReference($shopperNotificationReference) { - if (is_null($shopperNotificationReference)) { - throw new \InvalidArgumentException('non-nullable shopperNotificationReference cannot be null'); - } $this->container['shopperNotificationReference'] = $shopperNotificationReference; return $this; @@ -437,9 +428,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -464,9 +452,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -501,9 +486,6 @@ public function getVirtualPaymentAddress() */ public function setVirtualPaymentAddress($virtualPaymentAddress) { - if (is_null($virtualPaymentAddress)) { - throw new \InvalidArgumentException('non-nullable virtualPaymentAddress cannot be null'); - } $this->container['virtualPaymentAddress'] = $virtualPaymentAddress; return $this; diff --git a/src/Adyen/Model/Checkout/PayWithGoogleDetails.php b/src/Adyen/Model/Checkout/PayWithGoogleDetails.php index f44168993..525507d6b 100644 --- a/src/Adyen/Model/Checkout/PayWithGoogleDetails.php +++ b/src/Adyen/Model/Checkout/PayWithGoogleDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -49,6 +49,7 @@ class PayWithGoogleDetails implements ModelInterface, ArrayAccess, \JsonSerializ 'googlePayToken' => 'string', 'recurringDetailReference' => 'string', 'storedPaymentMethodId' => 'string', + 'threeDS2SdkVersion' => 'string', 'type' => 'string' ]; @@ -65,6 +66,7 @@ class PayWithGoogleDetails implements ModelInterface, ArrayAccess, \JsonSerializ 'googlePayToken' => null, 'recurringDetailReference' => null, 'storedPaymentMethodId' => null, + 'threeDS2SdkVersion' => null, 'type' => null ]; @@ -79,6 +81,7 @@ class PayWithGoogleDetails implements ModelInterface, ArrayAccess, \JsonSerializ 'googlePayToken' => false, 'recurringDetailReference' => false, 'storedPaymentMethodId' => false, + 'threeDS2SdkVersion' => false, 'type' => false ]; @@ -173,6 +176,7 @@ public function isNullableSetToNull(string $property): bool 'googlePayToken' => 'googlePayToken', 'recurringDetailReference' => 'recurringDetailReference', 'storedPaymentMethodId' => 'storedPaymentMethodId', + 'threeDS2SdkVersion' => 'threeDS2SdkVersion', 'type' => 'type' ]; @@ -187,6 +191,7 @@ public function isNullableSetToNull(string $property): bool 'googlePayToken' => 'setGooglePayToken', 'recurringDetailReference' => 'setRecurringDetailReference', 'storedPaymentMethodId' => 'setStoredPaymentMethodId', + 'threeDS2SdkVersion' => 'setThreeDS2SdkVersion', 'type' => 'setType' ]; @@ -201,6 +206,7 @@ public function isNullableSetToNull(string $property): bool 'googlePayToken' => 'getGooglePayToken', 'recurringDetailReference' => 'getRecurringDetailReference', 'storedPaymentMethodId' => 'getStoredPaymentMethodId', + 'threeDS2SdkVersion' => 'getThreeDS2SdkVersion', 'type' => 'getType' ]; @@ -292,6 +298,7 @@ public function __construct(array $data = null) $this->setIfExists('googlePayToken', $data ?? [], null); $this->setIfExists('recurringDetailReference', $data ?? [], null); $this->setIfExists('storedPaymentMethodId', $data ?? [], null); + $this->setIfExists('threeDS2SdkVersion', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); } @@ -377,9 +384,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -404,9 +408,6 @@ public function getFundingSource() */ public function setFundingSource($fundingSource) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); - } $allowedValues = $this->getFundingSourceAllowableValues(); if (!in_array($fundingSource, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -441,9 +442,6 @@ public function getGooglePayToken() */ public function setGooglePayToken($googlePayToken) { - if (is_null($googlePayToken)) { - throw new \InvalidArgumentException('non-nullable googlePayToken cannot be null'); - } $this->container['googlePayToken'] = $googlePayToken; return $this; @@ -470,9 +468,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -497,14 +492,35 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; } + /** + * Gets threeDS2SdkVersion + * + * @return string|null + */ + public function getThreeDS2SdkVersion() + { + return $this->container['threeDS2SdkVersion']; + } + + /** + * Sets threeDS2SdkVersion + * + * @param string|null $threeDS2SdkVersion Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. + * + * @return self + */ + public function setThreeDS2SdkVersion($threeDS2SdkVersion) + { + $this->container['threeDS2SdkVersion'] = $threeDS2SdkVersion; + + return $this; + } + /** * Gets type * @@ -524,9 +540,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/PayWithGoogleDonations.php b/src/Adyen/Model/Checkout/PayWithGoogleDonations.php index d283478bf..4054d55d6 100644 --- a/src/Adyen/Model/Checkout/PayWithGoogleDonations.php +++ b/src/Adyen/Model/Checkout/PayWithGoogleDonations.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -49,6 +49,7 @@ class PayWithGoogleDonations implements ModelInterface, ArrayAccess, \JsonSerial 'googlePayToken' => 'string', 'recurringDetailReference' => 'string', 'storedPaymentMethodId' => 'string', + 'threeDS2SdkVersion' => 'string', 'type' => 'string' ]; @@ -65,6 +66,7 @@ class PayWithGoogleDonations implements ModelInterface, ArrayAccess, \JsonSerial 'googlePayToken' => null, 'recurringDetailReference' => null, 'storedPaymentMethodId' => null, + 'threeDS2SdkVersion' => null, 'type' => null ]; @@ -79,6 +81,7 @@ class PayWithGoogleDonations implements ModelInterface, ArrayAccess, \JsonSerial 'googlePayToken' => false, 'recurringDetailReference' => false, 'storedPaymentMethodId' => false, + 'threeDS2SdkVersion' => false, 'type' => false ]; @@ -173,6 +176,7 @@ public function isNullableSetToNull(string $property): bool 'googlePayToken' => 'googlePayToken', 'recurringDetailReference' => 'recurringDetailReference', 'storedPaymentMethodId' => 'storedPaymentMethodId', + 'threeDS2SdkVersion' => 'threeDS2SdkVersion', 'type' => 'type' ]; @@ -187,6 +191,7 @@ public function isNullableSetToNull(string $property): bool 'googlePayToken' => 'setGooglePayToken', 'recurringDetailReference' => 'setRecurringDetailReference', 'storedPaymentMethodId' => 'setStoredPaymentMethodId', + 'threeDS2SdkVersion' => 'setThreeDS2SdkVersion', 'type' => 'setType' ]; @@ -201,6 +206,7 @@ public function isNullableSetToNull(string $property): bool 'googlePayToken' => 'getGooglePayToken', 'recurringDetailReference' => 'getRecurringDetailReference', 'storedPaymentMethodId' => 'getStoredPaymentMethodId', + 'threeDS2SdkVersion' => 'getThreeDS2SdkVersion', 'type' => 'getType' ]; @@ -292,6 +298,7 @@ public function __construct(array $data = null) $this->setIfExists('googlePayToken', $data ?? [], null); $this->setIfExists('recurringDetailReference', $data ?? [], null); $this->setIfExists('storedPaymentMethodId', $data ?? [], null); + $this->setIfExists('threeDS2SdkVersion', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); } @@ -377,9 +384,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -404,9 +408,6 @@ public function getFundingSource() */ public function setFundingSource($fundingSource) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); - } $allowedValues = $this->getFundingSourceAllowableValues(); if (!in_array($fundingSource, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -441,9 +442,6 @@ public function getGooglePayToken() */ public function setGooglePayToken($googlePayToken) { - if (is_null($googlePayToken)) { - throw new \InvalidArgumentException('non-nullable googlePayToken cannot be null'); - } $this->container['googlePayToken'] = $googlePayToken; return $this; @@ -470,9 +468,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -497,14 +492,35 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; } + /** + * Gets threeDS2SdkVersion + * + * @return string|null + */ + public function getThreeDS2SdkVersion() + { + return $this->container['threeDS2SdkVersion']; + } + + /** + * Sets threeDS2SdkVersion + * + * @param string|null $threeDS2SdkVersion Required for mobile integrations. Version of the 3D Secure 2 mobile SDK. + * + * @return self + */ + public function setThreeDS2SdkVersion($threeDS2SdkVersion) + { + $this->container['threeDS2SdkVersion'] = $threeDS2SdkVersion; + + return $this; + } + /** * Gets type * @@ -524,9 +540,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php b/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php index dc74f18a5..d70a284e9 100644 --- a/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php +++ b/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -368,9 +368,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -395,9 +392,6 @@ public function getApplicationInfo() */ public function setApplicationInfo($applicationInfo) { - if (is_null($applicationInfo)) { - throw new \InvalidArgumentException('non-nullable applicationInfo cannot be null'); - } $this->container['applicationInfo'] = $applicationInfo; return $this; @@ -422,9 +416,6 @@ public function getIndustryUsage() */ 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( @@ -459,9 +450,6 @@ public function getLineItems() */ public function setLineItems($lineItems) { - if (is_null($lineItems)) { - throw new \InvalidArgumentException('non-nullable lineItems cannot be null'); - } $this->container['lineItems'] = $lineItems; return $this; @@ -486,9 +474,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -513,9 +498,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -540,9 +522,6 @@ public function getSplits() */ public function setSplits($splits) { - if (is_null($splits)) { - throw new \InvalidArgumentException('non-nullable splits cannot be null'); - } $this->container['splits'] = $splits; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php b/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php index 5dec97c60..225f405aa 100644 --- a/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php +++ b/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -415,9 +415,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -442,9 +439,6 @@ public function getIndustryUsage() */ 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( @@ -479,9 +473,6 @@ public function getLineItems() */ public function setLineItems($lineItems) { - if (is_null($lineItems)) { - throw new \InvalidArgumentException('non-nullable lineItems cannot be null'); - } $this->container['lineItems'] = $lineItems; return $this; @@ -506,9 +497,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -533,9 +521,6 @@ public function getPaymentPspReference() */ public function setPaymentPspReference($paymentPspReference) { - if (is_null($paymentPspReference)) { - throw new \InvalidArgumentException('non-nullable paymentPspReference cannot be null'); - } $this->container['paymentPspReference'] = $paymentPspReference; return $this; @@ -560,9 +545,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; @@ -587,9 +569,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -614,9 +593,6 @@ public function getSplits() */ public function setSplits($splits) { - if (is_null($splits)) { - throw new \InvalidArgumentException('non-nullable splits cannot be null'); - } $this->container['splits'] = $splits; return $this; @@ -641,9 +617,6 @@ public function getStatus() */ public function setStatus($status) { - if (is_null($status)) { - throw new \InvalidArgumentException('non-nullable status cannot be null'); - } $allowedValues = $this->getStatusAllowableValues(); if (!in_array($status, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/PaymentCancelRequest.php b/src/Adyen/Model/Checkout/PaymentCancelRequest.php index 419380354..2afaef0c2 100644 --- a/src/Adyen/Model/Checkout/PaymentCancelRequest.php +++ b/src/Adyen/Model/Checkout/PaymentCancelRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -312,9 +312,6 @@ public function getApplicationInfo() */ public function setApplicationInfo($applicationInfo) { - if (is_null($applicationInfo)) { - throw new \InvalidArgumentException('non-nullable applicationInfo cannot be null'); - } $this->container['applicationInfo'] = $applicationInfo; return $this; @@ -339,9 +336,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -366,9 +360,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentCancelResponse.php b/src/Adyen/Model/Checkout/PaymentCancelResponse.php index 9f102b88c..dea523fe6 100644 --- a/src/Adyen/Model/Checkout/PaymentCancelResponse.php +++ b/src/Adyen/Model/Checkout/PaymentCancelResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -356,9 +356,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -383,9 +380,6 @@ public function getPaymentPspReference() */ public function setPaymentPspReference($paymentPspReference) { - if (is_null($paymentPspReference)) { - throw new \InvalidArgumentException('non-nullable paymentPspReference cannot be null'); - } $this->container['paymentPspReference'] = $paymentPspReference; return $this; @@ -410,9 +404,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; @@ -437,9 +428,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -464,9 +452,6 @@ public function getStatus() */ public function setStatus($status) { - if (is_null($status)) { - throw new \InvalidArgumentException('non-nullable status cannot be null'); - } $allowedValues = $this->getStatusAllowableValues(); if (!in_array($status, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/PaymentCaptureRequest.php b/src/Adyen/Model/Checkout/PaymentCaptureRequest.php index 2b15f0bbb..c06b5071a 100644 --- a/src/Adyen/Model/Checkout/PaymentCaptureRequest.php +++ b/src/Adyen/Model/Checkout/PaymentCaptureRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -350,9 +350,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -377,9 +374,6 @@ public function getApplicationInfo() */ public function setApplicationInfo($applicationInfo) { - if (is_null($applicationInfo)) { - throw new \InvalidArgumentException('non-nullable applicationInfo cannot be null'); - } $this->container['applicationInfo'] = $applicationInfo; return $this; @@ -404,9 +398,6 @@ public function getLineItems() */ public function setLineItems($lineItems) { - if (is_null($lineItems)) { - throw new \InvalidArgumentException('non-nullable lineItems cannot be null'); - } $this->container['lineItems'] = $lineItems; return $this; @@ -431,9 +422,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -458,9 +446,6 @@ public function getPlatformChargebackLogic() */ public function setPlatformChargebackLogic($platformChargebackLogic) { - if (is_null($platformChargebackLogic)) { - throw new \InvalidArgumentException('non-nullable platformChargebackLogic cannot be null'); - } $this->container['platformChargebackLogic'] = $platformChargebackLogic; return $this; @@ -485,9 +470,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -512,9 +494,6 @@ public function getSplits() */ public function setSplits($splits) { - if (is_null($splits)) { - throw new \InvalidArgumentException('non-nullable splits cannot be null'); - } $this->container['splits'] = $splits; return $this; @@ -539,9 +518,6 @@ public function getSubMerchants() */ public function setSubMerchants($subMerchants) { - if (is_null($subMerchants)) { - throw new \InvalidArgumentException('non-nullable subMerchants cannot be null'); - } $this->container['subMerchants'] = $subMerchants; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentCaptureResponse.php b/src/Adyen/Model/Checkout/PaymentCaptureResponse.php index 19a54786e..78cf63c6c 100644 --- a/src/Adyen/Model/Checkout/PaymentCaptureResponse.php +++ b/src/Adyen/Model/Checkout/PaymentCaptureResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -394,9 +394,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -421,9 +418,6 @@ public function getLineItems() */ public function setLineItems($lineItems) { - if (is_null($lineItems)) { - throw new \InvalidArgumentException('non-nullable lineItems cannot be null'); - } $this->container['lineItems'] = $lineItems; return $this; @@ -448,9 +442,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -475,9 +466,6 @@ public function getPaymentPspReference() */ public function setPaymentPspReference($paymentPspReference) { - if (is_null($paymentPspReference)) { - throw new \InvalidArgumentException('non-nullable paymentPspReference cannot be null'); - } $this->container['paymentPspReference'] = $paymentPspReference; return $this; @@ -502,9 +490,6 @@ public function getPlatformChargebackLogic() */ public function setPlatformChargebackLogic($platformChargebackLogic) { - if (is_null($platformChargebackLogic)) { - throw new \InvalidArgumentException('non-nullable platformChargebackLogic cannot be null'); - } $this->container['platformChargebackLogic'] = $platformChargebackLogic; return $this; @@ -529,9 +514,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; @@ -556,9 +538,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -583,9 +562,6 @@ public function getSplits() */ public function setSplits($splits) { - if (is_null($splits)) { - throw new \InvalidArgumentException('non-nullable splits cannot be null'); - } $this->container['splits'] = $splits; return $this; @@ -610,9 +586,6 @@ public function getStatus() */ public function setStatus($status) { - if (is_null($status)) { - throw new \InvalidArgumentException('non-nullable status cannot be null'); - } $allowedValues = $this->getStatusAllowableValues(); if (!in_array($status, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -647,9 +620,6 @@ public function getSubMerchants() */ public function setSubMerchants($subMerchants) { - if (is_null($subMerchants)) { - throw new \InvalidArgumentException('non-nullable subMerchants cannot be null'); - } $this->container['subMerchants'] = $subMerchants; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentCompletionDetails.php b/src/Adyen/Model/Checkout/PaymentCompletionDetails.php index 17a52e5d5..2f448f93c 100644 --- a/src/Adyen/Model/Checkout/PaymentCompletionDetails.php +++ b/src/Adyen/Model/Checkout/PaymentCompletionDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -428,9 +428,6 @@ public function getMD() */ public function setMD($mD) { - if (is_null($mD)) { - throw new \InvalidArgumentException('non-nullable mD cannot be null'); - } $this->container['mD'] = $mD; return $this; @@ -455,9 +452,6 @@ public function getPaReq() */ public function setPaReq($paReq) { - if (is_null($paReq)) { - throw new \InvalidArgumentException('non-nullable paReq cannot be null'); - } $this->container['paReq'] = $paReq; return $this; @@ -482,9 +476,6 @@ public function getPaRes() */ public function setPaRes($paRes) { - if (is_null($paRes)) { - throw new \InvalidArgumentException('non-nullable paRes cannot be null'); - } $this->container['paRes'] = $paRes; return $this; @@ -509,9 +500,6 @@ public function getAuthorizationToken() */ public function setAuthorizationToken($authorizationToken) { - if (is_null($authorizationToken)) { - throw new \InvalidArgumentException('non-nullable authorizationToken cannot be null'); - } $this->container['authorizationToken'] = $authorizationToken; return $this; @@ -536,9 +524,6 @@ public function getBillingToken() */ public function setBillingToken($billingToken) { - if (is_null($billingToken)) { - throw new \InvalidArgumentException('non-nullable billingToken cannot be null'); - } $this->container['billingToken'] = $billingToken; return $this; @@ -563,9 +548,6 @@ public function getCupsecureplusSmscode() */ public function setCupsecureplusSmscode($cupsecureplusSmscode) { - if (is_null($cupsecureplusSmscode)) { - throw new \InvalidArgumentException('non-nullable cupsecureplusSmscode cannot be null'); - } $this->container['cupsecureplusSmscode'] = $cupsecureplusSmscode; return $this; @@ -590,9 +572,6 @@ public function getFacilitatorAccessToken() */ public function setFacilitatorAccessToken($facilitatorAccessToken) { - if (is_null($facilitatorAccessToken)) { - throw new \InvalidArgumentException('non-nullable facilitatorAccessToken cannot be null'); - } $this->container['facilitatorAccessToken'] = $facilitatorAccessToken; return $this; @@ -617,9 +596,6 @@ public function getOneTimePasscode() */ public function setOneTimePasscode($oneTimePasscode) { - if (is_null($oneTimePasscode)) { - throw new \InvalidArgumentException('non-nullable oneTimePasscode cannot be null'); - } $this->container['oneTimePasscode'] = $oneTimePasscode; return $this; @@ -644,9 +620,6 @@ public function getOrderID() */ public function setOrderID($orderID) { - if (is_null($orderID)) { - throw new \InvalidArgumentException('non-nullable orderID cannot be null'); - } $this->container['orderID'] = $orderID; return $this; @@ -671,9 +644,6 @@ public function getPayerID() */ public function setPayerID($payerID) { - if (is_null($payerID)) { - throw new \InvalidArgumentException('non-nullable payerID cannot be null'); - } $this->container['payerID'] = $payerID; return $this; @@ -698,9 +668,6 @@ public function getPayload() */ public function setPayload($payload) { - if (is_null($payload)) { - throw new \InvalidArgumentException('non-nullable payload cannot be null'); - } $this->container['payload'] = $payload; return $this; @@ -725,9 +692,6 @@ public function getPaymentID() */ public function setPaymentID($paymentID) { - if (is_null($paymentID)) { - throw new \InvalidArgumentException('non-nullable paymentID cannot be null'); - } $this->container['paymentID'] = $paymentID; return $this; @@ -752,9 +716,6 @@ public function getPaymentStatus() */ public function setPaymentStatus($paymentStatus) { - if (is_null($paymentStatus)) { - throw new \InvalidArgumentException('non-nullable paymentStatus cannot be null'); - } $this->container['paymentStatus'] = $paymentStatus; return $this; @@ -779,9 +740,6 @@ public function getRedirectResult() */ public function setRedirectResult($redirectResult) { - if (is_null($redirectResult)) { - throw new \InvalidArgumentException('non-nullable redirectResult cannot be null'); - } $this->container['redirectResult'] = $redirectResult; return $this; @@ -806,9 +764,6 @@ public function getResultCode() */ public function setResultCode($resultCode) { - if (is_null($resultCode)) { - throw new \InvalidArgumentException('non-nullable resultCode cannot be null'); - } $this->container['resultCode'] = $resultCode; return $this; @@ -833,9 +788,6 @@ public function getReturnUrlQueryString() */ public function setReturnUrlQueryString($returnUrlQueryString) { - if (is_null($returnUrlQueryString)) { - throw new \InvalidArgumentException('non-nullable returnUrlQueryString cannot be null'); - } $this->container['returnUrlQueryString'] = $returnUrlQueryString; return $this; @@ -860,9 +812,6 @@ public function getThreeDSResult() */ public function setThreeDSResult($threeDSResult) { - if (is_null($threeDSResult)) { - throw new \InvalidArgumentException('non-nullable threeDSResult cannot be null'); - } $this->container['threeDSResult'] = $threeDSResult; return $this; @@ -887,9 +836,6 @@ public function getThreeds2ChallengeResult() */ public function setThreeds2ChallengeResult($threeds2ChallengeResult) { - if (is_null($threeds2ChallengeResult)) { - throw new \InvalidArgumentException('non-nullable threeds2ChallengeResult cannot be null'); - } $this->container['threeds2ChallengeResult'] = $threeds2ChallengeResult; return $this; @@ -914,9 +860,6 @@ public function getThreeds2Fingerprint() */ public function setThreeds2Fingerprint($threeds2Fingerprint) { - if (is_null($threeds2Fingerprint)) { - throw new \InvalidArgumentException('non-nullable threeds2Fingerprint cannot be null'); - } $this->container['threeds2Fingerprint'] = $threeds2Fingerprint; return $this; @@ -941,9 +884,6 @@ public function getVaultToken() */ public function setVaultToken($vaultToken) { - if (is_null($vaultToken)) { - throw new \InvalidArgumentException('non-nullable vaultToken cannot be null'); - } $this->container['vaultToken'] = $vaultToken; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentDetails.php b/src/Adyen/Model/Checkout/PaymentDetails.php index 8c5ec4511..33cf6ece1 100644 --- a/src/Adyen/Model/Checkout/PaymentDetails.php +++ b/src/Adyen/Model/Checkout/PaymentDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -251,7 +251,6 @@ public function getModelName() public const TYPE_UPI_QR = 'upi_qr'; public const TYPE_PAYTM = 'paytm'; public const TYPE_MOLPAY_EBANKING_VN = 'molpay_ebanking_VN'; - public const TYPE_PAYBYBANK = 'paybybank'; public const TYPE_EBANKING_FI = 'ebanking_FI'; public const TYPE_MOLPAY_EBANKING_MY = 'molpay_ebanking_MY'; public const TYPE_MOLPAY_EBANKING_DIRECT_MY = 'molpay_ebanking_direct_MY'; @@ -351,7 +350,6 @@ public function getTypeAllowableValues() self::TYPE_UPI_QR, self::TYPE_PAYTM, self::TYPE_MOLPAY_EBANKING_VN, - self::TYPE_PAYBYBANK, self::TYPE_EBANKING_FI, self::TYPE_MOLPAY_EBANKING_MY, self::TYPE_MOLPAY_EBANKING_DIRECT_MY, @@ -503,9 +501,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -530,9 +525,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/PaymentDetailsRequest.php b/src/Adyen/Model/Checkout/PaymentDetailsRequest.php index 6764840f8..f44623524 100644 --- a/src/Adyen/Model/Checkout/PaymentDetailsRequest.php +++ b/src/Adyen/Model/Checkout/PaymentDetailsRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -319,9 +319,6 @@ public function getAuthenticationData() */ public function setAuthenticationData($authenticationData) { - if (is_null($authenticationData)) { - throw new \InvalidArgumentException('non-nullable authenticationData cannot be null'); - } $this->container['authenticationData'] = $authenticationData; return $this; @@ -346,9 +343,6 @@ public function getDetails() */ public function setDetails($details) { - if (is_null($details)) { - throw new \InvalidArgumentException('non-nullable details cannot be null'); - } $this->container['details'] = $details; return $this; @@ -373,9 +367,6 @@ public function getPaymentData() */ public function setPaymentData($paymentData) { - if (is_null($paymentData)) { - throw new \InvalidArgumentException('non-nullable paymentData cannot be null'); - } $this->container['paymentData'] = $paymentData; return $this; @@ -402,9 +393,6 @@ public function getThreeDSAuthenticationOnly() */ public function setThreeDSAuthenticationOnly($threeDSAuthenticationOnly) { - if (is_null($threeDSAuthenticationOnly)) { - throw new \InvalidArgumentException('non-nullable threeDSAuthenticationOnly cannot be null'); - } $this->container['threeDSAuthenticationOnly'] = $threeDSAuthenticationOnly; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentDetailsResponse.php b/src/Adyen/Model/Checkout/PaymentDetailsResponse.php index 00e2dc882..a49e9a516 100644 --- a/src/Adyen/Model/Checkout/PaymentDetailsResponse.php +++ b/src/Adyen/Model/Checkout/PaymentDetailsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -440,9 +440,6 @@ public function getAdditionalData() */ public function setAdditionalData($additionalData) { - if (is_null($additionalData)) { - throw new \InvalidArgumentException('non-nullable additionalData cannot be null'); - } $this->container['additionalData'] = $additionalData; return $this; @@ -467,9 +464,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -494,9 +488,6 @@ public function getDonationToken() */ public function setDonationToken($donationToken) { - if (is_null($donationToken)) { - throw new \InvalidArgumentException('non-nullable donationToken cannot be null'); - } $this->container['donationToken'] = $donationToken; return $this; @@ -521,9 +512,6 @@ public function getFraudResult() */ public function setFraudResult($fraudResult) { - if (is_null($fraudResult)) { - throw new \InvalidArgumentException('non-nullable fraudResult cannot be null'); - } $this->container['fraudResult'] = $fraudResult; return $this; @@ -548,9 +536,6 @@ public function getMerchantReference() */ public function setMerchantReference($merchantReference) { - if (is_null($merchantReference)) { - throw new \InvalidArgumentException('non-nullable merchantReference cannot be null'); - } $this->container['merchantReference'] = $merchantReference; return $this; @@ -575,9 +560,6 @@ public function getOrder() */ public function setOrder($order) { - if (is_null($order)) { - throw new \InvalidArgumentException('non-nullable order cannot be null'); - } $this->container['order'] = $order; return $this; @@ -602,9 +584,6 @@ public function getPaymentMethod() */ public function setPaymentMethod($paymentMethod) { - if (is_null($paymentMethod)) { - throw new \InvalidArgumentException('non-nullable paymentMethod cannot be null'); - } $this->container['paymentMethod'] = $paymentMethod; return $this; @@ -629,9 +608,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; @@ -656,9 +632,6 @@ public function getRefusalReason() */ public function setRefusalReason($refusalReason) { - if (is_null($refusalReason)) { - throw new \InvalidArgumentException('non-nullable refusalReason cannot be null'); - } $this->container['refusalReason'] = $refusalReason; return $this; @@ -683,9 +656,6 @@ public function getRefusalReasonCode() */ public function setRefusalReasonCode($refusalReasonCode) { - if (is_null($refusalReasonCode)) { - throw new \InvalidArgumentException('non-nullable refusalReasonCode cannot be null'); - } $this->container['refusalReasonCode'] = $refusalReasonCode; return $this; @@ -710,9 +680,6 @@ public function getResultCode() */ public function setResultCode($resultCode) { - if (is_null($resultCode)) { - throw new \InvalidArgumentException('non-nullable resultCode cannot be null'); - } $allowedValues = $this->getResultCodeAllowableValues(); if (!in_array($resultCode, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -747,9 +714,6 @@ public function getShopperLocale() */ public function setShopperLocale($shopperLocale) { - if (is_null($shopperLocale)) { - throw new \InvalidArgumentException('non-nullable shopperLocale cannot be null'); - } $this->container['shopperLocale'] = $shopperLocale; return $this; @@ -774,9 +738,6 @@ public function getThreeDS2ResponseData() */ public function setThreeDS2ResponseData($threeDS2ResponseData) { - if (is_null($threeDS2ResponseData)) { - throw new \InvalidArgumentException('non-nullable threeDS2ResponseData cannot be null'); - } $this->container['threeDS2ResponseData'] = $threeDS2ResponseData; return $this; @@ -801,9 +762,6 @@ public function getThreeDS2Result() */ public function setThreeDS2Result($threeDS2Result) { - if (is_null($threeDS2Result)) { - throw new \InvalidArgumentException('non-nullable threeDS2Result cannot be null'); - } $this->container['threeDS2Result'] = $threeDS2Result; return $this; @@ -828,9 +786,6 @@ public function getThreeDSPaymentData() */ public function setThreeDSPaymentData($threeDSPaymentData) { - if (is_null($threeDSPaymentData)) { - throw new \InvalidArgumentException('non-nullable threeDSPaymentData cannot be null'); - } $this->container['threeDSPaymentData'] = $threeDSPaymentData; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentLinkRequest.php b/src/Adyen/Model/Checkout/PaymentLinkRequest.php index 7ab395bfb..9df1b4a04 100644 --- a/src/Adyen/Model/Checkout/PaymentLinkRequest.php +++ b/src/Adyen/Model/Checkout/PaymentLinkRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -63,6 +63,7 @@ class PaymentLinkRequest implements ModelInterface, ArrayAccess, \JsonSerializab 'merchantAccount' => 'string', 'merchantOrderReference' => 'string', 'metadata' => 'array', + 'platformChargebackLogic' => '\Adyen\Model\Checkout\PlatformChargebackLogic', 'recurringProcessingModel' => 'string', 'reference' => 'string', 'requiredShopperFields' => 'string[]', @@ -112,6 +113,7 @@ class PaymentLinkRequest implements ModelInterface, ArrayAccess, \JsonSerializab 'merchantAccount' => null, 'merchantOrderReference' => null, 'metadata' => null, + 'platformChargebackLogic' => null, 'recurringProcessingModel' => null, 'reference' => null, 'requiredShopperFields' => null, @@ -159,6 +161,7 @@ class PaymentLinkRequest implements ModelInterface, ArrayAccess, \JsonSerializab 'merchantAccount' => false, 'merchantOrderReference' => false, 'metadata' => false, + 'platformChargebackLogic' => false, 'recurringProcessingModel' => false, 'reference' => false, 'requiredShopperFields' => false, @@ -286,6 +289,7 @@ public function isNullableSetToNull(string $property): bool 'merchantAccount' => 'merchantAccount', 'merchantOrderReference' => 'merchantOrderReference', 'metadata' => 'metadata', + 'platformChargebackLogic' => 'platformChargebackLogic', 'recurringProcessingModel' => 'recurringProcessingModel', 'reference' => 'reference', 'requiredShopperFields' => 'requiredShopperFields', @@ -333,6 +337,7 @@ public function isNullableSetToNull(string $property): bool 'merchantAccount' => 'setMerchantAccount', 'merchantOrderReference' => 'setMerchantOrderReference', 'metadata' => 'setMetadata', + 'platformChargebackLogic' => 'setPlatformChargebackLogic', 'recurringProcessingModel' => 'setRecurringProcessingModel', 'reference' => 'setReference', 'requiredShopperFields' => 'setRequiredShopperFields', @@ -380,6 +385,7 @@ public function isNullableSetToNull(string $property): bool 'merchantAccount' => 'getMerchantAccount', 'merchantOrderReference' => 'getMerchantOrderReference', 'metadata' => 'getMetadata', + 'platformChargebackLogic' => 'getPlatformChargebackLogic', 'recurringProcessingModel' => 'getRecurringProcessingModel', 'reference' => 'getReference', 'requiredShopperFields' => 'getRequiredShopperFields', @@ -530,6 +536,7 @@ public function __construct(array $data = null) $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('merchantOrderReference', $data ?? [], null); $this->setIfExists('metadata', $data ?? [], null); + $this->setIfExists('platformChargebackLogic', $data ?? [], null); $this->setIfExists('recurringProcessingModel', $data ?? [], null); $this->setIfExists('reference', $data ?? [], null); $this->setIfExists('requiredShopperFields', $data ?? [], null); @@ -640,9 +647,6 @@ public function getAllowedPaymentMethods() */ public function setAllowedPaymentMethods($allowedPaymentMethods) { - if (is_null($allowedPaymentMethods)) { - throw new \InvalidArgumentException('non-nullable allowedPaymentMethods cannot be null'); - } $this->container['allowedPaymentMethods'] = $allowedPaymentMethods; return $this; @@ -667,9 +671,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -694,9 +695,6 @@ public function getApplicationInfo() */ public function setApplicationInfo($applicationInfo) { - if (is_null($applicationInfo)) { - throw new \InvalidArgumentException('non-nullable applicationInfo cannot be null'); - } $this->container['applicationInfo'] = $applicationInfo; return $this; @@ -721,9 +719,6 @@ public function getBillingAddress() */ public function setBillingAddress($billingAddress) { - if (is_null($billingAddress)) { - throw new \InvalidArgumentException('non-nullable billingAddress cannot be null'); - } $this->container['billingAddress'] = $billingAddress; return $this; @@ -748,9 +743,6 @@ public function getBlockedPaymentMethods() */ public function setBlockedPaymentMethods($blockedPaymentMethods) { - if (is_null($blockedPaymentMethods)) { - throw new \InvalidArgumentException('non-nullable blockedPaymentMethods cannot be null'); - } $this->container['blockedPaymentMethods'] = $blockedPaymentMethods; return $this; @@ -775,7 +767,6 @@ public function getCaptureDelayHours() */ public function setCaptureDelayHours($captureDelayHours) { - // Do nothing for nullable integers $this->container['captureDelayHours'] = $captureDelayHours; return $this; @@ -800,9 +791,6 @@ public function getCountryCode() */ public function setCountryCode($countryCode) { - if (is_null($countryCode)) { - throw new \InvalidArgumentException('non-nullable countryCode cannot be null'); - } $this->container['countryCode'] = $countryCode; return $this; @@ -827,9 +815,6 @@ public function getDateOfBirth() */ public function setDateOfBirth($dateOfBirth) { - if (is_null($dateOfBirth)) { - throw new \InvalidArgumentException('non-nullable dateOfBirth cannot be null'); - } $this->container['dateOfBirth'] = $dateOfBirth; return $this; @@ -854,9 +839,6 @@ public function getDeliverAt() */ public function setDeliverAt($deliverAt) { - if (is_null($deliverAt)) { - throw new \InvalidArgumentException('non-nullable deliverAt cannot be null'); - } $this->container['deliverAt'] = $deliverAt; return $this; @@ -881,9 +863,6 @@ public function getDeliveryAddress() */ public function setDeliveryAddress($deliveryAddress) { - if (is_null($deliveryAddress)) { - throw new \InvalidArgumentException('non-nullable deliveryAddress cannot be null'); - } $this->container['deliveryAddress'] = $deliveryAddress; return $this; @@ -908,9 +887,6 @@ public function getDescription() */ public function setDescription($description) { - if (is_null($description)) { - throw new \InvalidArgumentException('non-nullable description cannot be null'); - } $this->container['description'] = $description; return $this; @@ -935,9 +911,6 @@ public function getExpiresAt() */ public function setExpiresAt($expiresAt) { - if (is_null($expiresAt)) { - throw new \InvalidArgumentException('non-nullable expiresAt cannot be null'); - } $this->container['expiresAt'] = $expiresAt; return $this; @@ -962,9 +935,6 @@ public function getInstallmentOptions() */ public function setInstallmentOptions($installmentOptions) { - if (is_null($installmentOptions)) { - throw new \InvalidArgumentException('non-nullable installmentOptions cannot be null'); - } $this->container['installmentOptions'] = $installmentOptions; return $this; @@ -989,9 +959,6 @@ public function getLineItems() */ public function setLineItems($lineItems) { - if (is_null($lineItems)) { - throw new \InvalidArgumentException('non-nullable lineItems cannot be null'); - } $this->container['lineItems'] = $lineItems; return $this; @@ -1016,9 +983,6 @@ public function getManualCapture() */ public function setManualCapture($manualCapture) { - if (is_null($manualCapture)) { - throw new \InvalidArgumentException('non-nullable manualCapture cannot be null'); - } $this->container['manualCapture'] = $manualCapture; return $this; @@ -1043,9 +1007,6 @@ public function getMcc() */ public function setMcc($mcc) { - if (is_null($mcc)) { - throw new \InvalidArgumentException('non-nullable mcc cannot be null'); - } $this->container['mcc'] = $mcc; return $this; @@ -1070,9 +1031,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -1097,9 +1055,6 @@ public function getMerchantOrderReference() */ public function setMerchantOrderReference($merchantOrderReference) { - if (is_null($merchantOrderReference)) { - throw new \InvalidArgumentException('non-nullable merchantOrderReference cannot be null'); - } $this->container['merchantOrderReference'] = $merchantOrderReference; return $this; @@ -1124,14 +1079,35 @@ public function getMetadata() */ public function setMetadata($metadata) { - if (is_null($metadata)) { - throw new \InvalidArgumentException('non-nullable metadata cannot be null'); - } $this->container['metadata'] = $metadata; 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) + { + $this->container['platformChargebackLogic'] = $platformChargebackLogic; + + return $this; + } + /** * Gets recurringProcessingModel * @@ -1151,9 +1127,6 @@ public function getRecurringProcessingModel() */ 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( @@ -1188,9 +1161,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -1215,9 +1185,6 @@ public function getRequiredShopperFields() */ public function setRequiredShopperFields($requiredShopperFields) { - if (is_null($requiredShopperFields)) { - throw new \InvalidArgumentException('non-nullable requiredShopperFields cannot be null'); - } $allowedValues = $this->getRequiredShopperFieldsAllowableValues(); if (array_diff($requiredShopperFields, $allowedValues)) { throw new \InvalidArgumentException( @@ -1251,9 +1218,6 @@ public function getReturnUrl() */ public function setReturnUrl($returnUrl) { - if (is_null($returnUrl)) { - throw new \InvalidArgumentException('non-nullable returnUrl cannot be null'); - } $this->container['returnUrl'] = $returnUrl; return $this; @@ -1278,9 +1242,6 @@ public function getReusable() */ public function setReusable($reusable) { - if (is_null($reusable)) { - throw new \InvalidArgumentException('non-nullable reusable cannot be null'); - } $this->container['reusable'] = $reusable; return $this; @@ -1305,9 +1266,6 @@ public function getRiskData() */ public function setRiskData($riskData) { - if (is_null($riskData)) { - throw new \InvalidArgumentException('non-nullable riskData cannot be null'); - } $this->container['riskData'] = $riskData; return $this; @@ -1332,9 +1290,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -1359,9 +1314,6 @@ public function getShopperLocale() */ public function setShopperLocale($shopperLocale) { - if (is_null($shopperLocale)) { - throw new \InvalidArgumentException('non-nullable shopperLocale cannot be null'); - } $this->container['shopperLocale'] = $shopperLocale; return $this; @@ -1386,9 +1338,6 @@ public function getShopperName() */ public function setShopperName($shopperName) { - if (is_null($shopperName)) { - throw new \InvalidArgumentException('non-nullable shopperName cannot be null'); - } $this->container['shopperName'] = $shopperName; return $this; @@ -1413,9 +1362,6 @@ public function getShopperReference() */ public function setShopperReference($shopperReference) { - if (is_null($shopperReference)) { - throw new \InvalidArgumentException('non-nullable shopperReference cannot be null'); - } $this->container['shopperReference'] = $shopperReference; return $this; @@ -1440,9 +1386,6 @@ public function getShopperStatement() */ public function setShopperStatement($shopperStatement) { - if (is_null($shopperStatement)) { - throw new \InvalidArgumentException('non-nullable shopperStatement cannot be null'); - } $this->container['shopperStatement'] = $shopperStatement; return $this; @@ -1467,9 +1410,6 @@ public function getShowRemovePaymentMethodButton() */ public function setShowRemovePaymentMethodButton($showRemovePaymentMethodButton) { - if (is_null($showRemovePaymentMethodButton)) { - throw new \InvalidArgumentException('non-nullable showRemovePaymentMethodButton cannot be null'); - } $this->container['showRemovePaymentMethodButton'] = $showRemovePaymentMethodButton; return $this; @@ -1494,9 +1434,6 @@ public function getSocialSecurityNumber() */ public function setSocialSecurityNumber($socialSecurityNumber) { - if (is_null($socialSecurityNumber)) { - throw new \InvalidArgumentException('non-nullable socialSecurityNumber cannot be null'); - } $this->container['socialSecurityNumber'] = $socialSecurityNumber; return $this; @@ -1521,9 +1458,6 @@ public function getSplitCardFundingSources() */ public function setSplitCardFundingSources($splitCardFundingSources) { - if (is_null($splitCardFundingSources)) { - throw new \InvalidArgumentException('non-nullable splitCardFundingSources cannot be null'); - } $this->container['splitCardFundingSources'] = $splitCardFundingSources; return $this; @@ -1542,15 +1476,12 @@ public function getSplits() /** * 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/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * @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/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/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; @@ -1575,9 +1506,6 @@ public function getStore() */ public function setStore($store) { - if (is_null($store)) { - throw new \InvalidArgumentException('non-nullable store cannot be null'); - } $this->container['store'] = $store; return $this; @@ -1602,9 +1530,6 @@ public function getStorePaymentMethodMode() */ public function setStorePaymentMethodMode($storePaymentMethodMode) { - if (is_null($storePaymentMethodMode)) { - throw new \InvalidArgumentException('non-nullable storePaymentMethodMode cannot be null'); - } $allowedValues = $this->getStorePaymentMethodModeAllowableValues(); if (!in_array($storePaymentMethodMode, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1639,9 +1564,6 @@ public function getTelephoneNumber() */ public function setTelephoneNumber($telephoneNumber) { - if (is_null($telephoneNumber)) { - throw new \InvalidArgumentException('non-nullable telephoneNumber cannot be null'); - } $this->container['telephoneNumber'] = $telephoneNumber; return $this; @@ -1666,9 +1588,6 @@ public function getThemeId() */ public function setThemeId($themeId) { - if (is_null($themeId)) { - throw new \InvalidArgumentException('non-nullable themeId cannot be null'); - } $this->container['themeId'] = $themeId; return $this; @@ -1693,9 +1612,6 @@ public function getThreeDS2RequestData() */ public function setThreeDS2RequestData($threeDS2RequestData) { - if (is_null($threeDS2RequestData)) { - throw new \InvalidArgumentException('non-nullable threeDS2RequestData cannot be null'); - } $this->container['threeDS2RequestData'] = $threeDS2RequestData; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentLinkResponse.php b/src/Adyen/Model/Checkout/PaymentLinkResponse.php index 775f72ad6..18d2cb8b6 100644 --- a/src/Adyen/Model/Checkout/PaymentLinkResponse.php +++ b/src/Adyen/Model/Checkout/PaymentLinkResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -64,6 +64,7 @@ class PaymentLinkResponse implements ModelInterface, ArrayAccess, \JsonSerializa 'merchantAccount' => 'string', 'merchantOrderReference' => 'string', 'metadata' => 'array', + 'platformChargebackLogic' => '\Adyen\Model\Checkout\PlatformChargebackLogic', 'recurringProcessingModel' => 'string', 'reference' => 'string', 'requiredShopperFields' => 'string[]', @@ -117,6 +118,7 @@ class PaymentLinkResponse implements ModelInterface, ArrayAccess, \JsonSerializa 'merchantAccount' => null, 'merchantOrderReference' => null, 'metadata' => null, + 'platformChargebackLogic' => null, 'recurringProcessingModel' => null, 'reference' => null, 'requiredShopperFields' => null, @@ -168,6 +170,7 @@ class PaymentLinkResponse implements ModelInterface, ArrayAccess, \JsonSerializa 'merchantAccount' => false, 'merchantOrderReference' => false, 'metadata' => false, + 'platformChargebackLogic' => false, 'recurringProcessingModel' => false, 'reference' => false, 'requiredShopperFields' => false, @@ -299,6 +302,7 @@ public function isNullableSetToNull(string $property): bool 'merchantAccount' => 'merchantAccount', 'merchantOrderReference' => 'merchantOrderReference', 'metadata' => 'metadata', + 'platformChargebackLogic' => 'platformChargebackLogic', 'recurringProcessingModel' => 'recurringProcessingModel', 'reference' => 'reference', 'requiredShopperFields' => 'requiredShopperFields', @@ -350,6 +354,7 @@ public function isNullableSetToNull(string $property): bool 'merchantAccount' => 'setMerchantAccount', 'merchantOrderReference' => 'setMerchantOrderReference', 'metadata' => 'setMetadata', + 'platformChargebackLogic' => 'setPlatformChargebackLogic', 'recurringProcessingModel' => 'setRecurringProcessingModel', 'reference' => 'setReference', 'requiredShopperFields' => 'setRequiredShopperFields', @@ -401,6 +406,7 @@ public function isNullableSetToNull(string $property): bool 'merchantAccount' => 'getMerchantAccount', 'merchantOrderReference' => 'getMerchantOrderReference', 'metadata' => 'getMetadata', + 'platformChargebackLogic' => 'getPlatformChargebackLogic', 'recurringProcessingModel' => 'getRecurringProcessingModel', 'reference' => 'getReference', 'requiredShopperFields' => 'getRequiredShopperFields', @@ -575,6 +581,7 @@ public function __construct(array $data = null) $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('merchantOrderReference', $data ?? [], null); $this->setIfExists('metadata', $data ?? [], null); + $this->setIfExists('platformChargebackLogic', $data ?? [], null); $this->setIfExists('recurringProcessingModel', $data ?? [], null); $this->setIfExists('reference', $data ?? [], null); $this->setIfExists('requiredShopperFields', $data ?? [], null); @@ -706,9 +713,6 @@ public function getAllowedPaymentMethods() */ public function setAllowedPaymentMethods($allowedPaymentMethods) { - if (is_null($allowedPaymentMethods)) { - throw new \InvalidArgumentException('non-nullable allowedPaymentMethods cannot be null'); - } $this->container['allowedPaymentMethods'] = $allowedPaymentMethods; return $this; @@ -733,9 +737,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -760,9 +761,6 @@ public function getApplicationInfo() */ public function setApplicationInfo($applicationInfo) { - if (is_null($applicationInfo)) { - throw new \InvalidArgumentException('non-nullable applicationInfo cannot be null'); - } $this->container['applicationInfo'] = $applicationInfo; return $this; @@ -787,9 +785,6 @@ public function getBillingAddress() */ public function setBillingAddress($billingAddress) { - if (is_null($billingAddress)) { - throw new \InvalidArgumentException('non-nullable billingAddress cannot be null'); - } $this->container['billingAddress'] = $billingAddress; return $this; @@ -814,9 +809,6 @@ public function getBlockedPaymentMethods() */ public function setBlockedPaymentMethods($blockedPaymentMethods) { - if (is_null($blockedPaymentMethods)) { - throw new \InvalidArgumentException('non-nullable blockedPaymentMethods cannot be null'); - } $this->container['blockedPaymentMethods'] = $blockedPaymentMethods; return $this; @@ -841,7 +833,6 @@ public function getCaptureDelayHours() */ public function setCaptureDelayHours($captureDelayHours) { - // Do nothing for nullable integers $this->container['captureDelayHours'] = $captureDelayHours; return $this; @@ -866,9 +857,6 @@ public function getCountryCode() */ public function setCountryCode($countryCode) { - if (is_null($countryCode)) { - throw new \InvalidArgumentException('non-nullable countryCode cannot be null'); - } $this->container['countryCode'] = $countryCode; return $this; @@ -893,9 +881,6 @@ public function getDateOfBirth() */ public function setDateOfBirth($dateOfBirth) { - if (is_null($dateOfBirth)) { - throw new \InvalidArgumentException('non-nullable dateOfBirth cannot be null'); - } $this->container['dateOfBirth'] = $dateOfBirth; return $this; @@ -920,9 +905,6 @@ public function getDeliverAt() */ public function setDeliverAt($deliverAt) { - if (is_null($deliverAt)) { - throw new \InvalidArgumentException('non-nullable deliverAt cannot be null'); - } $this->container['deliverAt'] = $deliverAt; return $this; @@ -947,9 +929,6 @@ public function getDeliveryAddress() */ public function setDeliveryAddress($deliveryAddress) { - if (is_null($deliveryAddress)) { - throw new \InvalidArgumentException('non-nullable deliveryAddress cannot be null'); - } $this->container['deliveryAddress'] = $deliveryAddress; return $this; @@ -974,9 +953,6 @@ public function getDescription() */ public function setDescription($description) { - if (is_null($description)) { - throw new \InvalidArgumentException('non-nullable description cannot be null'); - } $this->container['description'] = $description; return $this; @@ -1001,9 +977,6 @@ public function getExpiresAt() */ public function setExpiresAt($expiresAt) { - if (is_null($expiresAt)) { - throw new \InvalidArgumentException('non-nullable expiresAt cannot be null'); - } $this->container['expiresAt'] = $expiresAt; return $this; @@ -1028,9 +1001,6 @@ public function getId() */ public function setId($id) { - if (is_null($id)) { - throw new \InvalidArgumentException('non-nullable id cannot be null'); - } $this->container['id'] = $id; return $this; @@ -1055,9 +1025,6 @@ public function getInstallmentOptions() */ public function setInstallmentOptions($installmentOptions) { - if (is_null($installmentOptions)) { - throw new \InvalidArgumentException('non-nullable installmentOptions cannot be null'); - } $this->container['installmentOptions'] = $installmentOptions; return $this; @@ -1082,9 +1049,6 @@ public function getLineItems() */ public function setLineItems($lineItems) { - if (is_null($lineItems)) { - throw new \InvalidArgumentException('non-nullable lineItems cannot be null'); - } $this->container['lineItems'] = $lineItems; return $this; @@ -1109,9 +1073,6 @@ public function getManualCapture() */ public function setManualCapture($manualCapture) { - if (is_null($manualCapture)) { - throw new \InvalidArgumentException('non-nullable manualCapture cannot be null'); - } $this->container['manualCapture'] = $manualCapture; return $this; @@ -1136,9 +1097,6 @@ public function getMcc() */ public function setMcc($mcc) { - if (is_null($mcc)) { - throw new \InvalidArgumentException('non-nullable mcc cannot be null'); - } $this->container['mcc'] = $mcc; return $this; @@ -1163,9 +1121,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -1190,9 +1145,6 @@ public function getMerchantOrderReference() */ public function setMerchantOrderReference($merchantOrderReference) { - if (is_null($merchantOrderReference)) { - throw new \InvalidArgumentException('non-nullable merchantOrderReference cannot be null'); - } $this->container['merchantOrderReference'] = $merchantOrderReference; return $this; @@ -1217,14 +1169,35 @@ public function getMetadata() */ public function setMetadata($metadata) { - if (is_null($metadata)) { - throw new \InvalidArgumentException('non-nullable metadata cannot be null'); - } $this->container['metadata'] = $metadata; 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) + { + $this->container['platformChargebackLogic'] = $platformChargebackLogic; + + return $this; + } + /** * Gets recurringProcessingModel * @@ -1244,9 +1217,6 @@ public function getRecurringProcessingModel() */ 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( @@ -1281,9 +1251,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -1308,9 +1275,6 @@ public function getRequiredShopperFields() */ public function setRequiredShopperFields($requiredShopperFields) { - if (is_null($requiredShopperFields)) { - throw new \InvalidArgumentException('non-nullable requiredShopperFields cannot be null'); - } $allowedValues = $this->getRequiredShopperFieldsAllowableValues(); if (array_diff($requiredShopperFields, $allowedValues)) { throw new \InvalidArgumentException( @@ -1344,9 +1308,6 @@ public function getReturnUrl() */ public function setReturnUrl($returnUrl) { - if (is_null($returnUrl)) { - throw new \InvalidArgumentException('non-nullable returnUrl cannot be null'); - } $this->container['returnUrl'] = $returnUrl; return $this; @@ -1371,9 +1332,6 @@ public function getReusable() */ public function setReusable($reusable) { - if (is_null($reusable)) { - throw new \InvalidArgumentException('non-nullable reusable cannot be null'); - } $this->container['reusable'] = $reusable; return $this; @@ -1398,9 +1356,6 @@ public function getRiskData() */ public function setRiskData($riskData) { - if (is_null($riskData)) { - throw new \InvalidArgumentException('non-nullable riskData cannot be null'); - } $this->container['riskData'] = $riskData; return $this; @@ -1425,9 +1380,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -1452,9 +1404,6 @@ public function getShopperLocale() */ public function setShopperLocale($shopperLocale) { - if (is_null($shopperLocale)) { - throw new \InvalidArgumentException('non-nullable shopperLocale cannot be null'); - } $this->container['shopperLocale'] = $shopperLocale; return $this; @@ -1479,9 +1428,6 @@ public function getShopperName() */ public function setShopperName($shopperName) { - if (is_null($shopperName)) { - throw new \InvalidArgumentException('non-nullable shopperName cannot be null'); - } $this->container['shopperName'] = $shopperName; return $this; @@ -1506,9 +1452,6 @@ public function getShopperReference() */ public function setShopperReference($shopperReference) { - if (is_null($shopperReference)) { - throw new \InvalidArgumentException('non-nullable shopperReference cannot be null'); - } $this->container['shopperReference'] = $shopperReference; return $this; @@ -1533,9 +1476,6 @@ public function getShopperStatement() */ public function setShopperStatement($shopperStatement) { - if (is_null($shopperStatement)) { - throw new \InvalidArgumentException('non-nullable shopperStatement cannot be null'); - } $this->container['shopperStatement'] = $shopperStatement; return $this; @@ -1560,9 +1500,6 @@ public function getShowRemovePaymentMethodButton() */ public function setShowRemovePaymentMethodButton($showRemovePaymentMethodButton) { - if (is_null($showRemovePaymentMethodButton)) { - throw new \InvalidArgumentException('non-nullable showRemovePaymentMethodButton cannot be null'); - } $this->container['showRemovePaymentMethodButton'] = $showRemovePaymentMethodButton; return $this; @@ -1587,9 +1524,6 @@ public function getSocialSecurityNumber() */ public function setSocialSecurityNumber($socialSecurityNumber) { - if (is_null($socialSecurityNumber)) { - throw new \InvalidArgumentException('non-nullable socialSecurityNumber cannot be null'); - } $this->container['socialSecurityNumber'] = $socialSecurityNumber; return $this; @@ -1614,9 +1548,6 @@ public function getSplitCardFundingSources() */ public function setSplitCardFundingSources($splitCardFundingSources) { - if (is_null($splitCardFundingSources)) { - throw new \InvalidArgumentException('non-nullable splitCardFundingSources cannot be null'); - } $this->container['splitCardFundingSources'] = $splitCardFundingSources; return $this; @@ -1635,15 +1566,12 @@ public function getSplits() /** * 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/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * @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/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/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; @@ -1668,9 +1596,6 @@ public function getStatus() */ public function setStatus($status) { - if (is_null($status)) { - throw new \InvalidArgumentException('non-nullable status cannot be null'); - } $allowedValues = $this->getStatusAllowableValues(); if (!in_array($status, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1705,9 +1630,6 @@ public function getStore() */ public function setStore($store) { - if (is_null($store)) { - throw new \InvalidArgumentException('non-nullable store cannot be null'); - } $this->container['store'] = $store; return $this; @@ -1732,9 +1654,6 @@ public function getStorePaymentMethodMode() */ public function setStorePaymentMethodMode($storePaymentMethodMode) { - if (is_null($storePaymentMethodMode)) { - throw new \InvalidArgumentException('non-nullable storePaymentMethodMode cannot be null'); - } $allowedValues = $this->getStorePaymentMethodModeAllowableValues(); if (!in_array($storePaymentMethodMode, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1769,9 +1688,6 @@ public function getTelephoneNumber() */ public function setTelephoneNumber($telephoneNumber) { - if (is_null($telephoneNumber)) { - throw new \InvalidArgumentException('non-nullable telephoneNumber cannot be null'); - } $this->container['telephoneNumber'] = $telephoneNumber; return $this; @@ -1796,9 +1712,6 @@ public function getThemeId() */ public function setThemeId($themeId) { - if (is_null($themeId)) { - throw new \InvalidArgumentException('non-nullable themeId cannot be null'); - } $this->container['themeId'] = $themeId; return $this; @@ -1823,9 +1736,6 @@ public function getThreeDS2RequestData() */ public function setThreeDS2RequestData($threeDS2RequestData) { - if (is_null($threeDS2RequestData)) { - throw new \InvalidArgumentException('non-nullable threeDS2RequestData cannot be null'); - } $this->container['threeDS2RequestData'] = $threeDS2RequestData; return $this; @@ -1850,9 +1760,6 @@ public function getUpdatedAt() */ public function setUpdatedAt($updatedAt) { - if (is_null($updatedAt)) { - throw new \InvalidArgumentException('non-nullable updatedAt cannot be null'); - } $this->container['updatedAt'] = $updatedAt; return $this; @@ -1877,9 +1784,6 @@ public function getUrl() */ public function setUrl($url) { - if (is_null($url)) { - throw new \InvalidArgumentException('non-nullable url cannot be null'); - } $this->container['url'] = $url; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentMethod.php b/src/Adyen/Model/Checkout/PaymentMethod.php index 98982731f..c84901b1f 100644 --- a/src/Adyen/Model/Checkout/PaymentMethod.php +++ b/src/Adyen/Model/Checkout/PaymentMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -381,9 +381,6 @@ public function getApps() */ public function setApps($apps) { - if (is_null($apps)) { - throw new \InvalidArgumentException('non-nullable apps cannot be null'); - } $this->container['apps'] = $apps; return $this; @@ -408,9 +405,6 @@ public function getBrand() */ public function setBrand($brand) { - if (is_null($brand)) { - throw new \InvalidArgumentException('non-nullable brand cannot be null'); - } $this->container['brand'] = $brand; return $this; @@ -435,9 +429,6 @@ public function getBrands() */ public function setBrands($brands) { - if (is_null($brands)) { - throw new \InvalidArgumentException('non-nullable brands cannot be null'); - } $this->container['brands'] = $brands; return $this; @@ -462,9 +453,6 @@ public function getConfiguration() */ public function setConfiguration($configuration) { - if (is_null($configuration)) { - throw new \InvalidArgumentException('non-nullable configuration cannot be null'); - } $this->container['configuration'] = $configuration; return $this; @@ -489,9 +477,6 @@ public function getFundingSource() */ public function setFundingSource($fundingSource) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); - } $allowedValues = $this->getFundingSourceAllowableValues(); if (!in_array($fundingSource, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -526,9 +511,6 @@ public function getGroup() */ public function setGroup($group) { - if (is_null($group)) { - throw new \InvalidArgumentException('non-nullable group cannot be null'); - } $this->container['group'] = $group; return $this; @@ -555,9 +537,6 @@ public function getInputDetails() */ public function setInputDetails($inputDetails) { - if (is_null($inputDetails)) { - throw new \InvalidArgumentException('non-nullable inputDetails cannot be null'); - } $this->container['inputDetails'] = $inputDetails; return $this; @@ -582,9 +561,6 @@ public function getIssuers() */ public function setIssuers($issuers) { - if (is_null($issuers)) { - throw new \InvalidArgumentException('non-nullable issuers cannot be null'); - } $this->container['issuers'] = $issuers; return $this; @@ -609,9 +585,6 @@ public function getName() */ public function setName($name) { - if (is_null($name)) { - throw new \InvalidArgumentException('non-nullable name cannot be null'); - } $this->container['name'] = $name; return $this; @@ -636,9 +609,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $this->container['type'] = $type; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentMethodGroup.php b/src/Adyen/Model/Checkout/PaymentMethodGroup.php index b37334519..ac4223333 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodGroup.php +++ b/src/Adyen/Model/Checkout/PaymentMethodGroup.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -309,9 +309,6 @@ public function getName() */ public function setName($name) { - if (is_null($name)) { - throw new \InvalidArgumentException('non-nullable name cannot be null'); - } $this->container['name'] = $name; return $this; @@ -336,9 +333,6 @@ public function getPaymentMethodData() */ public function setPaymentMethodData($paymentMethodData) { - if (is_null($paymentMethodData)) { - throw new \InvalidArgumentException('non-nullable paymentMethodData cannot be null'); - } $this->container['paymentMethodData'] = $paymentMethodData; return $this; @@ -363,9 +357,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $this->container['type'] = $type; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentMethodIssuer.php b/src/Adyen/Model/Checkout/PaymentMethodIssuer.php index 040b84f31..c8b1e425d 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodIssuer.php +++ b/src/Adyen/Model/Checkout/PaymentMethodIssuer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -315,9 +315,6 @@ public function getDisabled() */ public function setDisabled($disabled) { - if (is_null($disabled)) { - throw new \InvalidArgumentException('non-nullable disabled cannot be null'); - } $this->container['disabled'] = $disabled; return $this; @@ -342,9 +339,6 @@ public function getId() */ public function setId($id) { - if (is_null($id)) { - throw new \InvalidArgumentException('non-nullable id cannot be null'); - } $this->container['id'] = $id; return $this; @@ -369,9 +363,6 @@ public function getName() */ public function setName($name) { - if (is_null($name)) { - throw new \InvalidArgumentException('non-nullable name cannot be null'); - } $this->container['name'] = $name; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentMethodToStore.php b/src/Adyen/Model/Checkout/PaymentMethodToStore.php index f07893078..e37c49f94 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodToStore.php +++ b/src/Adyen/Model/Checkout/PaymentMethodToStore.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -365,9 +365,6 @@ public function getBrand() */ public function setBrand($brand) { - if (is_null($brand)) { - throw new \InvalidArgumentException('non-nullable brand cannot be null'); - } $this->container['brand'] = $brand; return $this; @@ -392,9 +389,6 @@ public function getCvc() */ public function setCvc($cvc) { - if (is_null($cvc)) { - throw new \InvalidArgumentException('non-nullable cvc cannot be null'); - } $this->container['cvc'] = $cvc; return $this; @@ -419,9 +413,6 @@ public function getEncryptedCardNumber() */ public function setEncryptedCardNumber($encryptedCardNumber) { - if (is_null($encryptedCardNumber)) { - throw new \InvalidArgumentException('non-nullable encryptedCardNumber cannot be null'); - } $this->container['encryptedCardNumber'] = $encryptedCardNumber; return $this; @@ -446,9 +437,6 @@ public function getEncryptedExpiryMonth() */ public function setEncryptedExpiryMonth($encryptedExpiryMonth) { - if (is_null($encryptedExpiryMonth)) { - throw new \InvalidArgumentException('non-nullable encryptedExpiryMonth cannot be null'); - } $this->container['encryptedExpiryMonth'] = $encryptedExpiryMonth; return $this; @@ -473,9 +461,6 @@ public function getEncryptedExpiryYear() */ public function setEncryptedExpiryYear($encryptedExpiryYear) { - if (is_null($encryptedExpiryYear)) { - throw new \InvalidArgumentException('non-nullable encryptedExpiryYear cannot be null'); - } $this->container['encryptedExpiryYear'] = $encryptedExpiryYear; return $this; @@ -500,9 +485,6 @@ public function getEncryptedSecurityCode() */ public function setEncryptedSecurityCode($encryptedSecurityCode) { - if (is_null($encryptedSecurityCode)) { - throw new \InvalidArgumentException('non-nullable encryptedSecurityCode cannot be null'); - } $this->container['encryptedSecurityCode'] = $encryptedSecurityCode; return $this; @@ -527,9 +509,6 @@ public function getExpiryMonth() */ public function setExpiryMonth($expiryMonth) { - if (is_null($expiryMonth)) { - throw new \InvalidArgumentException('non-nullable expiryMonth cannot be null'); - } $this->container['expiryMonth'] = $expiryMonth; return $this; @@ -554,9 +533,6 @@ public function getExpiryYear() */ public function setExpiryYear($expiryYear) { - if (is_null($expiryYear)) { - throw new \InvalidArgumentException('non-nullable expiryYear cannot be null'); - } $this->container['expiryYear'] = $expiryYear; return $this; @@ -581,9 +557,6 @@ public function getHolderName() */ public function setHolderName($holderName) { - if (is_null($holderName)) { - throw new \InvalidArgumentException('non-nullable holderName cannot be null'); - } $this->container['holderName'] = $holderName; return $this; @@ -608,9 +581,6 @@ public function getNumber() */ public function setNumber($number) { - if (is_null($number)) { - throw new \InvalidArgumentException('non-nullable number cannot be null'); - } $this->container['number'] = $number; return $this; @@ -635,9 +605,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $this->container['type'] = $type; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentMethodUPIApps.php b/src/Adyen/Model/Checkout/PaymentMethodUPIApps.php index 03dd0a77a..b191fcf29 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodUPIApps.php +++ b/src/Adyen/Model/Checkout/PaymentMethodUPIApps.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -308,9 +308,6 @@ public function getId() */ public function setId($id) { - if (is_null($id)) { - throw new \InvalidArgumentException('non-nullable id cannot be null'); - } $this->container['id'] = $id; return $this; @@ -335,9 +332,6 @@ public function getName() */ public function setName($name) { - if (is_null($name)) { - throw new \InvalidArgumentException('non-nullable name cannot be null'); - } $this->container['name'] = $name; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentMethodsRequest.php b/src/Adyen/Model/Checkout/PaymentMethodsRequest.php index 116a8c6e1..678f7f0d0 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodsRequest.php +++ b/src/Adyen/Model/Checkout/PaymentMethodsRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -432,9 +432,6 @@ public function getAdditionalData() */ public function setAdditionalData($additionalData) { - if (is_null($additionalData)) { - throw new \InvalidArgumentException('non-nullable additionalData cannot be null'); - } $this->container['additionalData'] = $additionalData; return $this; @@ -459,9 +456,6 @@ public function getAllowedPaymentMethods() */ public function setAllowedPaymentMethods($allowedPaymentMethods) { - if (is_null($allowedPaymentMethods)) { - throw new \InvalidArgumentException('non-nullable allowedPaymentMethods cannot be null'); - } $this->container['allowedPaymentMethods'] = $allowedPaymentMethods; return $this; @@ -486,9 +480,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -513,9 +504,6 @@ public function getBlockedPaymentMethods() */ public function setBlockedPaymentMethods($blockedPaymentMethods) { - if (is_null($blockedPaymentMethods)) { - throw new \InvalidArgumentException('non-nullable blockedPaymentMethods cannot be null'); - } $this->container['blockedPaymentMethods'] = $blockedPaymentMethods; return $this; @@ -540,9 +528,6 @@ public function getChannel() */ public function setChannel($channel) { - if (is_null($channel)) { - throw new \InvalidArgumentException('non-nullable channel cannot be null'); - } $allowedValues = $this->getChannelAllowableValues(); if (!in_array($channel, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -577,9 +562,6 @@ public function getCountryCode() */ public function setCountryCode($countryCode) { - if (is_null($countryCode)) { - throw new \InvalidArgumentException('non-nullable countryCode cannot be null'); - } $this->container['countryCode'] = $countryCode; return $this; @@ -604,9 +586,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -631,9 +610,6 @@ public function getOrder() */ public function setOrder($order) { - if (is_null($order)) { - throw new \InvalidArgumentException('non-nullable order cannot be null'); - } $this->container['order'] = $order; return $this; @@ -658,9 +634,6 @@ public function getShopperLocale() */ public function setShopperLocale($shopperLocale) { - if (is_null($shopperLocale)) { - throw new \InvalidArgumentException('non-nullable shopperLocale cannot be null'); - } $this->container['shopperLocale'] = $shopperLocale; return $this; @@ -685,9 +658,6 @@ public function getShopperReference() */ public function setShopperReference($shopperReference) { - if (is_null($shopperReference)) { - throw new \InvalidArgumentException('non-nullable shopperReference cannot be null'); - } $this->container['shopperReference'] = $shopperReference; return $this; @@ -712,9 +682,6 @@ public function getSplitCardFundingSources() */ public function setSplitCardFundingSources($splitCardFundingSources) { - if (is_null($splitCardFundingSources)) { - throw new \InvalidArgumentException('non-nullable splitCardFundingSources cannot be null'); - } $this->container['splitCardFundingSources'] = $splitCardFundingSources; return $this; @@ -739,9 +706,6 @@ public function getStore() */ public function setStore($store) { - if (is_null($store)) { - throw new \InvalidArgumentException('non-nullable store cannot be null'); - } $this->container['store'] = $store; return $this; @@ -766,9 +730,6 @@ public function getStoreFiltrationMode() */ public function setStoreFiltrationMode($storeFiltrationMode) { - if (is_null($storeFiltrationMode)) { - throw new \InvalidArgumentException('non-nullable storeFiltrationMode cannot be null'); - } $allowedValues = $this->getStoreFiltrationModeAllowableValues(); if (!in_array($storeFiltrationMode, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/PaymentMethodsResponse.php b/src/Adyen/Model/Checkout/PaymentMethodsResponse.php index 3b2c2c280..4c8e222b4 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodsResponse.php +++ b/src/Adyen/Model/Checkout/PaymentMethodsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -302,9 +302,6 @@ public function getPaymentMethods() */ public function setPaymentMethods($paymentMethods) { - if (is_null($paymentMethods)) { - throw new \InvalidArgumentException('non-nullable paymentMethods cannot be null'); - } $this->container['paymentMethods'] = $paymentMethods; return $this; @@ -329,9 +326,6 @@ public function getStoredPaymentMethods() */ public function setStoredPaymentMethods($storedPaymentMethods) { - if (is_null($storedPaymentMethods)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethods cannot be null'); - } $this->container['storedPaymentMethods'] = $storedPaymentMethods; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentRefundRequest.php b/src/Adyen/Model/Checkout/PaymentRefundRequest.php index 1b8a95985..bdee27ee3 100644 --- a/src/Adyen/Model/Checkout/PaymentRefundRequest.php +++ b/src/Adyen/Model/Checkout/PaymentRefundRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -379,9 +379,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -406,9 +403,6 @@ public function getApplicationInfo() */ public function setApplicationInfo($applicationInfo) { - if (is_null($applicationInfo)) { - throw new \InvalidArgumentException('non-nullable applicationInfo cannot be null'); - } $this->container['applicationInfo'] = $applicationInfo; return $this; @@ -433,9 +427,6 @@ public function getLineItems() */ public function setLineItems($lineItems) { - if (is_null($lineItems)) { - throw new \InvalidArgumentException('non-nullable lineItems cannot be null'); - } $this->container['lineItems'] = $lineItems; return $this; @@ -460,9 +451,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -531,9 +519,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -558,9 +543,6 @@ public function getSplits() */ public function setSplits($splits) { - if (is_null($splits)) { - throw new \InvalidArgumentException('non-nullable splits cannot be null'); - } $this->container['splits'] = $splits; return $this; @@ -585,9 +567,6 @@ public function getStore() */ public function setStore($store) { - if (is_null($store)) { - throw new \InvalidArgumentException('non-nullable store cannot be null'); - } $this->container['store'] = $store; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentRefundResponse.php b/src/Adyen/Model/Checkout/PaymentRefundResponse.php index cdb1f084c..62576b0d7 100644 --- a/src/Adyen/Model/Checkout/PaymentRefundResponse.php +++ b/src/Adyen/Model/Checkout/PaymentRefundResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -423,9 +423,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -450,9 +447,6 @@ public function getLineItems() */ public function setLineItems($lineItems) { - if (is_null($lineItems)) { - throw new \InvalidArgumentException('non-nullable lineItems cannot be null'); - } $this->container['lineItems'] = $lineItems; return $this; @@ -477,9 +471,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -548,9 +539,6 @@ public function getPaymentPspReference() */ public function setPaymentPspReference($paymentPspReference) { - if (is_null($paymentPspReference)) { - throw new \InvalidArgumentException('non-nullable paymentPspReference cannot be null'); - } $this->container['paymentPspReference'] = $paymentPspReference; return $this; @@ -575,9 +563,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; @@ -602,9 +587,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -629,9 +611,6 @@ public function getSplits() */ public function setSplits($splits) { - if (is_null($splits)) { - throw new \InvalidArgumentException('non-nullable splits cannot be null'); - } $this->container['splits'] = $splits; return $this; @@ -656,9 +635,6 @@ public function getStatus() */ public function setStatus($status) { - if (is_null($status)) { - throw new \InvalidArgumentException('non-nullable status cannot be null'); - } $allowedValues = $this->getStatusAllowableValues(); if (!in_array($status, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -693,9 +669,6 @@ public function getStore() */ public function setStore($store) { - if (is_null($store)) { - throw new \InvalidArgumentException('non-nullable store cannot be null'); - } $this->container['store'] = $store; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentRequest.php b/src/Adyen/Model/Checkout/PaymentRequest.php index d303dbd5c..ecfeed746 100644 --- a/src/Adyen/Model/Checkout/PaymentRequest.php +++ b/src/Adyen/Model/Checkout/PaymentRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -897,9 +897,6 @@ public function getAccountInfo() */ public function setAccountInfo($accountInfo) { - if (is_null($accountInfo)) { - throw new \InvalidArgumentException('non-nullable accountInfo cannot be null'); - } $this->container['accountInfo'] = $accountInfo; return $this; @@ -924,9 +921,6 @@ public function getAdditionalAmount() */ public function setAdditionalAmount($additionalAmount) { - if (is_null($additionalAmount)) { - throw new \InvalidArgumentException('non-nullable additionalAmount cannot be null'); - } $this->container['additionalAmount'] = $additionalAmount; return $this; @@ -951,9 +945,6 @@ public function getAdditionalData() */ public function setAdditionalData($additionalData) { - if (is_null($additionalData)) { - throw new \InvalidArgumentException('non-nullable additionalData cannot be null'); - } $this->container['additionalData'] = $additionalData; return $this; @@ -978,9 +969,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -1005,9 +993,6 @@ public function getApplicationInfo() */ public function setApplicationInfo($applicationInfo) { - if (is_null($applicationInfo)) { - throw new \InvalidArgumentException('non-nullable applicationInfo cannot be null'); - } $this->container['applicationInfo'] = $applicationInfo; return $this; @@ -1032,9 +1017,6 @@ public function getAuthenticationData() */ public function setAuthenticationData($authenticationData) { - if (is_null($authenticationData)) { - throw new \InvalidArgumentException('non-nullable authenticationData cannot be null'); - } $this->container['authenticationData'] = $authenticationData; return $this; @@ -1059,9 +1041,6 @@ public function getBillingAddress() */ public function setBillingAddress($billingAddress) { - if (is_null($billingAddress)) { - throw new \InvalidArgumentException('non-nullable billingAddress cannot be null'); - } $this->container['billingAddress'] = $billingAddress; return $this; @@ -1086,9 +1065,6 @@ public function getBrowserInfo() */ public function setBrowserInfo($browserInfo) { - if (is_null($browserInfo)) { - throw new \InvalidArgumentException('non-nullable browserInfo cannot be null'); - } $this->container['browserInfo'] = $browserInfo; return $this; @@ -1113,7 +1089,6 @@ public function getCaptureDelayHours() */ public function setCaptureDelayHours($captureDelayHours) { - // Do nothing for nullable integers $this->container['captureDelayHours'] = $captureDelayHours; return $this; @@ -1138,9 +1113,6 @@ public function getChannel() */ public function setChannel($channel) { - if (is_null($channel)) { - throw new \InvalidArgumentException('non-nullable channel cannot be null'); - } $allowedValues = $this->getChannelAllowableValues(); if (!in_array($channel, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1175,9 +1147,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -1202,9 +1171,6 @@ public function getCompany() */ public function setCompany($company) { - if (is_null($company)) { - throw new \InvalidArgumentException('non-nullable company cannot be null'); - } $this->container['company'] = $company; return $this; @@ -1231,9 +1197,6 @@ public function getConversionId() */ public function setConversionId($conversionId) { - if (is_null($conversionId)) { - throw new \InvalidArgumentException('non-nullable conversionId cannot be null'); - } $this->container['conversionId'] = $conversionId; return $this; @@ -1258,9 +1221,6 @@ public function getCountryCode() */ public function setCountryCode($countryCode) { - if (is_null($countryCode)) { - throw new \InvalidArgumentException('non-nullable countryCode cannot be null'); - } $this->container['countryCode'] = $countryCode; return $this; @@ -1285,9 +1245,6 @@ public function getDateOfBirth() */ public function setDateOfBirth($dateOfBirth) { - if (is_null($dateOfBirth)) { - throw new \InvalidArgumentException('non-nullable dateOfBirth cannot be null'); - } $this->container['dateOfBirth'] = $dateOfBirth; return $this; @@ -1312,9 +1269,6 @@ public function getDccQuote() */ public function setDccQuote($dccQuote) { - if (is_null($dccQuote)) { - throw new \InvalidArgumentException('non-nullable dccQuote cannot be null'); - } $this->container['dccQuote'] = $dccQuote; return $this; @@ -1339,9 +1293,6 @@ public function getDeliverAt() */ public function setDeliverAt($deliverAt) { - if (is_null($deliverAt)) { - throw new \InvalidArgumentException('non-nullable deliverAt cannot be null'); - } $this->container['deliverAt'] = $deliverAt; return $this; @@ -1366,9 +1317,6 @@ public function getDeliveryAddress() */ public function setDeliveryAddress($deliveryAddress) { - if (is_null($deliveryAddress)) { - throw new \InvalidArgumentException('non-nullable deliveryAddress cannot be null'); - } $this->container['deliveryAddress'] = $deliveryAddress; return $this; @@ -1395,9 +1343,6 @@ public function getDeliveryDate() */ public function setDeliveryDate($deliveryDate) { - if (is_null($deliveryDate)) { - throw new \InvalidArgumentException('non-nullable deliveryDate cannot be null'); - } $this->container['deliveryDate'] = $deliveryDate; return $this; @@ -1422,9 +1367,6 @@ public function getDeviceFingerprint() */ public function setDeviceFingerprint($deviceFingerprint) { - if (is_null($deviceFingerprint)) { - throw new \InvalidArgumentException('non-nullable deviceFingerprint cannot be null'); - } $this->container['deviceFingerprint'] = $deviceFingerprint; return $this; @@ -1449,9 +1391,6 @@ public function getEnableOneClick() */ public function setEnableOneClick($enableOneClick) { - if (is_null($enableOneClick)) { - throw new \InvalidArgumentException('non-nullable enableOneClick cannot be null'); - } $this->container['enableOneClick'] = $enableOneClick; return $this; @@ -1476,9 +1415,6 @@ public function getEnablePayOut() */ public function setEnablePayOut($enablePayOut) { - if (is_null($enablePayOut)) { - throw new \InvalidArgumentException('non-nullable enablePayOut cannot be null'); - } $this->container['enablePayOut'] = $enablePayOut; return $this; @@ -1503,9 +1439,6 @@ public function getEnableRecurring() */ public function setEnableRecurring($enableRecurring) { - if (is_null($enableRecurring)) { - throw new \InvalidArgumentException('non-nullable enableRecurring cannot be null'); - } $this->container['enableRecurring'] = $enableRecurring; return $this; @@ -1530,9 +1463,6 @@ public function getEntityType() */ public function setEntityType($entityType) { - 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( @@ -1567,7 +1497,6 @@ public function getFraudOffset() */ public function setFraudOffset($fraudOffset) { - // Do nothing for nullable integers $this->container['fraudOffset'] = $fraudOffset; return $this; @@ -1592,9 +1521,6 @@ public function getFundOrigin() */ public function setFundOrigin($fundOrigin) { - if (is_null($fundOrigin)) { - throw new \InvalidArgumentException('non-nullable fundOrigin cannot be null'); - } $this->container['fundOrigin'] = $fundOrigin; return $this; @@ -1619,9 +1545,6 @@ public function getFundRecipient() */ public function setFundRecipient($fundRecipient) { - if (is_null($fundRecipient)) { - throw new \InvalidArgumentException('non-nullable fundRecipient cannot be null'); - } $this->container['fundRecipient'] = $fundRecipient; return $this; @@ -1646,9 +1569,6 @@ public function getIndustryUsage() */ 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( @@ -1683,9 +1603,6 @@ public function getInstallments() */ public function setInstallments($installments) { - if (is_null($installments)) { - throw new \InvalidArgumentException('non-nullable installments cannot be null'); - } $this->container['installments'] = $installments; return $this; @@ -1710,9 +1627,6 @@ public function getLineItems() */ public function setLineItems($lineItems) { - if (is_null($lineItems)) { - throw new \InvalidArgumentException('non-nullable lineItems cannot be null'); - } $this->container['lineItems'] = $lineItems; return $this; @@ -1737,9 +1651,6 @@ public function getLocalizedShopperStatement() */ public function setLocalizedShopperStatement($localizedShopperStatement) { - if (is_null($localizedShopperStatement)) { - throw new \InvalidArgumentException('non-nullable localizedShopperStatement cannot be null'); - } $this->container['localizedShopperStatement'] = $localizedShopperStatement; return $this; @@ -1764,9 +1675,6 @@ public function getMandate() */ public function setMandate($mandate) { - if (is_null($mandate)) { - throw new \InvalidArgumentException('non-nullable mandate cannot be null'); - } $this->container['mandate'] = $mandate; return $this; @@ -1791,9 +1699,6 @@ public function getMcc() */ public function setMcc($mcc) { - if (is_null($mcc)) { - throw new \InvalidArgumentException('non-nullable mcc cannot be null'); - } $this->container['mcc'] = $mcc; return $this; @@ -1818,9 +1723,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -1845,9 +1747,6 @@ public function getMerchantOrderReference() */ public function setMerchantOrderReference($merchantOrderReference) { - if (is_null($merchantOrderReference)) { - throw new \InvalidArgumentException('non-nullable merchantOrderReference cannot be null'); - } $this->container['merchantOrderReference'] = $merchantOrderReference; return $this; @@ -1872,9 +1771,6 @@ public function getMerchantRiskIndicator() */ public function setMerchantRiskIndicator($merchantRiskIndicator) { - if (is_null($merchantRiskIndicator)) { - throw new \InvalidArgumentException('non-nullable merchantRiskIndicator cannot be null'); - } $this->container['merchantRiskIndicator'] = $merchantRiskIndicator; return $this; @@ -1899,9 +1795,6 @@ public function getMetadata() */ public function setMetadata($metadata) { - if (is_null($metadata)) { - throw new \InvalidArgumentException('non-nullable metadata cannot be null'); - } $this->container['metadata'] = $metadata; return $this; @@ -1926,9 +1819,6 @@ public function getMpiData() */ public function setMpiData($mpiData) { - if (is_null($mpiData)) { - throw new \InvalidArgumentException('non-nullable mpiData cannot be null'); - } $this->container['mpiData'] = $mpiData; return $this; @@ -1953,9 +1843,6 @@ public function getOrder() */ public function setOrder($order) { - if (is_null($order)) { - throw new \InvalidArgumentException('non-nullable order cannot be null'); - } $this->container['order'] = $order; return $this; @@ -1980,9 +1867,6 @@ public function getOrderReference() */ public function setOrderReference($orderReference) { - if (is_null($orderReference)) { - throw new \InvalidArgumentException('non-nullable orderReference cannot be null'); - } $this->container['orderReference'] = $orderReference; return $this; @@ -2007,9 +1891,6 @@ public function getOrigin() */ public function setOrigin($origin) { - if (is_null($origin)) { - throw new \InvalidArgumentException('non-nullable origin cannot be null'); - } $this->container['origin'] = $origin; return $this; @@ -2034,9 +1915,6 @@ public function getPaymentMethod() */ public function setPaymentMethod($paymentMethod) { - if (is_null($paymentMethod)) { - throw new \InvalidArgumentException('non-nullable paymentMethod cannot be null'); - } $this->container['paymentMethod'] = $paymentMethod; return $this; @@ -2061,9 +1939,6 @@ public function getPlatformChargebackLogic() */ public function setPlatformChargebackLogic($platformChargebackLogic) { - if (is_null($platformChargebackLogic)) { - throw new \InvalidArgumentException('non-nullable platformChargebackLogic cannot be null'); - } $this->container['platformChargebackLogic'] = $platformChargebackLogic; return $this; @@ -2088,9 +1963,6 @@ public function getRecurringExpiry() */ public function setRecurringExpiry($recurringExpiry) { - if (is_null($recurringExpiry)) { - throw new \InvalidArgumentException('non-nullable recurringExpiry cannot be null'); - } $this->container['recurringExpiry'] = $recurringExpiry; return $this; @@ -2115,9 +1987,6 @@ public function getRecurringFrequency() */ public function setRecurringFrequency($recurringFrequency) { - if (is_null($recurringFrequency)) { - throw new \InvalidArgumentException('non-nullable recurringFrequency cannot be null'); - } $this->container['recurringFrequency'] = $recurringFrequency; return $this; @@ -2142,9 +2011,6 @@ public function getRecurringProcessingModel() */ 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( @@ -2179,9 +2045,6 @@ public function getRedirectFromIssuerMethod() */ public function setRedirectFromIssuerMethod($redirectFromIssuerMethod) { - if (is_null($redirectFromIssuerMethod)) { - throw new \InvalidArgumentException('non-nullable redirectFromIssuerMethod cannot be null'); - } $this->container['redirectFromIssuerMethod'] = $redirectFromIssuerMethod; return $this; @@ -2206,9 +2069,6 @@ public function getRedirectToIssuerMethod() */ public function setRedirectToIssuerMethod($redirectToIssuerMethod) { - if (is_null($redirectToIssuerMethod)) { - throw new \InvalidArgumentException('non-nullable redirectToIssuerMethod cannot be null'); - } $this->container['redirectToIssuerMethod'] = $redirectToIssuerMethod; return $this; @@ -2233,9 +2093,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -2260,9 +2117,6 @@ public function getReturnUrl() */ public function setReturnUrl($returnUrl) { - if (is_null($returnUrl)) { - throw new \InvalidArgumentException('non-nullable returnUrl cannot be null'); - } $this->container['returnUrl'] = $returnUrl; return $this; @@ -2287,9 +2141,6 @@ public function getRiskData() */ public function setRiskData($riskData) { - if (is_null($riskData)) { - throw new \InvalidArgumentException('non-nullable riskData cannot be null'); - } $this->container['riskData'] = $riskData; return $this; @@ -2314,9 +2165,6 @@ public function getSessionValidity() */ public function setSessionValidity($sessionValidity) { - if (is_null($sessionValidity)) { - throw new \InvalidArgumentException('non-nullable sessionValidity cannot be null'); - } $this->container['sessionValidity'] = $sessionValidity; return $this; @@ -2341,9 +2189,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -2368,9 +2213,6 @@ public function getShopperIP() */ public function setShopperIP($shopperIP) { - if (is_null($shopperIP)) { - throw new \InvalidArgumentException('non-nullable shopperIP cannot be null'); - } $this->container['shopperIP'] = $shopperIP; return $this; @@ -2395,9 +2237,6 @@ public function getShopperInteraction() */ public function setShopperInteraction($shopperInteraction) { - if (is_null($shopperInteraction)) { - throw new \InvalidArgumentException('non-nullable shopperInteraction cannot be null'); - } $allowedValues = $this->getShopperInteractionAllowableValues(); if (!in_array($shopperInteraction, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -2432,9 +2271,6 @@ public function getShopperLocale() */ public function setShopperLocale($shopperLocale) { - if (is_null($shopperLocale)) { - throw new \InvalidArgumentException('non-nullable shopperLocale cannot be null'); - } $this->container['shopperLocale'] = $shopperLocale; return $this; @@ -2459,9 +2295,6 @@ public function getShopperName() */ public function setShopperName($shopperName) { - if (is_null($shopperName)) { - throw new \InvalidArgumentException('non-nullable shopperName cannot be null'); - } $this->container['shopperName'] = $shopperName; return $this; @@ -2486,9 +2319,6 @@ public function getShopperReference() */ public function setShopperReference($shopperReference) { - if (is_null($shopperReference)) { - throw new \InvalidArgumentException('non-nullable shopperReference cannot be null'); - } $this->container['shopperReference'] = $shopperReference; return $this; @@ -2513,9 +2343,6 @@ public function getShopperStatement() */ public function setShopperStatement($shopperStatement) { - if (is_null($shopperStatement)) { - throw new \InvalidArgumentException('non-nullable shopperStatement cannot be null'); - } $this->container['shopperStatement'] = $shopperStatement; return $this; @@ -2540,9 +2367,6 @@ public function getSocialSecurityNumber() */ public function setSocialSecurityNumber($socialSecurityNumber) { - if (is_null($socialSecurityNumber)) { - throw new \InvalidArgumentException('non-nullable socialSecurityNumber cannot be null'); - } $this->container['socialSecurityNumber'] = $socialSecurityNumber; return $this; @@ -2561,15 +2385,12 @@ public function getSplits() /** * 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/platforms/processing-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/processing-payments#providing-split-information), or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * @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/platforms/process-payments#providing-split-information), [Classic Platforms integration](https://docs.adyen.com/classic-platforms/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; @@ -2594,9 +2415,6 @@ public function getStore() */ public function setStore($store) { - if (is_null($store)) { - throw new \InvalidArgumentException('non-nullable store cannot be null'); - } $this->container['store'] = $store; return $this; @@ -2621,9 +2439,6 @@ public function getStorePaymentMethod() */ public function setStorePaymentMethod($storePaymentMethod) { - if (is_null($storePaymentMethod)) { - throw new \InvalidArgumentException('non-nullable storePaymentMethod cannot be null'); - } $this->container['storePaymentMethod'] = $storePaymentMethod; return $this; @@ -2648,9 +2463,6 @@ public function getTelephoneNumber() */ public function setTelephoneNumber($telephoneNumber) { - if (is_null($telephoneNumber)) { - throw new \InvalidArgumentException('non-nullable telephoneNumber cannot be null'); - } $this->container['telephoneNumber'] = $telephoneNumber; return $this; @@ -2675,9 +2487,6 @@ public function getThreeDS2RequestData() */ public function setThreeDS2RequestData($threeDS2RequestData) { - if (is_null($threeDS2RequestData)) { - throw new \InvalidArgumentException('non-nullable threeDS2RequestData cannot be null'); - } $this->container['threeDS2RequestData'] = $threeDS2RequestData; return $this; @@ -2704,9 +2513,6 @@ public function getThreeDSAuthenticationOnly() */ public function setThreeDSAuthenticationOnly($threeDSAuthenticationOnly) { - if (is_null($threeDSAuthenticationOnly)) { - throw new \InvalidArgumentException('non-nullable threeDSAuthenticationOnly cannot be null'); - } $this->container['threeDSAuthenticationOnly'] = $threeDSAuthenticationOnly; return $this; @@ -2731,9 +2537,6 @@ public function getTrustedShopper() */ public function setTrustedShopper($trustedShopper) { - if (is_null($trustedShopper)) { - throw new \InvalidArgumentException('non-nullable trustedShopper cannot be null'); - } $this->container['trustedShopper'] = $trustedShopper; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentResponse.php b/src/Adyen/Model/Checkout/PaymentResponse.php index fba8f58db..bb182d632 100644 --- a/src/Adyen/Model/Checkout/PaymentResponse.php +++ b/src/Adyen/Model/Checkout/PaymentResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -440,9 +440,6 @@ public function getAction() */ public function setAction($action) { - if (is_null($action)) { - throw new \InvalidArgumentException('non-nullable action cannot be null'); - } $this->container['action'] = $action; return $this; @@ -467,9 +464,6 @@ public function getAdditionalData() */ public function setAdditionalData($additionalData) { - if (is_null($additionalData)) { - throw new \InvalidArgumentException('non-nullable additionalData cannot be null'); - } $this->container['additionalData'] = $additionalData; return $this; @@ -494,9 +488,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -521,9 +512,6 @@ public function getDonationToken() */ public function setDonationToken($donationToken) { - if (is_null($donationToken)) { - throw new \InvalidArgumentException('non-nullable donationToken cannot be null'); - } $this->container['donationToken'] = $donationToken; return $this; @@ -548,9 +536,6 @@ public function getFraudResult() */ public function setFraudResult($fraudResult) { - if (is_null($fraudResult)) { - throw new \InvalidArgumentException('non-nullable fraudResult cannot be null'); - } $this->container['fraudResult'] = $fraudResult; return $this; @@ -575,9 +560,6 @@ public function getMerchantReference() */ public function setMerchantReference($merchantReference) { - if (is_null($merchantReference)) { - throw new \InvalidArgumentException('non-nullable merchantReference cannot be null'); - } $this->container['merchantReference'] = $merchantReference; return $this; @@ -602,9 +584,6 @@ public function getOrder() */ public function setOrder($order) { - if (is_null($order)) { - throw new \InvalidArgumentException('non-nullable order cannot be null'); - } $this->container['order'] = $order; return $this; @@ -629,9 +608,6 @@ public function getPaymentMethod() */ public function setPaymentMethod($paymentMethod) { - if (is_null($paymentMethod)) { - throw new \InvalidArgumentException('non-nullable paymentMethod cannot be null'); - } $this->container['paymentMethod'] = $paymentMethod; return $this; @@ -656,9 +632,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; @@ -683,9 +656,6 @@ public function getRefusalReason() */ public function setRefusalReason($refusalReason) { - if (is_null($refusalReason)) { - throw new \InvalidArgumentException('non-nullable refusalReason cannot be null'); - } $this->container['refusalReason'] = $refusalReason; return $this; @@ -710,9 +680,6 @@ public function getRefusalReasonCode() */ public function setRefusalReasonCode($refusalReasonCode) { - if (is_null($refusalReasonCode)) { - throw new \InvalidArgumentException('non-nullable refusalReasonCode cannot be null'); - } $this->container['refusalReasonCode'] = $refusalReasonCode; return $this; @@ -737,9 +704,6 @@ public function getResultCode() */ public function setResultCode($resultCode) { - if (is_null($resultCode)) { - throw new \InvalidArgumentException('non-nullable resultCode cannot be null'); - } $allowedValues = $this->getResultCodeAllowableValues(); if (!in_array($resultCode, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -774,9 +738,6 @@ public function getThreeDS2ResponseData() */ public function setThreeDS2ResponseData($threeDS2ResponseData) { - if (is_null($threeDS2ResponseData)) { - throw new \InvalidArgumentException('non-nullable threeDS2ResponseData cannot be null'); - } $this->container['threeDS2ResponseData'] = $threeDS2ResponseData; return $this; @@ -801,9 +762,6 @@ public function getThreeDS2Result() */ public function setThreeDS2Result($threeDS2Result) { - if (is_null($threeDS2Result)) { - throw new \InvalidArgumentException('non-nullable threeDS2Result cannot be null'); - } $this->container['threeDS2Result'] = $threeDS2Result; return $this; @@ -828,9 +786,6 @@ public function getThreeDSPaymentData() */ public function setThreeDSPaymentData($threeDSPaymentData) { - if (is_null($threeDSPaymentData)) { - throw new \InvalidArgumentException('non-nullable threeDSPaymentData cannot be null'); - } $this->container['threeDSPaymentData'] = $threeDSPaymentData; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentResponseAction.php b/src/Adyen/Model/Checkout/PaymentResponseAction.php index 430813bf3..f593f6b6e 100644 --- a/src/Adyen/Model/Checkout/PaymentResponseAction.php +++ b/src/Adyen/Model/Checkout/PaymentResponseAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -495,9 +495,6 @@ public function getPaymentData() */ public function setPaymentData($paymentData) { - if (is_null($paymentData)) { - throw new \InvalidArgumentException('non-nullable paymentData cannot be null'); - } $this->container['paymentData'] = $paymentData; return $this; @@ -522,9 +519,6 @@ public function getPaymentMethodType() */ public function setPaymentMethodType($paymentMethodType) { - if (is_null($paymentMethodType)) { - throw new \InvalidArgumentException('non-nullable paymentMethodType cannot be null'); - } $this->container['paymentMethodType'] = $paymentMethodType; return $this; @@ -549,9 +543,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $this->container['type'] = $type; return $this; @@ -576,9 +567,6 @@ public function getUrl() */ public function setUrl($url) { - if (is_null($url)) { - throw new \InvalidArgumentException('non-nullable url cannot be null'); - } $this->container['url'] = $url; return $this; @@ -603,9 +591,6 @@ public function getAuthorisationToken() */ public function setAuthorisationToken($authorisationToken) { - if (is_null($authorisationToken)) { - throw new \InvalidArgumentException('non-nullable authorisationToken cannot be null'); - } $this->container['authorisationToken'] = $authorisationToken; return $this; @@ -630,9 +615,6 @@ public function getToken() */ public function setToken($token) { - if (is_null($token)) { - throw new \InvalidArgumentException('non-nullable token cannot be null'); - } $this->container['token'] = $token; return $this; @@ -657,9 +639,6 @@ public function getData() */ public function setData($data) { - if (is_null($data)) { - throw new \InvalidArgumentException('non-nullable data cannot be null'); - } $this->container['data'] = $data; return $this; @@ -684,9 +663,6 @@ public function getMethod() */ public function setMethod($method) { - if (is_null($method)) { - throw new \InvalidArgumentException('non-nullable method cannot be null'); - } $this->container['method'] = $method; return $this; @@ -711,9 +687,6 @@ public function getNativeRedirectData() */ public function setNativeRedirectData($nativeRedirectData) { - if (is_null($nativeRedirectData)) { - throw new \InvalidArgumentException('non-nullable nativeRedirectData cannot be null'); - } $this->container['nativeRedirectData'] = $nativeRedirectData; return $this; @@ -738,9 +711,6 @@ public function getExpiresAt() */ public function setExpiresAt($expiresAt) { - if (is_null($expiresAt)) { - throw new \InvalidArgumentException('non-nullable expiresAt cannot be null'); - } $this->container['expiresAt'] = $expiresAt; return $this; @@ -765,9 +735,6 @@ public function getQrCodeData() */ public function setQrCodeData($qrCodeData) { - if (is_null($qrCodeData)) { - throw new \InvalidArgumentException('non-nullable qrCodeData cannot be null'); - } $this->container['qrCodeData'] = $qrCodeData; return $this; @@ -792,9 +759,6 @@ public function getSdkData() */ public function setSdkData($sdkData) { - if (is_null($sdkData)) { - throw new \InvalidArgumentException('non-nullable sdkData cannot be null'); - } $this->container['sdkData'] = $sdkData; return $this; @@ -819,9 +783,6 @@ public function getSubtype() */ public function setSubtype($subtype) { - if (is_null($subtype)) { - throw new \InvalidArgumentException('non-nullable subtype cannot be null'); - } $this->container['subtype'] = $subtype; return $this; @@ -846,9 +807,6 @@ public function getAlternativeReference() */ public function setAlternativeReference($alternativeReference) { - if (is_null($alternativeReference)) { - throw new \InvalidArgumentException('non-nullable alternativeReference cannot be null'); - } $this->container['alternativeReference'] = $alternativeReference; return $this; @@ -873,9 +831,6 @@ public function getCollectionInstitutionNumber() */ public function setCollectionInstitutionNumber($collectionInstitutionNumber) { - if (is_null($collectionInstitutionNumber)) { - throw new \InvalidArgumentException('non-nullable collectionInstitutionNumber cannot be null'); - } $this->container['collectionInstitutionNumber'] = $collectionInstitutionNumber; return $this; @@ -900,9 +855,6 @@ public function getDownloadUrl() */ public function setDownloadUrl($downloadUrl) { - if (is_null($downloadUrl)) { - throw new \InvalidArgumentException('non-nullable downloadUrl cannot be null'); - } $this->container['downloadUrl'] = $downloadUrl; return $this; @@ -927,9 +879,6 @@ public function getEntity() */ public function setEntity($entity) { - if (is_null($entity)) { - throw new \InvalidArgumentException('non-nullable entity cannot be null'); - } $this->container['entity'] = $entity; return $this; @@ -954,9 +903,6 @@ public function getInitialAmount() */ public function setInitialAmount($initialAmount) { - if (is_null($initialAmount)) { - throw new \InvalidArgumentException('non-nullable initialAmount cannot be null'); - } $this->container['initialAmount'] = $initialAmount; return $this; @@ -981,9 +927,6 @@ public function getInstructionsUrl() */ public function setInstructionsUrl($instructionsUrl) { - if (is_null($instructionsUrl)) { - throw new \InvalidArgumentException('non-nullable instructionsUrl cannot be null'); - } $this->container['instructionsUrl'] = $instructionsUrl; return $this; @@ -1008,9 +951,6 @@ public function getIssuer() */ public function setIssuer($issuer) { - if (is_null($issuer)) { - throw new \InvalidArgumentException('non-nullable issuer cannot be null'); - } $this->container['issuer'] = $issuer; return $this; @@ -1035,9 +975,6 @@ public function getMaskedTelephoneNumber() */ public function setMaskedTelephoneNumber($maskedTelephoneNumber) { - if (is_null($maskedTelephoneNumber)) { - throw new \InvalidArgumentException('non-nullable maskedTelephoneNumber cannot be null'); - } $this->container['maskedTelephoneNumber'] = $maskedTelephoneNumber; return $this; @@ -1062,9 +999,6 @@ public function getMerchantName() */ public function setMerchantName($merchantName) { - if (is_null($merchantName)) { - throw new \InvalidArgumentException('non-nullable merchantName cannot be null'); - } $this->container['merchantName'] = $merchantName; return $this; @@ -1089,9 +1023,6 @@ public function getMerchantReference() */ public function setMerchantReference($merchantReference) { - if (is_null($merchantReference)) { - throw new \InvalidArgumentException('non-nullable merchantReference cannot be null'); - } $this->container['merchantReference'] = $merchantReference; return $this; @@ -1110,15 +1041,12 @@ public function getPassCreationToken() /** * Sets passCreationToken * - * @param string|null $passCreationToken A base64 encoded signature of all properties + * @param string|null $passCreationToken A Base64-encoded token containing all properties of the voucher. For iOS, you can use this to pass a voucher to Apple Wallet. * * @return self */ public function setPassCreationToken($passCreationToken) { - if (is_null($passCreationToken)) { - throw new \InvalidArgumentException('non-nullable passCreationToken cannot be null'); - } $this->container['passCreationToken'] = $passCreationToken; return $this; @@ -1143,9 +1071,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -1170,9 +1095,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -1197,9 +1119,6 @@ public function getShopperName() */ public function setShopperName($shopperName) { - if (is_null($shopperName)) { - throw new \InvalidArgumentException('non-nullable shopperName cannot be null'); - } $this->container['shopperName'] = $shopperName; return $this; @@ -1224,9 +1143,6 @@ public function getSurcharge() */ public function setSurcharge($surcharge) { - if (is_null($surcharge)) { - throw new \InvalidArgumentException('non-nullable surcharge cannot be null'); - } $this->container['surcharge'] = $surcharge; return $this; @@ -1251,9 +1167,6 @@ public function getTotalAmount() */ public function setTotalAmount($totalAmount) { - if (is_null($totalAmount)) { - throw new \InvalidArgumentException('non-nullable totalAmount cannot be null'); - } $this->container['totalAmount'] = $totalAmount; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentReversalRequest.php b/src/Adyen/Model/Checkout/PaymentReversalRequest.php index fb40a106f..ed611ab35 100644 --- a/src/Adyen/Model/Checkout/PaymentReversalRequest.php +++ b/src/Adyen/Model/Checkout/PaymentReversalRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -312,9 +312,6 @@ public function getApplicationInfo() */ public function setApplicationInfo($applicationInfo) { - if (is_null($applicationInfo)) { - throw new \InvalidArgumentException('non-nullable applicationInfo cannot be null'); - } $this->container['applicationInfo'] = $applicationInfo; return $this; @@ -339,9 +336,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -366,9 +360,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentReversalResponse.php b/src/Adyen/Model/Checkout/PaymentReversalResponse.php index d87d48939..6dbc669e5 100644 --- a/src/Adyen/Model/Checkout/PaymentReversalResponse.php +++ b/src/Adyen/Model/Checkout/PaymentReversalResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -356,9 +356,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -383,9 +380,6 @@ public function getPaymentPspReference() */ public function setPaymentPspReference($paymentPspReference) { - if (is_null($paymentPspReference)) { - throw new \InvalidArgumentException('non-nullable paymentPspReference cannot be null'); - } $this->container['paymentPspReference'] = $paymentPspReference; return $this; @@ -410,9 +404,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; @@ -437,9 +428,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -464,9 +452,6 @@ public function getStatus() */ public function setStatus($status) { - if (is_null($status)) { - throw new \InvalidArgumentException('non-nullable status cannot be null'); - } $allowedValues = $this->getStatusAllowableValues(); if (!in_array($status, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/PaymentSetupRequest.php b/src/Adyen/Model/Checkout/PaymentSetupRequest.php index 7de0ae1dc..9ac9f4c82 100644 --- a/src/Adyen/Model/Checkout/PaymentSetupRequest.php +++ b/src/Adyen/Model/Checkout/PaymentSetupRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -777,9 +777,6 @@ public function getAdditionalAmount() */ public function setAdditionalAmount($additionalAmount) { - if (is_null($additionalAmount)) { - throw new \InvalidArgumentException('non-nullable additionalAmount cannot be null'); - } $this->container['additionalAmount'] = $additionalAmount; return $this; @@ -804,9 +801,6 @@ public function getAdditionalData() */ public function setAdditionalData($additionalData) { - if (is_null($additionalData)) { - throw new \InvalidArgumentException('non-nullable additionalData cannot be null'); - } $this->container['additionalData'] = $additionalData; return $this; @@ -831,9 +825,6 @@ public function getAllowedPaymentMethods() */ public function setAllowedPaymentMethods($allowedPaymentMethods) { - if (is_null($allowedPaymentMethods)) { - throw new \InvalidArgumentException('non-nullable allowedPaymentMethods cannot be null'); - } $this->container['allowedPaymentMethods'] = $allowedPaymentMethods; return $this; @@ -858,9 +849,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -885,9 +873,6 @@ public function getApplicationInfo() */ public function setApplicationInfo($applicationInfo) { - if (is_null($applicationInfo)) { - throw new \InvalidArgumentException('non-nullable applicationInfo cannot be null'); - } $this->container['applicationInfo'] = $applicationInfo; return $this; @@ -912,9 +897,6 @@ public function getBillingAddress() */ public function setBillingAddress($billingAddress) { - if (is_null($billingAddress)) { - throw new \InvalidArgumentException('non-nullable billingAddress cannot be null'); - } $this->container['billingAddress'] = $billingAddress; return $this; @@ -939,9 +921,6 @@ public function getBlockedPaymentMethods() */ public function setBlockedPaymentMethods($blockedPaymentMethods) { - if (is_null($blockedPaymentMethods)) { - throw new \InvalidArgumentException('non-nullable blockedPaymentMethods cannot be null'); - } $this->container['blockedPaymentMethods'] = $blockedPaymentMethods; return $this; @@ -966,7 +945,6 @@ public function getCaptureDelayHours() */ public function setCaptureDelayHours($captureDelayHours) { - // Do nothing for nullable integers $this->container['captureDelayHours'] = $captureDelayHours; return $this; @@ -991,9 +969,6 @@ public function getChannel() */ public function setChannel($channel) { - if (is_null($channel)) { - throw new \InvalidArgumentException('non-nullable channel cannot be null'); - } $allowedValues = $this->getChannelAllowableValues(); if (!in_array($channel, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1028,9 +1003,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -1055,9 +1027,6 @@ public function getCompany() */ public function setCompany($company) { - if (is_null($company)) { - throw new \InvalidArgumentException('non-nullable company cannot be null'); - } $this->container['company'] = $company; return $this; @@ -1082,9 +1051,6 @@ public function getConfiguration() */ public function setConfiguration($configuration) { - if (is_null($configuration)) { - throw new \InvalidArgumentException('non-nullable configuration cannot be null'); - } $this->container['configuration'] = $configuration; return $this; @@ -1111,9 +1077,6 @@ public function getConversionId() */ public function setConversionId($conversionId) { - if (is_null($conversionId)) { - throw new \InvalidArgumentException('non-nullable conversionId cannot be null'); - } $this->container['conversionId'] = $conversionId; return $this; @@ -1138,9 +1101,6 @@ public function getCountryCode() */ public function setCountryCode($countryCode) { - if (is_null($countryCode)) { - throw new \InvalidArgumentException('non-nullable countryCode cannot be null'); - } $this->container['countryCode'] = $countryCode; return $this; @@ -1165,9 +1125,6 @@ public function getDateOfBirth() */ public function setDateOfBirth($dateOfBirth) { - if (is_null($dateOfBirth)) { - throw new \InvalidArgumentException('non-nullable dateOfBirth cannot be null'); - } $this->container['dateOfBirth'] = $dateOfBirth; return $this; @@ -1192,9 +1149,6 @@ public function getDccQuote() */ public function setDccQuote($dccQuote) { - if (is_null($dccQuote)) { - throw new \InvalidArgumentException('non-nullable dccQuote cannot be null'); - } $this->container['dccQuote'] = $dccQuote; return $this; @@ -1219,9 +1173,6 @@ public function getDeliveryAddress() */ public function setDeliveryAddress($deliveryAddress) { - if (is_null($deliveryAddress)) { - throw new \InvalidArgumentException('non-nullable deliveryAddress cannot be null'); - } $this->container['deliveryAddress'] = $deliveryAddress; return $this; @@ -1246,9 +1197,6 @@ public function getDeliveryDate() */ public function setDeliveryDate($deliveryDate) { - if (is_null($deliveryDate)) { - throw new \InvalidArgumentException('non-nullable deliveryDate cannot be null'); - } $this->container['deliveryDate'] = $deliveryDate; return $this; @@ -1273,9 +1221,6 @@ public function getEnableOneClick() */ public function setEnableOneClick($enableOneClick) { - if (is_null($enableOneClick)) { - throw new \InvalidArgumentException('non-nullable enableOneClick cannot be null'); - } $this->container['enableOneClick'] = $enableOneClick; return $this; @@ -1300,9 +1245,6 @@ public function getEnablePayOut() */ public function setEnablePayOut($enablePayOut) { - if (is_null($enablePayOut)) { - throw new \InvalidArgumentException('non-nullable enablePayOut cannot be null'); - } $this->container['enablePayOut'] = $enablePayOut; return $this; @@ -1327,9 +1269,6 @@ public function getEnableRecurring() */ public function setEnableRecurring($enableRecurring) { - if (is_null($enableRecurring)) { - throw new \InvalidArgumentException('non-nullable enableRecurring cannot be null'); - } $this->container['enableRecurring'] = $enableRecurring; return $this; @@ -1354,9 +1293,6 @@ public function getEntityType() */ public function setEntityType($entityType) { - 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( @@ -1391,7 +1327,6 @@ public function getFraudOffset() */ public function setFraudOffset($fraudOffset) { - // Do nothing for nullable integers $this->container['fraudOffset'] = $fraudOffset; return $this; @@ -1416,9 +1351,6 @@ public function getInstallments() */ public function setInstallments($installments) { - if (is_null($installments)) { - throw new \InvalidArgumentException('non-nullable installments cannot be null'); - } $this->container['installments'] = $installments; return $this; @@ -1443,9 +1375,6 @@ public function getLineItems() */ public function setLineItems($lineItems) { - if (is_null($lineItems)) { - throw new \InvalidArgumentException('non-nullable lineItems cannot be null'); - } $this->container['lineItems'] = $lineItems; return $this; @@ -1470,9 +1399,6 @@ public function getLocalizedShopperStatement() */ public function setLocalizedShopperStatement($localizedShopperStatement) { - if (is_null($localizedShopperStatement)) { - throw new \InvalidArgumentException('non-nullable localizedShopperStatement cannot be null'); - } $this->container['localizedShopperStatement'] = $localizedShopperStatement; return $this; @@ -1497,9 +1423,6 @@ public function getMandate() */ public function setMandate($mandate) { - if (is_null($mandate)) { - throw new \InvalidArgumentException('non-nullable mandate cannot be null'); - } $this->container['mandate'] = $mandate; return $this; @@ -1524,9 +1447,6 @@ public function getMcc() */ public function setMcc($mcc) { - if (is_null($mcc)) { - throw new \InvalidArgumentException('non-nullable mcc cannot be null'); - } $this->container['mcc'] = $mcc; return $this; @@ -1551,9 +1471,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -1578,9 +1495,6 @@ public function getMerchantOrderReference() */ public function setMerchantOrderReference($merchantOrderReference) { - if (is_null($merchantOrderReference)) { - throw new \InvalidArgumentException('non-nullable merchantOrderReference cannot be null'); - } $this->container['merchantOrderReference'] = $merchantOrderReference; return $this; @@ -1605,9 +1519,6 @@ public function getMetadata() */ public function setMetadata($metadata) { - if (is_null($metadata)) { - throw new \InvalidArgumentException('non-nullable metadata cannot be null'); - } $this->container['metadata'] = $metadata; return $this; @@ -1632,9 +1543,6 @@ public function getOrderReference() */ public function setOrderReference($orderReference) { - if (is_null($orderReference)) { - throw new \InvalidArgumentException('non-nullable orderReference cannot be null'); - } $this->container['orderReference'] = $orderReference; return $this; @@ -1659,9 +1567,6 @@ public function getOrigin() */ public function setOrigin($origin) { - if (is_null($origin)) { - throw new \InvalidArgumentException('non-nullable origin cannot be null'); - } $this->container['origin'] = $origin; return $this; @@ -1686,9 +1591,6 @@ public function getPlatformChargebackLogic() */ public function setPlatformChargebackLogic($platformChargebackLogic) { - if (is_null($platformChargebackLogic)) { - throw new \InvalidArgumentException('non-nullable platformChargebackLogic cannot be null'); - } $this->container['platformChargebackLogic'] = $platformChargebackLogic; return $this; @@ -1713,9 +1615,6 @@ public function getRecurringExpiry() */ public function setRecurringExpiry($recurringExpiry) { - if (is_null($recurringExpiry)) { - throw new \InvalidArgumentException('non-nullable recurringExpiry cannot be null'); - } $this->container['recurringExpiry'] = $recurringExpiry; return $this; @@ -1740,9 +1639,6 @@ public function getRecurringFrequency() */ public function setRecurringFrequency($recurringFrequency) { - if (is_null($recurringFrequency)) { - throw new \InvalidArgumentException('non-nullable recurringFrequency cannot be null'); - } $this->container['recurringFrequency'] = $recurringFrequency; return $this; @@ -1767,9 +1663,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -1794,9 +1687,6 @@ public function getReturnUrl() */ public function setReturnUrl($returnUrl) { - if (is_null($returnUrl)) { - throw new \InvalidArgumentException('non-nullable returnUrl cannot be null'); - } $this->container['returnUrl'] = $returnUrl; return $this; @@ -1821,9 +1711,6 @@ public function getRiskData() */ public function setRiskData($riskData) { - if (is_null($riskData)) { - throw new \InvalidArgumentException('non-nullable riskData cannot be null'); - } $this->container['riskData'] = $riskData; return $this; @@ -1848,9 +1735,6 @@ public function getSdkVersion() */ public function setSdkVersion($sdkVersion) { - if (is_null($sdkVersion)) { - throw new \InvalidArgumentException('non-nullable sdkVersion cannot be null'); - } $this->container['sdkVersion'] = $sdkVersion; return $this; @@ -1875,9 +1759,6 @@ public function getSecureRemoteCommerceCheckoutData() */ public function setSecureRemoteCommerceCheckoutData($secureRemoteCommerceCheckoutData) { - if (is_null($secureRemoteCommerceCheckoutData)) { - throw new \InvalidArgumentException('non-nullable secureRemoteCommerceCheckoutData cannot be null'); - } $this->container['secureRemoteCommerceCheckoutData'] = $secureRemoteCommerceCheckoutData; return $this; @@ -1902,9 +1783,6 @@ public function getSessionValidity() */ public function setSessionValidity($sessionValidity) { - if (is_null($sessionValidity)) { - throw new \InvalidArgumentException('non-nullable sessionValidity cannot be null'); - } $this->container['sessionValidity'] = $sessionValidity; return $this; @@ -1929,9 +1807,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -1956,9 +1831,6 @@ public function getShopperIP() */ public function setShopperIP($shopperIP) { - if (is_null($shopperIP)) { - throw new \InvalidArgumentException('non-nullable shopperIP cannot be null'); - } $this->container['shopperIP'] = $shopperIP; return $this; @@ -1983,9 +1855,6 @@ public function getShopperInteraction() */ public function setShopperInteraction($shopperInteraction) { - if (is_null($shopperInteraction)) { - throw new \InvalidArgumentException('non-nullable shopperInteraction cannot be null'); - } $allowedValues = $this->getShopperInteractionAllowableValues(); if (!in_array($shopperInteraction, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -2020,9 +1889,6 @@ public function getShopperLocale() */ public function setShopperLocale($shopperLocale) { - if (is_null($shopperLocale)) { - throw new \InvalidArgumentException('non-nullable shopperLocale cannot be null'); - } $this->container['shopperLocale'] = $shopperLocale; return $this; @@ -2047,9 +1913,6 @@ public function getShopperName() */ public function setShopperName($shopperName) { - if (is_null($shopperName)) { - throw new \InvalidArgumentException('non-nullable shopperName cannot be null'); - } $this->container['shopperName'] = $shopperName; return $this; @@ -2074,9 +1937,6 @@ public function getShopperReference() */ public function setShopperReference($shopperReference) { - if (is_null($shopperReference)) { - throw new \InvalidArgumentException('non-nullable shopperReference cannot be null'); - } $this->container['shopperReference'] = $shopperReference; return $this; @@ -2101,9 +1961,6 @@ public function getShopperStatement() */ public function setShopperStatement($shopperStatement) { - if (is_null($shopperStatement)) { - throw new \InvalidArgumentException('non-nullable shopperStatement cannot be null'); - } $this->container['shopperStatement'] = $shopperStatement; return $this; @@ -2128,9 +1985,6 @@ public function getSocialSecurityNumber() */ public function setSocialSecurityNumber($socialSecurityNumber) { - if (is_null($socialSecurityNumber)) { - throw new \InvalidArgumentException('non-nullable socialSecurityNumber cannot be null'); - } $this->container['socialSecurityNumber'] = $socialSecurityNumber; return $this; @@ -2155,9 +2009,6 @@ public function getSplits() */ public function setSplits($splits) { - if (is_null($splits)) { - throw new \InvalidArgumentException('non-nullable splits cannot be null'); - } $this->container['splits'] = $splits; return $this; @@ -2182,9 +2033,6 @@ public function getStore() */ public function setStore($store) { - if (is_null($store)) { - throw new \InvalidArgumentException('non-nullable store cannot be null'); - } $this->container['store'] = $store; return $this; @@ -2209,9 +2057,6 @@ public function getStorePaymentMethod() */ public function setStorePaymentMethod($storePaymentMethod) { - if (is_null($storePaymentMethod)) { - throw new \InvalidArgumentException('non-nullable storePaymentMethod cannot be null'); - } $this->container['storePaymentMethod'] = $storePaymentMethod; return $this; @@ -2236,9 +2081,6 @@ public function getTelephoneNumber() */ public function setTelephoneNumber($telephoneNumber) { - if (is_null($telephoneNumber)) { - throw new \InvalidArgumentException('non-nullable telephoneNumber cannot be null'); - } $this->container['telephoneNumber'] = $telephoneNumber; return $this; @@ -2265,9 +2107,6 @@ public function getThreeDSAuthenticationOnly() */ public function setThreeDSAuthenticationOnly($threeDSAuthenticationOnly) { - if (is_null($threeDSAuthenticationOnly)) { - throw new \InvalidArgumentException('non-nullable threeDSAuthenticationOnly cannot be null'); - } $this->container['threeDSAuthenticationOnly'] = $threeDSAuthenticationOnly; return $this; @@ -2292,9 +2131,6 @@ public function getToken() */ public function setToken($token) { - if (is_null($token)) { - throw new \InvalidArgumentException('non-nullable token cannot be null'); - } $this->container['token'] = $token; return $this; @@ -2319,9 +2155,6 @@ public function getTrustedShopper() */ public function setTrustedShopper($trustedShopper) { - if (is_null($trustedShopper)) { - throw new \InvalidArgumentException('non-nullable trustedShopper cannot be null'); - } $this->container['trustedShopper'] = $trustedShopper; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentSetupResponse.php b/src/Adyen/Model/Checkout/PaymentSetupResponse.php index bc7a5939a..ad100d783 100644 --- a/src/Adyen/Model/Checkout/PaymentSetupResponse.php +++ b/src/Adyen/Model/Checkout/PaymentSetupResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -302,9 +302,6 @@ public function getPaymentSession() */ public function setPaymentSession($paymentSession) { - if (is_null($paymentSession)) { - throw new \InvalidArgumentException('non-nullable paymentSession cannot be null'); - } $this->container['paymentSession'] = $paymentSession; return $this; @@ -331,9 +328,6 @@ public function getRecurringDetails() */ public function setRecurringDetails($recurringDetails) { - if (is_null($recurringDetails)) { - throw new \InvalidArgumentException('non-nullable recurringDetails cannot be null'); - } $this->container['recurringDetails'] = $recurringDetails; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentVerificationRequest.php b/src/Adyen/Model/Checkout/PaymentVerificationRequest.php index c8f4a44bf..b7e6567e4 100644 --- a/src/Adyen/Model/Checkout/PaymentVerificationRequest.php +++ b/src/Adyen/Model/Checkout/PaymentVerificationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -298,9 +298,6 @@ public function getPayload() */ public function setPayload($payload) { - if (is_null($payload)) { - throw new \InvalidArgumentException('non-nullable payload cannot be null'); - } $this->container['payload'] = $payload; return $this; diff --git a/src/Adyen/Model/Checkout/PaymentVerificationResponse.php b/src/Adyen/Model/Checkout/PaymentVerificationResponse.php index 6e39d647e..64b776442 100644 --- a/src/Adyen/Model/Checkout/PaymentVerificationResponse.php +++ b/src/Adyen/Model/Checkout/PaymentVerificationResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -411,9 +411,6 @@ public function getAdditionalData() */ public function setAdditionalData($additionalData) { - if (is_null($additionalData)) { - throw new \InvalidArgumentException('non-nullable additionalData cannot be null'); - } $this->container['additionalData'] = $additionalData; return $this; @@ -438,9 +435,6 @@ public function getFraudResult() */ public function setFraudResult($fraudResult) { - if (is_null($fraudResult)) { - throw new \InvalidArgumentException('non-nullable fraudResult cannot be null'); - } $this->container['fraudResult'] = $fraudResult; return $this; @@ -465,9 +459,6 @@ public function getMerchantReference() */ public function setMerchantReference($merchantReference) { - if (is_null($merchantReference)) { - throw new \InvalidArgumentException('non-nullable merchantReference cannot be null'); - } $this->container['merchantReference'] = $merchantReference; return $this; @@ -492,9 +483,6 @@ public function getOrder() */ public function setOrder($order) { - if (is_null($order)) { - throw new \InvalidArgumentException('non-nullable order cannot be null'); - } $this->container['order'] = $order; return $this; @@ -519,9 +507,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; @@ -546,9 +531,6 @@ public function getRefusalReason() */ public function setRefusalReason($refusalReason) { - if (is_null($refusalReason)) { - throw new \InvalidArgumentException('non-nullable refusalReason cannot be null'); - } $this->container['refusalReason'] = $refusalReason; return $this; @@ -573,9 +555,6 @@ public function getRefusalReasonCode() */ public function setRefusalReasonCode($refusalReasonCode) { - if (is_null($refusalReasonCode)) { - throw new \InvalidArgumentException('non-nullable refusalReasonCode cannot be null'); - } $this->container['refusalReasonCode'] = $refusalReasonCode; return $this; @@ -600,9 +579,6 @@ public function getResultCode() */ public function setResultCode($resultCode) { - if (is_null($resultCode)) { - throw new \InvalidArgumentException('non-nullable resultCode cannot be null'); - } $allowedValues = $this->getResultCodeAllowableValues(); if (!in_array($resultCode, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -637,9 +613,6 @@ public function getServiceError() */ public function setServiceError($serviceError) { - if (is_null($serviceError)) { - throw new \InvalidArgumentException('non-nullable serviceError cannot be null'); - } $this->container['serviceError'] = $serviceError; return $this; @@ -664,9 +637,6 @@ public function getShopperLocale() */ public function setShopperLocale($shopperLocale) { - if (is_null($shopperLocale)) { - throw new \InvalidArgumentException('non-nullable shopperLocale cannot be null'); - } $this->container['shopperLocale'] = $shopperLocale; return $this; diff --git a/src/Adyen/Model/Checkout/PaypalUpdateOrderRequest.php b/src/Adyen/Model/Checkout/PaypalUpdateOrderRequest.php index 3d8117772..cb27151f4 100644 --- a/src/Adyen/Model/Checkout/PaypalUpdateOrderRequest.php +++ b/src/Adyen/Model/Checkout/PaypalUpdateOrderRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -330,9 +330,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -357,9 +354,6 @@ public function getDeliveryMethods() */ public function setDeliveryMethods($deliveryMethods) { - if (is_null($deliveryMethods)) { - throw new \InvalidArgumentException('non-nullable deliveryMethods cannot be null'); - } $this->container['deliveryMethods'] = $deliveryMethods; return $this; @@ -384,9 +378,6 @@ public function getPaymentData() */ public function setPaymentData($paymentData) { - if (is_null($paymentData)) { - throw new \InvalidArgumentException('non-nullable paymentData cannot be null'); - } $this->container['paymentData'] = $paymentData; return $this; @@ -411,9 +402,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; @@ -438,9 +426,6 @@ public function getSessionId() */ public function setSessionId($sessionId) { - if (is_null($sessionId)) { - throw new \InvalidArgumentException('non-nullable sessionId cannot be null'); - } $this->container['sessionId'] = $sessionId; return $this; @@ -465,9 +450,6 @@ public function getTaxTotal() */ public function setTaxTotal($taxTotal) { - if (is_null($taxTotal)) { - throw new \InvalidArgumentException('non-nullable taxTotal cannot be null'); - } $this->container['taxTotal'] = $taxTotal; return $this; diff --git a/src/Adyen/Model/Checkout/PaypalUpdateOrderResponse.php b/src/Adyen/Model/Checkout/PaypalUpdateOrderResponse.php index 0d78cf8d1..a5d128fef 100644 --- a/src/Adyen/Model/Checkout/PaypalUpdateOrderResponse.php +++ b/src/Adyen/Model/Checkout/PaypalUpdateOrderResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -331,9 +331,6 @@ public function getPaymentData() */ public function setPaymentData($paymentData) { - if (is_null($paymentData)) { - throw new \InvalidArgumentException('non-nullable paymentData cannot be null'); - } $this->container['paymentData'] = $paymentData; return $this; @@ -358,9 +355,6 @@ public function getStatus() */ public function setStatus($status) { - if (is_null($status)) { - throw new \InvalidArgumentException('non-nullable status cannot be null'); - } $allowedValues = $this->getStatusAllowableValues(); if (!in_array($status, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/Phone.php b/src/Adyen/Model/Checkout/Phone.php index 46e953f04..0986aa2d7 100644 --- a/src/Adyen/Model/Checkout/Phone.php +++ b/src/Adyen/Model/Checkout/Phone.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -302,9 +302,6 @@ public function getCc() */ public function setCc($cc) { - if (is_null($cc)) { - throw new \InvalidArgumentException('non-nullable cc cannot be null'); - } $this->container['cc'] = $cc; return $this; @@ -329,9 +326,6 @@ public function getSubscriber() */ public function setSubscriber($subscriber) { - if (is_null($subscriber)) { - throw new \InvalidArgumentException('non-nullable subscriber cannot be null'); - } $this->container['subscriber'] = $subscriber; return $this; diff --git a/src/Adyen/Model/Checkout/PlatformChargebackLogic.php b/src/Adyen/Model/Checkout/PlatformChargebackLogic.php index 9a8a9a9d6..03c739b95 100644 --- a/src/Adyen/Model/Checkout/PlatformChargebackLogic.php +++ b/src/Adyen/Model/Checkout/PlatformChargebackLogic.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -334,9 +334,6 @@ public function getBehavior() */ public function setBehavior($behavior) { - if (is_null($behavior)) { - throw new \InvalidArgumentException('non-nullable behavior cannot be null'); - } $allowedValues = $this->getBehaviorAllowableValues(); if (!in_array($behavior, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -371,9 +368,6 @@ public function getCostAllocationAccount() */ public function setCostAllocationAccount($costAllocationAccount) { - if (is_null($costAllocationAccount)) { - throw new \InvalidArgumentException('non-nullable costAllocationAccount cannot be null'); - } $this->container['costAllocationAccount'] = $costAllocationAccount; return $this; @@ -398,9 +392,6 @@ public function getTargetAccount() */ public function setTargetAccount($targetAccount) { - if (is_null($targetAccount)) { - throw new \InvalidArgumentException('non-nullable targetAccount cannot be null'); - } $this->container['targetAccount'] = $targetAccount; return $this; diff --git a/src/Adyen/Model/Checkout/RatepayDetails.php b/src/Adyen/Model/Checkout/RatepayDetails.php index 3199e027a..bb502643c 100644 --- a/src/Adyen/Model/Checkout/RatepayDetails.php +++ b/src/Adyen/Model/Checkout/RatepayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -363,9 +363,6 @@ public function getBillingAddress() */ public function setBillingAddress($billingAddress) { - if (is_null($billingAddress)) { - throw new \InvalidArgumentException('non-nullable billingAddress cannot be null'); - } $this->container['billingAddress'] = $billingAddress; return $this; @@ -390,9 +387,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -417,9 +411,6 @@ public function getDeliveryAddress() */ public function setDeliveryAddress($deliveryAddress) { - if (is_null($deliveryAddress)) { - throw new \InvalidArgumentException('non-nullable deliveryAddress cannot be null'); - } $this->container['deliveryAddress'] = $deliveryAddress; return $this; @@ -444,9 +435,6 @@ public function getPersonalDetails() */ public function setPersonalDetails($personalDetails) { - if (is_null($personalDetails)) { - throw new \InvalidArgumentException('non-nullable personalDetails cannot be null'); - } $this->container['personalDetails'] = $personalDetails; return $this; @@ -473,9 +461,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -500,9 +485,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -527,9 +509,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/Recurring.php b/src/Adyen/Model/Checkout/Recurring.php index ed32b6e4e..611436a50 100644 --- a/src/Adyen/Model/Checkout/Recurring.php +++ b/src/Adyen/Model/Checkout/Recurring.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -375,9 +375,6 @@ public function getContract() */ public function setContract($contract) { - if (is_null($contract)) { - throw new \InvalidArgumentException('non-nullable contract cannot be null'); - } $allowedValues = $this->getContractAllowableValues(); if (!in_array($contract, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -412,9 +409,6 @@ public function getRecurringDetailName() */ public function setRecurringDetailName($recurringDetailName) { - if (is_null($recurringDetailName)) { - throw new \InvalidArgumentException('non-nullable recurringDetailName cannot be null'); - } $this->container['recurringDetailName'] = $recurringDetailName; return $this; @@ -439,9 +433,6 @@ public function getRecurringExpiry() */ public function setRecurringExpiry($recurringExpiry) { - if (is_null($recurringExpiry)) { - throw new \InvalidArgumentException('non-nullable recurringExpiry cannot be null'); - } $this->container['recurringExpiry'] = $recurringExpiry; return $this; @@ -466,9 +457,6 @@ public function getRecurringFrequency() */ public function setRecurringFrequency($recurringFrequency) { - if (is_null($recurringFrequency)) { - throw new \InvalidArgumentException('non-nullable recurringFrequency cannot be null'); - } $this->container['recurringFrequency'] = $recurringFrequency; return $this; @@ -493,9 +481,6 @@ public function getTokenService() */ public function setTokenService($tokenService) { - if (is_null($tokenService)) { - throw new \InvalidArgumentException('non-nullable tokenService cannot be null'); - } $allowedValues = $this->getTokenServiceAllowableValues(); if (!in_array($tokenService, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/RecurringDetail.php b/src/Adyen/Model/Checkout/RecurringDetail.php index cb1fc3886..5aa1887c5 100644 --- a/src/Adyen/Model/Checkout/RecurringDetail.php +++ b/src/Adyen/Model/Checkout/RecurringDetail.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -395,9 +395,6 @@ public function getApps() */ public function setApps($apps) { - if (is_null($apps)) { - throw new \InvalidArgumentException('non-nullable apps cannot be null'); - } $this->container['apps'] = $apps; return $this; @@ -422,9 +419,6 @@ public function getBrand() */ public function setBrand($brand) { - if (is_null($brand)) { - throw new \InvalidArgumentException('non-nullable brand cannot be null'); - } $this->container['brand'] = $brand; return $this; @@ -449,9 +443,6 @@ public function getBrands() */ public function setBrands($brands) { - if (is_null($brands)) { - throw new \InvalidArgumentException('non-nullable brands cannot be null'); - } $this->container['brands'] = $brands; return $this; @@ -476,9 +467,6 @@ public function getConfiguration() */ public function setConfiguration($configuration) { - if (is_null($configuration)) { - throw new \InvalidArgumentException('non-nullable configuration cannot be null'); - } $this->container['configuration'] = $configuration; return $this; @@ -503,9 +491,6 @@ public function getFundingSource() */ public function setFundingSource($fundingSource) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); - } $allowedValues = $this->getFundingSourceAllowableValues(); if (!in_array($fundingSource, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -540,9 +525,6 @@ public function getGroup() */ public function setGroup($group) { - if (is_null($group)) { - throw new \InvalidArgumentException('non-nullable group cannot be null'); - } $this->container['group'] = $group; return $this; @@ -569,9 +551,6 @@ public function getInputDetails() */ public function setInputDetails($inputDetails) { - if (is_null($inputDetails)) { - throw new \InvalidArgumentException('non-nullable inputDetails cannot be null'); - } $this->container['inputDetails'] = $inputDetails; return $this; @@ -596,9 +575,6 @@ public function getIssuers() */ public function setIssuers($issuers) { - if (is_null($issuers)) { - throw new \InvalidArgumentException('non-nullable issuers cannot be null'); - } $this->container['issuers'] = $issuers; return $this; @@ -623,9 +599,6 @@ public function getName() */ public function setName($name) { - if (is_null($name)) { - throw new \InvalidArgumentException('non-nullable name cannot be null'); - } $this->container['name'] = $name; return $this; @@ -650,9 +623,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -677,9 +647,6 @@ public function getStoredDetails() */ public function setStoredDetails($storedDetails) { - if (is_null($storedDetails)) { - throw new \InvalidArgumentException('non-nullable storedDetails cannot be null'); - } $this->container['storedDetails'] = $storedDetails; return $this; @@ -704,9 +671,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $this->container['type'] = $type; return $this; diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php b/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php index 1ab39830c..4e1e06212 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -323,9 +323,6 @@ public function getCardHolderInfo() */ public function setCardHolderInfo($cardHolderInfo) { - if (is_null($cardHolderInfo)) { - throw new \InvalidArgumentException('non-nullable cardHolderInfo cannot be null'); - } $this->container['cardHolderInfo'] = $cardHolderInfo; return $this; @@ -350,9 +347,6 @@ public function getCavv() */ public function setCavv($cavv) { - if (is_null($cavv)) { - throw new \InvalidArgumentException('non-nullable cavv cannot be null'); - } $this->container['cavv'] = $cavv; return $this; @@ -377,9 +371,6 @@ public function getCavvAlgorithm() */ public function setCavvAlgorithm($cavvAlgorithm) { - if (is_null($cavvAlgorithm)) { - throw new \InvalidArgumentException('non-nullable cavvAlgorithm cannot be null'); - } $this->container['cavvAlgorithm'] = $cavvAlgorithm; return $this; @@ -404,9 +395,6 @@ public function getScaExemptionRequested() */ public function setScaExemptionRequested($scaExemptionRequested) { - if (is_null($scaExemptionRequested)) { - throw new \InvalidArgumentException('non-nullable scaExemptionRequested cannot be null'); - } $this->container['scaExemptionRequested'] = $scaExemptionRequested; return $this; @@ -431,9 +419,6 @@ public function getThreeds2CardEnrolled() */ public function setThreeds2CardEnrolled($threeds2CardEnrolled) { - if (is_null($threeds2CardEnrolled)) { - throw new \InvalidArgumentException('non-nullable threeds2CardEnrolled cannot be null'); - } $this->container['threeds2CardEnrolled'] = $threeds2CardEnrolled; return $this; diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php index 3a0085bc5..7e86d5fdc 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -330,9 +330,6 @@ public function getBillingAddressCity() */ public function setBillingAddressCity($billingAddressCity) { - if (is_null($billingAddressCity)) { - throw new \InvalidArgumentException('non-nullable billingAddressCity cannot be null'); - } $this->container['billingAddressCity'] = $billingAddressCity; return $this; @@ -357,9 +354,6 @@ public function getBillingAddressCountry() */ public function setBillingAddressCountry($billingAddressCountry) { - if (is_null($billingAddressCountry)) { - throw new \InvalidArgumentException('non-nullable billingAddressCountry cannot be null'); - } $this->container['billingAddressCountry'] = $billingAddressCountry; return $this; @@ -384,9 +378,6 @@ public function getBillingAddressHouseNumberOrName() */ public function setBillingAddressHouseNumberOrName($billingAddressHouseNumberOrName) { - if (is_null($billingAddressHouseNumberOrName)) { - throw new \InvalidArgumentException('non-nullable billingAddressHouseNumberOrName cannot be null'); - } $this->container['billingAddressHouseNumberOrName'] = $billingAddressHouseNumberOrName; return $this; @@ -411,9 +402,6 @@ public function getBillingAddressPostalCode() */ public function setBillingAddressPostalCode($billingAddressPostalCode) { - if (is_null($billingAddressPostalCode)) { - throw new \InvalidArgumentException('non-nullable billingAddressPostalCode cannot be null'); - } $this->container['billingAddressPostalCode'] = $billingAddressPostalCode; return $this; @@ -438,9 +426,6 @@ public function getBillingAddressStateOrProvince() */ public function setBillingAddressStateOrProvince($billingAddressStateOrProvince) { - if (is_null($billingAddressStateOrProvince)) { - throw new \InvalidArgumentException('non-nullable billingAddressStateOrProvince cannot be null'); - } $this->container['billingAddressStateOrProvince'] = $billingAddressStateOrProvince; return $this; @@ -465,9 +450,6 @@ public function getBillingAddressStreet() */ public function setBillingAddressStreet($billingAddressStreet) { - if (is_null($billingAddressStreet)) { - throw new \InvalidArgumentException('non-nullable billingAddressStreet cannot be null'); - } $this->container['billingAddressStreet'] = $billingAddressStreet; return $this; diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php index 939c53a34..47baa0494 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -344,9 +344,6 @@ public function getCardBin() */ public function setCardBin($cardBin) { - if (is_null($cardBin)) { - throw new \InvalidArgumentException('non-nullable cardBin cannot be null'); - } $this->container['cardBin'] = $cardBin; return $this; @@ -371,9 +368,6 @@ public function getCardHolderName() */ public function setCardHolderName($cardHolderName) { - if (is_null($cardHolderName)) { - throw new \InvalidArgumentException('non-nullable cardHolderName cannot be null'); - } $this->container['cardHolderName'] = $cardHolderName; return $this; @@ -398,9 +392,6 @@ public function getCardIssuingBank() */ public function setCardIssuingBank($cardIssuingBank) { - if (is_null($cardIssuingBank)) { - throw new \InvalidArgumentException('non-nullable cardIssuingBank cannot be null'); - } $this->container['cardIssuingBank'] = $cardIssuingBank; return $this; @@ -425,9 +416,6 @@ public function getCardIssuingCountry() */ public function setCardIssuingCountry($cardIssuingCountry) { - if (is_null($cardIssuingCountry)) { - throw new \InvalidArgumentException('non-nullable cardIssuingCountry cannot be null'); - } $this->container['cardIssuingCountry'] = $cardIssuingCountry; return $this; @@ -452,9 +440,6 @@ public function getCardIssuingCurrency() */ public function setCardIssuingCurrency($cardIssuingCurrency) { - if (is_null($cardIssuingCurrency)) { - throw new \InvalidArgumentException('non-nullable cardIssuingCurrency cannot be null'); - } $this->container['cardIssuingCurrency'] = $cardIssuingCurrency; return $this; @@ -479,9 +464,6 @@ public function getCardPaymentMethod() */ public function setCardPaymentMethod($cardPaymentMethod) { - if (is_null($cardPaymentMethod)) { - throw new \InvalidArgumentException('non-nullable cardPaymentMethod cannot be null'); - } $this->container['cardPaymentMethod'] = $cardPaymentMethod; return $this; @@ -506,9 +488,6 @@ public function getCardSummary() */ public function setCardSummary($cardSummary) { - if (is_null($cardSummary)) { - throw new \InvalidArgumentException('non-nullable cardSummary cannot be null'); - } $this->container['cardSummary'] = $cardSummary; return $this; @@ -533,9 +512,6 @@ public function getIssuerBin() */ public function setIssuerBin($issuerBin) { - if (is_null($issuerBin)) { - throw new \InvalidArgumentException('non-nullable issuerBin cannot be null'); - } $this->container['issuerBin'] = $issuerBin; return $this; diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php index d759f685a..7544ac703 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -749,9 +749,6 @@ public function getAcquirerAccountCode() */ public function setAcquirerAccountCode($acquirerAccountCode) { - if (is_null($acquirerAccountCode)) { - throw new \InvalidArgumentException('non-nullable acquirerAccountCode cannot be null'); - } $this->container['acquirerAccountCode'] = $acquirerAccountCode; return $this; @@ -776,9 +773,6 @@ public function getAcquirerCode() */ public function setAcquirerCode($acquirerCode) { - if (is_null($acquirerCode)) { - throw new \InvalidArgumentException('non-nullable acquirerCode cannot be null'); - } $this->container['acquirerCode'] = $acquirerCode; return $this; @@ -803,9 +797,6 @@ public function getAcquirerReference() */ public function setAcquirerReference($acquirerReference) { - if (is_null($acquirerReference)) { - throw new \InvalidArgumentException('non-nullable acquirerReference cannot be null'); - } $this->container['acquirerReference'] = $acquirerReference; return $this; @@ -830,9 +821,6 @@ public function getAlias() */ public function setAlias($alias) { - if (is_null($alias)) { - throw new \InvalidArgumentException('non-nullable alias cannot be null'); - } $this->container['alias'] = $alias; return $this; @@ -857,9 +845,6 @@ public function getAliasType() */ public function setAliasType($aliasType) { - if (is_null($aliasType)) { - throw new \InvalidArgumentException('non-nullable aliasType cannot be null'); - } $this->container['aliasType'] = $aliasType; return $this; @@ -884,9 +869,6 @@ public function getAuthCode() */ public function setAuthCode($authCode) { - if (is_null($authCode)) { - throw new \InvalidArgumentException('non-nullable authCode cannot be null'); - } $this->container['authCode'] = $authCode; return $this; @@ -911,9 +893,6 @@ public function getAuthorisationMid() */ public function setAuthorisationMid($authorisationMid) { - if (is_null($authorisationMid)) { - throw new \InvalidArgumentException('non-nullable authorisationMid cannot be null'); - } $this->container['authorisationMid'] = $authorisationMid; return $this; @@ -938,9 +917,6 @@ public function getAuthorisedAmountCurrency() */ public function setAuthorisedAmountCurrency($authorisedAmountCurrency) { - if (is_null($authorisedAmountCurrency)) { - throw new \InvalidArgumentException('non-nullable authorisedAmountCurrency cannot be null'); - } $this->container['authorisedAmountCurrency'] = $authorisedAmountCurrency; return $this; @@ -965,9 +941,6 @@ public function getAuthorisedAmountValue() */ public function setAuthorisedAmountValue($authorisedAmountValue) { - if (is_null($authorisedAmountValue)) { - throw new \InvalidArgumentException('non-nullable authorisedAmountValue cannot be null'); - } $this->container['authorisedAmountValue'] = $authorisedAmountValue; return $this; @@ -992,9 +965,6 @@ public function getAvsResult() */ public function setAvsResult($avsResult) { - if (is_null($avsResult)) { - throw new \InvalidArgumentException('non-nullable avsResult cannot be null'); - } $this->container['avsResult'] = $avsResult; return $this; @@ -1019,9 +989,6 @@ public function getAvsResultRaw() */ public function setAvsResultRaw($avsResultRaw) { - if (is_null($avsResultRaw)) { - throw new \InvalidArgumentException('non-nullable avsResultRaw cannot be null'); - } $this->container['avsResultRaw'] = $avsResultRaw; return $this; @@ -1046,9 +1013,6 @@ public function getBic() */ public function setBic($bic) { - if (is_null($bic)) { - throw new \InvalidArgumentException('non-nullable bic cannot be null'); - } $this->container['bic'] = $bic; return $this; @@ -1073,9 +1037,6 @@ public function getCoBrandedWith() */ public function setCoBrandedWith($coBrandedWith) { - if (is_null($coBrandedWith)) { - throw new \InvalidArgumentException('non-nullable coBrandedWith cannot be null'); - } $this->container['coBrandedWith'] = $coBrandedWith; return $this; @@ -1100,9 +1061,6 @@ public function getCvcResult() */ public function setCvcResult($cvcResult) { - if (is_null($cvcResult)) { - throw new \InvalidArgumentException('non-nullable cvcResult cannot be null'); - } $this->container['cvcResult'] = $cvcResult; return $this; @@ -1127,9 +1085,6 @@ public function getCvcResultRaw() */ public function setCvcResultRaw($cvcResultRaw) { - if (is_null($cvcResultRaw)) { - throw new \InvalidArgumentException('non-nullable cvcResultRaw cannot be null'); - } $this->container['cvcResultRaw'] = $cvcResultRaw; return $this; @@ -1154,9 +1109,6 @@ public function getDsTransID() */ public function setDsTransID($dsTransID) { - if (is_null($dsTransID)) { - throw new \InvalidArgumentException('non-nullable dsTransID cannot be null'); - } $this->container['dsTransID'] = $dsTransID; return $this; @@ -1181,9 +1133,6 @@ public function getEci() */ public function setEci($eci) { - if (is_null($eci)) { - throw new \InvalidArgumentException('non-nullable eci cannot be null'); - } $this->container['eci'] = $eci; return $this; @@ -1208,9 +1157,6 @@ public function getExpiryDate() */ public function setExpiryDate($expiryDate) { - if (is_null($expiryDate)) { - throw new \InvalidArgumentException('non-nullable expiryDate cannot be null'); - } $this->container['expiryDate'] = $expiryDate; return $this; @@ -1235,9 +1181,6 @@ public function getExtraCostsCurrency() */ public function setExtraCostsCurrency($extraCostsCurrency) { - if (is_null($extraCostsCurrency)) { - throw new \InvalidArgumentException('non-nullable extraCostsCurrency cannot be null'); - } $this->container['extraCostsCurrency'] = $extraCostsCurrency; return $this; @@ -1262,9 +1205,6 @@ public function getExtraCostsValue() */ public function setExtraCostsValue($extraCostsValue) { - if (is_null($extraCostsValue)) { - throw new \InvalidArgumentException('non-nullable extraCostsValue cannot be null'); - } $this->container['extraCostsValue'] = $extraCostsValue; return $this; @@ -1289,9 +1229,6 @@ public function getFraudCheckItemNrFraudCheckname() */ public function setFraudCheckItemNrFraudCheckname($fraudCheckItemNrFraudCheckname) { - if (is_null($fraudCheckItemNrFraudCheckname)) { - throw new \InvalidArgumentException('non-nullable fraudCheckItemNrFraudCheckname cannot be null'); - } $this->container['fraudCheckItemNrFraudCheckname'] = $fraudCheckItemNrFraudCheckname; return $this; @@ -1316,9 +1253,6 @@ public function getFraudManualReview() */ public function setFraudManualReview($fraudManualReview) { - if (is_null($fraudManualReview)) { - throw new \InvalidArgumentException('non-nullable fraudManualReview cannot be null'); - } $this->container['fraudManualReview'] = $fraudManualReview; return $this; @@ -1343,9 +1277,6 @@ public function getFraudResultType() */ public function setFraudResultType($fraudResultType) { - if (is_null($fraudResultType)) { - throw new \InvalidArgumentException('non-nullable fraudResultType cannot be null'); - } $allowedValues = $this->getFraudResultTypeAllowableValues(); if (!in_array($fraudResultType, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1380,9 +1311,6 @@ public function getFundingSource() */ public function setFundingSource($fundingSource) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); - } $this->container['fundingSource'] = $fundingSource; return $this; @@ -1407,9 +1335,6 @@ public function getFundsAvailability() */ public function setFundsAvailability($fundsAvailability) { - if (is_null($fundsAvailability)) { - throw new \InvalidArgumentException('non-nullable fundsAvailability cannot be null'); - } $this->container['fundsAvailability'] = $fundsAvailability; return $this; @@ -1434,9 +1359,6 @@ public function getInferredRefusalReason() */ public function setInferredRefusalReason($inferredRefusalReason) { - if (is_null($inferredRefusalReason)) { - throw new \InvalidArgumentException('non-nullable inferredRefusalReason cannot be null'); - } $this->container['inferredRefusalReason'] = $inferredRefusalReason; return $this; @@ -1461,9 +1383,6 @@ public function getIsCardCommercial() */ public function setIsCardCommercial($isCardCommercial) { - if (is_null($isCardCommercial)) { - throw new \InvalidArgumentException('non-nullable isCardCommercial cannot be null'); - } $this->container['isCardCommercial'] = $isCardCommercial; return $this; @@ -1488,9 +1407,6 @@ public function getIssuerCountry() */ public function setIssuerCountry($issuerCountry) { - if (is_null($issuerCountry)) { - throw new \InvalidArgumentException('non-nullable issuerCountry cannot be null'); - } $this->container['issuerCountry'] = $issuerCountry; return $this; @@ -1515,9 +1431,6 @@ public function getLiabilityShift() */ public function setLiabilityShift($liabilityShift) { - if (is_null($liabilityShift)) { - throw new \InvalidArgumentException('non-nullable liabilityShift cannot be null'); - } $this->container['liabilityShift'] = $liabilityShift; return $this; @@ -1542,9 +1455,6 @@ public function getMcBankNetReferenceNumber() */ public function setMcBankNetReferenceNumber($mcBankNetReferenceNumber) { - if (is_null($mcBankNetReferenceNumber)) { - throw new \InvalidArgumentException('non-nullable mcBankNetReferenceNumber cannot be null'); - } $this->container['mcBankNetReferenceNumber'] = $mcBankNetReferenceNumber; return $this; @@ -1569,9 +1479,6 @@ public function getMerchantAdviceCode() */ public function setMerchantAdviceCode($merchantAdviceCode) { - if (is_null($merchantAdviceCode)) { - throw new \InvalidArgumentException('non-nullable merchantAdviceCode cannot be null'); - } $this->container['merchantAdviceCode'] = $merchantAdviceCode; return $this; @@ -1596,9 +1503,6 @@ public function getMerchantReference() */ public function setMerchantReference($merchantReference) { - if (is_null($merchantReference)) { - throw new \InvalidArgumentException('non-nullable merchantReference cannot be null'); - } $this->container['merchantReference'] = $merchantReference; return $this; @@ -1623,9 +1527,6 @@ public function getNetworkTxReference() */ public function setNetworkTxReference($networkTxReference) { - if (is_null($networkTxReference)) { - throw new \InvalidArgumentException('non-nullable networkTxReference cannot be null'); - } $this->container['networkTxReference'] = $networkTxReference; return $this; @@ -1650,9 +1551,6 @@ public function getOwnerName() */ public function setOwnerName($ownerName) { - if (is_null($ownerName)) { - throw new \InvalidArgumentException('non-nullable ownerName cannot be null'); - } $this->container['ownerName'] = $ownerName; return $this; @@ -1677,9 +1575,6 @@ public function getPaymentAccountReference() */ public function setPaymentAccountReference($paymentAccountReference) { - if (is_null($paymentAccountReference)) { - throw new \InvalidArgumentException('non-nullable paymentAccountReference cannot be null'); - } $this->container['paymentAccountReference'] = $paymentAccountReference; return $this; @@ -1704,9 +1599,6 @@ public function getPaymentMethod() */ public function setPaymentMethod($paymentMethod) { - if (is_null($paymentMethod)) { - throw new \InvalidArgumentException('non-nullable paymentMethod cannot be null'); - } $this->container['paymentMethod'] = $paymentMethod; return $this; @@ -1731,9 +1623,6 @@ public function getPaymentMethodVariant() */ public function setPaymentMethodVariant($paymentMethodVariant) { - if (is_null($paymentMethodVariant)) { - throw new \InvalidArgumentException('non-nullable paymentMethodVariant cannot be null'); - } $this->container['paymentMethodVariant'] = $paymentMethodVariant; return $this; @@ -1758,9 +1647,6 @@ public function getPayoutEligible() */ public function setPayoutEligible($payoutEligible) { - if (is_null($payoutEligible)) { - throw new \InvalidArgumentException('non-nullable payoutEligible cannot be null'); - } $this->container['payoutEligible'] = $payoutEligible; return $this; @@ -1785,9 +1671,6 @@ public function getRealtimeAccountUpdaterStatus() */ public function setRealtimeAccountUpdaterStatus($realtimeAccountUpdaterStatus) { - if (is_null($realtimeAccountUpdaterStatus)) { - throw new \InvalidArgumentException('non-nullable realtimeAccountUpdaterStatus cannot be null'); - } $this->container['realtimeAccountUpdaterStatus'] = $realtimeAccountUpdaterStatus; return $this; @@ -1812,9 +1695,6 @@ public function getReceiptFreeText() */ public function setReceiptFreeText($receiptFreeText) { - if (is_null($receiptFreeText)) { - throw new \InvalidArgumentException('non-nullable receiptFreeText cannot be null'); - } $this->container['receiptFreeText'] = $receiptFreeText; return $this; @@ -1839,9 +1719,6 @@ public function getRecurringContractTypes() */ public function setRecurringContractTypes($recurringContractTypes) { - if (is_null($recurringContractTypes)) { - throw new \InvalidArgumentException('non-nullable recurringContractTypes cannot be null'); - } $this->container['recurringContractTypes'] = $recurringContractTypes; return $this; @@ -1866,9 +1743,6 @@ public function getRecurringFirstPspReference() */ public function setRecurringFirstPspReference($recurringFirstPspReference) { - if (is_null($recurringFirstPspReference)) { - throw new \InvalidArgumentException('non-nullable recurringFirstPspReference cannot be null'); - } $this->container['recurringFirstPspReference'] = $recurringFirstPspReference; return $this; @@ -1893,9 +1767,6 @@ public function getRecurringRecurringDetailReference() */ public function setRecurringRecurringDetailReference($recurringRecurringDetailReference) { - if (is_null($recurringRecurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringRecurringDetailReference cannot be null'); - } $this->container['recurringRecurringDetailReference'] = $recurringRecurringDetailReference; return $this; @@ -1920,9 +1791,6 @@ public function getRecurringShopperReference() */ public function setRecurringShopperReference($recurringShopperReference) { - if (is_null($recurringShopperReference)) { - throw new \InvalidArgumentException('non-nullable recurringShopperReference cannot be null'); - } $this->container['recurringShopperReference'] = $recurringShopperReference; return $this; @@ -1947,9 +1815,6 @@ public function getRecurringProcessingModel() */ 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( @@ -1984,9 +1849,6 @@ public function getReferred() */ public function setReferred($referred) { - if (is_null($referred)) { - throw new \InvalidArgumentException('non-nullable referred cannot be null'); - } $this->container['referred'] = $referred; return $this; @@ -2011,9 +1873,6 @@ public function getRefusalReasonRaw() */ public function setRefusalReasonRaw($refusalReasonRaw) { - if (is_null($refusalReasonRaw)) { - throw new \InvalidArgumentException('non-nullable refusalReasonRaw cannot be null'); - } $this->container['refusalReasonRaw'] = $refusalReasonRaw; return $this; @@ -2038,9 +1897,6 @@ public function getRequestAmount() */ public function setRequestAmount($requestAmount) { - if (is_null($requestAmount)) { - throw new \InvalidArgumentException('non-nullable requestAmount cannot be null'); - } $this->container['requestAmount'] = $requestAmount; return $this; @@ -2065,9 +1921,6 @@ public function getRequestCurrencyCode() */ public function setRequestCurrencyCode($requestCurrencyCode) { - if (is_null($requestCurrencyCode)) { - throw new \InvalidArgumentException('non-nullable requestCurrencyCode cannot be null'); - } $this->container['requestCurrencyCode'] = $requestCurrencyCode; return $this; @@ -2092,9 +1945,6 @@ public function getShopperInteraction() */ public function setShopperInteraction($shopperInteraction) { - if (is_null($shopperInteraction)) { - throw new \InvalidArgumentException('non-nullable shopperInteraction cannot be null'); - } $this->container['shopperInteraction'] = $shopperInteraction; return $this; @@ -2119,9 +1969,6 @@ public function getShopperReference() */ public function setShopperReference($shopperReference) { - if (is_null($shopperReference)) { - throw new \InvalidArgumentException('non-nullable shopperReference cannot be null'); - } $this->container['shopperReference'] = $shopperReference; return $this; @@ -2146,9 +1993,6 @@ public function getTerminalId() */ public function setTerminalId($terminalId) { - if (is_null($terminalId)) { - throw new \InvalidArgumentException('non-nullable terminalId cannot be null'); - } $this->container['terminalId'] = $terminalId; return $this; @@ -2173,9 +2017,6 @@ public function getThreeDAuthenticated() */ public function setThreeDAuthenticated($threeDAuthenticated) { - if (is_null($threeDAuthenticated)) { - throw new \InvalidArgumentException('non-nullable threeDAuthenticated cannot be null'); - } $this->container['threeDAuthenticated'] = $threeDAuthenticated; return $this; @@ -2200,9 +2041,6 @@ public function getThreeDAuthenticatedResponse() */ public function setThreeDAuthenticatedResponse($threeDAuthenticatedResponse) { - if (is_null($threeDAuthenticatedResponse)) { - throw new \InvalidArgumentException('non-nullable threeDAuthenticatedResponse cannot be null'); - } $this->container['threeDAuthenticatedResponse'] = $threeDAuthenticatedResponse; return $this; @@ -2227,9 +2065,6 @@ public function getThreeDOffered() */ public function setThreeDOffered($threeDOffered) { - if (is_null($threeDOffered)) { - throw new \InvalidArgumentException('non-nullable threeDOffered cannot be null'); - } $this->container['threeDOffered'] = $threeDOffered; return $this; @@ -2254,9 +2089,6 @@ public function getThreeDOfferedResponse() */ public function setThreeDOfferedResponse($threeDOfferedResponse) { - if (is_null($threeDOfferedResponse)) { - throw new \InvalidArgumentException('non-nullable threeDOfferedResponse cannot be null'); - } $this->container['threeDOfferedResponse'] = $threeDOfferedResponse; return $this; @@ -2281,9 +2113,6 @@ public function getThreeDSVersion() */ public function setThreeDSVersion($threeDSVersion) { - if (is_null($threeDSVersion)) { - throw new \InvalidArgumentException('non-nullable threeDSVersion cannot be null'); - } $this->container['threeDSVersion'] = $threeDSVersion; return $this; @@ -2308,9 +2137,6 @@ public function getVisaTransactionId() */ public function setVisaTransactionId($visaTransactionId) { - if (is_null($visaTransactionId)) { - throw new \InvalidArgumentException('non-nullable visaTransactionId cannot be null'); - } $this->container['visaTransactionId'] = $visaTransactionId; return $this; @@ -2335,9 +2161,6 @@ public function getXid() */ public function setXid($xid) { - if (is_null($xid)) { - throw new \InvalidArgumentException('non-nullable xid cannot be null'); - } $this->container['xid'] = $xid; return $this; diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataDomesticError.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataDomesticError.php index 72d8c8954..e9774f9b3 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataDomesticError.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataDomesticError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -302,9 +302,6 @@ public function getDomesticRefusalReasonRaw() */ public function setDomesticRefusalReasonRaw($domesticRefusalReasonRaw) { - if (is_null($domesticRefusalReasonRaw)) { - throw new \InvalidArgumentException('non-nullable domesticRefusalReasonRaw cannot be null'); - } $this->container['domesticRefusalReasonRaw'] = $domesticRefusalReasonRaw; return $this; @@ -329,9 +326,6 @@ public function getDomesticShopperAdvice() */ public function setDomesticShopperAdvice($domesticShopperAdvice) { - if (is_null($domesticShopperAdvice)) { - throw new \InvalidArgumentException('non-nullable domesticShopperAdvice cannot be null'); - } $this->container['domesticShopperAdvice'] = $domesticShopperAdvice; return $this; diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php index 496f1f62c..b7a071804 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -372,9 +372,6 @@ public function getInstallmentPaymentDataInstallmentType() */ public function setInstallmentPaymentDataInstallmentType($installmentPaymentDataInstallmentType) { - if (is_null($installmentPaymentDataInstallmentType)) { - throw new \InvalidArgumentException('non-nullable installmentPaymentDataInstallmentType cannot be null'); - } $this->container['installmentPaymentDataInstallmentType'] = $installmentPaymentDataInstallmentType; return $this; @@ -399,9 +396,6 @@ public function getInstallmentPaymentDataOptionItemNrAnnualPercentageRate() */ public function setInstallmentPaymentDataOptionItemNrAnnualPercentageRate($installmentPaymentDataOptionItemNrAnnualPercentageRate) { - if (is_null($installmentPaymentDataOptionItemNrAnnualPercentageRate)) { - throw new \InvalidArgumentException('non-nullable installmentPaymentDataOptionItemNrAnnualPercentageRate cannot be null'); - } $this->container['installmentPaymentDataOptionItemNrAnnualPercentageRate'] = $installmentPaymentDataOptionItemNrAnnualPercentageRate; return $this; @@ -426,9 +420,6 @@ public function getInstallmentPaymentDataOptionItemNrFirstInstallmentAmount() */ public function setInstallmentPaymentDataOptionItemNrFirstInstallmentAmount($installmentPaymentDataOptionItemNrFirstInstallmentAmount) { - if (is_null($installmentPaymentDataOptionItemNrFirstInstallmentAmount)) { - throw new \InvalidArgumentException('non-nullable installmentPaymentDataOptionItemNrFirstInstallmentAmount cannot be null'); - } $this->container['installmentPaymentDataOptionItemNrFirstInstallmentAmount'] = $installmentPaymentDataOptionItemNrFirstInstallmentAmount; return $this; @@ -453,9 +444,6 @@ public function getInstallmentPaymentDataOptionItemNrInstallmentFee() */ public function setInstallmentPaymentDataOptionItemNrInstallmentFee($installmentPaymentDataOptionItemNrInstallmentFee) { - if (is_null($installmentPaymentDataOptionItemNrInstallmentFee)) { - throw new \InvalidArgumentException('non-nullable installmentPaymentDataOptionItemNrInstallmentFee cannot be null'); - } $this->container['installmentPaymentDataOptionItemNrInstallmentFee'] = $installmentPaymentDataOptionItemNrInstallmentFee; return $this; @@ -480,9 +468,6 @@ public function getInstallmentPaymentDataOptionItemNrInterestRate() */ public function setInstallmentPaymentDataOptionItemNrInterestRate($installmentPaymentDataOptionItemNrInterestRate) { - if (is_null($installmentPaymentDataOptionItemNrInterestRate)) { - throw new \InvalidArgumentException('non-nullable installmentPaymentDataOptionItemNrInterestRate cannot be null'); - } $this->container['installmentPaymentDataOptionItemNrInterestRate'] = $installmentPaymentDataOptionItemNrInterestRate; return $this; @@ -507,9 +492,6 @@ public function getInstallmentPaymentDataOptionItemNrMaximumNumberOfInstallments */ public function setInstallmentPaymentDataOptionItemNrMaximumNumberOfInstallments($installmentPaymentDataOptionItemNrMaximumNumberOfInstallments) { - if (is_null($installmentPaymentDataOptionItemNrMaximumNumberOfInstallments)) { - throw new \InvalidArgumentException('non-nullable installmentPaymentDataOptionItemNrMaximumNumberOfInstallments cannot be null'); - } $this->container['installmentPaymentDataOptionItemNrMaximumNumberOfInstallments'] = $installmentPaymentDataOptionItemNrMaximumNumberOfInstallments; return $this; @@ -534,9 +516,6 @@ public function getInstallmentPaymentDataOptionItemNrMinimumNumberOfInstallments */ public function setInstallmentPaymentDataOptionItemNrMinimumNumberOfInstallments($installmentPaymentDataOptionItemNrMinimumNumberOfInstallments) { - if (is_null($installmentPaymentDataOptionItemNrMinimumNumberOfInstallments)) { - throw new \InvalidArgumentException('non-nullable installmentPaymentDataOptionItemNrMinimumNumberOfInstallments cannot be null'); - } $this->container['installmentPaymentDataOptionItemNrMinimumNumberOfInstallments'] = $installmentPaymentDataOptionItemNrMinimumNumberOfInstallments; return $this; @@ -561,9 +540,6 @@ public function getInstallmentPaymentDataOptionItemNrNumberOfInstallments() */ public function setInstallmentPaymentDataOptionItemNrNumberOfInstallments($installmentPaymentDataOptionItemNrNumberOfInstallments) { - if (is_null($installmentPaymentDataOptionItemNrNumberOfInstallments)) { - throw new \InvalidArgumentException('non-nullable installmentPaymentDataOptionItemNrNumberOfInstallments cannot be null'); - } $this->container['installmentPaymentDataOptionItemNrNumberOfInstallments'] = $installmentPaymentDataOptionItemNrNumberOfInstallments; return $this; @@ -588,9 +564,6 @@ public function getInstallmentPaymentDataOptionItemNrSubsequentInstallmentAmount */ public function setInstallmentPaymentDataOptionItemNrSubsequentInstallmentAmount($installmentPaymentDataOptionItemNrSubsequentInstallmentAmount) { - if (is_null($installmentPaymentDataOptionItemNrSubsequentInstallmentAmount)) { - throw new \InvalidArgumentException('non-nullable installmentPaymentDataOptionItemNrSubsequentInstallmentAmount cannot be null'); - } $this->container['installmentPaymentDataOptionItemNrSubsequentInstallmentAmount'] = $installmentPaymentDataOptionItemNrSubsequentInstallmentAmount; return $this; @@ -615,9 +588,6 @@ public function getInstallmentPaymentDataOptionItemNrTotalAmountDue() */ public function setInstallmentPaymentDataOptionItemNrTotalAmountDue($installmentPaymentDataOptionItemNrTotalAmountDue) { - if (is_null($installmentPaymentDataOptionItemNrTotalAmountDue)) { - throw new \InvalidArgumentException('non-nullable installmentPaymentDataOptionItemNrTotalAmountDue cannot be null'); - } $this->container['installmentPaymentDataOptionItemNrTotalAmountDue'] = $installmentPaymentDataOptionItemNrTotalAmountDue; return $this; @@ -642,9 +612,6 @@ public function getInstallmentPaymentDataPaymentOptions() */ public function setInstallmentPaymentDataPaymentOptions($installmentPaymentDataPaymentOptions) { - if (is_null($installmentPaymentDataPaymentOptions)) { - throw new \InvalidArgumentException('non-nullable installmentPaymentDataPaymentOptions cannot be null'); - } $this->container['installmentPaymentDataPaymentOptions'] = $installmentPaymentDataPaymentOptions; return $this; @@ -669,9 +636,6 @@ public function getInstallmentsValue() */ public function setInstallmentsValue($installmentsValue) { - if (is_null($installmentsValue)) { - throw new \InvalidArgumentException('non-nullable installmentsValue cannot be null'); - } $this->container['installmentsValue'] = $installmentsValue; return $this; diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php index 9232b3464..77b4e36e7 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -309,9 +309,6 @@ public function getNetworkTokenAvailable() */ public function setNetworkTokenAvailable($networkTokenAvailable) { - if (is_null($networkTokenAvailable)) { - throw new \InvalidArgumentException('non-nullable networkTokenAvailable cannot be null'); - } $this->container['networkTokenAvailable'] = $networkTokenAvailable; return $this; @@ -336,9 +333,6 @@ public function getNetworkTokenBin() */ public function setNetworkTokenBin($networkTokenBin) { - if (is_null($networkTokenBin)) { - throw new \InvalidArgumentException('non-nullable networkTokenBin cannot be null'); - } $this->container['networkTokenBin'] = $networkTokenBin; return $this; @@ -363,9 +357,6 @@ public function getNetworkTokenTokenSummary() */ public function setNetworkTokenTokenSummary($networkTokenTokenSummary) { - if (is_null($networkTokenTokenSummary)) { - throw new \InvalidArgumentException('non-nullable networkTokenTokenSummary cannot be null'); - } $this->container['networkTokenTokenSummary'] = $networkTokenTokenSummary; return $this; diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php index 1c9faaefc..ea572073c 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -295,9 +295,6 @@ public function getOpiTransToken() */ public function setOpiTransToken($opiTransToken) { - if (is_null($opiTransToken)) { - throw new \InvalidArgumentException('non-nullable opiTransToken cannot be null'); - } $this->container['opiTransToken'] = $opiTransToken; return $this; diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php index f187eaef8..96aad06e1 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -309,9 +309,6 @@ public function getSepadirectdebitDateOfSignature() */ public function setSepadirectdebitDateOfSignature($sepadirectdebitDateOfSignature) { - if (is_null($sepadirectdebitDateOfSignature)) { - throw new \InvalidArgumentException('non-nullable sepadirectdebitDateOfSignature cannot be null'); - } $this->container['sepadirectdebitDateOfSignature'] = $sepadirectdebitDateOfSignature; return $this; @@ -336,9 +333,6 @@ public function getSepadirectdebitMandateId() */ public function setSepadirectdebitMandateId($sepadirectdebitMandateId) { - if (is_null($sepadirectdebitMandateId)) { - throw new \InvalidArgumentException('non-nullable sepadirectdebitMandateId cannot be null'); - } $this->container['sepadirectdebitMandateId'] = $sepadirectdebitMandateId; return $this; @@ -363,9 +357,6 @@ public function getSepadirectdebitSequenceType() */ public function setSepadirectdebitSequenceType($sepadirectdebitSequenceType) { - if (is_null($sepadirectdebitSequenceType)) { - throw new \InvalidArgumentException('non-nullable sepadirectdebitSequenceType cannot be null'); - } $this->container['sepadirectdebitSequenceType'] = $sepadirectdebitSequenceType; return $this; diff --git a/src/Adyen/Model/Checkout/ResponsePaymentMethod.php b/src/Adyen/Model/Checkout/ResponsePaymentMethod.php index ce2166366..7f3617009 100644 --- a/src/Adyen/Model/Checkout/ResponsePaymentMethod.php +++ b/src/Adyen/Model/Checkout/ResponsePaymentMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -302,9 +302,6 @@ public function getBrand() */ public function setBrand($brand) { - if (is_null($brand)) { - throw new \InvalidArgumentException('non-nullable brand cannot be null'); - } $this->container['brand'] = $brand; return $this; @@ -329,9 +326,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $this->container['type'] = $type; return $this; diff --git a/src/Adyen/Model/Checkout/RiskData.php b/src/Adyen/Model/Checkout/RiskData.php index 19f293e8c..4c1b81e88 100644 --- a/src/Adyen/Model/Checkout/RiskData.php +++ b/src/Adyen/Model/Checkout/RiskData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -316,9 +316,6 @@ public function getClientData() */ public function setClientData($clientData) { - if (is_null($clientData)) { - throw new \InvalidArgumentException('non-nullable clientData cannot be null'); - } $this->container['clientData'] = $clientData; return $this; @@ -343,9 +340,6 @@ public function getCustomFields() */ public function setCustomFields($customFields) { - if (is_null($customFields)) { - throw new \InvalidArgumentException('non-nullable customFields cannot be null'); - } $this->container['customFields'] = $customFields; return $this; @@ -370,7 +364,6 @@ public function getFraudOffset() */ public function setFraudOffset($fraudOffset) { - // Do nothing for nullable integers $this->container['fraudOffset'] = $fraudOffset; return $this; @@ -395,9 +388,6 @@ public function getProfileReference() */ public function setProfileReference($profileReference) { - if (is_null($profileReference)) { - throw new \InvalidArgumentException('non-nullable profileReference cannot be null'); - } $this->container['profileReference'] = $profileReference; return $this; diff --git a/src/Adyen/Model/Checkout/SDKEphemPubKey.php b/src/Adyen/Model/Checkout/SDKEphemPubKey.php index a316c5d1a..8c6e59c37 100644 --- a/src/Adyen/Model/Checkout/SDKEphemPubKey.php +++ b/src/Adyen/Model/Checkout/SDKEphemPubKey.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -316,9 +316,6 @@ public function getCrv() */ public function setCrv($crv) { - if (is_null($crv)) { - throw new \InvalidArgumentException('non-nullable crv cannot be null'); - } $this->container['crv'] = $crv; return $this; @@ -343,9 +340,6 @@ public function getKty() */ public function setKty($kty) { - if (is_null($kty)) { - throw new \InvalidArgumentException('non-nullable kty cannot be null'); - } $this->container['kty'] = $kty; return $this; @@ -370,9 +364,6 @@ public function getX() */ public function setX($x) { - if (is_null($x)) { - throw new \InvalidArgumentException('non-nullable x cannot be null'); - } $this->container['x'] = $x; return $this; @@ -397,9 +388,6 @@ public function getY() */ public function setY($y) { - if (is_null($y)) { - throw new \InvalidArgumentException('non-nullable y cannot be null'); - } $this->container['y'] = $y; return $this; diff --git a/src/Adyen/Model/Checkout/SamsungPayDetails.php b/src/Adyen/Model/Checkout/SamsungPayDetails.php index 7c1ef8bdc..884f374aa 100644 --- a/src/Adyen/Model/Checkout/SamsungPayDetails.php +++ b/src/Adyen/Model/Checkout/SamsungPayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -377,9 +377,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -404,9 +401,6 @@ public function getFundingSource() */ public function setFundingSource($fundingSource) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); - } $allowedValues = $this->getFundingSourceAllowableValues(); if (!in_array($fundingSource, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -443,9 +437,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -470,9 +461,6 @@ public function getSamsungPayToken() */ public function setSamsungPayToken($samsungPayToken) { - if (is_null($samsungPayToken)) { - throw new \InvalidArgumentException('non-nullable samsungPayToken cannot be null'); - } $this->container['samsungPayToken'] = $samsungPayToken; return $this; @@ -497,9 +485,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -524,9 +509,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/SecureRemoteCommerceCheckoutData.php b/src/Adyen/Model/Checkout/SecureRemoteCommerceCheckoutData.php index 14ba3b4b1..3a7a4bcd8 100644 --- a/src/Adyen/Model/Checkout/SecureRemoteCommerceCheckoutData.php +++ b/src/Adyen/Model/Checkout/SecureRemoteCommerceCheckoutData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -353,9 +353,6 @@ public function getCheckoutPayload() */ public function setCheckoutPayload($checkoutPayload) { - if (is_null($checkoutPayload)) { - throw new \InvalidArgumentException('non-nullable checkoutPayload cannot be null'); - } $this->container['checkoutPayload'] = $checkoutPayload; return $this; @@ -380,9 +377,6 @@ public function getCorrelationId() */ public function setCorrelationId($correlationId) { - if (is_null($correlationId)) { - throw new \InvalidArgumentException('non-nullable correlationId cannot be null'); - } $this->container['correlationId'] = $correlationId; return $this; @@ -407,9 +401,6 @@ public function getCvc() */ public function setCvc($cvc) { - if (is_null($cvc)) { - throw new \InvalidArgumentException('non-nullable cvc cannot be null'); - } $this->container['cvc'] = $cvc; return $this; @@ -434,9 +425,6 @@ public function getDigitalCardId() */ public function setDigitalCardId($digitalCardId) { - if (is_null($digitalCardId)) { - throw new \InvalidArgumentException('non-nullable digitalCardId cannot be null'); - } $this->container['digitalCardId'] = $digitalCardId; return $this; @@ -461,9 +449,6 @@ public function getScheme() */ public function setScheme($scheme) { - if (is_null($scheme)) { - throw new \InvalidArgumentException('non-nullable scheme cannot be null'); - } $allowedValues = $this->getSchemeAllowableValues(); if (!in_array($scheme, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -498,9 +483,6 @@ public function getTokenReference() */ public function setTokenReference($tokenReference) { - if (is_null($tokenReference)) { - throw new \InvalidArgumentException('non-nullable tokenReference cannot be null'); - } $this->container['tokenReference'] = $tokenReference; return $this; diff --git a/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php b/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php index e39115595..ec71acc63 100644 --- a/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php +++ b/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -359,9 +359,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -386,9 +383,6 @@ public function getIban() */ public function setIban($iban) { - if (is_null($iban)) { - throw new \InvalidArgumentException('non-nullable iban cannot be null'); - } $this->container['iban'] = $iban; return $this; @@ -413,9 +407,6 @@ public function getOwnerName() */ public function setOwnerName($ownerName) { - if (is_null($ownerName)) { - throw new \InvalidArgumentException('non-nullable ownerName cannot be null'); - } $this->container['ownerName'] = $ownerName; return $this; @@ -442,9 +433,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -469,9 +457,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -496,9 +481,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/ServiceError.php b/src/Adyen/Model/Checkout/ServiceError.php index b432bf940..2a16d190d 100644 --- a/src/Adyen/Model/Checkout/ServiceError.php +++ b/src/Adyen/Model/Checkout/ServiceError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -330,9 +330,6 @@ public function getAdditionalData() */ public function setAdditionalData($additionalData) { - if (is_null($additionalData)) { - throw new \InvalidArgumentException('non-nullable additionalData cannot be null'); - } $this->container['additionalData'] = $additionalData; return $this; @@ -357,9 +354,6 @@ public function getErrorCode() */ public function setErrorCode($errorCode) { - if (is_null($errorCode)) { - throw new \InvalidArgumentException('non-nullable errorCode cannot be null'); - } $this->container['errorCode'] = $errorCode; return $this; @@ -384,9 +378,6 @@ public function getErrorType() */ public function setErrorType($errorType) { - if (is_null($errorType)) { - throw new \InvalidArgumentException('non-nullable errorType cannot be null'); - } $this->container['errorType'] = $errorType; return $this; @@ -411,9 +402,6 @@ public function getMessage() */ public function setMessage($message) { - if (is_null($message)) { - throw new \InvalidArgumentException('non-nullable message cannot be null'); - } $this->container['message'] = $message; return $this; @@ -438,9 +426,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; @@ -465,7 +450,6 @@ public function getStatus() */ public function setStatus($status) { - // Do nothing for nullable integers $this->container['status'] = $status; return $this; diff --git a/src/Adyen/Model/Checkout/ServiceErrorDetails.php b/src/Adyen/Model/Checkout/ServiceErrorDetails.php index 561f535f5..8299bcff0 100644 --- a/src/Adyen/Model/Checkout/ServiceErrorDetails.php +++ b/src/Adyen/Model/Checkout/ServiceErrorDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -316,9 +316,6 @@ public function getErrorCode() */ public function setErrorCode($errorCode) { - if (is_null($errorCode)) { - throw new \InvalidArgumentException('non-nullable errorCode cannot be null'); - } $this->container['errorCode'] = $errorCode; return $this; @@ -343,9 +340,6 @@ public function getErrorType() */ public function setErrorType($errorType) { - if (is_null($errorType)) { - throw new \InvalidArgumentException('non-nullable errorType cannot be null'); - } $this->container['errorType'] = $errorType; return $this; @@ -370,9 +364,6 @@ public function getMessage() */ public function setMessage($message) { - if (is_null($message)) { - throw new \InvalidArgumentException('non-nullable message cannot be null'); - } $this->container['message'] = $message; return $this; @@ -397,9 +388,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; diff --git a/src/Adyen/Model/Checkout/SessionResultResponse.php b/src/Adyen/Model/Checkout/SessionResultResponse.php index bc3ddc442..3f7d84f15 100644 --- a/src/Adyen/Model/Checkout/SessionResultResponse.php +++ b/src/Adyen/Model/Checkout/SessionResultResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -333,9 +333,6 @@ public function getId() */ public function setId($id) { - if (is_null($id)) { - throw new \InvalidArgumentException('non-nullable id cannot be null'); - } $this->container['id'] = $id; return $this; @@ -360,9 +357,6 @@ public function getStatus() */ public function setStatus($status) { - if (is_null($status)) { - throw new \InvalidArgumentException('non-nullable status cannot be null'); - } $allowedValues = $this->getStatusAllowableValues(); if (!in_array($status, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/ShopperInput.php b/src/Adyen/Model/Checkout/ShopperInput.php index bda383fde..345b24926 100644 --- a/src/Adyen/Model/Checkout/ShopperInput.php +++ b/src/Adyen/Model/Checkout/ShopperInput.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -384,9 +384,6 @@ public function getBillingAddress() */ public function setBillingAddress($billingAddress) { - if (is_null($billingAddress)) { - throw new \InvalidArgumentException('non-nullable billingAddress cannot be null'); - } $allowedValues = $this->getBillingAddressAllowableValues(); if (!in_array($billingAddress, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -421,9 +418,6 @@ public function getDeliveryAddress() */ public function setDeliveryAddress($deliveryAddress) { - if (is_null($deliveryAddress)) { - throw new \InvalidArgumentException('non-nullable deliveryAddress cannot be null'); - } $allowedValues = $this->getDeliveryAddressAllowableValues(); if (!in_array($deliveryAddress, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -458,9 +452,6 @@ public function getPersonalDetails() */ public function setPersonalDetails($personalDetails) { - if (is_null($personalDetails)) { - throw new \InvalidArgumentException('non-nullable personalDetails cannot be null'); - } $allowedValues = $this->getPersonalDetailsAllowableValues(); if (!in_array($personalDetails, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/ShopperInteractionDevice.php b/src/Adyen/Model/Checkout/ShopperInteractionDevice.php index 19131fd56..3706d286c 100644 --- a/src/Adyen/Model/Checkout/ShopperInteractionDevice.php +++ b/src/Adyen/Model/Checkout/ShopperInteractionDevice.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -309,9 +309,6 @@ public function getLocale() */ public function setLocale($locale) { - if (is_null($locale)) { - throw new \InvalidArgumentException('non-nullable locale cannot be null'); - } $this->container['locale'] = $locale; return $this; @@ -336,9 +333,6 @@ public function getOs() */ public function setOs($os) { - if (is_null($os)) { - throw new \InvalidArgumentException('non-nullable os cannot be null'); - } $this->container['os'] = $os; return $this; @@ -363,9 +357,6 @@ public function getOsVersion() */ public function setOsVersion($osVersion) { - if (is_null($osVersion)) { - throw new \InvalidArgumentException('non-nullable osVersion cannot be null'); - } $this->container['osVersion'] = $osVersion; return $this; diff --git a/src/Adyen/Model/Checkout/Split.php b/src/Adyen/Model/Checkout/Split.php index 7d38fb91d..3aa524726 100644 --- a/src/Adyen/Model/Checkout/Split.php +++ b/src/Adyen/Model/Checkout/Split.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -375,9 +375,6 @@ public function getAccount() */ public function setAccount($account) { - if (is_null($account)) { - throw new \InvalidArgumentException('non-nullable account cannot be null'); - } $this->container['account'] = $account; return $this; @@ -402,9 +399,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; @@ -429,9 +423,6 @@ public function getDescription() */ public function setDescription($description) { - if (is_null($description)) { - throw new \InvalidArgumentException('non-nullable description cannot be null'); - } $this->container['description'] = $description; return $this; @@ -456,9 +447,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -483,9 +471,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/SplitAmount.php b/src/Adyen/Model/Checkout/SplitAmount.php index 9437d3690..c6ebfabba 100644 --- a/src/Adyen/Model/Checkout/SplitAmount.php +++ b/src/Adyen/Model/Checkout/SplitAmount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -305,9 +305,6 @@ public function getCurrency() */ public function setCurrency($currency) { - if (is_null($currency)) { - throw new \InvalidArgumentException('non-nullable currency cannot be null'); - } $this->container['currency'] = $currency; return $this; @@ -332,9 +329,6 @@ public function getValue() */ public function setValue($value) { - if (is_null($value)) { - throw new \InvalidArgumentException('non-nullable value cannot be null'); - } $this->container['value'] = $value; return $this; diff --git a/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php b/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php index f597e7696..ef9a7204e 100644 --- a/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php +++ b/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -322,9 +322,6 @@ public function getApplicationInfo() */ public function setApplicationInfo($applicationInfo) { - if (is_null($applicationInfo)) { - throw new \InvalidArgumentException('non-nullable applicationInfo cannot be null'); - } $this->container['applicationInfo'] = $applicationInfo; return $this; @@ -349,9 +346,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -376,9 +370,6 @@ public function getPaymentReference() */ public function setPaymentReference($paymentReference) { - if (is_null($paymentReference)) { - throw new \InvalidArgumentException('non-nullable paymentReference cannot be null'); - } $this->container['paymentReference'] = $paymentReference; return $this; @@ -403,9 +394,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; diff --git a/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php b/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php index ed614af1d..92cb57865 100644 --- a/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php +++ b/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -356,9 +356,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -383,9 +380,6 @@ public function getPaymentReference() */ public function setPaymentReference($paymentReference) { - if (is_null($paymentReference)) { - throw new \InvalidArgumentException('non-nullable paymentReference cannot be null'); - } $this->container['paymentReference'] = $paymentReference; return $this; @@ -410,9 +404,6 @@ public function getPspReference() */ public function setPspReference($pspReference) { - if (is_null($pspReference)) { - throw new \InvalidArgumentException('non-nullable pspReference cannot be null'); - } $this->container['pspReference'] = $pspReference; return $this; @@ -437,9 +428,6 @@ public function getReference() */ public function setReference($reference) { - if (is_null($reference)) { - throw new \InvalidArgumentException('non-nullable reference cannot be null'); - } $this->container['reference'] = $reference; return $this; @@ -464,9 +452,6 @@ public function getStatus() */ public function setStatus($status) { - if (is_null($status)) { - throw new \InvalidArgumentException('non-nullable status cannot be null'); - } $allowedValues = $this->getStatusAllowableValues(); if (!in_array($status, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/StoredDetails.php b/src/Adyen/Model/Checkout/StoredDetails.php index f9c0ea234..5da0183b2 100644 --- a/src/Adyen/Model/Checkout/StoredDetails.php +++ b/src/Adyen/Model/Checkout/StoredDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -309,9 +309,6 @@ public function getBank() */ public function setBank($bank) { - if (is_null($bank)) { - throw new \InvalidArgumentException('non-nullable bank cannot be null'); - } $this->container['bank'] = $bank; return $this; @@ -336,9 +333,6 @@ public function getCard() */ public function setCard($card) { - if (is_null($card)) { - throw new \InvalidArgumentException('non-nullable card cannot be null'); - } $this->container['card'] = $card; return $this; @@ -363,9 +357,6 @@ public function getEmailAddress() */ public function setEmailAddress($emailAddress) { - if (is_null($emailAddress)) { - throw new \InvalidArgumentException('non-nullable emailAddress cannot be null'); - } $this->container['emailAddress'] = $emailAddress; return $this; diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethod.php b/src/Adyen/Model/Checkout/StoredPaymentMethod.php index d8c629542..930aba041 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethod.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -407,9 +407,6 @@ public function getBankAccountNumber() */ public function setBankAccountNumber($bankAccountNumber) { - if (is_null($bankAccountNumber)) { - throw new \InvalidArgumentException('non-nullable bankAccountNumber cannot be null'); - } $this->container['bankAccountNumber'] = $bankAccountNumber; return $this; @@ -434,9 +431,6 @@ public function getBankLocationId() */ public function setBankLocationId($bankLocationId) { - if (is_null($bankLocationId)) { - throw new \InvalidArgumentException('non-nullable bankLocationId cannot be null'); - } $this->container['bankLocationId'] = $bankLocationId; return $this; @@ -461,9 +455,6 @@ public function getBrand() */ public function setBrand($brand) { - if (is_null($brand)) { - throw new \InvalidArgumentException('non-nullable brand cannot be null'); - } $this->container['brand'] = $brand; return $this; @@ -488,9 +479,6 @@ public function getExpiryMonth() */ public function setExpiryMonth($expiryMonth) { - if (is_null($expiryMonth)) { - throw new \InvalidArgumentException('non-nullable expiryMonth cannot be null'); - } $this->container['expiryMonth'] = $expiryMonth; return $this; @@ -515,9 +503,6 @@ public function getExpiryYear() */ public function setExpiryYear($expiryYear) { - if (is_null($expiryYear)) { - throw new \InvalidArgumentException('non-nullable expiryYear cannot be null'); - } $this->container['expiryYear'] = $expiryYear; return $this; @@ -542,9 +527,6 @@ public function getHolderName() */ public function setHolderName($holderName) { - if (is_null($holderName)) { - throw new \InvalidArgumentException('non-nullable holderName cannot be null'); - } $this->container['holderName'] = $holderName; return $this; @@ -569,9 +551,6 @@ public function getIban() */ public function setIban($iban) { - if (is_null($iban)) { - throw new \InvalidArgumentException('non-nullable iban cannot be null'); - } $this->container['iban'] = $iban; return $this; @@ -596,9 +575,6 @@ public function getId() */ public function setId($id) { - if (is_null($id)) { - throw new \InvalidArgumentException('non-nullable id cannot be null'); - } $this->container['id'] = $id; return $this; @@ -623,9 +599,6 @@ public function getLabel() */ public function setLabel($label) { - if (is_null($label)) { - throw new \InvalidArgumentException('non-nullable label cannot be null'); - } $this->container['label'] = $label; return $this; @@ -650,9 +623,6 @@ public function getLastFour() */ public function setLastFour($lastFour) { - if (is_null($lastFour)) { - throw new \InvalidArgumentException('non-nullable lastFour cannot be null'); - } $this->container['lastFour'] = $lastFour; return $this; @@ -677,9 +647,6 @@ public function getName() */ public function setName($name) { - if (is_null($name)) { - throw new \InvalidArgumentException('non-nullable name cannot be null'); - } $this->container['name'] = $name; return $this; @@ -704,9 +671,6 @@ public function getNetworkTxReference() */ public function setNetworkTxReference($networkTxReference) { - if (is_null($networkTxReference)) { - throw new \InvalidArgumentException('non-nullable networkTxReference cannot be null'); - } $this->container['networkTxReference'] = $networkTxReference; return $this; @@ -731,9 +695,6 @@ public function getOwnerName() */ public function setOwnerName($ownerName) { - if (is_null($ownerName)) { - throw new \InvalidArgumentException('non-nullable ownerName cannot be null'); - } $this->container['ownerName'] = $ownerName; return $this; @@ -758,9 +719,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -785,9 +743,6 @@ public function getSupportedRecurringProcessingModels() */ public function setSupportedRecurringProcessingModels($supportedRecurringProcessingModels) { - if (is_null($supportedRecurringProcessingModels)) { - throw new \InvalidArgumentException('non-nullable supportedRecurringProcessingModels cannot be null'); - } $this->container['supportedRecurringProcessingModels'] = $supportedRecurringProcessingModels; return $this; @@ -812,9 +767,6 @@ public function getSupportedShopperInteractions() */ public function setSupportedShopperInteractions($supportedShopperInteractions) { - if (is_null($supportedShopperInteractions)) { - throw new \InvalidArgumentException('non-nullable supportedShopperInteractions cannot be null'); - } $this->container['supportedShopperInteractions'] = $supportedShopperInteractions; return $this; @@ -839,9 +791,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $this->container['type'] = $type; return $this; diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php b/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php index db1eca156..3f1669c30 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -371,9 +371,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -400,9 +397,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -427,9 +421,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -454,9 +445,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethodRequest.php b/src/Adyen/Model/Checkout/StoredPaymentMethodRequest.php index a6e285cbd..025137f6d 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethodRequest.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethodRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -367,9 +367,6 @@ public function getMerchantAccount() */ public function setMerchantAccount($merchantAccount) { - if (is_null($merchantAccount)) { - throw new \InvalidArgumentException('non-nullable merchantAccount cannot be null'); - } $this->container['merchantAccount'] = $merchantAccount; return $this; @@ -394,9 +391,6 @@ public function getPaymentMethod() */ public function setPaymentMethod($paymentMethod) { - if (is_null($paymentMethod)) { - throw new \InvalidArgumentException('non-nullable paymentMethod cannot be null'); - } $this->container['paymentMethod'] = $paymentMethod; return $this; @@ -421,9 +415,6 @@ public function getRecurringProcessingModel() */ 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( @@ -458,9 +449,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -485,9 +473,6 @@ public function getShopperIP() */ public function setShopperIP($shopperIP) { - if (is_null($shopperIP)) { - throw new \InvalidArgumentException('non-nullable shopperIP cannot be null'); - } $this->container['shopperIP'] = $shopperIP; return $this; @@ -512,9 +497,6 @@ public function getShopperReference() */ public function setShopperReference($shopperReference) { - if (is_null($shopperReference)) { - throw new \InvalidArgumentException('non-nullable shopperReference cannot be null'); - } $this->container['shopperReference'] = $shopperReference; return $this; diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php b/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php index 2646a5678..20d049236 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -407,9 +407,6 @@ public function getBrand() */ public function setBrand($brand) { - if (is_null($brand)) { - throw new \InvalidArgumentException('non-nullable brand cannot be null'); - } $this->container['brand'] = $brand; return $this; @@ -434,9 +431,6 @@ public function getExpiryMonth() */ public function setExpiryMonth($expiryMonth) { - if (is_null($expiryMonth)) { - throw new \InvalidArgumentException('non-nullable expiryMonth cannot be null'); - } $this->container['expiryMonth'] = $expiryMonth; return $this; @@ -461,9 +455,6 @@ public function getExpiryYear() */ public function setExpiryYear($expiryYear) { - if (is_null($expiryYear)) { - throw new \InvalidArgumentException('non-nullable expiryYear cannot be null'); - } $this->container['expiryYear'] = $expiryYear; return $this; @@ -488,9 +479,6 @@ public function getExternalResponseCode() */ public function setExternalResponseCode($externalResponseCode) { - if (is_null($externalResponseCode)) { - throw new \InvalidArgumentException('non-nullable externalResponseCode cannot be null'); - } $this->container['externalResponseCode'] = $externalResponseCode; return $this; @@ -515,9 +503,6 @@ public function getExternalTokenReference() */ public function setExternalTokenReference($externalTokenReference) { - if (is_null($externalTokenReference)) { - throw new \InvalidArgumentException('non-nullable externalTokenReference cannot be null'); - } $this->container['externalTokenReference'] = $externalTokenReference; return $this; @@ -542,9 +527,6 @@ public function getHolderName() */ public function setHolderName($holderName) { - if (is_null($holderName)) { - throw new \InvalidArgumentException('non-nullable holderName cannot be null'); - } $this->container['holderName'] = $holderName; return $this; @@ -569,9 +551,6 @@ public function getIban() */ public function setIban($iban) { - if (is_null($iban)) { - throw new \InvalidArgumentException('non-nullable iban cannot be null'); - } $this->container['iban'] = $iban; return $this; @@ -596,9 +575,6 @@ public function getId() */ public function setId($id) { - if (is_null($id)) { - throw new \InvalidArgumentException('non-nullable id cannot be null'); - } $this->container['id'] = $id; return $this; @@ -623,9 +599,6 @@ public function getIssuerName() */ public function setIssuerName($issuerName) { - if (is_null($issuerName)) { - throw new \InvalidArgumentException('non-nullable issuerName cannot be null'); - } $this->container['issuerName'] = $issuerName; return $this; @@ -650,9 +623,6 @@ public function getLastFour() */ public function setLastFour($lastFour) { - if (is_null($lastFour)) { - throw new \InvalidArgumentException('non-nullable lastFour cannot be null'); - } $this->container['lastFour'] = $lastFour; return $this; @@ -677,9 +647,6 @@ public function getName() */ public function setName($name) { - if (is_null($name)) { - throw new \InvalidArgumentException('non-nullable name cannot be null'); - } $this->container['name'] = $name; return $this; @@ -704,9 +671,6 @@ public function getNetworkTxReference() */ public function setNetworkTxReference($networkTxReference) { - if (is_null($networkTxReference)) { - throw new \InvalidArgumentException('non-nullable networkTxReference cannot be null'); - } $this->container['networkTxReference'] = $networkTxReference; return $this; @@ -731,9 +695,6 @@ public function getOwnerName() */ public function setOwnerName($ownerName) { - if (is_null($ownerName)) { - throw new \InvalidArgumentException('non-nullable ownerName cannot be null'); - } $this->container['ownerName'] = $ownerName; return $this; @@ -758,9 +719,6 @@ public function getShopperEmail() */ public function setShopperEmail($shopperEmail) { - if (is_null($shopperEmail)) { - throw new \InvalidArgumentException('non-nullable shopperEmail cannot be null'); - } $this->container['shopperEmail'] = $shopperEmail; return $this; @@ -785,9 +743,6 @@ public function getShopperReference() */ public function setShopperReference($shopperReference) { - if (is_null($shopperReference)) { - throw new \InvalidArgumentException('non-nullable shopperReference cannot be null'); - } $this->container['shopperReference'] = $shopperReference; return $this; @@ -812,9 +767,6 @@ public function getSupportedRecurringProcessingModels() */ public function setSupportedRecurringProcessingModels($supportedRecurringProcessingModels) { - if (is_null($supportedRecurringProcessingModels)) { - throw new \InvalidArgumentException('non-nullable supportedRecurringProcessingModels cannot be null'); - } $this->container['supportedRecurringProcessingModels'] = $supportedRecurringProcessingModels; return $this; @@ -839,9 +791,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $this->container['type'] = $type; return $this; diff --git a/src/Adyen/Model/Checkout/SubInputDetail.php b/src/Adyen/Model/Checkout/SubInputDetail.php index d380d302e..4601c4f4c 100644 --- a/src/Adyen/Model/Checkout/SubInputDetail.php +++ b/src/Adyen/Model/Checkout/SubInputDetail.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -330,9 +330,6 @@ public function getConfiguration() */ public function setConfiguration($configuration) { - if (is_null($configuration)) { - throw new \InvalidArgumentException('non-nullable configuration cannot be null'); - } $this->container['configuration'] = $configuration; return $this; @@ -357,9 +354,6 @@ public function getItems() */ public function setItems($items) { - if (is_null($items)) { - throw new \InvalidArgumentException('non-nullable items cannot be null'); - } $this->container['items'] = $items; return $this; @@ -384,9 +378,6 @@ public function getKey() */ public function setKey($key) { - if (is_null($key)) { - throw new \InvalidArgumentException('non-nullable key cannot be null'); - } $this->container['key'] = $key; return $this; @@ -411,9 +402,6 @@ public function getOptional() */ public function setOptional($optional) { - if (is_null($optional)) { - throw new \InvalidArgumentException('non-nullable optional cannot be null'); - } $this->container['optional'] = $optional; return $this; @@ -438,9 +426,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $this->container['type'] = $type; return $this; @@ -465,9 +450,6 @@ public function getValue() */ public function setValue($value) { - if (is_null($value)) { - throw new \InvalidArgumentException('non-nullable value cannot be null'); - } $this->container['value'] = $value; return $this; diff --git a/src/Adyen/Model/Checkout/SubMerchant.php b/src/Adyen/Model/Checkout/SubMerchant.php index 56ac38965..40a353ebb 100644 --- a/src/Adyen/Model/Checkout/SubMerchant.php +++ b/src/Adyen/Model/Checkout/SubMerchant.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -323,9 +323,6 @@ public function getCity() */ public function setCity($city) { - if (is_null($city)) { - throw new \InvalidArgumentException('non-nullable city cannot be null'); - } $this->container['city'] = $city; return $this; @@ -350,9 +347,6 @@ public function getCountry() */ public function setCountry($country) { - if (is_null($country)) { - throw new \InvalidArgumentException('non-nullable country cannot be null'); - } $this->container['country'] = $country; return $this; @@ -377,9 +371,6 @@ public function getMcc() */ public function setMcc($mcc) { - if (is_null($mcc)) { - throw new \InvalidArgumentException('non-nullable mcc cannot be null'); - } $this->container['mcc'] = $mcc; return $this; @@ -404,9 +395,6 @@ public function getName() */ public function setName($name) { - if (is_null($name)) { - throw new \InvalidArgumentException('non-nullable name cannot be null'); - } $this->container['name'] = $name; return $this; @@ -431,9 +419,6 @@ public function getTaxId() */ public function setTaxId($taxId) { - if (is_null($taxId)) { - throw new \InvalidArgumentException('non-nullable taxId cannot be null'); - } $this->container['taxId'] = $taxId; return $this; diff --git a/src/Adyen/Model/Checkout/SubMerchantInfo.php b/src/Adyen/Model/Checkout/SubMerchantInfo.php index c01a0e8d6..1f24148ce 100644 --- a/src/Adyen/Model/Checkout/SubMerchantInfo.php +++ b/src/Adyen/Model/Checkout/SubMerchantInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -45,11 +45,15 @@ class SubMerchantInfo implements ModelInterface, ArrayAccess, \JsonSerializable */ protected static $openAPITypes = [ 'address' => '\Adyen\Model\Checkout\BillingAddress', + 'amount' => '\Adyen\Model\Checkout\Amount', + 'email' => 'string', 'id' => 'string', 'mcc' => 'string', 'name' => 'string', + 'phoneNumber' => 'string', 'registeredSince' => 'string', - 'taxId' => 'string' + 'taxId' => 'string', + 'url' => 'string' ]; /** @@ -61,11 +65,15 @@ class SubMerchantInfo implements ModelInterface, ArrayAccess, \JsonSerializable */ protected static $openAPIFormats = [ 'address' => null, + 'amount' => null, + 'email' => null, 'id' => null, 'mcc' => null, 'name' => null, + 'phoneNumber' => null, 'registeredSince' => null, - 'taxId' => null + 'taxId' => null, + 'url' => null ]; /** @@ -75,11 +83,15 @@ class SubMerchantInfo implements ModelInterface, ArrayAccess, \JsonSerializable */ protected static $openAPINullables = [ 'address' => false, + 'amount' => false, + 'email' => false, 'id' => false, 'mcc' => false, 'name' => false, + 'phoneNumber' => false, 'registeredSince' => false, - 'taxId' => false + 'taxId' => false, + 'url' => false ]; /** @@ -169,11 +181,15 @@ public function isNullableSetToNull(string $property): bool */ protected static $attributeMap = [ 'address' => 'address', + 'amount' => 'amount', + 'email' => 'email', 'id' => 'id', 'mcc' => 'mcc', 'name' => 'name', + 'phoneNumber' => 'phoneNumber', 'registeredSince' => 'registeredSince', - 'taxId' => 'taxId' + 'taxId' => 'taxId', + 'url' => 'url' ]; /** @@ -183,11 +199,15 @@ public function isNullableSetToNull(string $property): bool */ protected static $setters = [ 'address' => 'setAddress', + 'amount' => 'setAmount', + 'email' => 'setEmail', 'id' => 'setId', 'mcc' => 'setMcc', 'name' => 'setName', + 'phoneNumber' => 'setPhoneNumber', 'registeredSince' => 'setRegisteredSince', - 'taxId' => 'setTaxId' + 'taxId' => 'setTaxId', + 'url' => 'setUrl' ]; /** @@ -197,11 +217,15 @@ public function isNullableSetToNull(string $property): bool */ protected static $getters = [ 'address' => 'getAddress', + 'amount' => 'getAmount', + 'email' => 'getEmail', 'id' => 'getId', 'mcc' => 'getMcc', 'name' => 'getName', + 'phoneNumber' => 'getPhoneNumber', 'registeredSince' => 'getRegisteredSince', - 'taxId' => 'getTaxId' + 'taxId' => 'getTaxId', + 'url' => 'getUrl' ]; /** @@ -262,11 +286,15 @@ public function getModelName() public function __construct(array $data = null) { $this->setIfExists('address', $data ?? [], null); + $this->setIfExists('amount', $data ?? [], null); + $this->setIfExists('email', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); $this->setIfExists('mcc', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); + $this->setIfExists('phoneNumber', $data ?? [], null); $this->setIfExists('registeredSince', $data ?? [], null); $this->setIfExists('taxId', $data ?? [], null); + $this->setIfExists('url', $data ?? [], null); } /** @@ -330,14 +358,59 @@ public function getAddress() */ public function setAddress($address) { - if (is_null($address)) { - throw new \InvalidArgumentException('non-nullable address cannot be null'); - } $this->container['address'] = $address; return $this; } + /** + * Gets amount + * + * @return \Adyen\Model\Checkout\Amount|null + */ + public function getAmount() + { + return $this->container['amount']; + } + + /** + * Sets amount + * + * @param \Adyen\Model\Checkout\Amount|null $amount amount + * + * @return self + */ + public function setAmount($amount) + { + $this->container['amount'] = $amount; + + return $this; + } + + /** + * Gets email + * + * @return string|null + */ + public function getEmail() + { + return $this->container['email']; + } + + /** + * Sets email + * + * @param string|null $email email + * + * @return self + */ + public function setEmail($email) + { + $this->container['email'] = $email; + + return $this; + } + /** * Gets id * @@ -357,9 +430,6 @@ public function getId() */ public function setId($id) { - if (is_null($id)) { - throw new \InvalidArgumentException('non-nullable id cannot be null'); - } $this->container['id'] = $id; return $this; @@ -384,9 +454,6 @@ public function getMcc() */ public function setMcc($mcc) { - if (is_null($mcc)) { - throw new \InvalidArgumentException('non-nullable mcc cannot be null'); - } $this->container['mcc'] = $mcc; return $this; @@ -411,14 +478,35 @@ public function getName() */ public function setName($name) { - if (is_null($name)) { - throw new \InvalidArgumentException('non-nullable name cannot be null'); - } $this->container['name'] = $name; return $this; } + /** + * Gets phoneNumber + * + * @return string|null + */ + public function getPhoneNumber() + { + return $this->container['phoneNumber']; + } + + /** + * Sets phoneNumber + * + * @param string|null $phoneNumber phoneNumber + * + * @return self + */ + public function setPhoneNumber($phoneNumber) + { + $this->container['phoneNumber'] = $phoneNumber; + + return $this; + } + /** * Gets registeredSince * @@ -438,9 +526,6 @@ public function getRegisteredSince() */ public function setRegisteredSince($registeredSince) { - if (is_null($registeredSince)) { - throw new \InvalidArgumentException('non-nullable registeredSince cannot be null'); - } $this->container['registeredSince'] = $registeredSince; return $this; @@ -465,13 +550,34 @@ public function getTaxId() */ public function setTaxId($taxId) { - if (is_null($taxId)) { - throw new \InvalidArgumentException('non-nullable taxId cannot be null'); - } $this->container['taxId'] = $taxId; return $this; } + + /** + * Gets url + * + * @return string|null + */ + public function getUrl() + { + return $this->container['url']; + } + + /** + * Sets url + * + * @param string|null $url url + * + * @return self + */ + public function setUrl($url) + { + $this->container['url'] = $url; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/Adyen/Model/Checkout/TaxTotal.php b/src/Adyen/Model/Checkout/TaxTotal.php index 7e2fccf63..52858e586 100644 --- a/src/Adyen/Model/Checkout/TaxTotal.php +++ b/src/Adyen/Model/Checkout/TaxTotal.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -295,9 +295,6 @@ public function getAmount() */ public function setAmount($amount) { - if (is_null($amount)) { - throw new \InvalidArgumentException('non-nullable amount cannot be null'); - } $this->container['amount'] = $amount; return $this; diff --git a/src/Adyen/Model/Checkout/ThreeDS2RequestData.php b/src/Adyen/Model/Checkout/ThreeDS2RequestData.php index b2f396e1f..4faf3822a 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2RequestData.php +++ b/src/Adyen/Model/Checkout/ThreeDS2RequestData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -728,9 +728,6 @@ public function getAcctInfo() */ public function setAcctInfo($acctInfo) { - if (is_null($acctInfo)) { - throw new \InvalidArgumentException('non-nullable acctInfo cannot be null'); - } $this->container['acctInfo'] = $acctInfo; return $this; @@ -755,9 +752,6 @@ public function getAcctType() */ public function setAcctType($acctType) { - if (is_null($acctType)) { - throw new \InvalidArgumentException('non-nullable acctType cannot be null'); - } $allowedValues = $this->getAcctTypeAllowableValues(); if (!in_array($acctType, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -792,9 +786,6 @@ public function getAcquirerBIN() */ public function setAcquirerBIN($acquirerBIN) { - if (is_null($acquirerBIN)) { - throw new \InvalidArgumentException('non-nullable acquirerBIN cannot be null'); - } $this->container['acquirerBIN'] = $acquirerBIN; return $this; @@ -819,9 +810,6 @@ public function getAcquirerMerchantID() */ public function setAcquirerMerchantID($acquirerMerchantID) { - if (is_null($acquirerMerchantID)) { - throw new \InvalidArgumentException('non-nullable acquirerMerchantID cannot be null'); - } $this->container['acquirerMerchantID'] = $acquirerMerchantID; return $this; @@ -846,9 +834,6 @@ public function getAddrMatch() */ public function setAddrMatch($addrMatch) { - if (is_null($addrMatch)) { - throw new \InvalidArgumentException('non-nullable addrMatch cannot be null'); - } $allowedValues = $this->getAddrMatchAllowableValues(); if (!in_array($addrMatch, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -885,9 +870,6 @@ public function getAuthenticationOnly() */ public function setAuthenticationOnly($authenticationOnly) { - if (is_null($authenticationOnly)) { - throw new \InvalidArgumentException('non-nullable authenticationOnly cannot be null'); - } $this->container['authenticationOnly'] = $authenticationOnly; return $this; @@ -914,9 +896,6 @@ public function getChallengeIndicator() */ public function setChallengeIndicator($challengeIndicator) { - if (is_null($challengeIndicator)) { - throw new \InvalidArgumentException('non-nullable challengeIndicator cannot be null'); - } $allowedValues = $this->getChallengeIndicatorAllowableValues(); if (!in_array($challengeIndicator, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -951,9 +930,6 @@ public function getDeviceChannel() */ public function setDeviceChannel($deviceChannel) { - if (is_null($deviceChannel)) { - throw new \InvalidArgumentException('non-nullable deviceChannel cannot be null'); - } $this->container['deviceChannel'] = $deviceChannel; return $this; @@ -978,9 +954,6 @@ public function getDeviceRenderOptions() */ public function setDeviceRenderOptions($deviceRenderOptions) { - if (is_null($deviceRenderOptions)) { - throw new \InvalidArgumentException('non-nullable deviceRenderOptions cannot be null'); - } $this->container['deviceRenderOptions'] = $deviceRenderOptions; return $this; @@ -1005,9 +978,6 @@ public function getHomePhone() */ public function setHomePhone($homePhone) { - if (is_null($homePhone)) { - throw new \InvalidArgumentException('non-nullable homePhone cannot be null'); - } $this->container['homePhone'] = $homePhone; return $this; @@ -1032,9 +1002,6 @@ public function getMcc() */ public function setMcc($mcc) { - if (is_null($mcc)) { - throw new \InvalidArgumentException('non-nullable mcc cannot be null'); - } $this->container['mcc'] = $mcc; return $this; @@ -1059,9 +1026,6 @@ public function getMerchantName() */ public function setMerchantName($merchantName) { - if (is_null($merchantName)) { - throw new \InvalidArgumentException('non-nullable merchantName cannot be null'); - } $this->container['merchantName'] = $merchantName; return $this; @@ -1086,9 +1050,6 @@ public function getMessageVersion() */ public function setMessageVersion($messageVersion) { - if (is_null($messageVersion)) { - throw new \InvalidArgumentException('non-nullable messageVersion cannot be null'); - } $this->container['messageVersion'] = $messageVersion; return $this; @@ -1113,9 +1074,6 @@ public function getMobilePhone() */ public function setMobilePhone($mobilePhone) { - if (is_null($mobilePhone)) { - throw new \InvalidArgumentException('non-nullable mobilePhone cannot be null'); - } $this->container['mobilePhone'] = $mobilePhone; return $this; @@ -1140,9 +1098,6 @@ public function getNotificationURL() */ public function setNotificationURL($notificationURL) { - if (is_null($notificationURL)) { - throw new \InvalidArgumentException('non-nullable notificationURL cannot be null'); - } $this->container['notificationURL'] = $notificationURL; return $this; @@ -1167,9 +1122,6 @@ public function getPayTokenInd() */ public function setPayTokenInd($payTokenInd) { - if (is_null($payTokenInd)) { - throw new \InvalidArgumentException('non-nullable payTokenInd cannot be null'); - } $this->container['payTokenInd'] = $payTokenInd; return $this; @@ -1194,9 +1146,6 @@ public function getPaymentAuthenticationUseCase() */ public function setPaymentAuthenticationUseCase($paymentAuthenticationUseCase) { - if (is_null($paymentAuthenticationUseCase)) { - throw new \InvalidArgumentException('non-nullable paymentAuthenticationUseCase cannot be null'); - } $this->container['paymentAuthenticationUseCase'] = $paymentAuthenticationUseCase; return $this; @@ -1221,9 +1170,6 @@ public function getPurchaseInstalData() */ public function setPurchaseInstalData($purchaseInstalData) { - if (is_null($purchaseInstalData)) { - throw new \InvalidArgumentException('non-nullable purchaseInstalData cannot be null'); - } $this->container['purchaseInstalData'] = $purchaseInstalData; return $this; @@ -1248,9 +1194,6 @@ public function getRecurringExpiry() */ public function setRecurringExpiry($recurringExpiry) { - if (is_null($recurringExpiry)) { - throw new \InvalidArgumentException('non-nullable recurringExpiry cannot be null'); - } $this->container['recurringExpiry'] = $recurringExpiry; return $this; @@ -1275,9 +1218,6 @@ public function getRecurringFrequency() */ public function setRecurringFrequency($recurringFrequency) { - if (is_null($recurringFrequency)) { - throw new \InvalidArgumentException('non-nullable recurringFrequency cannot be null'); - } $this->container['recurringFrequency'] = $recurringFrequency; return $this; @@ -1302,9 +1242,6 @@ public function getSdkAppID() */ public function setSdkAppID($sdkAppID) { - if (is_null($sdkAppID)) { - throw new \InvalidArgumentException('non-nullable sdkAppID cannot be null'); - } $this->container['sdkAppID'] = $sdkAppID; return $this; @@ -1329,9 +1266,6 @@ public function getSdkEncData() */ public function setSdkEncData($sdkEncData) { - if (is_null($sdkEncData)) { - throw new \InvalidArgumentException('non-nullable sdkEncData cannot be null'); - } $this->container['sdkEncData'] = $sdkEncData; return $this; @@ -1356,9 +1290,6 @@ public function getSdkEphemPubKey() */ public function setSdkEphemPubKey($sdkEphemPubKey) { - if (is_null($sdkEphemPubKey)) { - throw new \InvalidArgumentException('non-nullable sdkEphemPubKey cannot be null'); - } $this->container['sdkEphemPubKey'] = $sdkEphemPubKey; return $this; @@ -1383,7 +1314,6 @@ public function getSdkMaxTimeout() */ public function setSdkMaxTimeout($sdkMaxTimeout) { - // Do nothing for nullable integers $this->container['sdkMaxTimeout'] = $sdkMaxTimeout; return $this; @@ -1408,9 +1338,6 @@ public function getSdkReferenceNumber() */ public function setSdkReferenceNumber($sdkReferenceNumber) { - if (is_null($sdkReferenceNumber)) { - throw new \InvalidArgumentException('non-nullable sdkReferenceNumber cannot be null'); - } $this->container['sdkReferenceNumber'] = $sdkReferenceNumber; return $this; @@ -1435,9 +1362,6 @@ public function getSdkTransID() */ public function setSdkTransID($sdkTransID) { - if (is_null($sdkTransID)) { - throw new \InvalidArgumentException('non-nullable sdkTransID cannot be null'); - } $this->container['sdkTransID'] = $sdkTransID; return $this; @@ -1462,9 +1386,6 @@ public function getSdkVersion() */ public function setSdkVersion($sdkVersion) { - if (is_null($sdkVersion)) { - throw new \InvalidArgumentException('non-nullable sdkVersion cannot be null'); - } $this->container['sdkVersion'] = $sdkVersion; return $this; @@ -1489,9 +1410,6 @@ public function getThreeDSCompInd() */ public function setThreeDSCompInd($threeDSCompInd) { - if (is_null($threeDSCompInd)) { - throw new \InvalidArgumentException('non-nullable threeDSCompInd cannot be null'); - } $this->container['threeDSCompInd'] = $threeDSCompInd; return $this; @@ -1516,9 +1434,6 @@ public function getThreeDSRequestorAuthenticationInd() */ public function setThreeDSRequestorAuthenticationInd($threeDSRequestorAuthenticationInd) { - if (is_null($threeDSRequestorAuthenticationInd)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestorAuthenticationInd cannot be null'); - } $this->container['threeDSRequestorAuthenticationInd'] = $threeDSRequestorAuthenticationInd; return $this; @@ -1543,9 +1458,6 @@ public function getThreeDSRequestorAuthenticationInfo() */ public function setThreeDSRequestorAuthenticationInfo($threeDSRequestorAuthenticationInfo) { - if (is_null($threeDSRequestorAuthenticationInfo)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestorAuthenticationInfo cannot be null'); - } $this->container['threeDSRequestorAuthenticationInfo'] = $threeDSRequestorAuthenticationInfo; return $this; @@ -1570,9 +1482,6 @@ public function getThreeDSRequestorChallengeInd() */ public function setThreeDSRequestorChallengeInd($threeDSRequestorChallengeInd) { - if (is_null($threeDSRequestorChallengeInd)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestorChallengeInd cannot be null'); - } $allowedValues = $this->getThreeDSRequestorChallengeIndAllowableValues(); if (!in_array($threeDSRequestorChallengeInd, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1607,9 +1516,6 @@ public function getThreeDSRequestorID() */ public function setThreeDSRequestorID($threeDSRequestorID) { - if (is_null($threeDSRequestorID)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestorID cannot be null'); - } $this->container['threeDSRequestorID'] = $threeDSRequestorID; return $this; @@ -1634,9 +1540,6 @@ public function getThreeDSRequestorName() */ public function setThreeDSRequestorName($threeDSRequestorName) { - if (is_null($threeDSRequestorName)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestorName cannot be null'); - } $this->container['threeDSRequestorName'] = $threeDSRequestorName; return $this; @@ -1661,9 +1564,6 @@ public function getThreeDSRequestorPriorAuthenticationInfo() */ public function setThreeDSRequestorPriorAuthenticationInfo($threeDSRequestorPriorAuthenticationInfo) { - if (is_null($threeDSRequestorPriorAuthenticationInfo)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestorPriorAuthenticationInfo cannot be null'); - } $this->container['threeDSRequestorPriorAuthenticationInfo'] = $threeDSRequestorPriorAuthenticationInfo; return $this; @@ -1688,9 +1588,6 @@ public function getThreeDSRequestorURL() */ public function setThreeDSRequestorURL($threeDSRequestorURL) { - if (is_null($threeDSRequestorURL)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestorURL cannot be null'); - } $this->container['threeDSRequestorURL'] = $threeDSRequestorURL; return $this; @@ -1715,9 +1612,6 @@ public function getTransType() */ public function setTransType($transType) { - if (is_null($transType)) { - throw new \InvalidArgumentException('non-nullable transType cannot be null'); - } $allowedValues = $this->getTransTypeAllowableValues(); if (!in_array($transType, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1752,9 +1646,6 @@ public function getTransactionType() */ public function setTransactionType($transactionType) { - if (is_null($transactionType)) { - throw new \InvalidArgumentException('non-nullable transactionType cannot be null'); - } $allowedValues = $this->getTransactionTypeAllowableValues(); if (!in_array($transactionType, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1789,9 +1680,6 @@ public function getWhiteListStatus() */ public function setWhiteListStatus($whiteListStatus) { - if (is_null($whiteListStatus)) { - throw new \InvalidArgumentException('non-nullable whiteListStatus cannot be null'); - } $this->container['whiteListStatus'] = $whiteListStatus; return $this; @@ -1816,9 +1704,6 @@ public function getWorkPhone() */ public function setWorkPhone($workPhone) { - if (is_null($workPhone)) { - throw new \InvalidArgumentException('non-nullable workPhone cannot be null'); - } $this->container['workPhone'] = $workPhone; return $this; diff --git a/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php b/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php index f36986459..d3c2ff90e 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php +++ b/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -704,9 +704,6 @@ public function getAcctInfo() */ public function setAcctInfo($acctInfo) { - if (is_null($acctInfo)) { - throw new \InvalidArgumentException('non-nullable acctInfo cannot be null'); - } $this->container['acctInfo'] = $acctInfo; return $this; @@ -731,9 +728,6 @@ public function getAcctType() */ public function setAcctType($acctType) { - if (is_null($acctType)) { - throw new \InvalidArgumentException('non-nullable acctType cannot be null'); - } $allowedValues = $this->getAcctTypeAllowableValues(); if (!in_array($acctType, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -768,9 +762,6 @@ public function getAcquirerBIN() */ public function setAcquirerBIN($acquirerBIN) { - if (is_null($acquirerBIN)) { - throw new \InvalidArgumentException('non-nullable acquirerBIN cannot be null'); - } $this->container['acquirerBIN'] = $acquirerBIN; return $this; @@ -795,9 +786,6 @@ public function getAcquirerMerchantID() */ public function setAcquirerMerchantID($acquirerMerchantID) { - if (is_null($acquirerMerchantID)) { - throw new \InvalidArgumentException('non-nullable acquirerMerchantID cannot be null'); - } $this->container['acquirerMerchantID'] = $acquirerMerchantID; return $this; @@ -822,9 +810,6 @@ public function getAddrMatch() */ public function setAddrMatch($addrMatch) { - if (is_null($addrMatch)) { - throw new \InvalidArgumentException('non-nullable addrMatch cannot be null'); - } $allowedValues = $this->getAddrMatchAllowableValues(); if (!in_array($addrMatch, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -861,9 +846,6 @@ public function getAuthenticationOnly() */ public function setAuthenticationOnly($authenticationOnly) { - if (is_null($authenticationOnly)) { - throw new \InvalidArgumentException('non-nullable authenticationOnly cannot be null'); - } $this->container['authenticationOnly'] = $authenticationOnly; return $this; @@ -890,9 +872,6 @@ public function getChallengeIndicator() */ public function setChallengeIndicator($challengeIndicator) { - if (is_null($challengeIndicator)) { - throw new \InvalidArgumentException('non-nullable challengeIndicator cannot be null'); - } $allowedValues = $this->getChallengeIndicatorAllowableValues(); if (!in_array($challengeIndicator, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -927,9 +906,6 @@ public function getDeviceRenderOptions() */ public function setDeviceRenderOptions($deviceRenderOptions) { - if (is_null($deviceRenderOptions)) { - throw new \InvalidArgumentException('non-nullable deviceRenderOptions cannot be null'); - } $this->container['deviceRenderOptions'] = $deviceRenderOptions; return $this; @@ -954,9 +930,6 @@ public function getHomePhone() */ public function setHomePhone($homePhone) { - if (is_null($homePhone)) { - throw new \InvalidArgumentException('non-nullable homePhone cannot be null'); - } $this->container['homePhone'] = $homePhone; return $this; @@ -981,9 +954,6 @@ public function getMcc() */ public function setMcc($mcc) { - if (is_null($mcc)) { - throw new \InvalidArgumentException('non-nullable mcc cannot be null'); - } $this->container['mcc'] = $mcc; return $this; @@ -1008,9 +978,6 @@ public function getMerchantName() */ public function setMerchantName($merchantName) { - if (is_null($merchantName)) { - throw new \InvalidArgumentException('non-nullable merchantName cannot be null'); - } $this->container['merchantName'] = $merchantName; return $this; @@ -1035,9 +1002,6 @@ public function getMessageVersion() */ public function setMessageVersion($messageVersion) { - if (is_null($messageVersion)) { - throw new \InvalidArgumentException('non-nullable messageVersion cannot be null'); - } $this->container['messageVersion'] = $messageVersion; return $this; @@ -1062,9 +1026,6 @@ public function getMobilePhone() */ public function setMobilePhone($mobilePhone) { - if (is_null($mobilePhone)) { - throw new \InvalidArgumentException('non-nullable mobilePhone cannot be null'); - } $this->container['mobilePhone'] = $mobilePhone; return $this; @@ -1089,9 +1050,6 @@ public function getNotificationURL() */ public function setNotificationURL($notificationURL) { - if (is_null($notificationURL)) { - throw new \InvalidArgumentException('non-nullable notificationURL cannot be null'); - } $this->container['notificationURL'] = $notificationURL; return $this; @@ -1116,9 +1074,6 @@ public function getPayTokenInd() */ public function setPayTokenInd($payTokenInd) { - if (is_null($payTokenInd)) { - throw new \InvalidArgumentException('non-nullable payTokenInd cannot be null'); - } $this->container['payTokenInd'] = $payTokenInd; return $this; @@ -1143,9 +1098,6 @@ public function getPaymentAuthenticationUseCase() */ public function setPaymentAuthenticationUseCase($paymentAuthenticationUseCase) { - if (is_null($paymentAuthenticationUseCase)) { - throw new \InvalidArgumentException('non-nullable paymentAuthenticationUseCase cannot be null'); - } $this->container['paymentAuthenticationUseCase'] = $paymentAuthenticationUseCase; return $this; @@ -1170,9 +1122,6 @@ public function getPurchaseInstalData() */ public function setPurchaseInstalData($purchaseInstalData) { - if (is_null($purchaseInstalData)) { - throw new \InvalidArgumentException('non-nullable purchaseInstalData cannot be null'); - } $this->container['purchaseInstalData'] = $purchaseInstalData; return $this; @@ -1197,9 +1146,6 @@ public function getRecurringExpiry() */ public function setRecurringExpiry($recurringExpiry) { - if (is_null($recurringExpiry)) { - throw new \InvalidArgumentException('non-nullable recurringExpiry cannot be null'); - } $this->container['recurringExpiry'] = $recurringExpiry; return $this; @@ -1224,9 +1170,6 @@ public function getRecurringFrequency() */ public function setRecurringFrequency($recurringFrequency) { - if (is_null($recurringFrequency)) { - throw new \InvalidArgumentException('non-nullable recurringFrequency cannot be null'); - } $this->container['recurringFrequency'] = $recurringFrequency; return $this; @@ -1251,9 +1194,6 @@ public function getSdkAppID() */ public function setSdkAppID($sdkAppID) { - if (is_null($sdkAppID)) { - throw new \InvalidArgumentException('non-nullable sdkAppID cannot be null'); - } $this->container['sdkAppID'] = $sdkAppID; return $this; @@ -1278,9 +1218,6 @@ public function getSdkEphemPubKey() */ public function setSdkEphemPubKey($sdkEphemPubKey) { - if (is_null($sdkEphemPubKey)) { - throw new \InvalidArgumentException('non-nullable sdkEphemPubKey cannot be null'); - } $this->container['sdkEphemPubKey'] = $sdkEphemPubKey; return $this; @@ -1305,7 +1242,6 @@ public function getSdkMaxTimeout() */ public function setSdkMaxTimeout($sdkMaxTimeout) { - // Do nothing for nullable integers $this->container['sdkMaxTimeout'] = $sdkMaxTimeout; return $this; @@ -1330,9 +1266,6 @@ public function getSdkReferenceNumber() */ public function setSdkReferenceNumber($sdkReferenceNumber) { - if (is_null($sdkReferenceNumber)) { - throw new \InvalidArgumentException('non-nullable sdkReferenceNumber cannot be null'); - } $this->container['sdkReferenceNumber'] = $sdkReferenceNumber; return $this; @@ -1357,9 +1290,6 @@ public function getSdkTransID() */ public function setSdkTransID($sdkTransID) { - if (is_null($sdkTransID)) { - throw new \InvalidArgumentException('non-nullable sdkTransID cannot be null'); - } $this->container['sdkTransID'] = $sdkTransID; return $this; @@ -1384,9 +1314,6 @@ public function getThreeDSCompInd() */ public function setThreeDSCompInd($threeDSCompInd) { - if (is_null($threeDSCompInd)) { - throw new \InvalidArgumentException('non-nullable threeDSCompInd cannot be null'); - } $this->container['threeDSCompInd'] = $threeDSCompInd; return $this; @@ -1411,9 +1338,6 @@ public function getThreeDSRequestorAuthenticationInd() */ public function setThreeDSRequestorAuthenticationInd($threeDSRequestorAuthenticationInd) { - if (is_null($threeDSRequestorAuthenticationInd)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestorAuthenticationInd cannot be null'); - } $this->container['threeDSRequestorAuthenticationInd'] = $threeDSRequestorAuthenticationInd; return $this; @@ -1438,9 +1362,6 @@ public function getThreeDSRequestorAuthenticationInfo() */ public function setThreeDSRequestorAuthenticationInfo($threeDSRequestorAuthenticationInfo) { - if (is_null($threeDSRequestorAuthenticationInfo)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestorAuthenticationInfo cannot be null'); - } $this->container['threeDSRequestorAuthenticationInfo'] = $threeDSRequestorAuthenticationInfo; return $this; @@ -1465,9 +1386,6 @@ public function getThreeDSRequestorChallengeInd() */ public function setThreeDSRequestorChallengeInd($threeDSRequestorChallengeInd) { - if (is_null($threeDSRequestorChallengeInd)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestorChallengeInd cannot be null'); - } $allowedValues = $this->getThreeDSRequestorChallengeIndAllowableValues(); if (!in_array($threeDSRequestorChallengeInd, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1502,9 +1420,6 @@ public function getThreeDSRequestorID() */ public function setThreeDSRequestorID($threeDSRequestorID) { - if (is_null($threeDSRequestorID)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestorID cannot be null'); - } $this->container['threeDSRequestorID'] = $threeDSRequestorID; return $this; @@ -1529,9 +1444,6 @@ public function getThreeDSRequestorName() */ public function setThreeDSRequestorName($threeDSRequestorName) { - if (is_null($threeDSRequestorName)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestorName cannot be null'); - } $this->container['threeDSRequestorName'] = $threeDSRequestorName; return $this; @@ -1556,9 +1468,6 @@ public function getThreeDSRequestorPriorAuthenticationInfo() */ public function setThreeDSRequestorPriorAuthenticationInfo($threeDSRequestorPriorAuthenticationInfo) { - if (is_null($threeDSRequestorPriorAuthenticationInfo)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestorPriorAuthenticationInfo cannot be null'); - } $this->container['threeDSRequestorPriorAuthenticationInfo'] = $threeDSRequestorPriorAuthenticationInfo; return $this; @@ -1583,9 +1492,6 @@ public function getThreeDSRequestorURL() */ public function setThreeDSRequestorURL($threeDSRequestorURL) { - if (is_null($threeDSRequestorURL)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestorURL cannot be null'); - } $this->container['threeDSRequestorURL'] = $threeDSRequestorURL; return $this; @@ -1610,9 +1516,6 @@ public function getTransType() */ public function setTransType($transType) { - if (is_null($transType)) { - throw new \InvalidArgumentException('non-nullable transType cannot be null'); - } $allowedValues = $this->getTransTypeAllowableValues(); if (!in_array($transType, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1647,9 +1550,6 @@ public function getTransactionType() */ public function setTransactionType($transactionType) { - if (is_null($transactionType)) { - throw new \InvalidArgumentException('non-nullable transactionType cannot be null'); - } $allowedValues = $this->getTransactionTypeAllowableValues(); if (!in_array($transactionType, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -1684,9 +1584,6 @@ public function getWhiteListStatus() */ public function setWhiteListStatus($whiteListStatus) { - if (is_null($whiteListStatus)) { - throw new \InvalidArgumentException('non-nullable whiteListStatus cannot be null'); - } $this->container['whiteListStatus'] = $whiteListStatus; return $this; @@ -1711,9 +1608,6 @@ public function getWorkPhone() */ public function setWorkPhone($workPhone) { - if (is_null($workPhone)) { - throw new \InvalidArgumentException('non-nullable workPhone cannot be null'); - } $this->container['workPhone'] = $workPhone; return $this; diff --git a/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php b/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php index d19380ac2..8648a79c4 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php +++ b/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -421,9 +421,6 @@ public function getAcsChallengeMandated() */ public function setAcsChallengeMandated($acsChallengeMandated) { - if (is_null($acsChallengeMandated)) { - throw new \InvalidArgumentException('non-nullable acsChallengeMandated cannot be null'); - } $this->container['acsChallengeMandated'] = $acsChallengeMandated; return $this; @@ -448,9 +445,6 @@ public function getAcsOperatorID() */ public function setAcsOperatorID($acsOperatorID) { - if (is_null($acsOperatorID)) { - throw new \InvalidArgumentException('non-nullable acsOperatorID cannot be null'); - } $this->container['acsOperatorID'] = $acsOperatorID; return $this; @@ -475,9 +469,6 @@ public function getAcsReferenceNumber() */ public function setAcsReferenceNumber($acsReferenceNumber) { - if (is_null($acsReferenceNumber)) { - throw new \InvalidArgumentException('non-nullable acsReferenceNumber cannot be null'); - } $this->container['acsReferenceNumber'] = $acsReferenceNumber; return $this; @@ -502,9 +493,6 @@ public function getAcsSignedContent() */ public function setAcsSignedContent($acsSignedContent) { - if (is_null($acsSignedContent)) { - throw new \InvalidArgumentException('non-nullable acsSignedContent cannot be null'); - } $this->container['acsSignedContent'] = $acsSignedContent; return $this; @@ -529,9 +517,6 @@ public function getAcsTransID() */ public function setAcsTransID($acsTransID) { - if (is_null($acsTransID)) { - throw new \InvalidArgumentException('non-nullable acsTransID cannot be null'); - } $this->container['acsTransID'] = $acsTransID; return $this; @@ -556,9 +541,6 @@ public function getAcsURL() */ public function setAcsURL($acsURL) { - if (is_null($acsURL)) { - throw new \InvalidArgumentException('non-nullable acsURL cannot be null'); - } $this->container['acsURL'] = $acsURL; return $this; @@ -583,9 +565,6 @@ public function getAuthenticationType() */ public function setAuthenticationType($authenticationType) { - if (is_null($authenticationType)) { - throw new \InvalidArgumentException('non-nullable authenticationType cannot be null'); - } $this->container['authenticationType'] = $authenticationType; return $this; @@ -610,9 +589,6 @@ public function getCardHolderInfo() */ public function setCardHolderInfo($cardHolderInfo) { - if (is_null($cardHolderInfo)) { - throw new \InvalidArgumentException('non-nullable cardHolderInfo cannot be null'); - } $this->container['cardHolderInfo'] = $cardHolderInfo; return $this; @@ -637,9 +613,6 @@ public function getCavvAlgorithm() */ public function setCavvAlgorithm($cavvAlgorithm) { - if (is_null($cavvAlgorithm)) { - throw new \InvalidArgumentException('non-nullable cavvAlgorithm cannot be null'); - } $this->container['cavvAlgorithm'] = $cavvAlgorithm; return $this; @@ -664,9 +637,6 @@ public function getChallengeIndicator() */ public function setChallengeIndicator($challengeIndicator) { - if (is_null($challengeIndicator)) { - throw new \InvalidArgumentException('non-nullable challengeIndicator cannot be null'); - } $this->container['challengeIndicator'] = $challengeIndicator; return $this; @@ -691,9 +661,6 @@ public function getDsReferenceNumber() */ public function setDsReferenceNumber($dsReferenceNumber) { - if (is_null($dsReferenceNumber)) { - throw new \InvalidArgumentException('non-nullable dsReferenceNumber cannot be null'); - } $this->container['dsReferenceNumber'] = $dsReferenceNumber; return $this; @@ -718,9 +685,6 @@ public function getDsTransID() */ public function setDsTransID($dsTransID) { - if (is_null($dsTransID)) { - throw new \InvalidArgumentException('non-nullable dsTransID cannot be null'); - } $this->container['dsTransID'] = $dsTransID; return $this; @@ -745,9 +709,6 @@ public function getExemptionIndicator() */ public function setExemptionIndicator($exemptionIndicator) { - if (is_null($exemptionIndicator)) { - throw new \InvalidArgumentException('non-nullable exemptionIndicator cannot be null'); - } $this->container['exemptionIndicator'] = $exemptionIndicator; return $this; @@ -772,9 +733,6 @@ public function getMessageVersion() */ public function setMessageVersion($messageVersion) { - if (is_null($messageVersion)) { - throw new \InvalidArgumentException('non-nullable messageVersion cannot be null'); - } $this->container['messageVersion'] = $messageVersion; return $this; @@ -799,9 +757,6 @@ public function getRiskScore() */ public function setRiskScore($riskScore) { - if (is_null($riskScore)) { - throw new \InvalidArgumentException('non-nullable riskScore cannot be null'); - } $this->container['riskScore'] = $riskScore; return $this; @@ -826,9 +781,6 @@ public function getSdkEphemPubKey() */ public function setSdkEphemPubKey($sdkEphemPubKey) { - if (is_null($sdkEphemPubKey)) { - throw new \InvalidArgumentException('non-nullable sdkEphemPubKey cannot be null'); - } $this->container['sdkEphemPubKey'] = $sdkEphemPubKey; return $this; @@ -853,9 +805,6 @@ public function getThreeDSServerTransID() */ public function setThreeDSServerTransID($threeDSServerTransID) { - if (is_null($threeDSServerTransID)) { - throw new \InvalidArgumentException('non-nullable threeDSServerTransID cannot be null'); - } $this->container['threeDSServerTransID'] = $threeDSServerTransID; return $this; @@ -880,9 +829,6 @@ public function getTransStatus() */ public function setTransStatus($transStatus) { - if (is_null($transStatus)) { - throw new \InvalidArgumentException('non-nullable transStatus cannot be null'); - } $this->container['transStatus'] = $transStatus; return $this; @@ -907,9 +853,6 @@ public function getTransStatusReason() */ public function setTransStatusReason($transStatusReason) { - if (is_null($transStatusReason)) { - throw new \InvalidArgumentException('non-nullable transStatusReason cannot be null'); - } $this->container['transStatusReason'] = $transStatusReason; return $this; diff --git a/src/Adyen/Model/Checkout/ThreeDS2Result.php b/src/Adyen/Model/Checkout/ThreeDS2Result.php index 34650bcc2..2a1826e7c 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2Result.php +++ b/src/Adyen/Model/Checkout/ThreeDS2Result.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -477,9 +477,6 @@ public function getAuthenticationValue() */ public function setAuthenticationValue($authenticationValue) { - if (is_null($authenticationValue)) { - throw new \InvalidArgumentException('non-nullable authenticationValue cannot be null'); - } $this->container['authenticationValue'] = $authenticationValue; return $this; @@ -504,9 +501,6 @@ public function getCavvAlgorithm() */ public function setCavvAlgorithm($cavvAlgorithm) { - if (is_null($cavvAlgorithm)) { - throw new \InvalidArgumentException('non-nullable cavvAlgorithm cannot be null'); - } $this->container['cavvAlgorithm'] = $cavvAlgorithm; return $this; @@ -531,9 +525,6 @@ public function getChallengeCancel() */ public function setChallengeCancel($challengeCancel) { - if (is_null($challengeCancel)) { - throw new \InvalidArgumentException('non-nullable challengeCancel cannot be null'); - } $allowedValues = $this->getChallengeCancelAllowableValues(); if (!in_array($challengeCancel, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -568,9 +559,6 @@ public function getDsTransID() */ public function setDsTransID($dsTransID) { - if (is_null($dsTransID)) { - throw new \InvalidArgumentException('non-nullable dsTransID cannot be null'); - } $this->container['dsTransID'] = $dsTransID; return $this; @@ -595,9 +583,6 @@ public function getEci() */ public function setEci($eci) { - if (is_null($eci)) { - throw new \InvalidArgumentException('non-nullable eci cannot be null'); - } $this->container['eci'] = $eci; return $this; @@ -622,9 +607,6 @@ public function getExemptionIndicator() */ public function setExemptionIndicator($exemptionIndicator) { - if (is_null($exemptionIndicator)) { - throw new \InvalidArgumentException('non-nullable exemptionIndicator cannot be null'); - } $allowedValues = $this->getExemptionIndicatorAllowableValues(); if (!in_array($exemptionIndicator, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -659,9 +641,6 @@ public function getMessageVersion() */ public function setMessageVersion($messageVersion) { - if (is_null($messageVersion)) { - throw new \InvalidArgumentException('non-nullable messageVersion cannot be null'); - } $this->container['messageVersion'] = $messageVersion; return $this; @@ -686,9 +665,6 @@ public function getRiskScore() */ public function setRiskScore($riskScore) { - if (is_null($riskScore)) { - throw new \InvalidArgumentException('non-nullable riskScore cannot be null'); - } $this->container['riskScore'] = $riskScore; return $this; @@ -713,9 +689,6 @@ public function getThreeDSRequestorChallengeInd() */ public function setThreeDSRequestorChallengeInd($threeDSRequestorChallengeInd) { - if (is_null($threeDSRequestorChallengeInd)) { - throw new \InvalidArgumentException('non-nullable threeDSRequestorChallengeInd cannot be null'); - } $allowedValues = $this->getThreeDSRequestorChallengeIndAllowableValues(); if (!in_array($threeDSRequestorChallengeInd, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -750,9 +723,6 @@ public function getThreeDSServerTransID() */ public function setThreeDSServerTransID($threeDSServerTransID) { - if (is_null($threeDSServerTransID)) { - throw new \InvalidArgumentException('non-nullable threeDSServerTransID cannot be null'); - } $this->container['threeDSServerTransID'] = $threeDSServerTransID; return $this; @@ -777,9 +747,6 @@ public function getTimestamp() */ public function setTimestamp($timestamp) { - if (is_null($timestamp)) { - throw new \InvalidArgumentException('non-nullable timestamp cannot be null'); - } $this->container['timestamp'] = $timestamp; return $this; @@ -804,9 +771,6 @@ public function getTransStatus() */ public function setTransStatus($transStatus) { - if (is_null($transStatus)) { - throw new \InvalidArgumentException('non-nullable transStatus cannot be null'); - } $this->container['transStatus'] = $transStatus; return $this; @@ -831,9 +795,6 @@ public function getTransStatusReason() */ public function setTransStatusReason($transStatusReason) { - if (is_null($transStatusReason)) { - throw new \InvalidArgumentException('non-nullable transStatusReason cannot be null'); - } $this->container['transStatusReason'] = $transStatusReason; return $this; @@ -858,9 +819,6 @@ public function getWhiteListStatus() */ public function setWhiteListStatus($whiteListStatus) { - if (is_null($whiteListStatus)) { - throw new \InvalidArgumentException('non-nullable whiteListStatus cannot be null'); - } $this->container['whiteListStatus'] = $whiteListStatus; return $this; diff --git a/src/Adyen/Model/Checkout/ThreeDSRequestData.php b/src/Adyen/Model/Checkout/ThreeDSRequestData.php index a6eea8561..bb991a694 100644 --- a/src/Adyen/Model/Checkout/ThreeDSRequestData.php +++ b/src/Adyen/Model/Checkout/ThreeDSRequestData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -412,9 +412,6 @@ public function getChallengeWindowSize() */ public function setChallengeWindowSize($challengeWindowSize) { - if (is_null($challengeWindowSize)) { - throw new \InvalidArgumentException('non-nullable challengeWindowSize cannot be null'); - } $allowedValues = $this->getChallengeWindowSizeAllowableValues(); if (!in_array($challengeWindowSize, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -449,9 +446,6 @@ public function getDataOnly() */ public function setDataOnly($dataOnly) { - if (is_null($dataOnly)) { - throw new \InvalidArgumentException('non-nullable dataOnly cannot be null'); - } $allowedValues = $this->getDataOnlyAllowableValues(); if (!in_array($dataOnly, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -486,9 +480,6 @@ public function getNativeThreeDS() */ public function setNativeThreeDS($nativeThreeDS) { - if (is_null($nativeThreeDS)) { - throw new \InvalidArgumentException('non-nullable nativeThreeDS cannot be null'); - } $allowedValues = $this->getNativeThreeDSAllowableValues(); if (!in_array($nativeThreeDS, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -523,9 +514,6 @@ public function getThreeDSVersion() */ public function setThreeDSVersion($threeDSVersion) { - if (is_null($threeDSVersion)) { - throw new \InvalidArgumentException('non-nullable threeDSVersion cannot be null'); - } $allowedValues = $this->getThreeDSVersionAllowableValues(); if (!in_array($threeDSVersion, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php b/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php index b2a5def84..b57e4f5b9 100644 --- a/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php +++ b/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -340,9 +340,6 @@ public function getThreeDSReqAuthData() */ public function setThreeDSReqAuthData($threeDSReqAuthData) { - if (is_null($threeDSReqAuthData)) { - throw new \InvalidArgumentException('non-nullable threeDSReqAuthData cannot be null'); - } $this->container['threeDSReqAuthData'] = $threeDSReqAuthData; return $this; @@ -367,9 +364,6 @@ public function getThreeDSReqAuthMethod() */ public function setThreeDSReqAuthMethod($threeDSReqAuthMethod) { - if (is_null($threeDSReqAuthMethod)) { - throw new \InvalidArgumentException('non-nullable threeDSReqAuthMethod cannot be null'); - } $allowedValues = $this->getThreeDSReqAuthMethodAllowableValues(); if (!in_array($threeDSReqAuthMethod, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -404,9 +398,6 @@ public function getThreeDSReqAuthTimestamp() */ public function setThreeDSReqAuthTimestamp($threeDSReqAuthTimestamp) { - if (is_null($threeDSReqAuthTimestamp)) { - throw new \InvalidArgumentException('non-nullable threeDSReqAuthTimestamp cannot be null'); - } $this->container['threeDSReqAuthTimestamp'] = $threeDSReqAuthTimestamp; return $this; diff --git a/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php b/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php index d5dd0f3b2..d60389426 100644 --- a/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php +++ b/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -343,9 +343,6 @@ public function getThreeDSReqPriorAuthData() */ public function setThreeDSReqPriorAuthData($threeDSReqPriorAuthData) { - if (is_null($threeDSReqPriorAuthData)) { - throw new \InvalidArgumentException('non-nullable threeDSReqPriorAuthData cannot be null'); - } $this->container['threeDSReqPriorAuthData'] = $threeDSReqPriorAuthData; return $this; @@ -370,9 +367,6 @@ public function getThreeDSReqPriorAuthMethod() */ public function setThreeDSReqPriorAuthMethod($threeDSReqPriorAuthMethod) { - if (is_null($threeDSReqPriorAuthMethod)) { - throw new \InvalidArgumentException('non-nullable threeDSReqPriorAuthMethod cannot be null'); - } $allowedValues = $this->getThreeDSReqPriorAuthMethodAllowableValues(); if (!in_array($threeDSReqPriorAuthMethod, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -407,9 +401,6 @@ public function getThreeDSReqPriorAuthTimestamp() */ public function setThreeDSReqPriorAuthTimestamp($threeDSReqPriorAuthTimestamp) { - if (is_null($threeDSReqPriorAuthTimestamp)) { - throw new \InvalidArgumentException('non-nullable threeDSReqPriorAuthTimestamp cannot be null'); - } $this->container['threeDSReqPriorAuthTimestamp'] = $threeDSReqPriorAuthTimestamp; return $this; @@ -434,9 +425,6 @@ public function getThreeDSReqPriorRef() */ public function setThreeDSReqPriorRef($threeDSReqPriorRef) { - if (is_null($threeDSReqPriorRef)) { - throw new \InvalidArgumentException('non-nullable threeDSReqPriorRef cannot be null'); - } $this->container['threeDSReqPriorRef'] = $threeDSReqPriorRef; return $this; diff --git a/src/Adyen/Model/Checkout/ThreeDSecureData.php b/src/Adyen/Model/Checkout/ThreeDSecureData.php index 3cd9e6ea8..ccb38f14f 100644 --- a/src/Adyen/Model/Checkout/ThreeDSecureData.php +++ b/src/Adyen/Model/Checkout/ThreeDSecureData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -467,9 +467,6 @@ public function getAuthenticationResponse() */ public function setAuthenticationResponse($authenticationResponse) { - if (is_null($authenticationResponse)) { - throw new \InvalidArgumentException('non-nullable authenticationResponse cannot be null'); - } $allowedValues = $this->getAuthenticationResponseAllowableValues(); if (!in_array($authenticationResponse, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -504,9 +501,6 @@ public function getCavv() */ public function setCavv($cavv) { - if (is_null($cavv)) { - throw new \InvalidArgumentException('non-nullable cavv cannot be null'); - } $this->container['cavv'] = $cavv; return $this; @@ -531,9 +525,6 @@ public function getCavvAlgorithm() */ public function setCavvAlgorithm($cavvAlgorithm) { - if (is_null($cavvAlgorithm)) { - throw new \InvalidArgumentException('non-nullable cavvAlgorithm cannot be null'); - } $this->container['cavvAlgorithm'] = $cavvAlgorithm; return $this; @@ -558,9 +549,6 @@ public function getChallengeCancel() */ public function setChallengeCancel($challengeCancel) { - if (is_null($challengeCancel)) { - throw new \InvalidArgumentException('non-nullable challengeCancel cannot be null'); - } $allowedValues = $this->getChallengeCancelAllowableValues(); if (!in_array($challengeCancel, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -595,9 +583,6 @@ public function getDirectoryResponse() */ public function setDirectoryResponse($directoryResponse) { - if (is_null($directoryResponse)) { - throw new \InvalidArgumentException('non-nullable directoryResponse cannot be null'); - } $allowedValues = $this->getDirectoryResponseAllowableValues(); if (!in_array($directoryResponse, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -632,9 +617,6 @@ public function getDsTransID() */ public function setDsTransID($dsTransID) { - if (is_null($dsTransID)) { - throw new \InvalidArgumentException('non-nullable dsTransID cannot be null'); - } $this->container['dsTransID'] = $dsTransID; return $this; @@ -659,9 +641,6 @@ public function getEci() */ public function setEci($eci) { - if (is_null($eci)) { - throw new \InvalidArgumentException('non-nullable eci cannot be null'); - } $this->container['eci'] = $eci; return $this; @@ -686,9 +665,6 @@ public function getRiskScore() */ public function setRiskScore($riskScore) { - if (is_null($riskScore)) { - throw new \InvalidArgumentException('non-nullable riskScore cannot be null'); - } $this->container['riskScore'] = $riskScore; return $this; @@ -713,9 +689,6 @@ public function getThreeDSVersion() */ public function setThreeDSVersion($threeDSVersion) { - if (is_null($threeDSVersion)) { - throw new \InvalidArgumentException('non-nullable threeDSVersion cannot be null'); - } $this->container['threeDSVersion'] = $threeDSVersion; return $this; @@ -740,9 +713,6 @@ public function getTokenAuthenticationVerificationValue() */ public function setTokenAuthenticationVerificationValue($tokenAuthenticationVerificationValue) { - if (is_null($tokenAuthenticationVerificationValue)) { - throw new \InvalidArgumentException('non-nullable tokenAuthenticationVerificationValue cannot be null'); - } $this->container['tokenAuthenticationVerificationValue'] = $tokenAuthenticationVerificationValue; return $this; @@ -767,9 +737,6 @@ public function getTransStatusReason() */ public function setTransStatusReason($transStatusReason) { - if (is_null($transStatusReason)) { - throw new \InvalidArgumentException('non-nullable transStatusReason cannot be null'); - } $this->container['transStatusReason'] = $transStatusReason; return $this; @@ -794,9 +761,6 @@ public function getXid() */ public function setXid($xid) { - if (is_null($xid)) { - throw new \InvalidArgumentException('non-nullable xid cannot be null'); - } $this->container['xid'] = $xid; return $this; diff --git a/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php b/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php index 81569e3b0..bd30d30ac 100644 --- a/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php +++ b/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -319,9 +319,6 @@ public function getStatus() */ public function setStatus($status) { - if (is_null($status)) { - throw new \InvalidArgumentException('non-nullable status cannot be null'); - } $allowedValues = $this->getStatusAllowableValues(); if (!in_array($status, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/UpiCollectDetails.php b/src/Adyen/Model/Checkout/UpiCollectDetails.php index ba94f7caa..fadfa71b6 100644 --- a/src/Adyen/Model/Checkout/UpiCollectDetails.php +++ b/src/Adyen/Model/Checkout/UpiCollectDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -364,9 +364,6 @@ public function getBillingSequenceNumber() */ public function setBillingSequenceNumber($billingSequenceNumber) { - if (is_null($billingSequenceNumber)) { - throw new \InvalidArgumentException('non-nullable billingSequenceNumber cannot be null'); - } $this->container['billingSequenceNumber'] = $billingSequenceNumber; return $this; @@ -391,9 +388,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -420,9 +414,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -447,9 +438,6 @@ public function getShopperNotificationReference() */ public function setShopperNotificationReference($shopperNotificationReference) { - if (is_null($shopperNotificationReference)) { - throw new \InvalidArgumentException('non-nullable shopperNotificationReference cannot be null'); - } $this->container['shopperNotificationReference'] = $shopperNotificationReference; return $this; @@ -474,9 +462,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -501,9 +486,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -538,9 +520,6 @@ public function getVirtualPaymentAddress() */ public function setVirtualPaymentAddress($virtualPaymentAddress) { - if (is_null($virtualPaymentAddress)) { - throw new \InvalidArgumentException('non-nullable virtualPaymentAddress cannot be null'); - } $this->container['virtualPaymentAddress'] = $virtualPaymentAddress; return $this; diff --git a/src/Adyen/Model/Checkout/UpiIntentDetails.php b/src/Adyen/Model/Checkout/UpiIntentDetails.php index 2d8b5bc5f..1fce7a77c 100644 --- a/src/Adyen/Model/Checkout/UpiIntentDetails.php +++ b/src/Adyen/Model/Checkout/UpiIntentDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -354,9 +354,6 @@ public function getAppId() */ public function setAppId($appId) { - if (is_null($appId)) { - throw new \InvalidArgumentException('non-nullable appId cannot be null'); - } $this->container['appId'] = $appId; return $this; @@ -381,9 +378,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -410,9 +404,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -437,9 +428,6 @@ public function getShopperNotificationReference() */ public function setShopperNotificationReference($shopperNotificationReference) { - if (is_null($shopperNotificationReference)) { - throw new \InvalidArgumentException('non-nullable shopperNotificationReference cannot be null'); - } $this->container['shopperNotificationReference'] = $shopperNotificationReference; return $this; @@ -464,9 +452,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -491,9 +476,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/UtilityRequest.php b/src/Adyen/Model/Checkout/UtilityRequest.php index 3d7e80011..56f8d3db6 100644 --- a/src/Adyen/Model/Checkout/UtilityRequest.php +++ b/src/Adyen/Model/Checkout/UtilityRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -298,9 +298,6 @@ public function getOriginDomains() */ public function setOriginDomains($originDomains) { - if (is_null($originDomains)) { - throw new \InvalidArgumentException('non-nullable originDomains cannot be null'); - } $this->container['originDomains'] = $originDomains; return $this; diff --git a/src/Adyen/Model/Checkout/UtilityResponse.php b/src/Adyen/Model/Checkout/UtilityResponse.php index 317109d5d..2f21e658e 100644 --- a/src/Adyen/Model/Checkout/UtilityResponse.php +++ b/src/Adyen/Model/Checkout/UtilityResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -295,9 +295,6 @@ public function getOriginKeys() */ public function setOriginKeys($originKeys) { - if (is_null($originKeys)) { - throw new \InvalidArgumentException('non-nullable originKeys cannot be null'); - } $this->container['originKeys'] = $originKeys; return $this; diff --git a/src/Adyen/Model/Checkout/VippsDetails.php b/src/Adyen/Model/Checkout/VippsDetails.php index 143c331a7..704d4c55b 100644 --- a/src/Adyen/Model/Checkout/VippsDetails.php +++ b/src/Adyen/Model/Checkout/VippsDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -347,9 +347,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -376,9 +373,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -403,9 +397,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -430,9 +421,6 @@ public function getTelephoneNumber() */ public function setTelephoneNumber($telephoneNumber) { - if (is_null($telephoneNumber)) { - throw new \InvalidArgumentException('non-nullable telephoneNumber cannot be null'); - } $this->container['telephoneNumber'] = $telephoneNumber; return $this; @@ -457,9 +445,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/VisaCheckoutDetails.php b/src/Adyen/Model/Checkout/VisaCheckoutDetails.php index 4149d2ac0..5ba33ca81 100644 --- a/src/Adyen/Model/Checkout/VisaCheckoutDetails.php +++ b/src/Adyen/Model/Checkout/VisaCheckoutDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -363,9 +363,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -390,9 +387,6 @@ public function getFundingSource() */ public function setFundingSource($fundingSource) { - if (is_null($fundingSource)) { - throw new \InvalidArgumentException('non-nullable fundingSource cannot be null'); - } $allowedValues = $this->getFundingSourceAllowableValues(); if (!in_array($fundingSource, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -427,9 +421,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( @@ -464,9 +455,6 @@ public function getVisaCheckoutCallId() */ public function setVisaCheckoutCallId($visaCheckoutCallId) { - if (is_null($visaCheckoutCallId)) { - throw new \InvalidArgumentException('non-nullable visaCheckoutCallId cannot be null'); - } $this->container['visaCheckoutCallId'] = $visaCheckoutCallId; return $this; diff --git a/src/Adyen/Model/Checkout/WeChatPayDetails.php b/src/Adyen/Model/Checkout/WeChatPayDetails.php index b86c01e76..07a9a83d2 100644 --- a/src/Adyen/Model/Checkout/WeChatPayDetails.php +++ b/src/Adyen/Model/Checkout/WeChatPayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -325,9 +325,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -352,9 +349,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php b/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php index d6c39a7d6..1f454735c 100644 --- a/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php +++ b/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -337,9 +337,6 @@ public function getAppId() */ public function setAppId($appId) { - if (is_null($appId)) { - throw new \InvalidArgumentException('non-nullable appId cannot be null'); - } $this->container['appId'] = $appId; return $this; @@ -364,9 +361,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -391,9 +385,6 @@ public function getOpenid() */ public function setOpenid($openid) { - if (is_null($openid)) { - throw new \InvalidArgumentException('non-nullable openid cannot be null'); - } $this->container['openid'] = $openid; return $this; @@ -418,9 +409,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Model/Checkout/ZipDetails.php b/src/Adyen/Model/Checkout/ZipDetails.php index 40a3ea6bf..1de06443e 100644 --- a/src/Adyen/Model/Checkout/ZipDetails.php +++ b/src/Adyen/Model/Checkout/ZipDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -346,9 +346,6 @@ public function getCheckoutAttemptId() */ public function setCheckoutAttemptId($checkoutAttemptId) { - if (is_null($checkoutAttemptId)) { - throw new \InvalidArgumentException('non-nullable checkoutAttemptId cannot be null'); - } $this->container['checkoutAttemptId'] = $checkoutAttemptId; return $this; @@ -373,9 +370,6 @@ public function getClickAndCollect() */ public function setClickAndCollect($clickAndCollect) { - if (is_null($clickAndCollect)) { - throw new \InvalidArgumentException('non-nullable clickAndCollect cannot be null'); - } $this->container['clickAndCollect'] = $clickAndCollect; return $this; @@ -402,9 +396,6 @@ public function getRecurringDetailReference() */ public function setRecurringDetailReference($recurringDetailReference) { - if (is_null($recurringDetailReference)) { - throw new \InvalidArgumentException('non-nullable recurringDetailReference cannot be null'); - } $this->container['recurringDetailReference'] = $recurringDetailReference; return $this; @@ -429,9 +420,6 @@ public function getStoredPaymentMethodId() */ public function setStoredPaymentMethodId($storedPaymentMethodId) { - if (is_null($storedPaymentMethodId)) { - throw new \InvalidArgumentException('non-nullable storedPaymentMethodId cannot be null'); - } $this->container['storedPaymentMethodId'] = $storedPaymentMethodId; return $this; @@ -456,9 +444,6 @@ public function getType() */ public function setType($type) { - if (is_null($type)) { - throw new \InvalidArgumentException('non-nullable type cannot be null'); - } $allowedValues = $this->getTypeAllowableValues(); if (!in_array($type, $allowedValues, true)) { throw new \InvalidArgumentException( diff --git a/src/Adyen/Service/Checkout/ClassicCheckoutSDKApi.php b/src/Adyen/Service/Checkout/ClassicCheckoutSDKApi.php index 1f4de6dd0..1e113d8b1 100644 --- a/src/Adyen/Service/Checkout/ClassicCheckoutSDKApi.php +++ b/src/Adyen/Service/Checkout/ClassicCheckoutSDKApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Checkout/DonationsApi.php b/src/Adyen/Service/Checkout/DonationsApi.php index edd993249..80484a73a 100644 --- a/src/Adyen/Service/Checkout/DonationsApi.php +++ b/src/Adyen/Service/Checkout/DonationsApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Checkout/ModificationsApi.php b/src/Adyen/Service/Checkout/ModificationsApi.php index 98a2271fd..17c3d4d95 100644 --- a/src/Adyen/Service/Checkout/ModificationsApi.php +++ b/src/Adyen/Service/Checkout/ModificationsApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -54,6 +54,22 @@ public function cancelAuthorisedPayment(\Adyen\Model\Checkout\StandalonePaymentC return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\StandalonePaymentCancelResponse::class); } + /** + * Update an authorised amount + * + * @param string $paymentPspReference + * @param \Adyen\Model\Checkout\PaymentAmountUpdateRequest $paymentAmountUpdateRequest + * @param array|null $requestOptions + * @return \Adyen\Model\Checkout\PaymentAmountUpdateResponse + * @throws AdyenException + */ + public function updateAuthorisedAmount(string $paymentPspReference, \Adyen\Model\Checkout\PaymentAmountUpdateRequest $paymentAmountUpdateRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentAmountUpdateResponse + { + $endpoint = $this->baseURL . str_replace(['{paymentPspReference}'], [$paymentPspReference], "/payments/{paymentPspReference}/amountUpdates"); + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentAmountUpdateRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\PaymentAmountUpdateResponse::class); + } + /** * Cancel an authorised payment * @@ -117,20 +133,4 @@ public function refundOrCancelPayment(string $paymentPspReference, \Adyen\Model\ $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentReversalRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\PaymentReversalResponse::class); } - - /** - * Update an authorised amount - * - * @param string $paymentPspReference - * @param \Adyen\Model\Checkout\PaymentAmountUpdateRequest $paymentAmountUpdateRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Checkout\PaymentAmountUpdateResponse - * @throws AdyenException - */ - public function updateAuthorisedAmount(string $paymentPspReference, \Adyen\Model\Checkout\PaymentAmountUpdateRequest $paymentAmountUpdateRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentAmountUpdateResponse - { - $endpoint = $this->baseURL . str_replace(['{paymentPspReference}'], [$paymentPspReference], "/payments/{paymentPspReference}/amountUpdates"); - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentAmountUpdateRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\PaymentAmountUpdateResponse::class); - } } diff --git a/src/Adyen/Service/Checkout/OrdersApi.php b/src/Adyen/Service/Checkout/OrdersApi.php index fe4513ce3..718453537 100644 --- a/src/Adyen/Service/Checkout/OrdersApi.php +++ b/src/Adyen/Service/Checkout/OrdersApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -39,6 +39,21 @@ public function __construct(Client $client) $this->baseURL = $this->createBaseUrl("https://checkout-test.adyen.com/v71"); } + /** + * Create an order + * + * @param \Adyen\Model\Checkout\CreateOrderRequest $createOrderRequest + * @param array|null $requestOptions + * @return \Adyen\Model\Checkout\CreateOrderResponse + * @throws AdyenException + */ + public function orders(\Adyen\Model\Checkout\CreateOrderRequest $createOrderRequest, array $requestOptions = null): \Adyen\Model\Checkout\CreateOrderResponse + { + $endpoint = $this->baseURL . "/orders"; + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createOrderRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\CreateOrderResponse::class); + } + /** * Cancel an order * @@ -68,19 +83,4 @@ public function getBalanceOfGiftCard(\Adyen\Model\Checkout\BalanceCheckRequest $ $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $balanceCheckRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\BalanceCheckResponse::class); } - - /** - * Create an order - * - * @param \Adyen\Model\Checkout\CreateOrderRequest $createOrderRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Checkout\CreateOrderResponse - * @throws AdyenException - */ - public function orders(\Adyen\Model\Checkout\CreateOrderRequest $createOrderRequest, array $requestOptions = null): \Adyen\Model\Checkout\CreateOrderResponse - { - $endpoint = $this->baseURL . "/orders"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createOrderRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\CreateOrderResponse::class); - } } diff --git a/src/Adyen/Service/Checkout/PaymentLinksApi.php b/src/Adyen/Service/Checkout/PaymentLinksApi.php index 0deba7e73..195d7765f 100644 --- a/src/Adyen/Service/Checkout/PaymentLinksApi.php +++ b/src/Adyen/Service/Checkout/PaymentLinksApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -55,33 +55,33 @@ public function getPaymentLink(string $linkId, array $requestOptions = null): \A } /** - * Create a payment link + * Update the status of a payment link * - * @param \Adyen\Model\Checkout\PaymentLinkRequest $paymentLinkRequest + * @param string $linkId + * @param \Adyen\Model\Checkout\UpdatePaymentLinkRequest $updatePaymentLinkRequest * @param array|null $requestOptions * @return \Adyen\Model\Checkout\PaymentLinkResponse * @throws AdyenException */ - public function paymentLinks(\Adyen\Model\Checkout\PaymentLinkRequest $paymentLinkRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentLinkResponse + public function updatePaymentLink(string $linkId, \Adyen\Model\Checkout\UpdatePaymentLinkRequest $updatePaymentLinkRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentLinkResponse { - $endpoint = $this->baseURL . "/paymentLinks"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentLinkRequest->jsonSerialize(), $requestOptions); + $endpoint = $this->baseURL . str_replace(['{linkId}'], [$linkId], "/paymentLinks/{linkId}"); + $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updatePaymentLinkRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\PaymentLinkResponse::class); } /** - * Update the status of a payment link + * Create a payment link * - * @param string $linkId - * @param \Adyen\Model\Checkout\UpdatePaymentLinkRequest $updatePaymentLinkRequest + * @param \Adyen\Model\Checkout\PaymentLinkRequest $paymentLinkRequest * @param array|null $requestOptions * @return \Adyen\Model\Checkout\PaymentLinkResponse * @throws AdyenException */ - public function updatePaymentLink(string $linkId, \Adyen\Model\Checkout\UpdatePaymentLinkRequest $updatePaymentLinkRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentLinkResponse + public function paymentLinks(\Adyen\Model\Checkout\PaymentLinkRequest $paymentLinkRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentLinkResponse { - $endpoint = $this->baseURL . str_replace(['{linkId}'], [$linkId], "/paymentLinks/{linkId}"); - $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updatePaymentLinkRequest->jsonSerialize(), $requestOptions); + $endpoint = $this->baseURL . "/paymentLinks"; + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentLinkRequest->jsonSerialize(), $requestOptions); return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\PaymentLinkResponse::class); } } diff --git a/src/Adyen/Service/Checkout/PaymentsApi.php b/src/Adyen/Service/Checkout/PaymentsApi.php index f91aeb65e..2841acacb 100644 --- a/src/Adyen/Service/Checkout/PaymentsApi.php +++ b/src/Adyen/Service/Checkout/PaymentsApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -39,21 +39,6 @@ public function __construct(Client $client) $this->baseURL = $this->createBaseUrl("https://checkout-test.adyen.com/v71"); } - /** - * Get the list of brands on the card - * - * @param \Adyen\Model\Checkout\CardDetailsRequest $cardDetailsRequest - * @param array|null $requestOptions - * @return \Adyen\Model\Checkout\CardDetailsResponse - * @throws AdyenException - */ - public function cardDetails(\Adyen\Model\Checkout\CardDetailsRequest $cardDetailsRequest, array $requestOptions = null): \Adyen\Model\Checkout\CardDetailsResponse - { - $endpoint = $this->baseURL . "/cardDetails"; - $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $cardDetailsRequest->jsonSerialize(), $requestOptions); - return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\CardDetailsResponse::class); - } - /** * Get the result of a payment session * @@ -69,6 +54,21 @@ public function getResultOfPaymentSession(string $sessionId, array $requestOptio return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\SessionResultResponse::class); } + /** + * Get the list of brands on the card + * + * @param \Adyen\Model\Checkout\CardDetailsRequest $cardDetailsRequest + * @param array|null $requestOptions + * @return \Adyen\Model\Checkout\CardDetailsResponse + * @throws AdyenException + */ + public function cardDetails(\Adyen\Model\Checkout\CardDetailsRequest $cardDetailsRequest, array $requestOptions = null): \Adyen\Model\Checkout\CardDetailsResponse + { + $endpoint = $this->baseURL . "/cardDetails"; + $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $cardDetailsRequest->jsonSerialize(), $requestOptions); + return ObjectSerializer::deserialize($response, \Adyen\Model\Checkout\CardDetailsResponse::class); + } + /** * Get a list of available payment methods * diff --git a/src/Adyen/Service/Checkout/RecurringApi.php b/src/Adyen/Service/Checkout/RecurringApi.php index 233c09180..d1ddb830d 100644 --- a/src/Adyen/Service/Checkout/RecurringApi.php +++ b/src/Adyen/Service/Checkout/RecurringApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Checkout/UtilityApi.php b/src/Adyen/Service/Checkout/UtilityApi.php index d766fbe7d..08ad1e4cd 100644 --- a/src/Adyen/Service/Checkout/UtilityApi.php +++ b/src/Adyen/Service/Checkout/UtilityApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.0.1 + * OpenAPI Generator version: 6.4.0 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/templates/model_generic.mustache b/templates/model_generic.mustache index 732842f13..acc3bb707 100644 --- a/templates/model_generic.mustache +++ b/templates/model_generic.mustache @@ -358,18 +358,6 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par } } {{/isNullable}} - {{^isNullable}} - {{#isInteger}} - // Do nothing for nullable integers - {{/isInteger}} - {{/isNullable}} - {{^isNullable}} - {{^isInteger}} - if (is_null(${{name}})) { - throw new \InvalidArgumentException('non-nullable {{name}} cannot be null'); - } - {{/isInteger}} - {{/isNullable}} {{^oneOf}} {{#isEnum}} $allowedValues = $this->{{getter}}AllowableValues(); diff --git a/tests/Unit/ModelBasedCheckoutTest.php b/tests/Unit/ModelBasedCheckoutTest.php index 68f46b37a..4e3a7d9e1 100644 --- a/tests/Unit/ModelBasedCheckoutTest.php +++ b/tests/Unit/ModelBasedCheckoutTest.php @@ -4,6 +4,7 @@ use Adyen\AdyenException; use Adyen\Model\Checkout\Amount; +use Adyen\Model\Checkout\BillingAddress; use Adyen\Model\Checkout\CardDetailsRequest; use Adyen\Model\Checkout\CheckoutPaymentMethod; use Adyen\Model\Checkout\CreateCheckoutSessionRequest; @@ -406,4 +407,23 @@ public static function successPaymentsProviderAction() array('tests/Resources/ModelBasedCheckout/payments-action.json', 200) ); } + + public function testNonNullableSettersCanBeNulled() + { + $request = new PaymentRequest(); + $request->setChannel('iOS'); + $request->setCheckoutAttemptId('ID'); + $request->setCheckoutAttemptId(null); + $request->setBillingAddress(new BillingAddress()); + $request->setBillingAddress(null); + $this->assertEquals($request->getBillingAddress(), null); + + $array = $request->toArray(); + $this->assertFalse(array_key_exists('billingAddress', $array)); + $this->assertFalse(array_key_exists('checkoutAttemptId', $array)); + + $jsonString = json_encode($request->jsonSerialize()); + // Assert nulled value is not in serialised string + $this->assertFalse(strpos($jsonString, 'billingAddress') !== false); + } } From d606bf41926ca5afa354bdd1295526d997f723ae Mon Sep 17 00:00:00 2001 From: jillingk <93914435+jillingk@users.noreply.github.com> Date: Fri, 28 Jun 2024 06:51:18 +0000 Subject: [PATCH 2/2] fix version of models --- src/Adyen/Model/Checkout/AccountInfo.php | 2 +- src/Adyen/Model/Checkout/AcctInfo.php | 2 +- src/Adyen/Model/Checkout/AchDetails.php | 2 +- src/Adyen/Model/Checkout/AdditionalData3DSecure.php | 2 +- src/Adyen/Model/Checkout/AdditionalDataAirline.php | 2 +- src/Adyen/Model/Checkout/AdditionalDataCarRental.php | 2 +- src/Adyen/Model/Checkout/AdditionalDataCommon.php | 2 +- src/Adyen/Model/Checkout/AdditionalDataLevel23.php | 2 +- src/Adyen/Model/Checkout/AdditionalDataLodging.php | 2 +- src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php | 2 +- src/Adyen/Model/Checkout/AdditionalDataOpi.php | 2 +- src/Adyen/Model/Checkout/AdditionalDataRatepay.php | 2 +- src/Adyen/Model/Checkout/AdditionalDataRetry.php | 2 +- src/Adyen/Model/Checkout/AdditionalDataRisk.php | 2 +- src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php | 2 +- src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php | 2 +- .../Model/Checkout/AdditionalDataTemporaryServices.php | 2 +- src/Adyen/Model/Checkout/AdditionalDataWallets.php | 2 +- src/Adyen/Model/Checkout/Address.php | 2 +- src/Adyen/Model/Checkout/AfterpayDetails.php | 2 +- src/Adyen/Model/Checkout/AmazonPayDetails.php | 2 +- src/Adyen/Model/Checkout/Amount.php | 2 +- src/Adyen/Model/Checkout/AncvDetails.php | 2 +- src/Adyen/Model/Checkout/AndroidPayDetails.php | 2 +- src/Adyen/Model/Checkout/ApplePayDetails.php | 2 +- src/Adyen/Model/Checkout/ApplePayDonations.php | 2 +- src/Adyen/Model/Checkout/ApplePaySessionRequest.php | 2 +- src/Adyen/Model/Checkout/ApplePaySessionResponse.php | 2 +- src/Adyen/Model/Checkout/ApplicationInfo.php | 2 +- src/Adyen/Model/Checkout/AuthenticationData.php | 2 +- src/Adyen/Model/Checkout/Avs.php | 2 +- src/Adyen/Model/Checkout/BacsDirectDebitDetails.php | 2 +- src/Adyen/Model/Checkout/BalanceCheckRequest.php | 2 +- src/Adyen/Model/Checkout/BalanceCheckResponse.php | 2 +- src/Adyen/Model/Checkout/BankAccount.php | 2 +- src/Adyen/Model/Checkout/BillDeskDetails.php | 2 +- src/Adyen/Model/Checkout/BillingAddress.php | 2 +- src/Adyen/Model/Checkout/BlikDetails.php | 2 +- src/Adyen/Model/Checkout/BrowserInfo.php | 2 +- src/Adyen/Model/Checkout/CancelOrderRequest.php | 2 +- src/Adyen/Model/Checkout/CancelOrderResponse.php | 2 +- src/Adyen/Model/Checkout/Card.php | 2 +- src/Adyen/Model/Checkout/CardBrandDetails.php | 2 +- src/Adyen/Model/Checkout/CardDetails.php | 2 +- src/Adyen/Model/Checkout/CardDetailsRequest.php | 2 +- src/Adyen/Model/Checkout/CardDetailsResponse.php | 2 +- src/Adyen/Model/Checkout/CardDonations.php | 2 +- src/Adyen/Model/Checkout/CashAppDetails.php | 2 +- src/Adyen/Model/Checkout/CellulantDetails.php | 2 +- src/Adyen/Model/Checkout/CheckoutAwaitAction.php | 2 +- .../Checkout/CheckoutDelegatedAuthenticationAction.php | 2 +- src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php | 2 +- src/Adyen/Model/Checkout/CheckoutOrderResponse.php | 2 +- src/Adyen/Model/Checkout/CheckoutPaymentMethod.php | 2 +- src/Adyen/Model/Checkout/CheckoutQrCodeAction.php | 2 +- src/Adyen/Model/Checkout/CheckoutRedirectAction.php | 2 +- src/Adyen/Model/Checkout/CheckoutSDKAction.php | 2 +- .../Model/Checkout/CheckoutSessionInstallmentOption.php | 2 +- .../Model/Checkout/CheckoutSessionThreeDS2RequestData.php | 2 +- src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php | 2 +- src/Adyen/Model/Checkout/CheckoutVoucherAction.php | 2 +- src/Adyen/Model/Checkout/CommonField.php | 2 +- src/Adyen/Model/Checkout/Company.php | 2 +- src/Adyen/Model/Checkout/Configuration.php | 2 +- src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php | 2 +- src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php | 2 +- src/Adyen/Model/Checkout/CreateOrderRequest.php | 2 +- src/Adyen/Model/Checkout/CreateOrderResponse.php | 2 +- src/Adyen/Model/Checkout/DeliveryAddress.php | 2 +- src/Adyen/Model/Checkout/DeliveryMethod.php | 2 +- .../Model/Checkout/DetailsRequestAuthenticationData.php | 2 +- src/Adyen/Model/Checkout/DeviceRenderOptions.php | 2 +- src/Adyen/Model/Checkout/DokuDetails.php | 2 +- src/Adyen/Model/Checkout/DonationPaymentMethod.php | 2 +- src/Adyen/Model/Checkout/DonationPaymentRequest.php | 2 +- src/Adyen/Model/Checkout/DonationPaymentResponse.php | 2 +- src/Adyen/Model/Checkout/DotpayDetails.php | 2 +- src/Adyen/Model/Checkout/DragonpayDetails.php | 2 +- src/Adyen/Model/Checkout/EcontextVoucherDetails.php | 2 +- src/Adyen/Model/Checkout/EncryptedOrderData.php | 2 +- src/Adyen/Model/Checkout/ExternalPlatform.php | 2 +- src/Adyen/Model/Checkout/ForexQuote.php | 2 +- src/Adyen/Model/Checkout/FraudCheckResult.php | 2 +- src/Adyen/Model/Checkout/FraudResult.php | 2 +- src/Adyen/Model/Checkout/FundOrigin.php | 2 +- src/Adyen/Model/Checkout/FundRecipient.php | 2 +- .../Model/Checkout/GenericIssuerPaymentMethodDetails.php | 2 +- src/Adyen/Model/Checkout/GiropayDetails.php | 2 +- src/Adyen/Model/Checkout/GooglePayDetails.php | 2 +- src/Adyen/Model/Checkout/GooglePayDonations.php | 2 +- src/Adyen/Model/Checkout/IdealDetails.php | 2 +- src/Adyen/Model/Checkout/IdealDonations.php | 2 +- src/Adyen/Model/Checkout/InputDetail.php | 2 +- src/Adyen/Model/Checkout/InstallmentOption.php | 2 +- src/Adyen/Model/Checkout/Installments.php | 2 +- src/Adyen/Model/Checkout/InstallmentsNumber.php | 2 +- src/Adyen/Model/Checkout/Item.php | 2 +- src/Adyen/Model/Checkout/KlarnaDetails.php | 2 +- src/Adyen/Model/Checkout/LineItem.php | 2 +- .../Model/Checkout/ListStoredPaymentMethodsResponse.php | 2 +- src/Adyen/Model/Checkout/Mandate.php | 2 +- src/Adyen/Model/Checkout/MasterpassDetails.php | 2 +- src/Adyen/Model/Checkout/MbwayDetails.php | 2 +- src/Adyen/Model/Checkout/MerchantDevice.php | 2 +- src/Adyen/Model/Checkout/MerchantRiskIndicator.php | 2 +- src/Adyen/Model/Checkout/MobilePayDetails.php | 2 +- src/Adyen/Model/Checkout/ModelInterface.php | 2 +- src/Adyen/Model/Checkout/MolPayDetails.php | 2 +- src/Adyen/Model/Checkout/Name.php | 2 +- src/Adyen/Model/Checkout/ObjectSerializer.php | 6 +++--- src/Adyen/Model/Checkout/OpenInvoiceDetails.php | 2 +- src/Adyen/Model/Checkout/PayByBankDetails.php | 2 +- src/Adyen/Model/Checkout/PayPalDetails.php | 2 +- src/Adyen/Model/Checkout/PayUUpiDetails.php | 2 +- src/Adyen/Model/Checkout/PayWithGoogleDetails.php | 2 +- src/Adyen/Model/Checkout/PayWithGoogleDonations.php | 2 +- src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php | 2 +- src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php | 2 +- src/Adyen/Model/Checkout/PaymentCancelRequest.php | 2 +- src/Adyen/Model/Checkout/PaymentCancelResponse.php | 2 +- src/Adyen/Model/Checkout/PaymentCaptureRequest.php | 2 +- src/Adyen/Model/Checkout/PaymentCaptureResponse.php | 2 +- src/Adyen/Model/Checkout/PaymentCompletionDetails.php | 2 +- src/Adyen/Model/Checkout/PaymentDetails.php | 2 +- src/Adyen/Model/Checkout/PaymentDetailsRequest.php | 2 +- src/Adyen/Model/Checkout/PaymentDetailsResponse.php | 2 +- src/Adyen/Model/Checkout/PaymentLinkRequest.php | 2 +- src/Adyen/Model/Checkout/PaymentLinkResponse.php | 2 +- src/Adyen/Model/Checkout/PaymentMethod.php | 2 +- src/Adyen/Model/Checkout/PaymentMethodGroup.php | 2 +- src/Adyen/Model/Checkout/PaymentMethodIssuer.php | 2 +- src/Adyen/Model/Checkout/PaymentMethodToStore.php | 2 +- src/Adyen/Model/Checkout/PaymentMethodUPIApps.php | 2 +- src/Adyen/Model/Checkout/PaymentMethodsRequest.php | 2 +- src/Adyen/Model/Checkout/PaymentMethodsResponse.php | 2 +- src/Adyen/Model/Checkout/PaymentRefundRequest.php | 2 +- src/Adyen/Model/Checkout/PaymentRefundResponse.php | 2 +- src/Adyen/Model/Checkout/PaymentRequest.php | 2 +- src/Adyen/Model/Checkout/PaymentResponse.php | 2 +- src/Adyen/Model/Checkout/PaymentResponseAction.php | 2 +- src/Adyen/Model/Checkout/PaymentReversalRequest.php | 2 +- src/Adyen/Model/Checkout/PaymentReversalResponse.php | 2 +- src/Adyen/Model/Checkout/PaymentSetupRequest.php | 2 +- src/Adyen/Model/Checkout/PaymentSetupResponse.php | 2 +- src/Adyen/Model/Checkout/PaymentVerificationRequest.php | 2 +- src/Adyen/Model/Checkout/PaymentVerificationResponse.php | 2 +- src/Adyen/Model/Checkout/PaypalUpdateOrderRequest.php | 2 +- src/Adyen/Model/Checkout/PaypalUpdateOrderResponse.php | 2 +- src/Adyen/Model/Checkout/Phone.php | 2 +- src/Adyen/Model/Checkout/PlatformChargebackLogic.php | 2 +- src/Adyen/Model/Checkout/RatepayDetails.php | 2 +- src/Adyen/Model/Checkout/Recurring.php | 2 +- src/Adyen/Model/Checkout/RecurringDetail.php | 2 +- src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php | 2 +- .../Model/Checkout/ResponseAdditionalDataBillingAddress.php | 2 +- src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php | 2 +- src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php | 2 +- .../Model/Checkout/ResponseAdditionalDataDomesticError.php | 2 +- .../Model/Checkout/ResponseAdditionalDataInstallments.php | 2 +- .../Model/Checkout/ResponseAdditionalDataNetworkTokens.php | 2 +- src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php | 2 +- src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php | 2 +- src/Adyen/Model/Checkout/ResponsePaymentMethod.php | 2 +- src/Adyen/Model/Checkout/RiskData.php | 2 +- src/Adyen/Model/Checkout/SDKEphemPubKey.php | 2 +- src/Adyen/Model/Checkout/SamsungPayDetails.php | 2 +- .../Model/Checkout/SecureRemoteCommerceCheckoutData.php | 2 +- src/Adyen/Model/Checkout/SepaDirectDebitDetails.php | 2 +- src/Adyen/Model/Checkout/ServiceError.php | 2 +- src/Adyen/Model/Checkout/ServiceErrorDetails.php | 2 +- src/Adyen/Model/Checkout/SessionResultResponse.php | 2 +- src/Adyen/Model/Checkout/ShopperInput.php | 2 +- src/Adyen/Model/Checkout/ShopperInteractionDevice.php | 2 +- src/Adyen/Model/Checkout/Split.php | 2 +- src/Adyen/Model/Checkout/SplitAmount.php | 2 +- src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php | 2 +- .../Model/Checkout/StandalonePaymentCancelResponse.php | 2 +- src/Adyen/Model/Checkout/StoredDetails.php | 2 +- src/Adyen/Model/Checkout/StoredPaymentMethod.php | 2 +- src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php | 2 +- src/Adyen/Model/Checkout/StoredPaymentMethodRequest.php | 2 +- src/Adyen/Model/Checkout/StoredPaymentMethodResource.php | 2 +- src/Adyen/Model/Checkout/SubInputDetail.php | 2 +- src/Adyen/Model/Checkout/SubMerchant.php | 2 +- src/Adyen/Model/Checkout/SubMerchantInfo.php | 2 +- src/Adyen/Model/Checkout/TaxTotal.php | 2 +- src/Adyen/Model/Checkout/ThreeDS2RequestData.php | 2 +- src/Adyen/Model/Checkout/ThreeDS2RequestFields.php | 2 +- src/Adyen/Model/Checkout/ThreeDS2ResponseData.php | 2 +- src/Adyen/Model/Checkout/ThreeDS2Result.php | 2 +- src/Adyen/Model/Checkout/ThreeDSRequestData.php | 2 +- .../Model/Checkout/ThreeDSRequestorAuthenticationInfo.php | 2 +- .../Checkout/ThreeDSRequestorPriorAuthenticationInfo.php | 2 +- src/Adyen/Model/Checkout/ThreeDSecureData.php | 2 +- src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php | 2 +- src/Adyen/Model/Checkout/UpiCollectDetails.php | 2 +- src/Adyen/Model/Checkout/UpiIntentDetails.php | 2 +- src/Adyen/Model/Checkout/UtilityRequest.php | 2 +- src/Adyen/Model/Checkout/UtilityResponse.php | 2 +- src/Adyen/Model/Checkout/VippsDetails.php | 2 +- src/Adyen/Model/Checkout/VisaCheckoutDetails.php | 2 +- src/Adyen/Model/Checkout/WeChatPayDetails.php | 2 +- src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php | 2 +- src/Adyen/Model/Checkout/ZipDetails.php | 2 +- src/Adyen/Service/Checkout/ClassicCheckoutSDKApi.php | 2 +- src/Adyen/Service/Checkout/DonationsApi.php | 2 +- src/Adyen/Service/Checkout/ModificationsApi.php | 2 +- src/Adyen/Service/Checkout/OrdersApi.php | 2 +- src/Adyen/Service/Checkout/PaymentLinksApi.php | 2 +- src/Adyen/Service/Checkout/PaymentsApi.php | 2 +- src/Adyen/Service/Checkout/RecurringApi.php | 2 +- src/Adyen/Service/Checkout/UtilityApi.php | 2 +- 212 files changed, 214 insertions(+), 214 deletions(-) diff --git a/src/Adyen/Model/Checkout/AccountInfo.php b/src/Adyen/Model/Checkout/AccountInfo.php index c899827cb..71ee76ae5 100644 --- a/src/Adyen/Model/Checkout/AccountInfo.php +++ b/src/Adyen/Model/Checkout/AccountInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AcctInfo.php b/src/Adyen/Model/Checkout/AcctInfo.php index 9c35cc1b1..46e111fed 100644 --- a/src/Adyen/Model/Checkout/AcctInfo.php +++ b/src/Adyen/Model/Checkout/AcctInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AchDetails.php b/src/Adyen/Model/Checkout/AchDetails.php index 8fc99e09f..3ff18e95d 100644 --- a/src/Adyen/Model/Checkout/AchDetails.php +++ b/src/Adyen/Model/Checkout/AchDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalData3DSecure.php b/src/Adyen/Model/Checkout/AdditionalData3DSecure.php index 843ae4bb7..f3dd330d7 100644 --- a/src/Adyen/Model/Checkout/AdditionalData3DSecure.php +++ b/src/Adyen/Model/Checkout/AdditionalData3DSecure.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataAirline.php b/src/Adyen/Model/Checkout/AdditionalDataAirline.php index c9a991d8e..4169bae1c 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataAirline.php +++ b/src/Adyen/Model/Checkout/AdditionalDataAirline.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataCarRental.php b/src/Adyen/Model/Checkout/AdditionalDataCarRental.php index 3e4223ee8..4419079ef 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataCarRental.php +++ b/src/Adyen/Model/Checkout/AdditionalDataCarRental.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataCommon.php b/src/Adyen/Model/Checkout/AdditionalDataCommon.php index d8667692d..ccdc7c1f7 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataCommon.php +++ b/src/Adyen/Model/Checkout/AdditionalDataCommon.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataLevel23.php b/src/Adyen/Model/Checkout/AdditionalDataLevel23.php index a3fb6fe60..643830b6c 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataLevel23.php +++ b/src/Adyen/Model/Checkout/AdditionalDataLevel23.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataLodging.php b/src/Adyen/Model/Checkout/AdditionalDataLodging.php index c05676ad6..eb7372b16 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataLodging.php +++ b/src/Adyen/Model/Checkout/AdditionalDataLodging.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php b/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php index 1b9e6ae1b..4c06aa658 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php +++ b/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataOpi.php b/src/Adyen/Model/Checkout/AdditionalDataOpi.php index 163394e2c..4f1f29f0d 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataOpi.php +++ b/src/Adyen/Model/Checkout/AdditionalDataOpi.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataRatepay.php b/src/Adyen/Model/Checkout/AdditionalDataRatepay.php index 46cd59957..4683c764f 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRatepay.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRatepay.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataRetry.php b/src/Adyen/Model/Checkout/AdditionalDataRetry.php index 766fcfef1..361625760 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRetry.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRetry.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataRisk.php b/src/Adyen/Model/Checkout/AdditionalDataRisk.php index 73890446c..e42dbd01f 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRisk.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRisk.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php b/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php index b838e3fcd..ed044de51 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php b/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php index 47ee3491f..0d49ba84a 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php +++ b/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php b/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php index 91b2a8e2f..ed4120672 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php +++ b/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AdditionalDataWallets.php b/src/Adyen/Model/Checkout/AdditionalDataWallets.php index 6279faf0e..0e794d042 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataWallets.php +++ b/src/Adyen/Model/Checkout/AdditionalDataWallets.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Address.php b/src/Adyen/Model/Checkout/Address.php index e879b281d..f32741bc3 100644 --- a/src/Adyen/Model/Checkout/Address.php +++ b/src/Adyen/Model/Checkout/Address.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AfterpayDetails.php b/src/Adyen/Model/Checkout/AfterpayDetails.php index e75e3a286..ed015de42 100644 --- a/src/Adyen/Model/Checkout/AfterpayDetails.php +++ b/src/Adyen/Model/Checkout/AfterpayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AmazonPayDetails.php b/src/Adyen/Model/Checkout/AmazonPayDetails.php index b0ec9b727..764eadc30 100644 --- a/src/Adyen/Model/Checkout/AmazonPayDetails.php +++ b/src/Adyen/Model/Checkout/AmazonPayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Amount.php b/src/Adyen/Model/Checkout/Amount.php index db9e4959c..5fff0b129 100644 --- a/src/Adyen/Model/Checkout/Amount.php +++ b/src/Adyen/Model/Checkout/Amount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AncvDetails.php b/src/Adyen/Model/Checkout/AncvDetails.php index fde253f91..bb83e70c8 100644 --- a/src/Adyen/Model/Checkout/AncvDetails.php +++ b/src/Adyen/Model/Checkout/AncvDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AndroidPayDetails.php b/src/Adyen/Model/Checkout/AndroidPayDetails.php index c90afb3be..773132a1a 100644 --- a/src/Adyen/Model/Checkout/AndroidPayDetails.php +++ b/src/Adyen/Model/Checkout/AndroidPayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ApplePayDetails.php b/src/Adyen/Model/Checkout/ApplePayDetails.php index 0d0504f22..a1214180e 100644 --- a/src/Adyen/Model/Checkout/ApplePayDetails.php +++ b/src/Adyen/Model/Checkout/ApplePayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ApplePayDonations.php b/src/Adyen/Model/Checkout/ApplePayDonations.php index 029677dd5..149d287cb 100644 --- a/src/Adyen/Model/Checkout/ApplePayDonations.php +++ b/src/Adyen/Model/Checkout/ApplePayDonations.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ApplePaySessionRequest.php b/src/Adyen/Model/Checkout/ApplePaySessionRequest.php index 721dc27ac..fe89b18fe 100644 --- a/src/Adyen/Model/Checkout/ApplePaySessionRequest.php +++ b/src/Adyen/Model/Checkout/ApplePaySessionRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ApplePaySessionResponse.php b/src/Adyen/Model/Checkout/ApplePaySessionResponse.php index d706bc4a8..0b6651fee 100644 --- a/src/Adyen/Model/Checkout/ApplePaySessionResponse.php +++ b/src/Adyen/Model/Checkout/ApplePaySessionResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ApplicationInfo.php b/src/Adyen/Model/Checkout/ApplicationInfo.php index db0af5a4c..f674f8d42 100644 --- a/src/Adyen/Model/Checkout/ApplicationInfo.php +++ b/src/Adyen/Model/Checkout/ApplicationInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/AuthenticationData.php b/src/Adyen/Model/Checkout/AuthenticationData.php index e39d5bbcf..87fe45595 100644 --- a/src/Adyen/Model/Checkout/AuthenticationData.php +++ b/src/Adyen/Model/Checkout/AuthenticationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Avs.php b/src/Adyen/Model/Checkout/Avs.php index e467667ac..0d3c36d9c 100644 --- a/src/Adyen/Model/Checkout/Avs.php +++ b/src/Adyen/Model/Checkout/Avs.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php b/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php index 8834d1d86..25414f8ef 100644 --- a/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php +++ b/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/BalanceCheckRequest.php b/src/Adyen/Model/Checkout/BalanceCheckRequest.php index 5b50f53eb..ed5490c48 100644 --- a/src/Adyen/Model/Checkout/BalanceCheckRequest.php +++ b/src/Adyen/Model/Checkout/BalanceCheckRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/BalanceCheckResponse.php b/src/Adyen/Model/Checkout/BalanceCheckResponse.php index 8accb4390..b9eb68945 100644 --- a/src/Adyen/Model/Checkout/BalanceCheckResponse.php +++ b/src/Adyen/Model/Checkout/BalanceCheckResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/BankAccount.php b/src/Adyen/Model/Checkout/BankAccount.php index fd8e92cde..5e357358a 100644 --- a/src/Adyen/Model/Checkout/BankAccount.php +++ b/src/Adyen/Model/Checkout/BankAccount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/BillDeskDetails.php b/src/Adyen/Model/Checkout/BillDeskDetails.php index 9a218c71f..ee9edab40 100644 --- a/src/Adyen/Model/Checkout/BillDeskDetails.php +++ b/src/Adyen/Model/Checkout/BillDeskDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/BillingAddress.php b/src/Adyen/Model/Checkout/BillingAddress.php index 2b492cebf..69e0619cf 100644 --- a/src/Adyen/Model/Checkout/BillingAddress.php +++ b/src/Adyen/Model/Checkout/BillingAddress.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/BlikDetails.php b/src/Adyen/Model/Checkout/BlikDetails.php index 11788298d..dbe6ec56b 100644 --- a/src/Adyen/Model/Checkout/BlikDetails.php +++ b/src/Adyen/Model/Checkout/BlikDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/BrowserInfo.php b/src/Adyen/Model/Checkout/BrowserInfo.php index 1fafd1a5c..4a9120067 100644 --- a/src/Adyen/Model/Checkout/BrowserInfo.php +++ b/src/Adyen/Model/Checkout/BrowserInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CancelOrderRequest.php b/src/Adyen/Model/Checkout/CancelOrderRequest.php index e2ba44d8c..100e0e4c8 100644 --- a/src/Adyen/Model/Checkout/CancelOrderRequest.php +++ b/src/Adyen/Model/Checkout/CancelOrderRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CancelOrderResponse.php b/src/Adyen/Model/Checkout/CancelOrderResponse.php index af367cb75..c480d4a82 100644 --- a/src/Adyen/Model/Checkout/CancelOrderResponse.php +++ b/src/Adyen/Model/Checkout/CancelOrderResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Card.php b/src/Adyen/Model/Checkout/Card.php index a8f7f319a..593c4536c 100644 --- a/src/Adyen/Model/Checkout/Card.php +++ b/src/Adyen/Model/Checkout/Card.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CardBrandDetails.php b/src/Adyen/Model/Checkout/CardBrandDetails.php index 0a8181802..fb770ed56 100644 --- a/src/Adyen/Model/Checkout/CardBrandDetails.php +++ b/src/Adyen/Model/Checkout/CardBrandDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CardDetails.php b/src/Adyen/Model/Checkout/CardDetails.php index 982236f8b..951f0c626 100644 --- a/src/Adyen/Model/Checkout/CardDetails.php +++ b/src/Adyen/Model/Checkout/CardDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CardDetailsRequest.php b/src/Adyen/Model/Checkout/CardDetailsRequest.php index f75d6bc26..a1327d010 100644 --- a/src/Adyen/Model/Checkout/CardDetailsRequest.php +++ b/src/Adyen/Model/Checkout/CardDetailsRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CardDetailsResponse.php b/src/Adyen/Model/Checkout/CardDetailsResponse.php index 63a905e7d..d052d2ec0 100644 --- a/src/Adyen/Model/Checkout/CardDetailsResponse.php +++ b/src/Adyen/Model/Checkout/CardDetailsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CardDonations.php b/src/Adyen/Model/Checkout/CardDonations.php index f2b23a531..a2d5ddf76 100644 --- a/src/Adyen/Model/Checkout/CardDonations.php +++ b/src/Adyen/Model/Checkout/CardDonations.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CashAppDetails.php b/src/Adyen/Model/Checkout/CashAppDetails.php index a2b2db839..ca75a336f 100644 --- a/src/Adyen/Model/Checkout/CashAppDetails.php +++ b/src/Adyen/Model/Checkout/CashAppDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CellulantDetails.php b/src/Adyen/Model/Checkout/CellulantDetails.php index c695e7b0c..423dff865 100644 --- a/src/Adyen/Model/Checkout/CellulantDetails.php +++ b/src/Adyen/Model/Checkout/CellulantDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutAwaitAction.php b/src/Adyen/Model/Checkout/CheckoutAwaitAction.php index 50b6744ae..a892d7d50 100644 --- a/src/Adyen/Model/Checkout/CheckoutAwaitAction.php +++ b/src/Adyen/Model/Checkout/CheckoutAwaitAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php b/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php index c5a1bc958..37600f842 100644 --- a/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php +++ b/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php b/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php index 82b6fe4f9..a7c65bf55 100644 --- a/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php +++ b/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutOrderResponse.php b/src/Adyen/Model/Checkout/CheckoutOrderResponse.php index 190bbe71a..d8e38d3eb 100644 --- a/src/Adyen/Model/Checkout/CheckoutOrderResponse.php +++ b/src/Adyen/Model/Checkout/CheckoutOrderResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php b/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php index b99b62f16..8bfe4064d 100644 --- a/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php +++ b/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php b/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php index faa4dafcd..fde65b36b 100644 --- a/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php +++ b/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutRedirectAction.php b/src/Adyen/Model/Checkout/CheckoutRedirectAction.php index 2450bf2e5..5adb34a99 100644 --- a/src/Adyen/Model/Checkout/CheckoutRedirectAction.php +++ b/src/Adyen/Model/Checkout/CheckoutRedirectAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutSDKAction.php b/src/Adyen/Model/Checkout/CheckoutSDKAction.php index c4f871123..0a6fbbbab 100644 --- a/src/Adyen/Model/Checkout/CheckoutSDKAction.php +++ b/src/Adyen/Model/Checkout/CheckoutSDKAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php b/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php index f75187bce..b276410df 100644 --- a/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php +++ b/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutSessionThreeDS2RequestData.php b/src/Adyen/Model/Checkout/CheckoutSessionThreeDS2RequestData.php index 7ab30e4d3..91f733ec8 100644 --- a/src/Adyen/Model/Checkout/CheckoutSessionThreeDS2RequestData.php +++ b/src/Adyen/Model/Checkout/CheckoutSessionThreeDS2RequestData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php b/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php index 3e0c538f4..69ecbb6fc 100644 --- a/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php +++ b/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CheckoutVoucherAction.php b/src/Adyen/Model/Checkout/CheckoutVoucherAction.php index fc53cef04..acb33bb36 100644 --- a/src/Adyen/Model/Checkout/CheckoutVoucherAction.php +++ b/src/Adyen/Model/Checkout/CheckoutVoucherAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CommonField.php b/src/Adyen/Model/Checkout/CommonField.php index 9a2ab112e..0e513da0f 100644 --- a/src/Adyen/Model/Checkout/CommonField.php +++ b/src/Adyen/Model/Checkout/CommonField.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Company.php b/src/Adyen/Model/Checkout/Company.php index 952109186..c3340da80 100644 --- a/src/Adyen/Model/Checkout/Company.php +++ b/src/Adyen/Model/Checkout/Company.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Configuration.php b/src/Adyen/Model/Checkout/Configuration.php index f95df7972..9427ed5ef 100644 --- a/src/Adyen/Model/Checkout/Configuration.php +++ b/src/Adyen/Model/Checkout/Configuration.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php b/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php index f5261d372..3b86c867c 100644 --- a/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php +++ b/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php b/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php index 5a1ac6520..f769d421c 100644 --- a/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php +++ b/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CreateOrderRequest.php b/src/Adyen/Model/Checkout/CreateOrderRequest.php index fd9e056a2..e406fd322 100644 --- a/src/Adyen/Model/Checkout/CreateOrderRequest.php +++ b/src/Adyen/Model/Checkout/CreateOrderRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/CreateOrderResponse.php b/src/Adyen/Model/Checkout/CreateOrderResponse.php index bff8f3bf8..8ac31e536 100644 --- a/src/Adyen/Model/Checkout/CreateOrderResponse.php +++ b/src/Adyen/Model/Checkout/CreateOrderResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DeliveryAddress.php b/src/Adyen/Model/Checkout/DeliveryAddress.php index a007f5dfc..8262d85ec 100644 --- a/src/Adyen/Model/Checkout/DeliveryAddress.php +++ b/src/Adyen/Model/Checkout/DeliveryAddress.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DeliveryMethod.php b/src/Adyen/Model/Checkout/DeliveryMethod.php index c12a00d11..b1dc1d128 100644 --- a/src/Adyen/Model/Checkout/DeliveryMethod.php +++ b/src/Adyen/Model/Checkout/DeliveryMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php b/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php index 6ae80d0cd..7d4abb1cc 100644 --- a/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php +++ b/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DeviceRenderOptions.php b/src/Adyen/Model/Checkout/DeviceRenderOptions.php index 709a12924..043286851 100644 --- a/src/Adyen/Model/Checkout/DeviceRenderOptions.php +++ b/src/Adyen/Model/Checkout/DeviceRenderOptions.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DokuDetails.php b/src/Adyen/Model/Checkout/DokuDetails.php index 81076bba8..14be9f8f2 100644 --- a/src/Adyen/Model/Checkout/DokuDetails.php +++ b/src/Adyen/Model/Checkout/DokuDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DonationPaymentMethod.php b/src/Adyen/Model/Checkout/DonationPaymentMethod.php index f75750057..ea09f07b0 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentMethod.php +++ b/src/Adyen/Model/Checkout/DonationPaymentMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DonationPaymentRequest.php b/src/Adyen/Model/Checkout/DonationPaymentRequest.php index d37feb987..2e42f4822 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentRequest.php +++ b/src/Adyen/Model/Checkout/DonationPaymentRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DonationPaymentResponse.php b/src/Adyen/Model/Checkout/DonationPaymentResponse.php index f0735ccdd..830506b8d 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentResponse.php +++ b/src/Adyen/Model/Checkout/DonationPaymentResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DotpayDetails.php b/src/Adyen/Model/Checkout/DotpayDetails.php index 32941c47b..5f07f4097 100644 --- a/src/Adyen/Model/Checkout/DotpayDetails.php +++ b/src/Adyen/Model/Checkout/DotpayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/DragonpayDetails.php b/src/Adyen/Model/Checkout/DragonpayDetails.php index f9e06413f..6585b7fbc 100644 --- a/src/Adyen/Model/Checkout/DragonpayDetails.php +++ b/src/Adyen/Model/Checkout/DragonpayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/EcontextVoucherDetails.php b/src/Adyen/Model/Checkout/EcontextVoucherDetails.php index 21128b6f9..77c2e8869 100644 --- a/src/Adyen/Model/Checkout/EcontextVoucherDetails.php +++ b/src/Adyen/Model/Checkout/EcontextVoucherDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/EncryptedOrderData.php b/src/Adyen/Model/Checkout/EncryptedOrderData.php index 5adc234fd..f1f085322 100644 --- a/src/Adyen/Model/Checkout/EncryptedOrderData.php +++ b/src/Adyen/Model/Checkout/EncryptedOrderData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ExternalPlatform.php b/src/Adyen/Model/Checkout/ExternalPlatform.php index 9224bd59d..4a38d38cf 100644 --- a/src/Adyen/Model/Checkout/ExternalPlatform.php +++ b/src/Adyen/Model/Checkout/ExternalPlatform.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ForexQuote.php b/src/Adyen/Model/Checkout/ForexQuote.php index 41d6f33b3..0a1eea1d4 100644 --- a/src/Adyen/Model/Checkout/ForexQuote.php +++ b/src/Adyen/Model/Checkout/ForexQuote.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/FraudCheckResult.php b/src/Adyen/Model/Checkout/FraudCheckResult.php index 2bb830271..0c0808a92 100644 --- a/src/Adyen/Model/Checkout/FraudCheckResult.php +++ b/src/Adyen/Model/Checkout/FraudCheckResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/FraudResult.php b/src/Adyen/Model/Checkout/FraudResult.php index 287d5a6e1..b05166ad9 100644 --- a/src/Adyen/Model/Checkout/FraudResult.php +++ b/src/Adyen/Model/Checkout/FraudResult.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/FundOrigin.php b/src/Adyen/Model/Checkout/FundOrigin.php index 1010ae767..ba3bef624 100644 --- a/src/Adyen/Model/Checkout/FundOrigin.php +++ b/src/Adyen/Model/Checkout/FundOrigin.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/FundRecipient.php b/src/Adyen/Model/Checkout/FundRecipient.php index 12e6bb7f7..d11acecf3 100644 --- a/src/Adyen/Model/Checkout/FundRecipient.php +++ b/src/Adyen/Model/Checkout/FundRecipient.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php b/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php index ca057f4bc..2e0dd1def 100644 --- a/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php +++ b/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/GiropayDetails.php b/src/Adyen/Model/Checkout/GiropayDetails.php index e1d299be0..5002f78a0 100644 --- a/src/Adyen/Model/Checkout/GiropayDetails.php +++ b/src/Adyen/Model/Checkout/GiropayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/GooglePayDetails.php b/src/Adyen/Model/Checkout/GooglePayDetails.php index dcf8c2e5c..66c788533 100644 --- a/src/Adyen/Model/Checkout/GooglePayDetails.php +++ b/src/Adyen/Model/Checkout/GooglePayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/GooglePayDonations.php b/src/Adyen/Model/Checkout/GooglePayDonations.php index 55eae78cd..6d9a80cc2 100644 --- a/src/Adyen/Model/Checkout/GooglePayDonations.php +++ b/src/Adyen/Model/Checkout/GooglePayDonations.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/IdealDetails.php b/src/Adyen/Model/Checkout/IdealDetails.php index 3fbf36b6a..9def99b5d 100644 --- a/src/Adyen/Model/Checkout/IdealDetails.php +++ b/src/Adyen/Model/Checkout/IdealDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/IdealDonations.php b/src/Adyen/Model/Checkout/IdealDonations.php index b430b9fff..edec8d3ec 100644 --- a/src/Adyen/Model/Checkout/IdealDonations.php +++ b/src/Adyen/Model/Checkout/IdealDonations.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/InputDetail.php b/src/Adyen/Model/Checkout/InputDetail.php index b3a614fa5..c77747937 100644 --- a/src/Adyen/Model/Checkout/InputDetail.php +++ b/src/Adyen/Model/Checkout/InputDetail.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/InstallmentOption.php b/src/Adyen/Model/Checkout/InstallmentOption.php index 542738dec..21887714b 100644 --- a/src/Adyen/Model/Checkout/InstallmentOption.php +++ b/src/Adyen/Model/Checkout/InstallmentOption.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Installments.php b/src/Adyen/Model/Checkout/Installments.php index c07cdb464..a960d1090 100644 --- a/src/Adyen/Model/Checkout/Installments.php +++ b/src/Adyen/Model/Checkout/Installments.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/InstallmentsNumber.php b/src/Adyen/Model/Checkout/InstallmentsNumber.php index 6e63c564c..db53d3a29 100644 --- a/src/Adyen/Model/Checkout/InstallmentsNumber.php +++ b/src/Adyen/Model/Checkout/InstallmentsNumber.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Item.php b/src/Adyen/Model/Checkout/Item.php index ea68c1760..082fe539d 100644 --- a/src/Adyen/Model/Checkout/Item.php +++ b/src/Adyen/Model/Checkout/Item.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/KlarnaDetails.php b/src/Adyen/Model/Checkout/KlarnaDetails.php index ff1703dd8..7b9f670dc 100644 --- a/src/Adyen/Model/Checkout/KlarnaDetails.php +++ b/src/Adyen/Model/Checkout/KlarnaDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/LineItem.php b/src/Adyen/Model/Checkout/LineItem.php index c5ba9dad1..8a5079c86 100644 --- a/src/Adyen/Model/Checkout/LineItem.php +++ b/src/Adyen/Model/Checkout/LineItem.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php b/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php index c10bba0a4..ae3584686 100644 --- a/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php +++ b/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Mandate.php b/src/Adyen/Model/Checkout/Mandate.php index 4183317c7..3dafe749e 100644 --- a/src/Adyen/Model/Checkout/Mandate.php +++ b/src/Adyen/Model/Checkout/Mandate.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/MasterpassDetails.php b/src/Adyen/Model/Checkout/MasterpassDetails.php index 6f2c61c4c..fe6c5e8c5 100644 --- a/src/Adyen/Model/Checkout/MasterpassDetails.php +++ b/src/Adyen/Model/Checkout/MasterpassDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/MbwayDetails.php b/src/Adyen/Model/Checkout/MbwayDetails.php index 5c4b34182..dc73d3c30 100644 --- a/src/Adyen/Model/Checkout/MbwayDetails.php +++ b/src/Adyen/Model/Checkout/MbwayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/MerchantDevice.php b/src/Adyen/Model/Checkout/MerchantDevice.php index 123de3a1d..3aa8bd67f 100644 --- a/src/Adyen/Model/Checkout/MerchantDevice.php +++ b/src/Adyen/Model/Checkout/MerchantDevice.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/MerchantRiskIndicator.php b/src/Adyen/Model/Checkout/MerchantRiskIndicator.php index 73db3e624..43cc2d312 100644 --- a/src/Adyen/Model/Checkout/MerchantRiskIndicator.php +++ b/src/Adyen/Model/Checkout/MerchantRiskIndicator.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/MobilePayDetails.php b/src/Adyen/Model/Checkout/MobilePayDetails.php index 1c84d5fed..e0b91103d 100644 --- a/src/Adyen/Model/Checkout/MobilePayDetails.php +++ b/src/Adyen/Model/Checkout/MobilePayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ModelInterface.php b/src/Adyen/Model/Checkout/ModelInterface.php index 661c821be..db5493a75 100644 --- a/src/Adyen/Model/Checkout/ModelInterface.php +++ b/src/Adyen/Model/Checkout/ModelInterface.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/MolPayDetails.php b/src/Adyen/Model/Checkout/MolPayDetails.php index d39994ce5..8f09dccc7 100644 --- a/src/Adyen/Model/Checkout/MolPayDetails.php +++ b/src/Adyen/Model/Checkout/MolPayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Name.php b/src/Adyen/Model/Checkout/Name.php index cc5120246..5f0736d8e 100644 --- a/src/Adyen/Model/Checkout/Name.php +++ b/src/Adyen/Model/Checkout/Name.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ObjectSerializer.php b/src/Adyen/Model/Checkout/ObjectSerializer.php index 29dd654c7..2b682c18f 100644 --- a/src/Adyen/Model/Checkout/ObjectSerializer.php +++ b/src/Adyen/Model/Checkout/ObjectSerializer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech @@ -65,7 +65,7 @@ public static function sanitizeForSerialization($data, $type = null, $format = n foreach ($data::openAPITypes() as $property => $openAPIType) { $getter = $data::getters()[$property]; $value = $data->$getter(); - if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if ($value !== null && !in_array($openAPIType, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { $callable = [$openAPIType, 'getAllowableEnumValues']; if (is_callable($callable)) { /** array $callable */ @@ -261,7 +261,7 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** @psalm-suppress ParadoxicalCondition */ - if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { + if (in_array($class, ['\DateTime', '\SplFileObject', 'array', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { settype($data, $class); return $data; } diff --git a/src/Adyen/Model/Checkout/OpenInvoiceDetails.php b/src/Adyen/Model/Checkout/OpenInvoiceDetails.php index 17179ca06..d445cd43d 100644 --- a/src/Adyen/Model/Checkout/OpenInvoiceDetails.php +++ b/src/Adyen/Model/Checkout/OpenInvoiceDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PayByBankDetails.php b/src/Adyen/Model/Checkout/PayByBankDetails.php index ae3d927a9..1146a762f 100644 --- a/src/Adyen/Model/Checkout/PayByBankDetails.php +++ b/src/Adyen/Model/Checkout/PayByBankDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PayPalDetails.php b/src/Adyen/Model/Checkout/PayPalDetails.php index f97a1cb2d..b7d74ac41 100644 --- a/src/Adyen/Model/Checkout/PayPalDetails.php +++ b/src/Adyen/Model/Checkout/PayPalDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PayUUpiDetails.php b/src/Adyen/Model/Checkout/PayUUpiDetails.php index 156b1356e..e291d4183 100644 --- a/src/Adyen/Model/Checkout/PayUUpiDetails.php +++ b/src/Adyen/Model/Checkout/PayUUpiDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PayWithGoogleDetails.php b/src/Adyen/Model/Checkout/PayWithGoogleDetails.php index 525507d6b..b2a48cd42 100644 --- a/src/Adyen/Model/Checkout/PayWithGoogleDetails.php +++ b/src/Adyen/Model/Checkout/PayWithGoogleDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PayWithGoogleDonations.php b/src/Adyen/Model/Checkout/PayWithGoogleDonations.php index 4054d55d6..a6a02f309 100644 --- a/src/Adyen/Model/Checkout/PayWithGoogleDonations.php +++ b/src/Adyen/Model/Checkout/PayWithGoogleDonations.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php b/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php index d70a284e9..b1af34601 100644 --- a/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php +++ b/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php b/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php index 225f405aa..8f5e8beeb 100644 --- a/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php +++ b/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentCancelRequest.php b/src/Adyen/Model/Checkout/PaymentCancelRequest.php index 2afaef0c2..31341b9f7 100644 --- a/src/Adyen/Model/Checkout/PaymentCancelRequest.php +++ b/src/Adyen/Model/Checkout/PaymentCancelRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentCancelResponse.php b/src/Adyen/Model/Checkout/PaymentCancelResponse.php index dea523fe6..de662b8ba 100644 --- a/src/Adyen/Model/Checkout/PaymentCancelResponse.php +++ b/src/Adyen/Model/Checkout/PaymentCancelResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentCaptureRequest.php b/src/Adyen/Model/Checkout/PaymentCaptureRequest.php index c06b5071a..5858dab1e 100644 --- a/src/Adyen/Model/Checkout/PaymentCaptureRequest.php +++ b/src/Adyen/Model/Checkout/PaymentCaptureRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentCaptureResponse.php b/src/Adyen/Model/Checkout/PaymentCaptureResponse.php index 78cf63c6c..8f095e73f 100644 --- a/src/Adyen/Model/Checkout/PaymentCaptureResponse.php +++ b/src/Adyen/Model/Checkout/PaymentCaptureResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentCompletionDetails.php b/src/Adyen/Model/Checkout/PaymentCompletionDetails.php index 2f448f93c..6a36abe3c 100644 --- a/src/Adyen/Model/Checkout/PaymentCompletionDetails.php +++ b/src/Adyen/Model/Checkout/PaymentCompletionDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentDetails.php b/src/Adyen/Model/Checkout/PaymentDetails.php index 33cf6ece1..7c05dc23a 100644 --- a/src/Adyen/Model/Checkout/PaymentDetails.php +++ b/src/Adyen/Model/Checkout/PaymentDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentDetailsRequest.php b/src/Adyen/Model/Checkout/PaymentDetailsRequest.php index f44623524..bd8d4d042 100644 --- a/src/Adyen/Model/Checkout/PaymentDetailsRequest.php +++ b/src/Adyen/Model/Checkout/PaymentDetailsRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentDetailsResponse.php b/src/Adyen/Model/Checkout/PaymentDetailsResponse.php index a49e9a516..d7c5b02b2 100644 --- a/src/Adyen/Model/Checkout/PaymentDetailsResponse.php +++ b/src/Adyen/Model/Checkout/PaymentDetailsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentLinkRequest.php b/src/Adyen/Model/Checkout/PaymentLinkRequest.php index 9df1b4a04..a494de4c4 100644 --- a/src/Adyen/Model/Checkout/PaymentLinkRequest.php +++ b/src/Adyen/Model/Checkout/PaymentLinkRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentLinkResponse.php b/src/Adyen/Model/Checkout/PaymentLinkResponse.php index 18d2cb8b6..a132cfb4c 100644 --- a/src/Adyen/Model/Checkout/PaymentLinkResponse.php +++ b/src/Adyen/Model/Checkout/PaymentLinkResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentMethod.php b/src/Adyen/Model/Checkout/PaymentMethod.php index c84901b1f..b6513d549 100644 --- a/src/Adyen/Model/Checkout/PaymentMethod.php +++ b/src/Adyen/Model/Checkout/PaymentMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentMethodGroup.php b/src/Adyen/Model/Checkout/PaymentMethodGroup.php index ac4223333..05b0d5120 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodGroup.php +++ b/src/Adyen/Model/Checkout/PaymentMethodGroup.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentMethodIssuer.php b/src/Adyen/Model/Checkout/PaymentMethodIssuer.php index c8b1e425d..375a063a2 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodIssuer.php +++ b/src/Adyen/Model/Checkout/PaymentMethodIssuer.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentMethodToStore.php b/src/Adyen/Model/Checkout/PaymentMethodToStore.php index e37c49f94..9585f865d 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodToStore.php +++ b/src/Adyen/Model/Checkout/PaymentMethodToStore.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentMethodUPIApps.php b/src/Adyen/Model/Checkout/PaymentMethodUPIApps.php index b191fcf29..2ed96f418 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodUPIApps.php +++ b/src/Adyen/Model/Checkout/PaymentMethodUPIApps.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentMethodsRequest.php b/src/Adyen/Model/Checkout/PaymentMethodsRequest.php index 678f7f0d0..39a288e0d 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodsRequest.php +++ b/src/Adyen/Model/Checkout/PaymentMethodsRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentMethodsResponse.php b/src/Adyen/Model/Checkout/PaymentMethodsResponse.php index 4c8e222b4..4fec79974 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodsResponse.php +++ b/src/Adyen/Model/Checkout/PaymentMethodsResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentRefundRequest.php b/src/Adyen/Model/Checkout/PaymentRefundRequest.php index bdee27ee3..610c8de39 100644 --- a/src/Adyen/Model/Checkout/PaymentRefundRequest.php +++ b/src/Adyen/Model/Checkout/PaymentRefundRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentRefundResponse.php b/src/Adyen/Model/Checkout/PaymentRefundResponse.php index 62576b0d7..55ce4a54a 100644 --- a/src/Adyen/Model/Checkout/PaymentRefundResponse.php +++ b/src/Adyen/Model/Checkout/PaymentRefundResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentRequest.php b/src/Adyen/Model/Checkout/PaymentRequest.php index ecfeed746..b1c5a3efb 100644 --- a/src/Adyen/Model/Checkout/PaymentRequest.php +++ b/src/Adyen/Model/Checkout/PaymentRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentResponse.php b/src/Adyen/Model/Checkout/PaymentResponse.php index bb182d632..e6f7320dc 100644 --- a/src/Adyen/Model/Checkout/PaymentResponse.php +++ b/src/Adyen/Model/Checkout/PaymentResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentResponseAction.php b/src/Adyen/Model/Checkout/PaymentResponseAction.php index f593f6b6e..1b391962f 100644 --- a/src/Adyen/Model/Checkout/PaymentResponseAction.php +++ b/src/Adyen/Model/Checkout/PaymentResponseAction.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentReversalRequest.php b/src/Adyen/Model/Checkout/PaymentReversalRequest.php index ed611ab35..b974a7ab0 100644 --- a/src/Adyen/Model/Checkout/PaymentReversalRequest.php +++ b/src/Adyen/Model/Checkout/PaymentReversalRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentReversalResponse.php b/src/Adyen/Model/Checkout/PaymentReversalResponse.php index 6dbc669e5..0dcf1b393 100644 --- a/src/Adyen/Model/Checkout/PaymentReversalResponse.php +++ b/src/Adyen/Model/Checkout/PaymentReversalResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentSetupRequest.php b/src/Adyen/Model/Checkout/PaymentSetupRequest.php index 9ac9f4c82..c68c5bbb7 100644 --- a/src/Adyen/Model/Checkout/PaymentSetupRequest.php +++ b/src/Adyen/Model/Checkout/PaymentSetupRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentSetupResponse.php b/src/Adyen/Model/Checkout/PaymentSetupResponse.php index ad100d783..45b635f86 100644 --- a/src/Adyen/Model/Checkout/PaymentSetupResponse.php +++ b/src/Adyen/Model/Checkout/PaymentSetupResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentVerificationRequest.php b/src/Adyen/Model/Checkout/PaymentVerificationRequest.php index b7e6567e4..f420a2ace 100644 --- a/src/Adyen/Model/Checkout/PaymentVerificationRequest.php +++ b/src/Adyen/Model/Checkout/PaymentVerificationRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaymentVerificationResponse.php b/src/Adyen/Model/Checkout/PaymentVerificationResponse.php index 64b776442..fd4ee8adb 100644 --- a/src/Adyen/Model/Checkout/PaymentVerificationResponse.php +++ b/src/Adyen/Model/Checkout/PaymentVerificationResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaypalUpdateOrderRequest.php b/src/Adyen/Model/Checkout/PaypalUpdateOrderRequest.php index cb27151f4..fb573c1a4 100644 --- a/src/Adyen/Model/Checkout/PaypalUpdateOrderRequest.php +++ b/src/Adyen/Model/Checkout/PaypalUpdateOrderRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PaypalUpdateOrderResponse.php b/src/Adyen/Model/Checkout/PaypalUpdateOrderResponse.php index a5d128fef..1e41b25db 100644 --- a/src/Adyen/Model/Checkout/PaypalUpdateOrderResponse.php +++ b/src/Adyen/Model/Checkout/PaypalUpdateOrderResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Phone.php b/src/Adyen/Model/Checkout/Phone.php index 0986aa2d7..3729ac598 100644 --- a/src/Adyen/Model/Checkout/Phone.php +++ b/src/Adyen/Model/Checkout/Phone.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/PlatformChargebackLogic.php b/src/Adyen/Model/Checkout/PlatformChargebackLogic.php index 03c739b95..b1d54b2d8 100644 --- a/src/Adyen/Model/Checkout/PlatformChargebackLogic.php +++ b/src/Adyen/Model/Checkout/PlatformChargebackLogic.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/RatepayDetails.php b/src/Adyen/Model/Checkout/RatepayDetails.php index bb502643c..4ed81ef7a 100644 --- a/src/Adyen/Model/Checkout/RatepayDetails.php +++ b/src/Adyen/Model/Checkout/RatepayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Recurring.php b/src/Adyen/Model/Checkout/Recurring.php index 611436a50..cdf1e53e4 100644 --- a/src/Adyen/Model/Checkout/Recurring.php +++ b/src/Adyen/Model/Checkout/Recurring.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/RecurringDetail.php b/src/Adyen/Model/Checkout/RecurringDetail.php index 5aa1887c5..ee6977043 100644 --- a/src/Adyen/Model/Checkout/RecurringDetail.php +++ b/src/Adyen/Model/Checkout/RecurringDetail.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php b/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php index 4e1e06212..e4b3f4f19 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php index 7e86d5fdc..e89f36bd7 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php index 47baa0494..b8d97aaed 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php index 7544ac703..92cd71d47 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataDomesticError.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataDomesticError.php index e9774f9b3..88ff9bc1b 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataDomesticError.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataDomesticError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php index b7a071804..f605b9a8d 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php index 77b4e36e7..a3a967bc9 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php index ea572073c..1af9f22d7 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php index 96aad06e1..8a3a13ea8 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ResponsePaymentMethod.php b/src/Adyen/Model/Checkout/ResponsePaymentMethod.php index 7f3617009..fb2eed9f7 100644 --- a/src/Adyen/Model/Checkout/ResponsePaymentMethod.php +++ b/src/Adyen/Model/Checkout/ResponsePaymentMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/RiskData.php b/src/Adyen/Model/Checkout/RiskData.php index 4c1b81e88..9d07bd8d4 100644 --- a/src/Adyen/Model/Checkout/RiskData.php +++ b/src/Adyen/Model/Checkout/RiskData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SDKEphemPubKey.php b/src/Adyen/Model/Checkout/SDKEphemPubKey.php index 8c6e59c37..58bf130be 100644 --- a/src/Adyen/Model/Checkout/SDKEphemPubKey.php +++ b/src/Adyen/Model/Checkout/SDKEphemPubKey.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SamsungPayDetails.php b/src/Adyen/Model/Checkout/SamsungPayDetails.php index 884f374aa..28cbf39bf 100644 --- a/src/Adyen/Model/Checkout/SamsungPayDetails.php +++ b/src/Adyen/Model/Checkout/SamsungPayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SecureRemoteCommerceCheckoutData.php b/src/Adyen/Model/Checkout/SecureRemoteCommerceCheckoutData.php index 3a7a4bcd8..fafc63a8b 100644 --- a/src/Adyen/Model/Checkout/SecureRemoteCommerceCheckoutData.php +++ b/src/Adyen/Model/Checkout/SecureRemoteCommerceCheckoutData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php b/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php index ec71acc63..d83454ddc 100644 --- a/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php +++ b/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ServiceError.php b/src/Adyen/Model/Checkout/ServiceError.php index 2a16d190d..ebaebb099 100644 --- a/src/Adyen/Model/Checkout/ServiceError.php +++ b/src/Adyen/Model/Checkout/ServiceError.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ServiceErrorDetails.php b/src/Adyen/Model/Checkout/ServiceErrorDetails.php index 8299bcff0..753c663cb 100644 --- a/src/Adyen/Model/Checkout/ServiceErrorDetails.php +++ b/src/Adyen/Model/Checkout/ServiceErrorDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SessionResultResponse.php b/src/Adyen/Model/Checkout/SessionResultResponse.php index 3f7d84f15..4c04fdac9 100644 --- a/src/Adyen/Model/Checkout/SessionResultResponse.php +++ b/src/Adyen/Model/Checkout/SessionResultResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ShopperInput.php b/src/Adyen/Model/Checkout/ShopperInput.php index 345b24926..461aeba82 100644 --- a/src/Adyen/Model/Checkout/ShopperInput.php +++ b/src/Adyen/Model/Checkout/ShopperInput.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ShopperInteractionDevice.php b/src/Adyen/Model/Checkout/ShopperInteractionDevice.php index 3706d286c..ea8f18e95 100644 --- a/src/Adyen/Model/Checkout/ShopperInteractionDevice.php +++ b/src/Adyen/Model/Checkout/ShopperInteractionDevice.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/Split.php b/src/Adyen/Model/Checkout/Split.php index 3aa524726..0c6af777f 100644 --- a/src/Adyen/Model/Checkout/Split.php +++ b/src/Adyen/Model/Checkout/Split.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SplitAmount.php b/src/Adyen/Model/Checkout/SplitAmount.php index c6ebfabba..cb65ae02f 100644 --- a/src/Adyen/Model/Checkout/SplitAmount.php +++ b/src/Adyen/Model/Checkout/SplitAmount.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php b/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php index ef9a7204e..21f89de0b 100644 --- a/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php +++ b/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php b/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php index 92cb57865..dbb831dce 100644 --- a/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php +++ b/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/StoredDetails.php b/src/Adyen/Model/Checkout/StoredDetails.php index 5da0183b2..5afe70daa 100644 --- a/src/Adyen/Model/Checkout/StoredDetails.php +++ b/src/Adyen/Model/Checkout/StoredDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethod.php b/src/Adyen/Model/Checkout/StoredPaymentMethod.php index 930aba041..b198e37ba 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethod.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethod.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php b/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php index 3f1669c30..bd930be5d 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethodRequest.php b/src/Adyen/Model/Checkout/StoredPaymentMethodRequest.php index 025137f6d..2fad35e6b 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethodRequest.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethodRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php b/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php index 20d049236..73425d162 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SubInputDetail.php b/src/Adyen/Model/Checkout/SubInputDetail.php index 4601c4f4c..360300475 100644 --- a/src/Adyen/Model/Checkout/SubInputDetail.php +++ b/src/Adyen/Model/Checkout/SubInputDetail.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SubMerchant.php b/src/Adyen/Model/Checkout/SubMerchant.php index 40a353ebb..0f98d717b 100644 --- a/src/Adyen/Model/Checkout/SubMerchant.php +++ b/src/Adyen/Model/Checkout/SubMerchant.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/SubMerchantInfo.php b/src/Adyen/Model/Checkout/SubMerchantInfo.php index 1f24148ce..4ada80f94 100644 --- a/src/Adyen/Model/Checkout/SubMerchantInfo.php +++ b/src/Adyen/Model/Checkout/SubMerchantInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/TaxTotal.php b/src/Adyen/Model/Checkout/TaxTotal.php index 52858e586..ff29884d7 100644 --- a/src/Adyen/Model/Checkout/TaxTotal.php +++ b/src/Adyen/Model/Checkout/TaxTotal.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ThreeDS2RequestData.php b/src/Adyen/Model/Checkout/ThreeDS2RequestData.php index 4faf3822a..ec31bc205 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2RequestData.php +++ b/src/Adyen/Model/Checkout/ThreeDS2RequestData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php b/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php index d3c2ff90e..822a43c16 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php +++ b/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php b/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php index 8648a79c4..fb6561475 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php +++ b/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ThreeDS2Result.php b/src/Adyen/Model/Checkout/ThreeDS2Result.php index 2a1826e7c..1909962b2 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2Result.php +++ b/src/Adyen/Model/Checkout/ThreeDS2Result.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ThreeDSRequestData.php b/src/Adyen/Model/Checkout/ThreeDSRequestData.php index bb991a694..087c5ce5f 100644 --- a/src/Adyen/Model/Checkout/ThreeDSRequestData.php +++ b/src/Adyen/Model/Checkout/ThreeDSRequestData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php b/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php index b57e4f5b9..82b778974 100644 --- a/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php +++ b/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php b/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php index d60389426..139ecf188 100644 --- a/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php +++ b/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ThreeDSecureData.php b/src/Adyen/Model/Checkout/ThreeDSecureData.php index ccb38f14f..949d0c20a 100644 --- a/src/Adyen/Model/Checkout/ThreeDSecureData.php +++ b/src/Adyen/Model/Checkout/ThreeDSecureData.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php b/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php index bd30d30ac..a93087a73 100644 --- a/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php +++ b/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/UpiCollectDetails.php b/src/Adyen/Model/Checkout/UpiCollectDetails.php index fadfa71b6..7ed7419ee 100644 --- a/src/Adyen/Model/Checkout/UpiCollectDetails.php +++ b/src/Adyen/Model/Checkout/UpiCollectDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/UpiIntentDetails.php b/src/Adyen/Model/Checkout/UpiIntentDetails.php index 1fce7a77c..43587b4ac 100644 --- a/src/Adyen/Model/Checkout/UpiIntentDetails.php +++ b/src/Adyen/Model/Checkout/UpiIntentDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/UtilityRequest.php b/src/Adyen/Model/Checkout/UtilityRequest.php index 56f8d3db6..66a405ede 100644 --- a/src/Adyen/Model/Checkout/UtilityRequest.php +++ b/src/Adyen/Model/Checkout/UtilityRequest.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/UtilityResponse.php b/src/Adyen/Model/Checkout/UtilityResponse.php index 2f21e658e..ae54cf83e 100644 --- a/src/Adyen/Model/Checkout/UtilityResponse.php +++ b/src/Adyen/Model/Checkout/UtilityResponse.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/VippsDetails.php b/src/Adyen/Model/Checkout/VippsDetails.php index 704d4c55b..6787fd034 100644 --- a/src/Adyen/Model/Checkout/VippsDetails.php +++ b/src/Adyen/Model/Checkout/VippsDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/VisaCheckoutDetails.php b/src/Adyen/Model/Checkout/VisaCheckoutDetails.php index 5ba33ca81..c4efd28e0 100644 --- a/src/Adyen/Model/Checkout/VisaCheckoutDetails.php +++ b/src/Adyen/Model/Checkout/VisaCheckoutDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/WeChatPayDetails.php b/src/Adyen/Model/Checkout/WeChatPayDetails.php index 07a9a83d2..edbff30aa 100644 --- a/src/Adyen/Model/Checkout/WeChatPayDetails.php +++ b/src/Adyen/Model/Checkout/WeChatPayDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php b/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php index 1f454735c..bce2d0b05 100644 --- a/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php +++ b/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Model/Checkout/ZipDetails.php b/src/Adyen/Model/Checkout/ZipDetails.php index 1de06443e..50533e47b 100644 --- a/src/Adyen/Model/Checkout/ZipDetails.php +++ b/src/Adyen/Model/Checkout/ZipDetails.php @@ -5,7 +5,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Checkout/ClassicCheckoutSDKApi.php b/src/Adyen/Service/Checkout/ClassicCheckoutSDKApi.php index 1e113d8b1..1f4de6dd0 100644 --- a/src/Adyen/Service/Checkout/ClassicCheckoutSDKApi.php +++ b/src/Adyen/Service/Checkout/ClassicCheckoutSDKApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Checkout/DonationsApi.php b/src/Adyen/Service/Checkout/DonationsApi.php index 80484a73a..edd993249 100644 --- a/src/Adyen/Service/Checkout/DonationsApi.php +++ b/src/Adyen/Service/Checkout/DonationsApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Checkout/ModificationsApi.php b/src/Adyen/Service/Checkout/ModificationsApi.php index 17c3d4d95..315fca754 100644 --- a/src/Adyen/Service/Checkout/ModificationsApi.php +++ b/src/Adyen/Service/Checkout/ModificationsApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Checkout/OrdersApi.php b/src/Adyen/Service/Checkout/OrdersApi.php index 718453537..b99d6437c 100644 --- a/src/Adyen/Service/Checkout/OrdersApi.php +++ b/src/Adyen/Service/Checkout/OrdersApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Checkout/PaymentLinksApi.php b/src/Adyen/Service/Checkout/PaymentLinksApi.php index 195d7765f..15f0ac7ec 100644 --- a/src/Adyen/Service/Checkout/PaymentLinksApi.php +++ b/src/Adyen/Service/Checkout/PaymentLinksApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Checkout/PaymentsApi.php b/src/Adyen/Service/Checkout/PaymentsApi.php index 2841acacb..34371a4b2 100644 --- a/src/Adyen/Service/Checkout/PaymentsApi.php +++ b/src/Adyen/Service/Checkout/PaymentsApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Checkout/RecurringApi.php b/src/Adyen/Service/Checkout/RecurringApi.php index d1ddb830d..233c09180 100644 --- a/src/Adyen/Service/Checkout/RecurringApi.php +++ b/src/Adyen/Service/Checkout/RecurringApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/src/Adyen/Service/Checkout/UtilityApi.php b/src/Adyen/Service/Checkout/UtilityApi.php index 08ad1e4cd..d766fbe7d 100644 --- a/src/Adyen/Service/Checkout/UtilityApi.php +++ b/src/Adyen/Service/Checkout/UtilityApi.php @@ -4,7 +4,7 @@ * * The version of the OpenAPI document: 71 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 6.4.0 + * OpenAPI Generator version: 6.0.1 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech