From 9ed4b2a0503faaa1c3fcd2414e1f447ebfe95566 Mon Sep 17 00:00:00 2001 From: Maxime Veber Date: Mon, 10 Mar 2025 16:49:52 +0100 Subject: [PATCH] Remove implicit nullable types --- src/Adyen/AdyenException.php | 2 +- src/Adyen/Config.php | 2 +- src/Adyen/Model/AcsWebhooks/Amount.php | 2 +- .../Model/AcsWebhooks/AuthenticationInfo.php | 2 +- .../AuthenticationNotificationData.php | 2 +- .../AuthenticationNotificationRequest.php | 2 +- .../BalancePlatformNotificationResponse.php | 2 +- src/Adyen/Model/AcsWebhooks/ChallengeInfo.php | 2 +- src/Adyen/Model/AcsWebhooks/PurchaseInfo.php | 2 +- src/Adyen/Model/AcsWebhooks/Resource.php | 2 +- src/Adyen/Model/BalanceControl/Amount.php | 2 +- .../BalanceControl/BalanceTransferRequest.php | 2 +- .../BalanceTransferResponse.php | 2 +- .../AULocalAccountIdentification.php | 2 +- .../Model/BalancePlatform/AccountHolder.php | 2 +- .../AccountHolderCapability.php | 2 +- .../BalancePlatform/AccountHolderInfo.php | 2 +- .../AccountHolderUpdateRequest.php | 2 +- .../AccountSupportingEntityCapability.php | 2 +- .../ActiveNetworkTokensRestriction.php | 2 +- .../AdditionalBankIdentification.php | 2 +- src/Adyen/Model/BalancePlatform/Address.php | 2 +- .../BalancePlatform/AddressRequirement.php | 2 +- src/Adyen/Model/BalancePlatform/Amount.php | 2 +- .../AmountMinMaxRequirement.php | 2 +- .../AmountNonZeroDecimalsRequirement.php | 2 +- ...AssociationDelegatedAuthenticationData.php | 2 +- .../AssociationFinaliseRequest.php | 2 +- .../AssociationFinaliseResponse.php | 2 +- .../AssociationInitiateRequest.php | 2 +- .../AssociationInitiateResponse.php | 2 +- .../Model/BalancePlatform/Authentication.php | 2 +- .../BRLocalAccountIdentification.php | 2 +- src/Adyen/Model/BalancePlatform/Balance.php | 2 +- .../Model/BalancePlatform/BalanceAccount.php | 2 +- .../BalancePlatform/BalanceAccountBase.php | 2 +- .../BalancePlatform/BalanceAccountInfo.php | 2 +- .../BalanceAccountUpdateRequest.php | 2 +- .../Model/BalancePlatform/BalancePlatform.php | 2 +- .../BalanceSweepConfigurationsResponse.php | 2 +- .../Model/BalancePlatform/BankAccount.php | 2 +- .../BankAccountAccountIdentification.php | 2 +- .../BalancePlatform/BankAccountDetails.php | 2 +- ...nkAccountIdentificationTypeRequirement.php | 2 +- ...AccountIdentificationValidationRequest.php | 2 +- ...ValidationRequestAccountIdentification.php | 2 +- .../BalancePlatform/BankAccountModel.php | 2 +- .../BalancePlatform/BankIdentification.php | 2 +- .../BrandVariantsRestriction.php | 2 +- .../Model/BalancePlatform/BulkAddress.php | 2 +- .../CALocalAccountIdentification.php | 2 +- .../CZLocalAccountIdentification.php | 2 +- .../BalancePlatform/CapabilityProblem.php | 2 +- .../CapabilityProblemEntity.php | 2 +- .../CapabilityProblemEntityRecursive.php | 2 +- .../BalancePlatform/CapabilitySettings.php | 2 +- .../Model/BalancePlatform/CapitalBalance.php | 2 +- .../BalancePlatform/CapitalGrantAccount.php | 2 +- src/Adyen/Model/BalancePlatform/Card.php | 2 +- .../BalancePlatform/CardConfiguration.php | 2 +- src/Adyen/Model/BalancePlatform/CardInfo.php | 2 +- src/Adyen/Model/BalancePlatform/CardOrder.php | 2 +- .../Model/BalancePlatform/CardOrderItem.php | 2 +- .../CardOrderItemDeliveryStatus.php | 2 +- .../Model/BalancePlatform/ContactDetails.php | 2 +- .../Model/BalancePlatform/Counterparty.php | 2 +- .../CounterpartyBankRestriction.php | 2 +- .../CounterpartyTypesRestriction.php | 2 +- .../BalancePlatform/CountriesRestriction.php | 2 +- .../CreateSweepConfigurationV2.php | 2 +- .../DKLocalAccountIdentification.php | 2 +- .../BalancePlatform/DayOfWeekRestriction.php | 2 +- .../DelegatedAuthenticationData.php | 2 +- .../Model/BalancePlatform/DeliveryAddress.php | 2 +- .../Model/BalancePlatform/DeliveryContact.php | 2 +- src/Adyen/Model/BalancePlatform/Device.php | 2 +- .../Model/BalancePlatform/DeviceInfo.php | 2 +- .../DifferentCurrenciesRestriction.php | 2 +- src/Adyen/Model/BalancePlatform/Duration.php | 2 +- .../BalancePlatform/EntryModesRestriction.php | 2 +- src/Adyen/Model/BalancePlatform/Expiry.php | 2 +- src/Adyen/Model/BalancePlatform/Fee.php | 2 +- .../GetNetworkTokenResponse.php | 2 +- .../BalancePlatform/GetTaxFormResponse.php | 2 +- .../Model/BalancePlatform/GrantLimit.php | 2 +- .../Model/BalancePlatform/GrantOffer.php | 2 +- .../Model/BalancePlatform/GrantOffers.php | 2 +- .../HKLocalAccountIdentification.php | 2 +- .../HULocalAccountIdentification.php | 2 +- src/Adyen/Model/BalancePlatform/Href.php | 2 +- .../IbanAccountIdentification.php | 2 +- .../IbanAccountIdentificationRequirement.php | 2 +- .../InternationalTransactionRestriction.php | 2 +- .../Model/BalancePlatform/InvalidField.php | 2 +- src/Adyen/Model/BalancePlatform/Link.php | 2 +- .../ListNetworkTokensResponse.php | 2 +- .../MatchingTransactionsRestriction.php | 2 +- .../MatchingValuesRestriction.php | 2 +- .../Model/BalancePlatform/MccsRestriction.php | 2 +- .../BalancePlatform/MerchantAcquirerPair.php | 2 +- .../MerchantNamesRestriction.php | 2 +- .../BalancePlatform/MerchantsRestriction.php | 2 +- .../NOLocalAccountIdentification.php | 2 +- .../NZLocalAccountIdentification.php | 2 +- src/Adyen/Model/BalancePlatform/Name.php | 2 +- .../Model/BalancePlatform/NetworkToken.php | 2 +- .../NumberAndBicAccountIdentification.php | 2 +- .../PLLocalAccountIdentification.php | 2 +- .../PaginatedAccountHoldersResponse.php | 2 +- .../PaginatedBalanceAccountsResponse.php | 2 +- .../PaginatedGetCardOrderItemResponse.php | 2 +- .../PaginatedGetCardOrderResponse.php | 2 +- .../PaginatedPaymentInstrumentsResponse.php | 2 +- .../BalancePlatform/PaymentInstrument.php | 2 +- ...itionalBankAccountIdentificationsInner.php | 2 +- .../PaymentInstrumentGroup.php | 2 +- .../PaymentInstrumentGroupInfo.php | 2 +- .../BalancePlatform/PaymentInstrumentInfo.php | 2 +- .../PaymentInstrumentRequirement.php | 2 +- .../PaymentInstrumentRevealInfo.php | 2 +- .../PaymentInstrumentRevealRequest.php | 2 +- .../PaymentInstrumentRevealResponse.php | 2 +- .../PaymentInstrumentUpdateRequest.php | 2 +- src/Adyen/Model/BalancePlatform/Phone.php | 2 +- .../Model/BalancePlatform/PhoneNumber.php | 2 +- .../BalancePlatform/PinChangeRequest.php | 2 +- .../BalancePlatform/PinChangeResponse.php | 2 +- .../PlatformPaymentConfiguration.php | 2 +- .../ProcessingTypesRestriction.php | 2 +- .../BalancePlatform/PublicKeyResponse.php | 2 +- .../RegisterSCAFinalResponse.php | 2 +- .../BalancePlatform/RegisterSCARequest.php | 2 +- .../BalancePlatform/RegisterSCAResponse.php | 2 +- .../BalancePlatform/RemediatingAction.php | 2 +- src/Adyen/Model/BalancePlatform/Repayment.php | 2 +- .../Model/BalancePlatform/RepaymentTerm.php | 2 +- .../BalancePlatform/RestServiceError.php | 2 +- .../BalancePlatform/RevealPinRequest.php | 2 +- .../BalancePlatform/RevealPinResponse.php | 2 +- .../Model/BalancePlatform/RiskScores.php | 2 +- .../BalancePlatform/RiskScoresRestriction.php | 2 +- .../SELocalAccountIdentification.php | 2 +- .../SGLocalAccountIdentification.php | 2 +- .../BalancePlatform/SameAmountRestriction.php | 2 +- .../SameCounterpartyRestriction.php | 2 +- .../SearchRegisteredDevicesResponse.php | 2 +- .../SourceAccountTypesRestriction.php | 2 +- .../Model/BalancePlatform/StringMatch.php | 2 +- .../BalancePlatform/SweepConfigurationV2.php | 2 +- .../BalancePlatform/SweepCounterparty.php | 2 +- .../Model/BalancePlatform/SweepSchedule.php | 2 +- .../BalancePlatform/ThresholdRepayment.php | 2 +- src/Adyen/Model/BalancePlatform/TimeOfDay.php | 2 +- .../BalancePlatform/TimeOfDayRestriction.php | 2 +- .../TokenRequestorsRestriction.php | 2 +- .../TotalAmountRestriction.php | 2 +- .../Model/BalancePlatform/TransactionRule.php | 2 +- .../TransactionRuleEntityKey.php | 2 +- .../BalancePlatform/TransactionRuleInfo.php | 2 +- .../TransactionRuleInterval.php | 2 +- .../TransactionRuleResponse.php | 2 +- .../TransactionRuleRestrictions.php | 2 +- .../TransactionRulesResponse.php | 2 +- .../Model/BalancePlatform/TransferRoute.php | 2 +- .../BalancePlatform/TransferRouteRequest.php | 2 +- .../TransferRouteRequirementsInner.php | 2 +- .../BalancePlatform/TransferRouteResponse.php | 2 +- .../UKLocalAccountIdentification.php | 2 +- .../USInternationalAchAddressRequirement.php | 2 +- .../USLocalAccountIdentification.php | 2 +- .../UpdateNetworkTokenRequest.php | 2 +- .../UpdatePaymentInstrument.php | 2 +- .../UpdateSweepConfigurationV2.php | 2 +- .../BalancePlatform/VerificationDeadline.php | 2 +- .../BalancePlatform/VerificationError.php | 2 +- .../VerificationErrorRecursive.php | 2 +- src/Adyen/Model/BinLookup/Amount.php | 2 +- src/Adyen/Model/BinLookup/BinDetail.php | 2 +- src/Adyen/Model/BinLookup/CardBin.php | 2 +- .../BinLookup/CostEstimateAssumptions.php | 2 +- .../Model/BinLookup/CostEstimateRequest.php | 2 +- .../Model/BinLookup/CostEstimateResponse.php | 2 +- .../Model/BinLookup/DSPublicKeyDetail.php | 2 +- src/Adyen/Model/BinLookup/MerchantDetails.php | 2 +- src/Adyen/Model/BinLookup/Recurring.php | 2 +- src/Adyen/Model/BinLookup/ServiceError.php | 2 +- .../BinLookup/ThreeDS2CardRangeDetail.php | 2 +- .../BinLookup/ThreeDSAvailabilityRequest.php | 2 +- .../BinLookup/ThreeDSAvailabilityResponse.php | 2 +- src/Adyen/Model/Capital/Amount.php | 2 +- src/Adyen/Model/Capital/CapitalBalance.php | 2 +- src/Adyen/Model/Capital/CapitalGrant.php | 2 +- src/Adyen/Model/Capital/CapitalGrantInfo.php | 2 +- src/Adyen/Model/Capital/CapitalGrants.php | 2 +- src/Adyen/Model/Capital/Counterparty.php | 2 +- src/Adyen/Model/Capital/Fee.php | 2 +- src/Adyen/Model/Capital/InvalidField.php | 2 +- src/Adyen/Model/Capital/JSONObject.php | 2 +- src/Adyen/Model/Capital/JSONPath.php | 2 +- src/Adyen/Model/Capital/Repayment.php | 2 +- src/Adyen/Model/Capital/RepaymentTerm.php | 2 +- src/Adyen/Model/Capital/RestServiceError.php | 2 +- .../Model/Capital/ThresholdRepayment.php | 2 +- src/Adyen/Model/Checkout/AccountInfo.php | 2 +- src/Adyen/Model/Checkout/AcctInfo.php | 2 +- src/Adyen/Model/Checkout/AchDetails.php | 2 +- .../Model/Checkout/AdditionalData3DSecure.php | 2 +- .../Model/Checkout/AdditionalDataAirline.php | 2 +- .../Checkout/AdditionalDataCarRental.php | 2 +- .../Model/Checkout/AdditionalDataCommon.php | 2 +- .../Model/Checkout/AdditionalDataLevel23.php | 2 +- .../Model/Checkout/AdditionalDataLodging.php | 2 +- .../Checkout/AdditionalDataOpenInvoice.php | 2 +- .../Model/Checkout/AdditionalDataOpi.php | 2 +- .../Model/Checkout/AdditionalDataRatepay.php | 2 +- .../Model/Checkout/AdditionalDataRetry.php | 2 +- .../Model/Checkout/AdditionalDataRisk.php | 2 +- .../Checkout/AdditionalDataRiskStandalone.php | 2 +- .../Checkout/AdditionalDataSubMerchant.php | 2 +- .../AdditionalDataTemporaryServices.php | 2 +- .../Model/Checkout/AdditionalDataWallets.php | 2 +- src/Adyen/Model/Checkout/Address.php | 2 +- src/Adyen/Model/Checkout/AffirmDetails.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/Amounts.php | 2 +- src/Adyen/Model/Checkout/AncvDetails.php | 2 +- .../Model/Checkout/AndroidPayDetails.php | 2 +- src/Adyen/Model/Checkout/ApplePayDetails.php | 2 +- .../Model/Checkout/ApplePayDonations.php | 2 +- .../Model/Checkout/ApplePaySessionRequest.php | 2 +- .../Checkout/ApplePaySessionResponse.php | 2 +- src/Adyen/Model/Checkout/ApplicationInfo.php | 2 +- .../Model/Checkout/AuthenticationData.php | 2 +- .../Model/Checkout/BacsDirectDebitDetails.php | 2 +- .../Model/Checkout/BalanceCheckRequest.php | 2 +- .../Model/Checkout/BalanceCheckResponse.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 +- .../Model/Checkout/CancelOrderRequest.php | 2 +- .../Model/Checkout/CancelOrderResponse.php | 2 +- src/Adyen/Model/Checkout/CardBrandDetails.php | 2 +- src/Adyen/Model/Checkout/CardDetails.php | 2 +- .../Model/Checkout/CardDetailsRequest.php | 2 +- .../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 +- .../Model/Checkout/CheckoutAwaitAction.php | 2 +- .../Model/Checkout/CheckoutBankAccount.php | 2 +- .../Checkout/CheckoutBankTransferAction.php | 2 +- .../CheckoutDelegatedAuthenticationAction.php | 2 +- .../Checkout/CheckoutNativeRedirectAction.php | 2 +- .../Model/Checkout/CheckoutOrderResponse.php | 2 +- .../Model/Checkout/CheckoutPaymentMethod.php | 2 +- .../Model/Checkout/CheckoutQrCodeAction.php | 2 +- .../Model/Checkout/CheckoutRedirectAction.php | 2 +- .../Model/Checkout/CheckoutSDKAction.php | 2 +- .../CheckoutSessionInstallmentOption.php | 2 +- .../CheckoutSessionThreeDS2RequestData.php | 2 +- .../Model/Checkout/CheckoutThreeDS2Action.php | 2 +- .../Model/Checkout/CheckoutVoucherAction.php | 2 +- src/Adyen/Model/Checkout/CommonField.php | 2 +- src/Adyen/Model/Checkout/Company.php | 2 +- .../Checkout/CreateCheckoutSessionRequest.php | 2 +- .../CreateCheckoutSessionResponse.php | 2 +- .../Model/Checkout/CreateOrderRequest.php | 2 +- .../Model/Checkout/CreateOrderResponse.php | 2 +- src/Adyen/Model/Checkout/DeliveryAddress.php | 2 +- src/Adyen/Model/Checkout/DeliveryMethod.php | 2 +- .../DetailsRequestAuthenticationData.php | 2 +- .../Model/Checkout/DeviceRenderOptions.php | 2 +- src/Adyen/Model/Checkout/DokuDetails.php | 2 +- src/Adyen/Model/Checkout/Donation.php | 2 +- src/Adyen/Model/Checkout/DonationCampaign.php | 2 +- .../Checkout/DonationCampaignsRequest.php | 2 +- .../Checkout/DonationCampaignsResponse.php | 2 +- .../Model/Checkout/DonationPaymentMethod.php | 2 +- .../Model/Checkout/DonationPaymentRequest.php | 2 +- .../Checkout/DonationPaymentResponse.php | 2 +- src/Adyen/Model/Checkout/DotpayDetails.php | 2 +- src/Adyen/Model/Checkout/DragonpayDetails.php | 2 +- .../Model/Checkout/EBankingFinlandDetails.php | 2 +- .../Model/Checkout/EcontextVoucherDetails.php | 2 +- src/Adyen/Model/Checkout/EftDetails.php | 2 +- .../Model/Checkout/EncryptedOrderData.php | 2 +- src/Adyen/Model/Checkout/ExternalPlatform.php | 2 +- src/Adyen/Model/Checkout/FastlaneDetails.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 +- .../GenericIssuerPaymentMethodDetails.php | 2 +- src/Adyen/Model/Checkout/GiropayDetails.php | 2 +- src/Adyen/Model/Checkout/GooglePayDetails.php | 2 +- .../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 +- .../Model/Checkout/InstallmentOption.php | 2 +- src/Adyen/Model/Checkout/Installments.php | 2 +- src/Adyen/Model/Checkout/Item.php | 2 +- src/Adyen/Model/Checkout/KlarnaDetails.php | 2 +- src/Adyen/Model/Checkout/LineItem.php | 2 +- .../ListStoredPaymentMethodsResponse.php | 2 +- src/Adyen/Model/Checkout/Mandate.php | 2 +- .../Model/Checkout/MasterpassDetails.php | 2 +- src/Adyen/Model/Checkout/MbwayDetails.php | 2 +- src/Adyen/Model/Checkout/MerchantDevice.php | 2 +- .../Model/Checkout/MerchantRiskIndicator.php | 2 +- src/Adyen/Model/Checkout/MobilePayDetails.php | 2 +- src/Adyen/Model/Checkout/MolPayDetails.php | 2 +- src/Adyen/Model/Checkout/Name.php | 2 +- .../Model/Checkout/OpenInvoiceDetails.php | 2 +- .../PayByBankAISDirectDebitDetails.php | 2 +- src/Adyen/Model/Checkout/PayByBankDetails.php | 2 +- src/Adyen/Model/Checkout/PayPalDetails.php | 2 +- src/Adyen/Model/Checkout/PayPayDetails.php | 2 +- src/Adyen/Model/Checkout/PayToDetails.php | 2 +- src/Adyen/Model/Checkout/PayUUpiDetails.php | 2 +- .../Model/Checkout/PayWithGoogleDetails.php | 2 +- .../Model/Checkout/PayWithGoogleDonations.php | 2 +- .../Checkout/PaymentAmountUpdateRequest.php | 2 +- .../Checkout/PaymentAmountUpdateResponse.php | 2 +- .../Model/Checkout/PaymentCancelRequest.php | 2 +- .../Model/Checkout/PaymentCancelResponse.php | 2 +- .../Model/Checkout/PaymentCaptureRequest.php | 2 +- .../Model/Checkout/PaymentCaptureResponse.php | 2 +- .../Checkout/PaymentCompletionDetails.php | 2 +- src/Adyen/Model/Checkout/PaymentDetails.php | 2 +- .../Model/Checkout/PaymentDetailsRequest.php | 2 +- .../Model/Checkout/PaymentDetailsResponse.php | 2 +- .../Model/Checkout/PaymentLinkRequest.php | 2 +- .../Model/Checkout/PaymentLinkResponse.php | 2 +- src/Adyen/Model/Checkout/PaymentMethod.php | 2 +- .../Model/Checkout/PaymentMethodGroup.php | 2 +- .../Model/Checkout/PaymentMethodIssuer.php | 2 +- .../Model/Checkout/PaymentMethodToStore.php | 2 +- .../Model/Checkout/PaymentMethodUPIApps.php | 2 +- .../Model/Checkout/PaymentMethodsRequest.php | 2 +- .../Model/Checkout/PaymentMethodsResponse.php | 2 +- .../Model/Checkout/PaymentRefundRequest.php | 2 +- .../Model/Checkout/PaymentRefundResponse.php | 2 +- src/Adyen/Model/Checkout/PaymentRequest.php | 2 +- src/Adyen/Model/Checkout/PaymentResponse.php | 2 +- .../Model/Checkout/PaymentResponseAction.php | 2 +- .../Model/Checkout/PaymentReversalRequest.php | 2 +- .../Checkout/PaymentReversalResponse.php | 2 +- .../Checkout/PaypalUpdateOrderRequest.php | 2 +- .../Checkout/PaypalUpdateOrderResponse.php | 2 +- src/Adyen/Model/Checkout/Phone.php | 2 +- src/Adyen/Model/Checkout/PixDetails.php | 2 +- src/Adyen/Model/Checkout/PixRecurring.php | 2 +- .../Checkout/PlatformChargebackLogic.php | 2 +- src/Adyen/Model/Checkout/PseDetails.php | 2 +- src/Adyen/Model/Checkout/RatepayDetails.php | 2 +- src/Adyen/Model/Checkout/Recurring.php | 2 +- .../ResponseAdditionalData3DSecure.php | 2 +- .../ResponseAdditionalDataBillingAddress.php | 2 +- .../Checkout/ResponseAdditionalDataCard.php | 2 +- .../Checkout/ResponseAdditionalDataCommon.php | 2 +- .../ResponseAdditionalDataDomesticError.php | 2 +- .../ResponseAdditionalDataInstallments.php | 2 +- .../ResponseAdditionalDataNetworkTokens.php | 2 +- .../Checkout/ResponseAdditionalDataOpi.php | 2 +- .../Checkout/ResponseAdditionalDataSepa.php | 2 +- .../Model/Checkout/ResponsePaymentMethod.php | 2 +- src/Adyen/Model/Checkout/RiskData.php | 2 +- src/Adyen/Model/Checkout/RivertyDetails.php | 2 +- src/Adyen/Model/Checkout/SDKEphemPubKey.php | 2 +- .../Model/Checkout/SamsungPayDetails.php | 2 +- .../Model/Checkout/SepaDirectDebitDetails.php | 2 +- src/Adyen/Model/Checkout/ServiceError.php | 2 +- .../Model/Checkout/SessionResultResponse.php | 2 +- .../Checkout/ShopperInteractionDevice.php | 2 +- src/Adyen/Model/Checkout/Split.php | 2 +- src/Adyen/Model/Checkout/SplitAmount.php | 2 +- .../StandalonePaymentCancelRequest.php | 2 +- .../StandalonePaymentCancelResponse.php | 2 +- .../Model/Checkout/StoredPaymentMethod.php | 2 +- .../Checkout/StoredPaymentMethodDetails.php | 2 +- .../Checkout/StoredPaymentMethodRequest.php | 2 +- .../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 +- .../Model/Checkout/ThreeDS2RequestData.php | 2 +- .../Model/Checkout/ThreeDS2RequestFields.php | 2 +- .../Model/Checkout/ThreeDS2ResponseData.php | 2 +- src/Adyen/Model/Checkout/ThreeDS2Result.php | 2 +- .../Model/Checkout/ThreeDSRequestData.php | 2 +- .../ThreeDSRequestorAuthenticationInfo.php | 2 +- ...hreeDSRequestorPriorAuthenticationInfo.php | 2 +- src/Adyen/Model/Checkout/ThreeDSecureData.php | 2 +- src/Adyen/Model/Checkout/TwintDetails.php | 2 +- .../Checkout/UpdatePaymentLinkRequest.php | 2 +- .../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 +- .../Model/Checkout/VisaCheckoutDetails.php | 2 +- src/Adyen/Model/Checkout/WeChatPayDetails.php | 2 +- .../Checkout/WeChatPayMiniProgramDetails.php | 2 +- src/Adyen/Model/Checkout/ZipDetails.php | 2 +- .../ConfigurationWebhooks/AccountHolder.php | 2 +- .../AccountHolderCapability.php | 2 +- .../AccountHolderNotificationData.php | 2 +- .../AccountHolderNotificationRequest.php | 2 +- .../AccountSupportingEntityCapability.php | 2 +- .../Model/ConfigurationWebhooks/Address.php | 2 +- .../Model/ConfigurationWebhooks/Amount.php | 2 +- .../ConfigurationWebhooks/Authentication.php | 2 +- .../Model/ConfigurationWebhooks/Balance.php | 2 +- .../ConfigurationWebhooks/BalanceAccount.php | 2 +- .../BalanceAccountNotificationData.php | 2 +- .../BalanceAccountNotificationRequest.php | 2 +- .../BalancePlatformNotificationResponse.php | 2 +- .../BankAccountDetails.php | 2 +- .../ConfigurationWebhooks/BulkAddress.php | 2 +- .../CapabilityProblem.php | 2 +- .../CapabilityProblemEntity.php | 2 +- .../CapabilityProblemEntityRecursive.php | 2 +- .../CapabilitySettings.php | 2 +- .../Model/ConfigurationWebhooks/Card.php | 2 +- .../CardConfiguration.php | 2 +- .../ConfigurationWebhooks/CardOrderItem.php | 2 +- .../CardOrderItemDeliveryStatus.php | 2 +- .../CardOrderNotificationRequest.php | 2 +- .../ConfigurationWebhooks/ContactDetails.php | 2 +- .../ConfigurationWebhooks/DeliveryAddress.php | 2 +- .../ConfigurationWebhooks/DeliveryContact.php | 2 +- .../Model/ConfigurationWebhooks/Expiry.php | 2 +- .../IbanAccountIdentification.php | 2 +- .../Model/ConfigurationWebhooks/Name.php | 2 +- .../PaymentInstrument.php | 2 +- ...itionalBankAccountIdentificationsInner.php | 2 +- .../PaymentInstrumentNotificationData.php | 2 +- .../PaymentNotificationRequest.php | 2 +- .../Model/ConfigurationWebhooks/Phone.php | 2 +- .../ConfigurationWebhooks/PhoneNumber.php | 2 +- .../PlatformPaymentConfiguration.php | 2 +- .../RemediatingAction.php | 2 +- .../Model/ConfigurationWebhooks/Resource.php | 2 +- .../SweepConfigurationNotificationData.php | 2 +- .../SweepConfigurationNotificationRequest.php | 2 +- .../SweepConfigurationV2.php | 2 +- .../SweepCounterparty.php | 2 +- .../ConfigurationWebhooks/SweepSchedule.php | 2 +- .../VerificationDeadline.php | 2 +- .../VerificationError.php | 2 +- .../VerificationErrorRecursive.php | 2 +- .../Model/DataProtection/ServiceError.php | 2 +- .../SubjectErasureByPspReferenceRequest.php | 2 +- .../DataProtection/SubjectErasureResponse.php | 2 +- src/Adyen/Model/DisputeWebhooks/Amount.php | 2 +- .../BalancePlatformNotificationResponse.php | 2 +- .../DisputeEventNotification.php | 2 +- .../DisputeNotificationRequest.php | 2 +- .../Model/Disputes/AcceptDisputeRequest.php | 2 +- .../Model/Disputes/AcceptDisputeResponse.php | 2 +- .../Model/Disputes/DefendDisputeRequest.php | 2 +- .../Model/Disputes/DefendDisputeResponse.php | 2 +- src/Adyen/Model/Disputes/DefenseDocument.php | 2 +- .../Model/Disputes/DefenseDocumentType.php | 2 +- src/Adyen/Model/Disputes/DefenseReason.php | 2 +- .../Model/Disputes/DefenseReasonsRequest.php | 2 +- .../Model/Disputes/DefenseReasonsResponse.php | 2 +- .../Disputes/DeleteDefenseDocumentRequest.php | 2 +- .../DeleteDefenseDocumentResponse.php | 2 +- .../Model/Disputes/DisputeServiceResult.php | 2 +- src/Adyen/Model/Disputes/ServiceError.php | 2 +- .../Disputes/SupplyDefenseDocumentRequest.php | 2 +- .../SupplyDefenseDocumentResponse.php | 2 +- .../AULocalAccountIdentification.php | 2 +- .../AcceptTermsOfServiceRequest.php | 2 +- .../AcceptTermsOfServiceResponse.php | 2 +- .../AdditionalBankIdentification.php | 2 +- .../Model/LegalEntityManagement/Address.php | 2 +- .../Model/LegalEntityManagement/Amount.php | 2 +- .../LegalEntityManagement/Attachment.php | 2 +- .../LegalEntityManagement/BankAccountInfo.php | 2 +- .../BankAccountInfoAccountIdentification.php | 2 +- .../Model/LegalEntityManagement/BirthData.php | 2 +- .../LegalEntityManagement/BusinessLine.php | 2 +- .../BusinessLineInfo.php | 2 +- .../BusinessLineInfoUpdate.php | 2 +- .../LegalEntityManagement/BusinessLines.php | 2 +- .../CALocalAccountIdentification.php | 2 +- .../CZLocalAccountIdentification.php | 2 +- .../CalculatePciStatusRequest.php | 2 +- .../CalculatePciStatusResponse.php | 2 +- .../CalculateTermsOfServiceStatusResponse.php | 2 +- .../CapabilityProblem.php | 2 +- .../CapabilityProblemEntity.php | 2 +- .../CapabilityProblemEntityRecursive.php | 2 +- .../CapabilitySettings.php | 2 +- ...ckTaxElectronicDeliveryConsentResponse.php | 2 +- .../DKLocalAccountIdentification.php | 2 +- .../DataReviewConfirmationResponse.php | 2 +- .../Model/LegalEntityManagement/Document.php | 2 +- .../LegalEntityManagement/DocumentPage.php | 2 +- .../DocumentReference.php | 2 +- .../LegalEntityManagement/EntityReference.php | 2 +- .../LegalEntityManagement/FinancialReport.php | 2 +- .../GeneratePciDescriptionRequest.php | 2 +- .../GeneratePciDescriptionResponse.php | 2 +- ...AcceptedTermsOfServiceDocumentResponse.php | 2 +- .../GetPciQuestionnaireInfosResponse.php | 2 +- .../GetPciQuestionnaireResponse.php | 2 +- ...tTermsOfServiceAcceptanceInfosResponse.php | 2 +- .../GetTermsOfServiceDocumentRequest.php | 2 +- .../GetTermsOfServiceDocumentResponse.php | 2 +- .../HKLocalAccountIdentification.php | 2 +- .../HULocalAccountIdentification.php | 2 +- .../IbanAccountIdentification.php | 2 +- .../IdentificationData.php | 2 +- .../LegalEntityManagement/Individual.php | 2 +- .../LegalEntityManagement/LegalEntity.php | 2 +- .../LegalEntityAssociation.php | 2 +- .../LegalEntityCapability.php | 2 +- .../LegalEntityManagement/LegalEntityInfo.php | 2 +- .../LegalEntityInfoRequiredType.php | 2 +- .../NOLocalAccountIdentification.php | 2 +- .../NZLocalAccountIdentification.php | 2 +- .../Model/LegalEntityManagement/Name.php | 2 +- .../NumberAndBicAccountIdentification.php | 2 +- .../LegalEntityManagement/OnboardingLink.php | 2 +- .../OnboardingLinkInfo.php | 2 +- .../OnboardingLinkSettings.php | 2 +- .../LegalEntityManagement/OnboardingTheme.php | 2 +- .../OnboardingThemes.php | 2 +- .../LegalEntityManagement/Organization.php | 2 +- .../LegalEntityManagement/OwnerEntity.php | 2 +- .../PLLocalAccountIdentification.php | 2 +- .../LegalEntityManagement/PciDocumentInfo.php | 2 +- .../PciSigningRequest.php | 2 +- .../PciSigningResponse.php | 2 +- .../LegalEntityManagement/PhoneNumber.php | 2 +- .../RemediatingAction.php | 2 +- .../SELocalAccountIdentification.php | 2 +- .../SGLocalAccountIdentification.php | 2 +- .../LegalEntityManagement/ServiceError.php | 2 +- ...SetTaxElectronicDeliveryConsentRequest.php | 2 +- .../SoleProprietorship.php | 2 +- .../LegalEntityManagement/SourceOfFunds.php | 2 +- .../Model/LegalEntityManagement/StockData.php | 2 +- .../SupportingEntityCapability.php | 2 +- .../LegalEntityManagement/TaxInformation.php | 2 +- .../TaxReportingClassification.php | 2 +- .../TermsOfServiceAcceptanceInfo.php | 2 +- .../TransferInstrument.php | 2 +- .../TransferInstrumentInfo.php | 2 +- .../TransferInstrumentReference.php | 2 +- .../Model/LegalEntityManagement/Trust.php | 2 +- .../UKLocalAccountIdentification.php | 2 +- .../USLocalAccountIdentification.php | 2 +- .../UndefinedBeneficiary.php | 2 +- .../UnincorporatedPartnership.php | 2 +- .../VerificationDeadline.php | 2 +- .../VerificationError.php | 2 +- .../VerificationErrorRecursive.php | 2 +- .../VerificationErrors.php | 2 +- .../Model/LegalEntityManagement/WebData.php | 2 +- .../WebDataExemption.php | 2 +- src/Adyen/Model/Management/AccelInfo.php | 2 +- .../Model/Management/AdditionalCommission.php | 2 +- .../Model/Management/AdditionalSettings.php | 2 +- .../Management/AdditionalSettingsResponse.php | 2 +- src/Adyen/Model/Management/Address.php | 2 +- src/Adyen/Model/Management/AffirmInfo.php | 2 +- .../Model/Management/AfterpayTouchInfo.php | 2 +- src/Adyen/Model/Management/AllowedOrigin.php | 2 +- .../Management/AllowedOriginsResponse.php | 2 +- src/Adyen/Model/Management/AmexInfo.php | 2 +- src/Adyen/Model/Management/Amount.php | 2 +- src/Adyen/Model/Management/AndroidApp.php | 2 +- .../Model/Management/AndroidAppError.php | 2 +- .../Model/Management/AndroidAppsResponse.php | 2 +- .../Model/Management/AndroidCertificate.php | 2 +- .../AndroidCertificatesResponse.php | 2 +- src/Adyen/Model/Management/ApiCredential.php | 2 +- .../Model/Management/ApiCredentialLinks.php | 2 +- src/Adyen/Model/Management/ApplePayInfo.php | 2 +- src/Adyen/Model/Management/BcmcInfo.php | 2 +- .../Management/BillingEntitiesResponse.php | 2 +- src/Adyen/Model/Management/BillingEntity.php | 2 +- .../Model/Management/CardholderReceipt.php | 2 +- .../Model/Management/CartesBancairesInfo.php | 2 +- src/Adyen/Model/Management/ClearpayInfo.php | 2 +- src/Adyen/Model/Management/Commission.php | 2 +- src/Adyen/Model/Management/Company.php | 2 +- .../Model/Management/CompanyApiCredential.php | 2 +- src/Adyen/Model/Management/CompanyLinks.php | 2 +- src/Adyen/Model/Management/CompanyUser.php | 2 +- src/Adyen/Model/Management/Configuration.php | 2 +- src/Adyen/Model/Management/Connectivity.php | 2 +- src/Adyen/Model/Management/Contact.php | 2 +- .../Management/CreateAllowedOriginRequest.php | 2 +- .../CreateApiCredentialResponse.php | 2 +- .../CreateCompanyApiCredentialRequest.php | 2 +- .../CreateCompanyApiCredentialResponse.php | 2 +- .../Management/CreateCompanyUserRequest.php | 2 +- .../Management/CreateCompanyUserResponse.php | 2 +- .../CreateCompanyWebhookRequest.php | 2 +- .../CreateMerchantApiCredentialRequest.php | 2 +- .../Management/CreateMerchantRequest.php | 2 +- .../Management/CreateMerchantResponse.php | 2 +- .../Management/CreateMerchantUserRequest.php | 2 +- .../CreateMerchantWebhookRequest.php | 2 +- .../Model/Management/CreateUserResponse.php | 2 +- src/Adyen/Model/Management/Currency.php | 2 +- .../Model/Management/CustomNotification.php | 2 +- src/Adyen/Model/Management/DataCenter.php | 2 +- src/Adyen/Model/Management/DinersInfo.php | 2 +- src/Adyen/Model/Management/EventUrl.php | 2 +- .../Management/ExternalTerminalAction.php | 2 +- src/Adyen/Model/Management/File.php | 2 +- .../Management/GenerateApiKeyResponse.php | 2 +- .../Management/GenerateClientKeyResponse.php | 2 +- .../Management/GenerateHmacKeyResponse.php | 2 +- .../Model/Management/GenericPmWithTdiInfo.php | 2 +- src/Adyen/Model/Management/GiroPayInfo.php | 2 +- src/Adyen/Model/Management/GooglePayInfo.php | 2 +- src/Adyen/Model/Management/Gratuity.php | 2 +- src/Adyen/Model/Management/Hardware.php | 2 +- src/Adyen/Model/Management/IdName.php | 2 +- .../Management/InstallAndroidAppDetails.php | 2 +- .../InstallAndroidCertificateDetails.php | 2 +- src/Adyen/Model/Management/InvalidField.php | 2 +- src/Adyen/Model/Management/JCBInfo.php | 2 +- src/Adyen/Model/Management/Key.php | 2 +- src/Adyen/Model/Management/KlarnaInfo.php | 2 +- src/Adyen/Model/Management/Links.php | 2 +- src/Adyen/Model/Management/LinksElement.php | 2 +- .../ListCompanyApiCredentialsResponse.php | 2 +- .../Model/Management/ListCompanyResponse.php | 2 +- .../Management/ListCompanyUsersResponse.php | 2 +- .../ListExternalTerminalActionsResponse.php | 2 +- .../ListMerchantApiCredentialsResponse.php | 2 +- .../Model/Management/ListMerchantResponse.php | 2 +- .../Management/ListMerchantUsersResponse.php | 2 +- .../Model/Management/ListStoresResponse.php | 2 +- .../Management/ListTerminalsResponse.php | 2 +- .../Model/Management/ListWebhooksResponse.php | 2 +- src/Adyen/Model/Management/Localization.php | 2 +- src/Adyen/Model/Management/Logo.php | 2 +- .../Model/Management/MeApiCredential.php | 2 +- .../Model/Management/MealVoucherFRInfo.php | 2 +- src/Adyen/Model/Management/Merchant.php | 2 +- src/Adyen/Model/Management/MerchantLinks.php | 2 +- .../Management/MinorUnitsMonetaryValue.php | 2 +- src/Adyen/Model/Management/Name.php | 2 +- src/Adyen/Model/Management/Name2.php | 2 +- src/Adyen/Model/Management/Nexo.php | 2 +- src/Adyen/Model/Management/Notification.php | 2 +- .../Model/Management/NotificationUrl.php | 2 +- src/Adyen/Model/Management/NyceInfo.php | 2 +- .../Model/Management/OfflineProcessing.php | 2 +- src/Adyen/Model/Management/Opi.php | 2 +- src/Adyen/Model/Management/OrderItem.php | 2 +- .../Model/Management/PaginationLinks.php | 2 +- src/Adyen/Model/Management/Passcodes.php | 2 +- src/Adyen/Model/Management/PayAtTable.php | 2 +- src/Adyen/Model/Management/PayMeInfo.php | 2 +- src/Adyen/Model/Management/PayPalInfo.php | 2 +- src/Adyen/Model/Management/PayToInfo.php | 2 +- src/Adyen/Model/Management/Payment.php | 2 +- src/Adyen/Model/Management/PaymentMethod.php | 2 +- .../Management/PaymentMethodResponse.php | 2 +- .../Management/PaymentMethodSetupInfo.php | 2 +- src/Adyen/Model/Management/PayoutSettings.php | 2 +- .../Management/PayoutSettingsRequest.php | 2 +- .../Management/PayoutSettingsResponse.php | 2 +- src/Adyen/Model/Management/Profile.php | 2 +- src/Adyen/Model/Management/PulseInfo.php | 2 +- src/Adyen/Model/Management/ReceiptOptions.php | 2 +- .../Model/Management/ReceiptPrinting.php | 2 +- src/Adyen/Model/Management/Referenced.php | 2 +- src/Adyen/Model/Management/Refunds.php | 2 +- .../Model/Management/ReleaseUpdateDetails.php | 2 +- .../ReprocessAndroidAppResponse.php | 2 +- .../Management/RequestActivationResponse.php | 2 +- .../Model/Management/RestServiceError.php | 2 +- .../ScheduleTerminalActionsRequest.php | 2 +- ...uleTerminalActionsRequestActionDetails.php | 2 +- .../ScheduleTerminalActionsResponse.php | 2 +- src/Adyen/Model/Management/Settings.php | 2 +- .../Model/Management/ShippingLocation.php | 2 +- .../Management/ShippingLocationsResponse.php | 2 +- src/Adyen/Model/Management/Signature.php | 2 +- src/Adyen/Model/Management/SodexoInfo.php | 2 +- src/Adyen/Model/Management/SofortInfo.php | 2 +- .../Model/Management/SplitConfiguration.php | 2 +- .../Management/SplitConfigurationList.php | 2 +- .../Management/SplitConfigurationLogic.php | 2 +- .../Management/SplitConfigurationRule.php | 2 +- src/Adyen/Model/Management/Standalone.php | 2 +- src/Adyen/Model/Management/StarInfo.php | 2 +- src/Adyen/Model/Management/Store.php | 2 +- .../Model/Management/StoreAndForward.php | 2 +- .../Model/Management/StoreCreationRequest.php | 2 +- .../StoreCreationWithMerchantCodeRequest.php | 2 +- src/Adyen/Model/Management/StoreLocation.php | 2 +- .../Management/StoreSplitConfiguration.php | 2 +- .../Model/Management/SupportedCardTypes.php | 2 +- src/Adyen/Model/Management/Surcharge.php | 2 +- src/Adyen/Model/Management/SwishInfo.php | 2 +- src/Adyen/Model/Management/TapToPay.php | 2 +- src/Adyen/Model/Management/Terminal.php | 2 +- .../TerminalActionScheduleDetail.php | 2 +- .../Model/Management/TerminalAssignment.php | 2 +- .../Model/Management/TerminalConnectivity.php | 2 +- .../TerminalConnectivityBluetooth.php | 2 +- .../TerminalConnectivityCellular.php | 2 +- .../TerminalConnectivityEthernet.php | 2 +- .../Management/TerminalConnectivityWifi.php | 2 +- .../Model/Management/TerminalInstructions.php | 2 +- .../Management/TerminalModelsResponse.php | 2 +- src/Adyen/Model/Management/TerminalOrder.php | 2 +- .../Model/Management/TerminalOrderRequest.php | 2 +- .../Management/TerminalOrdersResponse.php | 2 +- .../Model/Management/TerminalProduct.php | 2 +- .../Model/Management/TerminalProductPrice.php | 2 +- .../Management/TerminalProductsResponse.php | 2 +- .../TerminalReassignmentRequest.php | 2 +- .../Management/TerminalReassignmentTarget.php | 2 +- .../Model/Management/TerminalSettings.php | 2 +- .../Management/TestCompanyWebhookRequest.php | 2 +- src/Adyen/Model/Management/TestOutput.php | 2 +- .../Model/Management/TestWebhookRequest.php | 2 +- .../Model/Management/TestWebhookResponse.php | 2 +- src/Adyen/Model/Management/TicketInfo.php | 2 +- src/Adyen/Model/Management/Timeouts.php | 2 +- .../Management/TransactionDescriptionInfo.php | 2 +- src/Adyen/Model/Management/TwintInfo.php | 2 +- .../Management/UninstallAndroidAppDetails.php | 2 +- .../UninstallAndroidCertificateDetails.php | 2 +- .../Model/Management/UpdatableAddress.php | 2 +- .../UpdateCompanyApiCredentialRequest.php | 2 +- .../Management/UpdateCompanyUserRequest.php | 2 +- .../UpdateCompanyWebhookRequest.php | 2 +- .../UpdateMerchantApiCredentialRequest.php | 2 +- .../Management/UpdateMerchantUserRequest.php | 2 +- .../UpdateMerchantWebhookRequest.php | 2 +- .../Management/UpdatePaymentMethodInfo.php | 2 +- .../UpdatePayoutSettingsRequest.php | 2 +- .../UpdateSplitConfigurationLogicRequest.php | 2 +- .../UpdateSplitConfigurationRequest.php | 2 +- .../UpdateSplitConfigurationRuleRequest.php | 2 +- .../Model/Management/UpdateStoreRequest.php | 2 +- .../Management/UploadAndroidAppResponse.php | 2 +- .../UploadAndroidCertificateResponse.php | 2 +- src/Adyen/Model/Management/Url.php | 2 +- src/Adyen/Model/Management/User.php | 2 +- src/Adyen/Model/Management/VippsInfo.php | 2 +- src/Adyen/Model/Management/WeChatPayInfo.php | 2 +- .../Model/Management/WeChatPayPosInfo.php | 2 +- src/Adyen/Model/Management/Webhook.php | 2 +- src/Adyen/Model/Management/WebhookLinks.php | 2 +- src/Adyen/Model/Management/WifiProfiles.php | 2 +- .../AccountCapabilityData.php | 2 +- .../AccountCreateNotificationData.php | 2 +- .../AccountNotificationResponse.php | 2 +- .../AccountUpdateNotificationData.php | 2 +- .../ManagementWebhooks/CapabilityProblem.php | 2 +- .../CapabilityProblemEntity.php | 2 +- .../CapabilityProblemEntityRecursive.php | 2 +- .../MerchantCreatedNotificationRequest.php | 2 +- .../MerchantUpdatedNotificationRequest.php | 2 +- .../MidServiceNotificationData.php | 2 +- ...aymentMethodCreatedNotificationRequest.php | 2 +- .../PaymentMethodNotificationResponse.php | 2 +- ...ethodRequestRemovedNotificationRequest.php | 2 +- ...ScheduledForRemovalNotificationRequest.php | 2 +- .../ManagementWebhooks/RemediatingAction.php | 2 +- .../TerminalAssignmentNotificationRequest.php | 2 +- ...TerminalAssignmentNotificationResponse.php | 2 +- .../TerminalBoardingData.php | 2 +- .../TerminalBoardingNotificationRequest.php | 2 +- .../TerminalBoardingNotificationResponse.php | 2 +- .../TerminalSettingsData.php | 2 +- .../TerminalSettingsNotificationRequest.php | 2 +- .../TerminalSettingsNotificationResponse.php | 2 +- .../ManagementWebhooks/VerificationError.php | 2 +- .../VerificationErrorRecursive.php | 2 +- .../NegativeBalanceWarningWebhooks/Amount.php | 2 +- ...nceCompensationWarningNotificationData.php | 2 +- ...CompensationWarningNotificationRequest.php | 2 +- .../Resource.php | 2 +- .../ResourceReference.php | 2 +- .../Model/POSTerminalManagement/Address.php | 2 +- .../AssignTerminalsRequest.php | 2 +- .../AssignTerminalsResponse.php | 2 +- .../FindTerminalRequest.php | 2 +- .../FindTerminalResponse.php | 2 +- .../GetStoresUnderAccountRequest.php | 2 +- .../GetStoresUnderAccountResponse.php | 2 +- .../GetTerminalDetailsRequest.php | 2 +- .../GetTerminalDetailsResponse.php | 2 +- .../GetTerminalsUnderAccountRequest.php | 2 +- .../GetTerminalsUnderAccountResponse.php | 2 +- .../POSTerminalManagement/MerchantAccount.php | 2 +- .../POSTerminalManagement/ServiceError.php | 2 +- .../Model/POSTerminalManagement/Store.php | 2 +- src/Adyen/Model/Payments/AccountInfo.php | 2 +- src/Adyen/Model/Payments/AcctInfo.php | 2 +- .../Model/Payments/AdditionalData3DSecure.php | 2 +- .../Model/Payments/AdditionalDataAirline.php | 2 +- .../Payments/AdditionalDataCarRental.php | 2 +- .../Model/Payments/AdditionalDataCommon.php | 2 +- .../Model/Payments/AdditionalDataLevel23.php | 2 +- .../Model/Payments/AdditionalDataLodging.php | 2 +- .../Payments/AdditionalDataModifications.php | 2 +- .../Payments/AdditionalDataOpenInvoice.php | 2 +- .../Model/Payments/AdditionalDataOpi.php | 2 +- .../Model/Payments/AdditionalDataRatepay.php | 2 +- .../Model/Payments/AdditionalDataRetry.php | 2 +- .../Model/Payments/AdditionalDataRisk.php | 2 +- .../Payments/AdditionalDataRiskStandalone.php | 2 +- .../Payments/AdditionalDataSubMerchant.php | 2 +- .../AdditionalDataTemporaryServices.php | 2 +- .../Model/Payments/AdditionalDataWallets.php | 2 +- src/Adyen/Model/Payments/Address.php | 2 +- .../Payments/AdjustAuthorisationRequest.php | 2 +- src/Adyen/Model/Payments/Amount.php | 2 +- src/Adyen/Model/Payments/ApplicationInfo.php | 2 +- .../Payments/AuthenticationResultRequest.php | 2 +- .../Payments/AuthenticationResultResponse.php | 2 +- src/Adyen/Model/Payments/BankAccount.php | 2 +- src/Adyen/Model/Payments/BrowserInfo.php | 2 +- .../Model/Payments/CancelOrRefundRequest.php | 2 +- src/Adyen/Model/Payments/CancelRequest.php | 2 +- src/Adyen/Model/Payments/CaptureRequest.php | 2 +- src/Adyen/Model/Payments/Card.php | 2 +- src/Adyen/Model/Payments/CommonField.php | 2 +- .../Model/Payments/DeviceRenderOptions.php | 2 +- src/Adyen/Model/Payments/DonationRequest.php | 2 +- src/Adyen/Model/Payments/ExternalPlatform.php | 2 +- src/Adyen/Model/Payments/ForexQuote.php | 2 +- src/Adyen/Model/Payments/FraudCheckResult.php | 2 +- .../Payments/FraudCheckResultWrapper.php | 2 +- src/Adyen/Model/Payments/FraudResult.php | 2 +- src/Adyen/Model/Payments/FundDestination.php | 2 +- src/Adyen/Model/Payments/FundSource.php | 2 +- src/Adyen/Model/Payments/Installments.php | 2 +- src/Adyen/Model/Payments/Mandate.php | 2 +- src/Adyen/Model/Payments/MerchantDevice.php | 2 +- .../Model/Payments/MerchantRiskIndicator.php | 2 +- .../Model/Payments/ModificationResult.php | 2 +- src/Adyen/Model/Payments/Name.php | 2 +- src/Adyen/Model/Payments/PaymentRequest.php | 2 +- src/Adyen/Model/Payments/PaymentRequest3d.php | 2 +- .../Model/Payments/PaymentRequest3ds2.php | 2 +- src/Adyen/Model/Payments/PaymentResult.php | 2 +- src/Adyen/Model/Payments/Phone.php | 2 +- .../Payments/PlatformChargebackLogic.php | 2 +- src/Adyen/Model/Payments/Recurring.php | 2 +- src/Adyen/Model/Payments/RefundRequest.php | 2 +- .../ResponseAdditionalData3DSecure.php | 2 +- .../ResponseAdditionalDataBillingAddress.php | 2 +- .../Payments/ResponseAdditionalDataCard.php | 2 +- .../Payments/ResponseAdditionalDataCommon.php | 2 +- .../ResponseAdditionalDataDomesticError.php | 2 +- .../ResponseAdditionalDataInstallments.php | 2 +- .../ResponseAdditionalDataNetworkTokens.php | 2 +- .../Payments/ResponseAdditionalDataOpi.php | 2 +- .../Payments/ResponseAdditionalDataSepa.php | 2 +- src/Adyen/Model/Payments/SDKEphemPubKey.php | 2 +- .../SecureRemoteCommerceCheckoutData.php | 2 +- src/Adyen/Model/Payments/ServiceError.php | 2 +- .../Payments/ShopperInteractionDevice.php | 2 +- src/Adyen/Model/Payments/Split.php | 2 +- src/Adyen/Model/Payments/SplitAmount.php | 2 +- src/Adyen/Model/Payments/SubMerchant.php | 2 +- .../Model/Payments/TechnicalCancelRequest.php | 2 +- src/Adyen/Model/Payments/ThreeDS1Result.php | 2 +- .../Model/Payments/ThreeDS2RequestData.php | 2 +- src/Adyen/Model/Payments/ThreeDS2Result.php | 2 +- .../Model/Payments/ThreeDS2ResultRequest.php | 2 +- .../Model/Payments/ThreeDS2ResultResponse.php | 2 +- .../ThreeDSRequestorAuthenticationInfo.php | 2 +- ...hreeDSRequestorPriorAuthenticationInfo.php | 2 +- src/Adyen/Model/Payments/ThreeDSecureData.php | 2 +- .../Payments/VoidPendingRefundRequest.php | 2 +- .../PaymentsApp/BoardingTokenRequest.php | 2 +- .../PaymentsApp/BoardingTokenResponse.php | 2 +- .../DefaultErrorResponseEntity.php | 2 +- src/Adyen/Model/PaymentsApp/InvalidField.php | 2 +- .../Model/PaymentsApp/PaymentsAppDto.php | 2 +- .../Model/PaymentsApp/PaymentsAppResponse.php | 2 +- src/Adyen/Model/Payout/Address.php | 2 +- src/Adyen/Model/Payout/Amount.php | 2 +- src/Adyen/Model/Payout/BankAccount.php | 2 +- src/Adyen/Model/Payout/Card.php | 2 +- src/Adyen/Model/Payout/FraudCheckResult.php | 2 +- .../Model/Payout/FraudCheckResultWrapper.php | 2 +- src/Adyen/Model/Payout/FraudResult.php | 2 +- src/Adyen/Model/Payout/FundSource.php | 2 +- src/Adyen/Model/Payout/ModifyRequest.php | 2 +- src/Adyen/Model/Payout/ModifyResponse.php | 2 +- src/Adyen/Model/Payout/Name.php | 2 +- src/Adyen/Model/Payout/PayoutRequest.php | 2 +- src/Adyen/Model/Payout/PayoutResponse.php | 2 +- src/Adyen/Model/Payout/Recurring.php | 2 +- .../Payout/ResponseAdditionalData3DSecure.php | 2 +- .../ResponseAdditionalDataBillingAddress.php | 2 +- .../Payout/ResponseAdditionalDataCard.php | 2 +- .../Payout/ResponseAdditionalDataCommon.php | 2 +- .../ResponseAdditionalDataDomesticError.php | 2 +- .../ResponseAdditionalDataInstallments.php | 2 +- .../ResponseAdditionalDataNetworkTokens.php | 2 +- .../Payout/ResponseAdditionalDataOpi.php | 2 +- .../Payout/ResponseAdditionalDataSepa.php | 2 +- src/Adyen/Model/Payout/ServiceError.php | 2 +- .../Payout/StoreDetailAndSubmitRequest.php | 2 +- .../Payout/StoreDetailAndSubmitResponse.php | 2 +- src/Adyen/Model/Payout/StoreDetailRequest.php | 2 +- .../Model/Payout/StoreDetailResponse.php | 2 +- src/Adyen/Model/Payout/SubmitRequest.php | 2 +- src/Adyen/Model/Payout/SubmitResponse.php | 2 +- .../Model/PosMobile/CreateSessionRequest.php | 2 +- .../Model/PosMobile/CreateSessionResponse.php | 2 +- src/Adyen/Model/Recurring/Address.php | 2 +- src/Adyen/Model/Recurring/Amount.php | 2 +- src/Adyen/Model/Recurring/BankAccount.php | 2 +- src/Adyen/Model/Recurring/Card.php | 2 +- .../Model/Recurring/CreatePermitRequest.php | 2 +- .../Model/Recurring/CreatePermitResult.php | 2 +- .../Model/Recurring/DisablePermitRequest.php | 2 +- .../Model/Recurring/DisablePermitResult.php | 2 +- src/Adyen/Model/Recurring/DisableRequest.php | 2 +- src/Adyen/Model/Recurring/DisableResult.php | 2 +- src/Adyen/Model/Recurring/Name.php | 2 +- .../Model/Recurring/NotifyShopperRequest.php | 2 +- .../Model/Recurring/NotifyShopperResult.php | 2 +- src/Adyen/Model/Recurring/Permit.php | 2 +- .../Model/Recurring/PermitRestriction.php | 2 +- src/Adyen/Model/Recurring/PermitResult.php | 2 +- src/Adyen/Model/Recurring/Recurring.php | 2 +- src/Adyen/Model/Recurring/RecurringDetail.php | 2 +- .../Recurring/RecurringDetailWrapper.php | 2 +- .../Recurring/RecurringDetailsRequest.php | 2 +- .../Recurring/RecurringDetailsResult.php | 2 +- .../ScheduleAccountUpdaterRequest.php | 2 +- .../ScheduleAccountUpdaterResult.php | 2 +- src/Adyen/Model/Recurring/ServiceError.php | 2 +- src/Adyen/Model/Recurring/TokenDetails.php | 2 +- .../BalancePlatformNotificationResponse.php | 2 +- .../ReportWebhooks/ReportNotificationData.php | 2 +- .../ReportNotificationRequest.php | 2 +- src/Adyen/Model/ReportWebhooks/Resource.php | 2 +- .../ReportWebhooks/ResourceReference.php | 2 +- src/Adyen/Model/StoredValue/Amount.php | 2 +- src/Adyen/Model/StoredValue/ServiceError.php | 2 +- .../StoredValueBalanceCheckRequest.php | 2 +- .../StoredValueBalanceCheckResponse.php | 2 +- .../StoredValueBalanceMergeRequest.php | 2 +- .../StoredValueBalanceMergeResponse.php | 2 +- .../StoredValue/StoredValueIssueRequest.php | 2 +- .../StoredValue/StoredValueIssueResponse.php | 2 +- .../StoredValue/StoredValueLoadRequest.php | 2 +- .../StoredValue/StoredValueLoadResponse.php | 2 +- .../StoredValueStatusChangeRequest.php | 2 +- .../StoredValueStatusChangeResponse.php | 2 +- .../StoredValue/StoredValueVoidRequest.php | 2 +- .../StoredValue/StoredValueVoidResponse.php | 2 +- .../Model/TransactionWebhooks/Amount.php | 2 +- .../BalancePlatformNotificationResponse.php | 2 +- .../TransactionWebhooks/BankCategoryData.php | 2 +- .../InternalCategoryData.php | 2 +- .../Model/TransactionWebhooks/IssuedCard.php | 2 +- .../TransactionWebhooks/PaymentInstrument.php | 2 +- .../TransactionWebhooks/PlatformPayment.php | 2 +- .../RelayedAuthorisationData.php | 2 +- .../Model/TransactionWebhooks/Resource.php | 2 +- .../TransactionWebhooks/ResourceReference.php | 2 +- .../Model/TransactionWebhooks/Transaction.php | 2 +- .../TransactionNotificationRequestV4.php | 2 +- .../TransferNotificationValidationFact.php | 2 +- .../TransactionWebhooks/TransferView.php | 2 +- .../TransferViewCategoryData.php | 2 +- .../AULocalAccountIdentification.php | 2 +- .../AdditionalBankIdentification.php | 2 +- src/Adyen/Model/TransferWebhooks/Address.php | 2 +- src/Adyen/Model/TransferWebhooks/Airline.php | 2 +- src/Adyen/Model/TransferWebhooks/Amount.php | 2 +- .../TransferWebhooks/AmountAdjustment.php | 2 +- .../BRLocalAccountIdentification.php | 2 +- .../TransferWebhooks/BalanceMutation.php | 2 +- .../BalancePlatformNotificationResponse.php | 2 +- .../Model/TransferWebhooks/BankAccountV3.php | 2 +- .../BankAccountV3AccountIdentification.php | 2 +- .../TransferWebhooks/BankCategoryData.php | 2 +- .../CALocalAccountIdentification.php | 2 +- .../CZLocalAccountIdentification.php | 2 +- src/Adyen/Model/TransferWebhooks/Card.php | 2 +- .../TransferWebhooks/CardIdentification.php | 2 +- .../ConfirmationTrackingData.php | 2 +- .../Model/TransferWebhooks/CounterpartyV3.php | 2 +- .../DKLocalAccountIdentification.php | 2 +- .../DirectDebitInformation.php | 2 +- .../EstimationTrackingData.php | 2 +- .../Model/TransferWebhooks/ExternalReason.php | 2 +- .../HKLocalAccountIdentification.php | 2 +- .../HULocalAccountIdentification.php | 2 +- .../IbanAccountIdentification.php | 2 +- .../TransferWebhooks/InternalCategoryData.php | 2 +- .../InternalReviewTrackingData.php | 2 +- .../Model/TransferWebhooks/IssuedCard.php | 2 +- src/Adyen/Model/TransferWebhooks/Leg.php | 2 +- .../Model/TransferWebhooks/MerchantData.php | 2 +- .../TransferWebhooks/MerchantPurchaseData.php | 2 +- .../Model/TransferWebhooks/Modification.php | 2 +- .../NOLocalAccountIdentification.php | 2 +- .../NZLocalAccountIdentification.php | 2 +- .../Model/TransferWebhooks/NameLocation.php | 2 +- .../NumberAndBicAccountIdentification.php | 2 +- .../PLLocalAccountIdentification.php | 2 +- .../TransferWebhooks/PartyIdentification.php | 2 +- .../TransferWebhooks/PaymentInstrument.php | 2 +- .../TransferWebhooks/PlatformPayment.php | 2 +- .../RelayedAuthorisationData.php | 2 +- src/Adyen/Model/TransferWebhooks/Resource.php | 2 +- .../TransferWebhooks/ResourceReference.php | 2 +- .../SELocalAccountIdentification.php | 2 +- .../SGLocalAccountIdentification.php | 2 +- .../TransactionEventViolation.php | 2 +- .../TransactionRuleReference.php | 2 +- .../TransactionRuleSource.php | 2 +- .../TransactionRulesResult.php | 2 +- .../Model/TransferWebhooks/TransferData.php | 2 +- .../TransferDataCategoryData.php | 2 +- .../TransferWebhooks/TransferDataTracking.php | 2 +- .../Model/TransferWebhooks/TransferEvent.php | 2 +- .../TransferEventEventsDataInner.php | 2 +- .../TransferEventTrackingData.php | 2 +- .../TransferNotificationCounterParty.php | 2 +- .../TransferNotificationMerchantData.php | 2 +- .../TransferNotificationRequest.php | 2 +- .../TransferNotificationValidationFact.php | 2 +- .../Model/TransferWebhooks/TransferReview.php | 2 +- .../UKLocalAccountIdentification.php | 2 +- .../USLocalAccountIdentification.php | 2 +- .../AULocalAccountIdentification.php | 2 +- .../AdditionalBankIdentification.php | 2 +- src/Adyen/Model/Transfers/Address.php | 2 +- src/Adyen/Model/Transfers/Airline.php | 2 +- src/Adyen/Model/Transfers/Amount.php | 2 +- .../Model/Transfers/AmountAdjustment.php | 2 +- .../Transfers/ApproveTransfersRequest.php | 2 +- .../BRLocalAccountIdentification.php | 2 +- src/Adyen/Model/Transfers/BalanceMutation.php | 2 +- src/Adyen/Model/Transfers/BankAccountV3.php | 2 +- .../BankAccountV3AccountIdentification.php | 2 +- .../Model/Transfers/BankCategoryData.php | 2 +- .../CALocalAccountIdentification.php | 2 +- .../CZLocalAccountIdentification.php | 2 +- .../Transfers/CancelTransfersRequest.php | 2 +- src/Adyen/Model/Transfers/CapitalBalance.php | 2 +- src/Adyen/Model/Transfers/CapitalGrant.php | 2 +- .../Model/Transfers/CapitalGrantInfo.php | 2 +- src/Adyen/Model/Transfers/CapitalGrants.php | 2 +- src/Adyen/Model/Transfers/Card.php | 2 +- .../Model/Transfers/CardIdentification.php | 2 +- .../Transfers/ConfirmationTrackingData.php | 2 +- src/Adyen/Model/Transfers/Counterparty.php | 2 +- .../Model/Transfers/CounterpartyInfoV3.php | 2 +- src/Adyen/Model/Transfers/CounterpartyV3.php | 2 +- .../DKLocalAccountIdentification.php | 2 +- .../Transfers/DirectDebitInformation.php | 2 +- .../Transfers/EstimationTrackingData.php | 2 +- src/Adyen/Model/Transfers/ExternalReason.php | 2 +- src/Adyen/Model/Transfers/Fee.php | 2 +- .../Model/Transfers/FindTransfersResponse.php | 2 +- .../HKLocalAccountIdentification.php | 2 +- .../HULocalAccountIdentification.php | 2 +- .../Transfers/IbanAccountIdentification.php | 2 +- .../Model/Transfers/InternalCategoryData.php | 2 +- .../Transfers/InternalReviewTrackingData.php | 2 +- src/Adyen/Model/Transfers/InvalidField.php | 2 +- src/Adyen/Model/Transfers/IssuedCard.php | 2 +- src/Adyen/Model/Transfers/Leg.php | 2 +- src/Adyen/Model/Transfers/Link.php | 2 +- src/Adyen/Model/Transfers/Links.php | 2 +- src/Adyen/Model/Transfers/MerchantData.php | 2 +- .../Model/Transfers/MerchantPurchaseData.php | 2 +- src/Adyen/Model/Transfers/Modification.php | 2 +- .../NOLocalAccountIdentification.php | 2 +- .../NZLocalAccountIdentification.php | 2 +- src/Adyen/Model/Transfers/NameLocation.php | 2 +- .../NumberAndBicAccountIdentification.php | 2 +- .../PLLocalAccountIdentification.php | 2 +- .../Model/Transfers/PartyIdentification.php | 2 +- .../Model/Transfers/PaymentInstrument.php | 2 +- src/Adyen/Model/Transfers/PlatformPayment.php | 2 +- .../Transfers/RelayedAuthorisationData.php | 2 +- src/Adyen/Model/Transfers/Repayment.php | 2 +- src/Adyen/Model/Transfers/RepaymentTerm.php | 2 +- .../Model/Transfers/ResourceReference.php | 2 +- .../Model/Transfers/RestServiceError.php | 2 +- .../Model/Transfers/ReturnTransferRequest.php | 2 +- .../Transfers/ReturnTransferResponse.php | 2 +- src/Adyen/Model/Transfers/RoutingDetails.php | 2 +- .../SELocalAccountIdentification.php | 2 +- .../SGLocalAccountIdentification.php | 2 +- src/Adyen/Model/Transfers/ServiceError.php | 2 +- .../Model/Transfers/ThresholdRepayment.php | 2 +- src/Adyen/Model/Transfers/Transaction.php | 2 +- .../Transfers/TransactionEventViolation.php | 2 +- .../Transfers/TransactionRuleReference.php | 2 +- .../Model/Transfers/TransactionRuleSource.php | 2 +- .../Transfers/TransactionRulesResult.php | 2 +- .../Transfers/TransactionSearchResponse.php | 2 +- src/Adyen/Model/Transfers/Transfer.php | 2 +- .../Model/Transfers/TransferCategoryData.php | 2 +- src/Adyen/Model/Transfers/TransferData.php | 2 +- .../Model/Transfers/TransferDataTracking.php | 2 +- src/Adyen/Model/Transfers/TransferEvent.php | 2 +- .../TransferEventEventsDataInner.php | 2 +- .../Transfers/TransferEventTrackingData.php | 2 +- src/Adyen/Model/Transfers/TransferInfo.php | 2 +- .../TransferNotificationCounterParty.php | 2 +- .../TransferNotificationMerchantData.php | 2 +- .../TransferNotificationValidationFact.php | 2 +- .../Model/Transfers/TransferRequestReview.php | 2 +- src/Adyen/Model/Transfers/TransferReview.php | 2 +- .../TransferServiceRestServiceError.php | 2 +- src/Adyen/Model/Transfers/TransferView.php | 2 +- .../UKLocalAccountIdentification.php | 2 +- .../USLocalAccountIdentification.php | 2 +- .../Transfers/UltimatePartyIdentification.php | 2 +- src/Adyen/Service.php | 4 ++-- src/Adyen/Service/AbstractResource.php | 2 +- src/Adyen/Service/BalanceControlApi.php | 2 +- .../BalancePlatform/AccountHoldersApi.php | 12 +++++------ .../BalancePlatform/BalanceAccountsApi.php | 20 +++++++++---------- .../BankAccountValidationApi.php | 2 +- .../Service/BalancePlatform/CardOrdersApi.php | 4 ++-- .../BalancePlatform/GrantAccountsApi.php | 2 +- .../BalancePlatform/GrantOffersApi.php | 4 ++-- .../BalancePlatform/ManageCardPINApi.php | 6 +++--- .../BalancePlatform/ManageSCADevicesApi.php | 12 +++++------ .../BalancePlatform/NetworkTokensApi.php | 4 ++-- .../PaymentInstrumentGroupsApi.php | 6 +++--- .../BalancePlatform/PaymentInstrumentsApi.php | 14 ++++++------- .../Service/BalancePlatform/PlatformApi.php | 6 +++--- .../BalancePlatform/TransactionRulesApi.php | 8 ++++---- .../BalancePlatform/TransferRoutesApi.php | 2 +- src/Adyen/Service/BinLookupApi.php | 4 ++-- src/Adyen/Service/CapitalApi.php | 6 +++--- src/Adyen/Service/Checkout/DonationsApi.php | 4 ++-- .../Service/Checkout/ModificationsApi.php | 12 +++++------ src/Adyen/Service/Checkout/OrdersApi.php | 6 +++--- .../Service/Checkout/PaymentLinksApi.php | 6 +++--- src/Adyen/Service/Checkout/PaymentsApi.php | 12 +++++------ src/Adyen/Service/Checkout/RecurringApi.php | 6 +++--- src/Adyen/Service/Checkout/UtilityApi.php | 6 +++--- src/Adyen/Service/DataProtectionApi.php | 2 +- src/Adyen/Service/DisputesApi.php | 10 +++++----- .../BusinessLinesApi.php | 8 ++++---- .../LegalEntityManagement/DocumentsApi.php | 8 ++++---- .../HostedOnboardingApi.php | 6 +++--- .../LegalEntitiesApi.php | 12 +++++------ .../PCIQuestionnairesApi.php | 10 +++++----- .../TaxEDeliveryConsentApi.php | 4 ++-- .../TermsOfServiceApi.php | 10 +++++----- .../TransferInstrumentsApi.php | 8 ++++---- .../APICredentialsCompanyLevelApi.php | 8 ++++---- .../APICredentialsMerchantLevelApi.php | 8 ++++---- .../Management/APIKeyCompanyLevelApi.php | 2 +- .../Management/APIKeyMerchantLevelApi.php | 2 +- .../Management/AccountCompanyLevelApi.php | 6 +++--- .../Management/AccountMerchantLevelApi.php | 8 ++++---- .../Management/AccountStoreLevelApi.php | 16 +++++++-------- .../AllowedOriginsCompanyLevelApi.php | 8 ++++---- .../AllowedOriginsMerchantLevelApi.php | 8 ++++---- .../AndroidFilesCompanyLevelApi.php | 12 +++++------ .../Management/ClientKeyCompanyLevelApi.php | 2 +- .../Management/ClientKeyMerchantLevelApi.php | 2 +- .../Service/Management/MyAPICredentialApi.php | 12 +++++------ .../PaymentMethodsMerchantLevelApi.php | 12 +++++------ .../PayoutSettingsMerchantLevelApi.php | 10 +++++----- .../SplitConfigurationMerchantLevelApi.php | 18 ++++++++--------- .../TerminalActionsCompanyLevelApi.php | 4 ++-- .../TerminalActionsTerminalLevelApi.php | 2 +- .../TerminalOrdersCompanyLevelApi.php | 20 +++++++++---------- .../TerminalOrdersMerchantLevelApi.php | 20 +++++++++---------- .../TerminalSettingsCompanyLevelApi.php | 8 ++++---- .../TerminalSettingsMerchantLevelApi.php | 8 ++++---- .../TerminalSettingsStoreLevelApi.php | 16 +++++++-------- .../TerminalSettingsTerminalLevelApi.php | 8 ++++---- .../Management/TerminalsTerminalLevelApi.php | 4 ++-- .../Management/UsersCompanyLevelApi.php | 8 ++++---- .../Management/UsersMerchantLevelApi.php | 8 ++++---- .../Management/WebhooksCompanyLevelApi.php | 14 ++++++------- .../Management/WebhooksMerchantLevelApi.php | 14 ++++++------- .../Service/POSTerminalManagementApi.php | 10 +++++----- .../Service/Payments/ModificationsApi.php | 16 +++++++-------- src/Adyen/Service/Payments/PaymentsApi.php | 10 +++++----- .../Service/PaymentsApp/PaymentsAppApi.php | 10 +++++----- .../Service/Payout/InitializationApi.php | 6 +++--- .../Service/Payout/InstantPayoutsApi.php | 2 +- src/Adyen/Service/Payout/ReviewingApi.php | 4 ++-- src/Adyen/Service/PosMobileApi.php | 2 +- src/Adyen/Service/RecurringApi.php | 12 +++++------ src/Adyen/Service/StoredValueApi.php | 12 +++++------ src/Adyen/Service/Transfers/CapitalApi.php | 6 +++--- .../Service/Transfers/TransactionsApi.php | 4 ++-- src/Adyen/Service/Transfers/TransfersApi.php | 12 +++++------ 1215 files changed, 1449 insertions(+), 1449 deletions(-) diff --git a/src/Adyen/AdyenException.php b/src/Adyen/AdyenException.php index 454f549f3..0af641847 100644 --- a/src/Adyen/AdyenException.php +++ b/src/Adyen/AdyenException.php @@ -40,7 +40,7 @@ class AdyenException extends Exception public function __construct( $message = "", $code = 0, - \Throwable $previous = null, + ?\Throwable $previous = null, $status = null, $errorType = null, $pspReference = null, diff --git a/src/Adyen/Config.php b/src/Adyen/Config.php index febdbc692..9e0315b3e 100644 --- a/src/Adyen/Config.php +++ b/src/Adyen/Config.php @@ -34,7 +34,7 @@ class Config * * @param array|null $params */ - public function __construct(array $params = null) + public function __construct(?array $params = null) { if ($params) { foreach ($params as $key => $param) { diff --git a/src/Adyen/Model/AcsWebhooks/Amount.php b/src/Adyen/Model/AcsWebhooks/Amount.php index b55bfe661..6a5335667 100644 --- a/src/Adyen/Model/AcsWebhooks/Amount.php +++ b/src/Adyen/Model/AcsWebhooks/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/AcsWebhooks/AuthenticationInfo.php b/src/Adyen/Model/AcsWebhooks/AuthenticationInfo.php index 1283bde43..bc639729d 100644 --- a/src/Adyen/Model/AcsWebhooks/AuthenticationInfo.php +++ b/src/Adyen/Model/AcsWebhooks/AuthenticationInfo.php @@ -511,7 +511,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acsTransId', $data ?? [], null); $this->setIfExists('challenge', $data ?? [], null); diff --git a/src/Adyen/Model/AcsWebhooks/AuthenticationNotificationData.php b/src/Adyen/Model/AcsWebhooks/AuthenticationNotificationData.php index cff5960e9..ba14e5b12 100644 --- a/src/Adyen/Model/AcsWebhooks/AuthenticationNotificationData.php +++ b/src/Adyen/Model/AcsWebhooks/AuthenticationNotificationData.php @@ -275,7 +275,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authentication', $data ?? [], null); $this->setIfExists('balancePlatform', $data ?? [], null); diff --git a/src/Adyen/Model/AcsWebhooks/AuthenticationNotificationRequest.php b/src/Adyen/Model/AcsWebhooks/AuthenticationNotificationRequest.php index 6f1aa77e2..493c8ecbb 100644 --- a/src/Adyen/Model/AcsWebhooks/AuthenticationNotificationRequest.php +++ b/src/Adyen/Model/AcsWebhooks/AuthenticationNotificationRequest.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); $this->setIfExists('environment', $data ?? [], null); diff --git a/src/Adyen/Model/AcsWebhooks/BalancePlatformNotificationResponse.php b/src/Adyen/Model/AcsWebhooks/BalancePlatformNotificationResponse.php index 79807e1f2..8525e1cdf 100644 --- a/src/Adyen/Model/AcsWebhooks/BalancePlatformNotificationResponse.php +++ b/src/Adyen/Model/AcsWebhooks/BalancePlatformNotificationResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('notificationResponse', $data ?? [], null); } diff --git a/src/Adyen/Model/AcsWebhooks/ChallengeInfo.php b/src/Adyen/Model/AcsWebhooks/ChallengeInfo.php index c1dfe2cdb..7fe0125d2 100644 --- a/src/Adyen/Model/AcsWebhooks/ChallengeInfo.php +++ b/src/Adyen/Model/AcsWebhooks/ChallengeInfo.php @@ -301,7 +301,7 @@ public function getFlowAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('challengeCancel', $data ?? [], null); $this->setIfExists('flow', $data ?? [], null); diff --git a/src/Adyen/Model/AcsWebhooks/PurchaseInfo.php b/src/Adyen/Model/AcsWebhooks/PurchaseInfo.php index cb719b397..bd7103eb0 100644 --- a/src/Adyen/Model/AcsWebhooks/PurchaseInfo.php +++ b/src/Adyen/Model/AcsWebhooks/PurchaseInfo.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('date', $data ?? [], null); $this->setIfExists('merchantName', $data ?? [], null); diff --git a/src/Adyen/Model/AcsWebhooks/Resource.php b/src/Adyen/Model/AcsWebhooks/Resource.php index 135a335e0..4111202c5 100644 --- a/src/Adyen/Model/AcsWebhooks/Resource.php +++ b/src/Adyen/Model/AcsWebhooks/Resource.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balancePlatform', $data ?? [], null); $this->setIfExists('creationDate', $data ?? [], null); diff --git a/src/Adyen/Model/BalanceControl/Amount.php b/src/Adyen/Model/BalanceControl/Amount.php index be630f40d..58802ec45 100644 --- a/src/Adyen/Model/BalanceControl/Amount.php +++ b/src/Adyen/Model/BalanceControl/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalanceControl/BalanceTransferRequest.php b/src/Adyen/Model/BalanceControl/BalanceTransferRequest.php index cc327c552..7c57c1f54 100644 --- a/src/Adyen/Model/BalanceControl/BalanceTransferRequest.php +++ b/src/Adyen/Model/BalanceControl/BalanceTransferRequest.php @@ -281,7 +281,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('description', $data ?? [], null); diff --git a/src/Adyen/Model/BalanceControl/BalanceTransferResponse.php b/src/Adyen/Model/BalanceControl/BalanceTransferResponse.php index 63f438b80..291c3513e 100644 --- a/src/Adyen/Model/BalanceControl/BalanceTransferResponse.php +++ b/src/Adyen/Model/BalanceControl/BalanceTransferResponse.php @@ -317,7 +317,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('createdAt', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/AULocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/AULocalAccountIdentification.php index 634359aa4..f4dc32c30 100644 --- a/src/Adyen/Model/BalancePlatform/AULocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/AULocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bsbCode', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/AccountHolder.php b/src/Adyen/Model/BalancePlatform/AccountHolder.php index e577c748b..37a92c7b6 100644 --- a/src/Adyen/Model/BalancePlatform/AccountHolder.php +++ b/src/Adyen/Model/BalancePlatform/AccountHolder.php @@ -317,7 +317,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balancePlatform', $data ?? [], null); $this->setIfExists('capabilities', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/AccountHolderCapability.php b/src/Adyen/Model/BalancePlatform/AccountHolderCapability.php index f8202f7fa..9b917f090 100644 --- a/src/Adyen/Model/BalancePlatform/AccountHolderCapability.php +++ b/src/Adyen/Model/BalancePlatform/AccountHolderCapability.php @@ -337,7 +337,7 @@ public function getVerificationStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allowed', $data ?? [], null); $this->setIfExists('allowedLevel', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/AccountHolderInfo.php b/src/Adyen/Model/BalancePlatform/AccountHolderInfo.php index 03ff71bf6..aa52852fa 100644 --- a/src/Adyen/Model/BalancePlatform/AccountHolderInfo.php +++ b/src/Adyen/Model/BalancePlatform/AccountHolderInfo.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balancePlatform', $data ?? [], null); $this->setIfExists('capabilities', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/AccountHolderUpdateRequest.php b/src/Adyen/Model/BalancePlatform/AccountHolderUpdateRequest.php index cb6ee2c00..41c119d19 100644 --- a/src/Adyen/Model/BalancePlatform/AccountHolderUpdateRequest.php +++ b/src/Adyen/Model/BalancePlatform/AccountHolderUpdateRequest.php @@ -305,7 +305,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balancePlatform', $data ?? [], null); $this->setIfExists('capabilities', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/AccountSupportingEntityCapability.php b/src/Adyen/Model/BalancePlatform/AccountSupportingEntityCapability.php index 3042f9751..dda69c0bf 100644 --- a/src/Adyen/Model/BalancePlatform/AccountSupportingEntityCapability.php +++ b/src/Adyen/Model/BalancePlatform/AccountSupportingEntityCapability.php @@ -319,7 +319,7 @@ public function getVerificationStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allowed', $data ?? [], null); $this->setIfExists('allowedLevel', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/ActiveNetworkTokensRestriction.php b/src/Adyen/Model/BalancePlatform/ActiveNetworkTokensRestriction.php index e9f52cbb6..33a32f52b 100644 --- a/src/Adyen/Model/BalancePlatform/ActiveNetworkTokensRestriction.php +++ b/src/Adyen/Model/BalancePlatform/ActiveNetworkTokensRestriction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/AdditionalBankIdentification.php b/src/Adyen/Model/BalancePlatform/AdditionalBankIdentification.php index 3aaf08268..201c246b3 100644 --- a/src/Adyen/Model/BalancePlatform/AdditionalBankIdentification.php +++ b/src/Adyen/Model/BalancePlatform/AdditionalBankIdentification.php @@ -249,7 +249,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('code', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/Address.php b/src/Adyen/Model/BalancePlatform/Address.php index 128c5fc1d..0b1a9638b 100644 --- a/src/Adyen/Model/BalancePlatform/Address.php +++ b/src/Adyen/Model/BalancePlatform/Address.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/AddressRequirement.php b/src/Adyen/Model/BalancePlatform/AddressRequirement.php index c178c15d4..592d35736 100644 --- a/src/Adyen/Model/BalancePlatform/AddressRequirement.php +++ b/src/Adyen/Model/BalancePlatform/AddressRequirement.php @@ -273,7 +273,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('requiredAddressFields', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/Amount.php b/src/Adyen/Model/BalancePlatform/Amount.php index b495d0bf6..c9a982767 100644 --- a/src/Adyen/Model/BalancePlatform/Amount.php +++ b/src/Adyen/Model/BalancePlatform/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/AmountMinMaxRequirement.php b/src/Adyen/Model/BalancePlatform/AmountMinMaxRequirement.php index 6dde3c965..c40b04aa4 100644 --- a/src/Adyen/Model/BalancePlatform/AmountMinMaxRequirement.php +++ b/src/Adyen/Model/BalancePlatform/AmountMinMaxRequirement.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('max', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/AmountNonZeroDecimalsRequirement.php b/src/Adyen/Model/BalancePlatform/AmountNonZeroDecimalsRequirement.php index 6c68c870f..b6421176b 100644 --- a/src/Adyen/Model/BalancePlatform/AmountNonZeroDecimalsRequirement.php +++ b/src/Adyen/Model/BalancePlatform/AmountNonZeroDecimalsRequirement.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/AssociationDelegatedAuthenticationData.php b/src/Adyen/Model/BalancePlatform/AssociationDelegatedAuthenticationData.php index 01aed066c..d823f220e 100644 --- a/src/Adyen/Model/BalancePlatform/AssociationDelegatedAuthenticationData.php +++ b/src/Adyen/Model/BalancePlatform/AssociationDelegatedAuthenticationData.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sdkOutput', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/AssociationFinaliseRequest.php b/src/Adyen/Model/BalancePlatform/AssociationFinaliseRequest.php index f15fe4473..c4d5cdd6c 100644 --- a/src/Adyen/Model/BalancePlatform/AssociationFinaliseRequest.php +++ b/src/Adyen/Model/BalancePlatform/AssociationFinaliseRequest.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('ids', $data ?? [], null); $this->setIfExists('strongCustomerAuthentication', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/AssociationFinaliseResponse.php b/src/Adyen/Model/BalancePlatform/AssociationFinaliseResponse.php index 9ebedae5d..f86ae2984 100644 --- a/src/Adyen/Model/BalancePlatform/AssociationFinaliseResponse.php +++ b/src/Adyen/Model/BalancePlatform/AssociationFinaliseResponse.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('deviceId', $data ?? [], null); $this->setIfExists('ids', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/AssociationInitiateRequest.php b/src/Adyen/Model/BalancePlatform/AssociationInitiateRequest.php index 4c0ba7156..a5c75dcee 100644 --- a/src/Adyen/Model/BalancePlatform/AssociationInitiateRequest.php +++ b/src/Adyen/Model/BalancePlatform/AssociationInitiateRequest.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('ids', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/AssociationInitiateResponse.php b/src/Adyen/Model/BalancePlatform/AssociationInitiateResponse.php index 2d7d08156..ec40a9867 100644 --- a/src/Adyen/Model/BalancePlatform/AssociationInitiateResponse.php +++ b/src/Adyen/Model/BalancePlatform/AssociationInitiateResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sdkInput', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/Authentication.php b/src/Adyen/Model/BalancePlatform/Authentication.php index ea1a9e2e5..a7a0197ed 100644 --- a/src/Adyen/Model/BalancePlatform/Authentication.php +++ b/src/Adyen/Model/BalancePlatform/Authentication.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('email', $data ?? [], null); $this->setIfExists('password', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/BRLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/BRLocalAccountIdentification.php index 5342f8b64..6162ea81e 100644 --- a/src/Adyen/Model/BalancePlatform/BRLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/BRLocalAccountIdentification.php @@ -265,7 +265,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bankCode', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/Balance.php b/src/Adyen/Model/BalancePlatform/Balance.php index 2a0fe2d01..0d20f02d0 100644 --- a/src/Adyen/Model/BalancePlatform/Balance.php +++ b/src/Adyen/Model/BalancePlatform/Balance.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('available', $data ?? [], null); $this->setIfExists('balance', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/BalanceAccount.php b/src/Adyen/Model/BalancePlatform/BalanceAccount.php index cb83c6364..86b23e5c7 100644 --- a/src/Adyen/Model/BalancePlatform/BalanceAccount.php +++ b/src/Adyen/Model/BalancePlatform/BalanceAccount.php @@ -307,7 +307,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolderId', $data ?? [], null); $this->setIfExists('balances', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/BalanceAccountBase.php b/src/Adyen/Model/BalancePlatform/BalanceAccountBase.php index e98ac4a13..6d79e9d54 100644 --- a/src/Adyen/Model/BalancePlatform/BalanceAccountBase.php +++ b/src/Adyen/Model/BalancePlatform/BalanceAccountBase.php @@ -301,7 +301,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolderId', $data ?? [], null); $this->setIfExists('defaultCurrencyCode', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/BalanceAccountInfo.php b/src/Adyen/Model/BalancePlatform/BalanceAccountInfo.php index 02eb29eee..a6b1b8dea 100644 --- a/src/Adyen/Model/BalancePlatform/BalanceAccountInfo.php +++ b/src/Adyen/Model/BalancePlatform/BalanceAccountInfo.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolderId', $data ?? [], null); $this->setIfExists('defaultCurrencyCode', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/BalanceAccountUpdateRequest.php b/src/Adyen/Model/BalancePlatform/BalanceAccountUpdateRequest.php index def9556ba..6b16da5b8 100644 --- a/src/Adyen/Model/BalancePlatform/BalanceAccountUpdateRequest.php +++ b/src/Adyen/Model/BalancePlatform/BalanceAccountUpdateRequest.php @@ -283,7 +283,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolderId', $data ?? [], null); $this->setIfExists('description', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/BalancePlatform.php b/src/Adyen/Model/BalancePlatform/BalancePlatform.php index c07558fd8..b331553f5 100644 --- a/src/Adyen/Model/BalancePlatform/BalancePlatform.php +++ b/src/Adyen/Model/BalancePlatform/BalancePlatform.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/BalanceSweepConfigurationsResponse.php b/src/Adyen/Model/BalancePlatform/BalanceSweepConfigurationsResponse.php index c7c96d80b..43111b05f 100644 --- a/src/Adyen/Model/BalancePlatform/BalanceSweepConfigurationsResponse.php +++ b/src/Adyen/Model/BalancePlatform/BalanceSweepConfigurationsResponse.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hasNext', $data ?? [], null); $this->setIfExists('hasPrevious', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/BankAccount.php b/src/Adyen/Model/BalancePlatform/BankAccount.php index 895f64de5..719e6efeb 100644 --- a/src/Adyen/Model/BalancePlatform/BankAccount.php +++ b/src/Adyen/Model/BalancePlatform/BankAccount.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountIdentification', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/BankAccountAccountIdentification.php b/src/Adyen/Model/BalancePlatform/BankAccountAccountIdentification.php index d778eba7b..73031c2e2 100644 --- a/src/Adyen/Model/BalancePlatform/BankAccountAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/BankAccountAccountIdentification.php @@ -319,7 +319,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bsbCode', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/BankAccountDetails.php b/src/Adyen/Model/BalancePlatform/BankAccountDetails.php index 493bf073a..024eb98c3 100644 --- a/src/Adyen/Model/BalancePlatform/BankAccountDetails.php +++ b/src/Adyen/Model/BalancePlatform/BankAccountDetails.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('accountType', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/BankAccountIdentificationTypeRequirement.php b/src/Adyen/Model/BalancePlatform/BankAccountIdentificationTypeRequirement.php index 94ec38a78..d74807693 100644 --- a/src/Adyen/Model/BalancePlatform/BankAccountIdentificationTypeRequirement.php +++ b/src/Adyen/Model/BalancePlatform/BankAccountIdentificationTypeRequirement.php @@ -297,7 +297,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('bankAccountIdentificationTypes', $data ?? [], null); $this->setIfExists('description', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/BankAccountIdentificationValidationRequest.php b/src/Adyen/Model/BalancePlatform/BankAccountIdentificationValidationRequest.php index 2ee895226..230919673 100644 --- a/src/Adyen/Model/BalancePlatform/BankAccountIdentificationValidationRequest.php +++ b/src/Adyen/Model/BalancePlatform/BankAccountIdentificationValidationRequest.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountIdentification', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/BankAccountIdentificationValidationRequestAccountIdentification.php b/src/Adyen/Model/BalancePlatform/BankAccountIdentificationValidationRequestAccountIdentification.php index b668052c8..8fe81834f 100644 --- a/src/Adyen/Model/BalancePlatform/BankAccountIdentificationValidationRequestAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/BankAccountIdentificationValidationRequestAccountIdentification.php @@ -319,7 +319,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bsbCode', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/BankAccountModel.php b/src/Adyen/Model/BalancePlatform/BankAccountModel.php index 8c46d2302..c9f7d7fbb 100644 --- a/src/Adyen/Model/BalancePlatform/BankAccountModel.php +++ b/src/Adyen/Model/BalancePlatform/BankAccountModel.php @@ -245,7 +245,7 @@ public function getFormFactorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('formFactor', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/BankIdentification.php b/src/Adyen/Model/BalancePlatform/BankIdentification.php index f439886cd..70da29c8a 100644 --- a/src/Adyen/Model/BalancePlatform/BankIdentification.php +++ b/src/Adyen/Model/BalancePlatform/BankIdentification.php @@ -257,7 +257,7 @@ public function getIdentificationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('country', $data ?? [], null); $this->setIfExists('identification', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/BrandVariantsRestriction.php b/src/Adyen/Model/BalancePlatform/BrandVariantsRestriction.php index b32b78e17..98a06415c 100644 --- a/src/Adyen/Model/BalancePlatform/BrandVariantsRestriction.php +++ b/src/Adyen/Model/BalancePlatform/BrandVariantsRestriction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/BulkAddress.php b/src/Adyen/Model/BalancePlatform/BulkAddress.php index 78ec8f9a5..fb93cc931 100644 --- a/src/Adyen/Model/BalancePlatform/BulkAddress.php +++ b/src/Adyen/Model/BalancePlatform/BulkAddress.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('company', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CALocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/CALocalAccountIdentification.php index cedac053c..3069b1ea0 100644 --- a/src/Adyen/Model/BalancePlatform/CALocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/CALocalAccountIdentification.php @@ -279,7 +279,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('accountType', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CZLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/CZLocalAccountIdentification.php index 070b0aea1..a154a9649 100644 --- a/src/Adyen/Model/BalancePlatform/CZLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/CZLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bankCode', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CapabilityProblem.php b/src/Adyen/Model/BalancePlatform/CapabilityProblem.php index d0b6b1550..672b70055 100644 --- a/src/Adyen/Model/BalancePlatform/CapabilityProblem.php +++ b/src/Adyen/Model/BalancePlatform/CapabilityProblem.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('entity', $data ?? [], null); $this->setIfExists('verificationErrors', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CapabilityProblemEntity.php b/src/Adyen/Model/BalancePlatform/CapabilityProblemEntity.php index eb5bef06a..8dcc3e0dd 100644 --- a/src/Adyen/Model/BalancePlatform/CapabilityProblemEntity.php +++ b/src/Adyen/Model/BalancePlatform/CapabilityProblemEntity.php @@ -263,7 +263,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('documents', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CapabilityProblemEntityRecursive.php b/src/Adyen/Model/BalancePlatform/CapabilityProblemEntityRecursive.php index d133ff0b5..7f84fecee 100644 --- a/src/Adyen/Model/BalancePlatform/CapabilityProblemEntityRecursive.php +++ b/src/Adyen/Model/BalancePlatform/CapabilityProblemEntityRecursive.php @@ -257,7 +257,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('documents', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CapabilitySettings.php b/src/Adyen/Model/BalancePlatform/CapabilitySettings.php index 67e88b5f9..cafcaca58 100644 --- a/src/Adyen/Model/BalancePlatform/CapabilitySettings.php +++ b/src/Adyen/Model/BalancePlatform/CapabilitySettings.php @@ -285,7 +285,7 @@ public function getIntervalAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amountPerIndustry', $data ?? [], null); $this->setIfExists('authorizedCardUsers', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CapitalBalance.php b/src/Adyen/Model/BalancePlatform/CapitalBalance.php index e0b661983..fad9c3fba 100644 --- a/src/Adyen/Model/BalancePlatform/CapitalBalance.php +++ b/src/Adyen/Model/BalancePlatform/CapitalBalance.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('fee', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CapitalGrantAccount.php b/src/Adyen/Model/BalancePlatform/CapitalGrantAccount.php index fc3db200e..bfeaa7479 100644 --- a/src/Adyen/Model/BalancePlatform/CapitalGrantAccount.php +++ b/src/Adyen/Model/BalancePlatform/CapitalGrantAccount.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balances', $data ?? [], null); $this->setIfExists('fundingBalanceAccountId', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/Card.php b/src/Adyen/Model/BalancePlatform/Card.php index 5b672c508..44318018b 100644 --- a/src/Adyen/Model/BalancePlatform/Card.php +++ b/src/Adyen/Model/BalancePlatform/Card.php @@ -317,7 +317,7 @@ public function getFormFactorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authentication', $data ?? [], null); $this->setIfExists('bin', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CardConfiguration.php b/src/Adyen/Model/BalancePlatform/CardConfiguration.php index 806f58589..4dff87ac3 100644 --- a/src/Adyen/Model/BalancePlatform/CardConfiguration.php +++ b/src/Adyen/Model/BalancePlatform/CardConfiguration.php @@ -307,7 +307,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('activation', $data ?? [], null); $this->setIfExists('activationUrl', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CardInfo.php b/src/Adyen/Model/BalancePlatform/CardInfo.php index 87148bee7..0c5df508e 100644 --- a/src/Adyen/Model/BalancePlatform/CardInfo.php +++ b/src/Adyen/Model/BalancePlatform/CardInfo.php @@ -287,7 +287,7 @@ public function getFormFactorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authentication', $data ?? [], null); $this->setIfExists('brand', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CardOrder.php b/src/Adyen/Model/BalancePlatform/CardOrder.php index 8329e0ee9..7eba17294 100644 --- a/src/Adyen/Model/BalancePlatform/CardOrder.php +++ b/src/Adyen/Model/BalancePlatform/CardOrder.php @@ -285,7 +285,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('beginDate', $data ?? [], null); $this->setIfExists('cardManufacturingProfileId', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CardOrderItem.php b/src/Adyen/Model/BalancePlatform/CardOrderItem.php index 9daff57e3..b10b9ac29 100644 --- a/src/Adyen/Model/BalancePlatform/CardOrderItem.php +++ b/src/Adyen/Model/BalancePlatform/CardOrderItem.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balancePlatform', $data ?? [], null); $this->setIfExists('card', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CardOrderItemDeliveryStatus.php b/src/Adyen/Model/BalancePlatform/CardOrderItemDeliveryStatus.php index d2ed135a2..73d989b11 100644 --- a/src/Adyen/Model/BalancePlatform/CardOrderItemDeliveryStatus.php +++ b/src/Adyen/Model/BalancePlatform/CardOrderItemDeliveryStatus.php @@ -267,7 +267,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('errorMessage', $data ?? [], null); $this->setIfExists('status', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/ContactDetails.php b/src/Adyen/Model/BalancePlatform/ContactDetails.php index 627f1df57..988d5024e 100644 --- a/src/Adyen/Model/BalancePlatform/ContactDetails.php +++ b/src/Adyen/Model/BalancePlatform/ContactDetails.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('address', $data ?? [], null); $this->setIfExists('email', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/Counterparty.php b/src/Adyen/Model/BalancePlatform/Counterparty.php index 13d5df5f9..5b72c3012 100644 --- a/src/Adyen/Model/BalancePlatform/Counterparty.php +++ b/src/Adyen/Model/BalancePlatform/Counterparty.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('bankAccount', $data ?? [], null); $this->setIfExists('transferInstrumentId', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CounterpartyBankRestriction.php b/src/Adyen/Model/BalancePlatform/CounterpartyBankRestriction.php index fc2939bbe..ebec26f71 100644 --- a/src/Adyen/Model/BalancePlatform/CounterpartyBankRestriction.php +++ b/src/Adyen/Model/BalancePlatform/CounterpartyBankRestriction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CounterpartyTypesRestriction.php b/src/Adyen/Model/BalancePlatform/CounterpartyTypesRestriction.php index ad74095b6..6cd94bce2 100644 --- a/src/Adyen/Model/BalancePlatform/CounterpartyTypesRestriction.php +++ b/src/Adyen/Model/BalancePlatform/CounterpartyTypesRestriction.php @@ -253,7 +253,7 @@ public function getValueAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CountriesRestriction.php b/src/Adyen/Model/BalancePlatform/CountriesRestriction.php index 4158caca3..347925617 100644 --- a/src/Adyen/Model/BalancePlatform/CountriesRestriction.php +++ b/src/Adyen/Model/BalancePlatform/CountriesRestriction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/CreateSweepConfigurationV2.php b/src/Adyen/Model/BalancePlatform/CreateSweepConfigurationV2.php index b06355a63..4a55cc2f2 100644 --- a/src/Adyen/Model/BalancePlatform/CreateSweepConfigurationV2.php +++ b/src/Adyen/Model/BalancePlatform/CreateSweepConfigurationV2.php @@ -435,7 +435,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('category', $data ?? [], null); $this->setIfExists('counterparty', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/DKLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/DKLocalAccountIdentification.php index 68b30b8bd..f6de80fe4 100644 --- a/src/Adyen/Model/BalancePlatform/DKLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/DKLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bankCode', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/DayOfWeekRestriction.php b/src/Adyen/Model/BalancePlatform/DayOfWeekRestriction.php index 3ef38b89e..8c32132b5 100644 --- a/src/Adyen/Model/BalancePlatform/DayOfWeekRestriction.php +++ b/src/Adyen/Model/BalancePlatform/DayOfWeekRestriction.php @@ -259,7 +259,7 @@ public function getValueAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/DelegatedAuthenticationData.php b/src/Adyen/Model/BalancePlatform/DelegatedAuthenticationData.php index 97dfd8ec8..9b3cae582 100644 --- a/src/Adyen/Model/BalancePlatform/DelegatedAuthenticationData.php +++ b/src/Adyen/Model/BalancePlatform/DelegatedAuthenticationData.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sdkOutput', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/DeliveryAddress.php b/src/Adyen/Model/BalancePlatform/DeliveryAddress.php index bfaedf867..d22899932 100644 --- a/src/Adyen/Model/BalancePlatform/DeliveryAddress.php +++ b/src/Adyen/Model/BalancePlatform/DeliveryAddress.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/DeliveryContact.php b/src/Adyen/Model/BalancePlatform/DeliveryContact.php index f39a04bbb..fa51abb12 100644 --- a/src/Adyen/Model/BalancePlatform/DeliveryContact.php +++ b/src/Adyen/Model/BalancePlatform/DeliveryContact.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('address', $data ?? [], null); $this->setIfExists('company', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/Device.php b/src/Adyen/Model/BalancePlatform/Device.php index bee2ed1a2..511e0b5f9 100644 --- a/src/Adyen/Model/BalancePlatform/Device.php +++ b/src/Adyen/Model/BalancePlatform/Device.php @@ -263,7 +263,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/DeviceInfo.php b/src/Adyen/Model/BalancePlatform/DeviceInfo.php index 63d63864a..94d8234b1 100644 --- a/src/Adyen/Model/BalancePlatform/DeviceInfo.php +++ b/src/Adyen/Model/BalancePlatform/DeviceInfo.php @@ -289,7 +289,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cardCaptureTechnology', $data ?? [], null); $this->setIfExists('deviceName', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/DifferentCurrenciesRestriction.php b/src/Adyen/Model/BalancePlatform/DifferentCurrenciesRestriction.php index 4861c5338..4714b56ce 100644 --- a/src/Adyen/Model/BalancePlatform/DifferentCurrenciesRestriction.php +++ b/src/Adyen/Model/BalancePlatform/DifferentCurrenciesRestriction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/Duration.php b/src/Adyen/Model/BalancePlatform/Duration.php index 326c06e9c..f3573a751 100644 --- a/src/Adyen/Model/BalancePlatform/Duration.php +++ b/src/Adyen/Model/BalancePlatform/Duration.php @@ -255,7 +255,7 @@ public function getUnitAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('unit', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/EntryModesRestriction.php b/src/Adyen/Model/BalancePlatform/EntryModesRestriction.php index db23e1ae1..3c3ab7876 100644 --- a/src/Adyen/Model/BalancePlatform/EntryModesRestriction.php +++ b/src/Adyen/Model/BalancePlatform/EntryModesRestriction.php @@ -263,7 +263,7 @@ public function getValueAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/Expiry.php b/src/Adyen/Model/BalancePlatform/Expiry.php index 17669449e..ec0beb40c 100644 --- a/src/Adyen/Model/BalancePlatform/Expiry.php +++ b/src/Adyen/Model/BalancePlatform/Expiry.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('month', $data ?? [], null); $this->setIfExists('year', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/Fee.php b/src/Adyen/Model/BalancePlatform/Fee.php index 42081c8f3..28b8cf8f7 100644 --- a/src/Adyen/Model/BalancePlatform/Fee.php +++ b/src/Adyen/Model/BalancePlatform/Fee.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/GetNetworkTokenResponse.php b/src/Adyen/Model/BalancePlatform/GetNetworkTokenResponse.php index 0438127b5..57e6097d7 100644 --- a/src/Adyen/Model/BalancePlatform/GetNetworkTokenResponse.php +++ b/src/Adyen/Model/BalancePlatform/GetNetworkTokenResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('token', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/GetTaxFormResponse.php b/src/Adyen/Model/BalancePlatform/GetTaxFormResponse.php index b76bce02e..9deffd15e 100644 --- a/src/Adyen/Model/BalancePlatform/GetTaxFormResponse.php +++ b/src/Adyen/Model/BalancePlatform/GetTaxFormResponse.php @@ -247,7 +247,7 @@ public function getContentTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('content', $data ?? [], null); $this->setIfExists('contentType', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/GrantLimit.php b/src/Adyen/Model/BalancePlatform/GrantLimit.php index da92f155c..f8b07dcfa 100644 --- a/src/Adyen/Model/BalancePlatform/GrantLimit.php +++ b/src/Adyen/Model/BalancePlatform/GrantLimit.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/GrantOffer.php b/src/Adyen/Model/BalancePlatform/GrantOffer.php index 9d8cc6f99..405f592c4 100644 --- a/src/Adyen/Model/BalancePlatform/GrantOffer.php +++ b/src/Adyen/Model/BalancePlatform/GrantOffer.php @@ -285,7 +285,7 @@ public function getContractTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolderId', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/GrantOffers.php b/src/Adyen/Model/BalancePlatform/GrantOffers.php index d70d8e861..bad272007 100644 --- a/src/Adyen/Model/BalancePlatform/GrantOffers.php +++ b/src/Adyen/Model/BalancePlatform/GrantOffers.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('grantOffers', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/HKLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/HKLocalAccountIdentification.php index a4da763b7..aaf743364 100644 --- a/src/Adyen/Model/BalancePlatform/HKLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/HKLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('clearingCode', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/HULocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/HULocalAccountIdentification.php index 3c7f514b3..c22a1098c 100644 --- a/src/Adyen/Model/BalancePlatform/HULocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/HULocalAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/Href.php b/src/Adyen/Model/BalancePlatform/Href.php index dbd354e8d..b5da63459 100644 --- a/src/Adyen/Model/BalancePlatform/Href.php +++ b/src/Adyen/Model/BalancePlatform/Href.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('href', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/IbanAccountIdentification.php b/src/Adyen/Model/BalancePlatform/IbanAccountIdentification.php index 6ba78ccaa..1ef86ed8c 100644 --- a/src/Adyen/Model/BalancePlatform/IbanAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/IbanAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('iban', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/IbanAccountIdentificationRequirement.php b/src/Adyen/Model/BalancePlatform/IbanAccountIdentificationRequirement.php index 16fc981f5..21c9290d4 100644 --- a/src/Adyen/Model/BalancePlatform/IbanAccountIdentificationRequirement.php +++ b/src/Adyen/Model/BalancePlatform/IbanAccountIdentificationRequirement.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('ibanPrefixes', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/InternationalTransactionRestriction.php b/src/Adyen/Model/BalancePlatform/InternationalTransactionRestriction.php index f9418ea64..9ed91f8d0 100644 --- a/src/Adyen/Model/BalancePlatform/InternationalTransactionRestriction.php +++ b/src/Adyen/Model/BalancePlatform/InternationalTransactionRestriction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/InvalidField.php b/src/Adyen/Model/BalancePlatform/InvalidField.php index d8339efca..75b0a71d2 100644 --- a/src/Adyen/Model/BalancePlatform/InvalidField.php +++ b/src/Adyen/Model/BalancePlatform/InvalidField.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('message', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/Link.php b/src/Adyen/Model/BalancePlatform/Link.php index 2e93737e3..e2aa27ae5 100644 --- a/src/Adyen/Model/BalancePlatform/Link.php +++ b/src/Adyen/Model/BalancePlatform/Link.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('first', $data ?? [], null); $this->setIfExists('last', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/ListNetworkTokensResponse.php b/src/Adyen/Model/BalancePlatform/ListNetworkTokensResponse.php index bbc922130..7390af156 100644 --- a/src/Adyen/Model/BalancePlatform/ListNetworkTokensResponse.php +++ b/src/Adyen/Model/BalancePlatform/ListNetworkTokensResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('networkTokens', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/MatchingTransactionsRestriction.php b/src/Adyen/Model/BalancePlatform/MatchingTransactionsRestriction.php index 68812e705..c195f1bca 100644 --- a/src/Adyen/Model/BalancePlatform/MatchingTransactionsRestriction.php +++ b/src/Adyen/Model/BalancePlatform/MatchingTransactionsRestriction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/MatchingValuesRestriction.php b/src/Adyen/Model/BalancePlatform/MatchingValuesRestriction.php index e8c63ad97..846c5b628 100644 --- a/src/Adyen/Model/BalancePlatform/MatchingValuesRestriction.php +++ b/src/Adyen/Model/BalancePlatform/MatchingValuesRestriction.php @@ -255,7 +255,7 @@ public function getValueAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/MccsRestriction.php b/src/Adyen/Model/BalancePlatform/MccsRestriction.php index d01d8ad58..d30623281 100644 --- a/src/Adyen/Model/BalancePlatform/MccsRestriction.php +++ b/src/Adyen/Model/BalancePlatform/MccsRestriction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/MerchantAcquirerPair.php b/src/Adyen/Model/BalancePlatform/MerchantAcquirerPair.php index a6349f731..e32d186a0 100644 --- a/src/Adyen/Model/BalancePlatform/MerchantAcquirerPair.php +++ b/src/Adyen/Model/BalancePlatform/MerchantAcquirerPair.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acquirerId', $data ?? [], null); $this->setIfExists('merchantId', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/MerchantNamesRestriction.php b/src/Adyen/Model/BalancePlatform/MerchantNamesRestriction.php index 89a07a376..fe47bf298 100644 --- a/src/Adyen/Model/BalancePlatform/MerchantNamesRestriction.php +++ b/src/Adyen/Model/BalancePlatform/MerchantNamesRestriction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/MerchantsRestriction.php b/src/Adyen/Model/BalancePlatform/MerchantsRestriction.php index e12a90711..ba6c5545b 100644 --- a/src/Adyen/Model/BalancePlatform/MerchantsRestriction.php +++ b/src/Adyen/Model/BalancePlatform/MerchantsRestriction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/NOLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/NOLocalAccountIdentification.php index af820b526..44ffda099 100644 --- a/src/Adyen/Model/BalancePlatform/NOLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/NOLocalAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/NZLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/NZLocalAccountIdentification.php index 4881b4bd4..f2f106aea 100644 --- a/src/Adyen/Model/BalancePlatform/NZLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/NZLocalAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/Name.php b/src/Adyen/Model/BalancePlatform/Name.php index fb1b05295..c024e6944 100644 --- a/src/Adyen/Model/BalancePlatform/Name.php +++ b/src/Adyen/Model/BalancePlatform/Name.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('firstName', $data ?? [], null); $this->setIfExists('lastName', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/NetworkToken.php b/src/Adyen/Model/BalancePlatform/NetworkToken.php index f4c619b91..01e84c5ff 100644 --- a/src/Adyen/Model/BalancePlatform/NetworkToken.php +++ b/src/Adyen/Model/BalancePlatform/NetworkToken.php @@ -289,7 +289,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('brandVariant', $data ?? [], null); $this->setIfExists('creationDate', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/NumberAndBicAccountIdentification.php b/src/Adyen/Model/BalancePlatform/NumberAndBicAccountIdentification.php index 7e4e59919..18aa2f68a 100644 --- a/src/Adyen/Model/BalancePlatform/NumberAndBicAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/NumberAndBicAccountIdentification.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('additionalBankIdentification', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PLLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/PLLocalAccountIdentification.php index 2073d4c2f..0a6770697 100644 --- a/src/Adyen/Model/BalancePlatform/PLLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/PLLocalAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PaginatedAccountHoldersResponse.php b/src/Adyen/Model/BalancePlatform/PaginatedAccountHoldersResponse.php index 5693749ea..416157319 100644 --- a/src/Adyen/Model/BalancePlatform/PaginatedAccountHoldersResponse.php +++ b/src/Adyen/Model/BalancePlatform/PaginatedAccountHoldersResponse.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolders', $data ?? [], null); $this->setIfExists('hasNext', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PaginatedBalanceAccountsResponse.php b/src/Adyen/Model/BalancePlatform/PaginatedBalanceAccountsResponse.php index 9c90fc26a..29b5f2321 100644 --- a/src/Adyen/Model/BalancePlatform/PaginatedBalanceAccountsResponse.php +++ b/src/Adyen/Model/BalancePlatform/PaginatedBalanceAccountsResponse.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balanceAccounts', $data ?? [], null); $this->setIfExists('hasNext', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PaginatedGetCardOrderItemResponse.php b/src/Adyen/Model/BalancePlatform/PaginatedGetCardOrderItemResponse.php index c7563dd19..d7b4599c3 100644 --- a/src/Adyen/Model/BalancePlatform/PaginatedGetCardOrderItemResponse.php +++ b/src/Adyen/Model/BalancePlatform/PaginatedGetCardOrderItemResponse.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); $this->setIfExists('hasNext', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PaginatedGetCardOrderResponse.php b/src/Adyen/Model/BalancePlatform/PaginatedGetCardOrderResponse.php index 218fff35c..8fb47d0fb 100644 --- a/src/Adyen/Model/BalancePlatform/PaginatedGetCardOrderResponse.php +++ b/src/Adyen/Model/BalancePlatform/PaginatedGetCardOrderResponse.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cardOrders', $data ?? [], null); $this->setIfExists('hasNext', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PaginatedPaymentInstrumentsResponse.php b/src/Adyen/Model/BalancePlatform/PaginatedPaymentInstrumentsResponse.php index ef3c1a513..689fb6385 100644 --- a/src/Adyen/Model/BalancePlatform/PaginatedPaymentInstrumentsResponse.php +++ b/src/Adyen/Model/BalancePlatform/PaginatedPaymentInstrumentsResponse.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hasNext', $data ?? [], null); $this->setIfExists('hasPrevious', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrument.php b/src/Adyen/Model/BalancePlatform/PaymentInstrument.php index ac725053f..69cf2161d 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrument.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrument.php @@ -361,7 +361,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalBankAccountIdentifications', $data ?? [], null); $this->setIfExists('balanceAccountId', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrumentAdditionalBankAccountIdentificationsInner.php b/src/Adyen/Model/BalancePlatform/PaymentInstrumentAdditionalBankAccountIdentificationsInner.php index c7e710ae7..8a8a3e6dc 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrumentAdditionalBankAccountIdentificationsInner.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrumentAdditionalBankAccountIdentificationsInner.php @@ -234,7 +234,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('iban', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrumentGroup.php b/src/Adyen/Model/BalancePlatform/PaymentInstrumentGroup.php index cbf263b7a..78e40a572 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrumentGroup.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrumentGroup.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balancePlatform', $data ?? [], null); $this->setIfExists('description', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrumentGroupInfo.php b/src/Adyen/Model/BalancePlatform/PaymentInstrumentGroupInfo.php index f8aaec37c..80af462dd 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrumentGroupInfo.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrumentGroupInfo.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balancePlatform', $data ?? [], null); $this->setIfExists('description', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrumentInfo.php b/src/Adyen/Model/BalancePlatform/PaymentInstrumentInfo.php index 4343c2ae7..19958972b 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrumentInfo.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrumentInfo.php @@ -349,7 +349,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balanceAccountId', $data ?? [], null); $this->setIfExists('bankAccount', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrumentRequirement.php b/src/Adyen/Model/BalancePlatform/PaymentInstrumentRequirement.php index 47783d146..3beca2243 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrumentRequirement.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrumentRequirement.php @@ -285,7 +285,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('issuingCountryCode', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrumentRevealInfo.php b/src/Adyen/Model/BalancePlatform/PaymentInstrumentRevealInfo.php index c25d92e71..a53017e14 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrumentRevealInfo.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrumentRevealInfo.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cvc', $data ?? [], null); $this->setIfExists('expiration', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrumentRevealRequest.php b/src/Adyen/Model/BalancePlatform/PaymentInstrumentRevealRequest.php index 831cf63bb..866d12058 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrumentRevealRequest.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrumentRevealRequest.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('encryptedKey', $data ?? [], null); $this->setIfExists('paymentInstrumentId', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrumentRevealResponse.php b/src/Adyen/Model/BalancePlatform/PaymentInstrumentRevealResponse.php index 52d1165f0..f226cfbf0 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrumentRevealResponse.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrumentRevealResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('encryptedData', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/PaymentInstrumentUpdateRequest.php b/src/Adyen/Model/BalancePlatform/PaymentInstrumentUpdateRequest.php index 85db4dfe8..b89802483 100644 --- a/src/Adyen/Model/BalancePlatform/PaymentInstrumentUpdateRequest.php +++ b/src/Adyen/Model/BalancePlatform/PaymentInstrumentUpdateRequest.php @@ -299,7 +299,7 @@ public function getStatusReasonAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balanceAccountId', $data ?? [], null); $this->setIfExists('card', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/Phone.php b/src/Adyen/Model/BalancePlatform/Phone.php index 0803709fa..f3b360031 100644 --- a/src/Adyen/Model/BalancePlatform/Phone.php +++ b/src/Adyen/Model/BalancePlatform/Phone.php @@ -249,7 +249,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('number', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PhoneNumber.php b/src/Adyen/Model/BalancePlatform/PhoneNumber.php index 7f5cab2ff..5fc6919ca 100644 --- a/src/Adyen/Model/BalancePlatform/PhoneNumber.php +++ b/src/Adyen/Model/BalancePlatform/PhoneNumber.php @@ -259,7 +259,7 @@ public function getPhoneTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('phoneCountryCode', $data ?? [], null); $this->setIfExists('phoneNumber', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PinChangeRequest.php b/src/Adyen/Model/BalancePlatform/PinChangeRequest.php index 9ae79aed1..4aba19bc5 100644 --- a/src/Adyen/Model/BalancePlatform/PinChangeRequest.php +++ b/src/Adyen/Model/BalancePlatform/PinChangeRequest.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('encryptedKey', $data ?? [], null); $this->setIfExists('encryptedPinBlock', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PinChangeResponse.php b/src/Adyen/Model/BalancePlatform/PinChangeResponse.php index d866087c8..e8260fb34 100644 --- a/src/Adyen/Model/BalancePlatform/PinChangeResponse.php +++ b/src/Adyen/Model/BalancePlatform/PinChangeResponse.php @@ -245,7 +245,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('status', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/PlatformPaymentConfiguration.php b/src/Adyen/Model/BalancePlatform/PlatformPaymentConfiguration.php index 8af18d666..0f8d9f8d5 100644 --- a/src/Adyen/Model/BalancePlatform/PlatformPaymentConfiguration.php +++ b/src/Adyen/Model/BalancePlatform/PlatformPaymentConfiguration.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('salesDayClosingTime', $data ?? [], null); $this->setIfExists('settlementDelayDays', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/ProcessingTypesRestriction.php b/src/Adyen/Model/BalancePlatform/ProcessingTypesRestriction.php index 0f831a2a9..4a48906e3 100644 --- a/src/Adyen/Model/BalancePlatform/ProcessingTypesRestriction.php +++ b/src/Adyen/Model/BalancePlatform/ProcessingTypesRestriction.php @@ -261,7 +261,7 @@ public function getValueAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/PublicKeyResponse.php b/src/Adyen/Model/BalancePlatform/PublicKeyResponse.php index 66f5ef5f0..392548a29 100644 --- a/src/Adyen/Model/BalancePlatform/PublicKeyResponse.php +++ b/src/Adyen/Model/BalancePlatform/PublicKeyResponse.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('publicKey', $data ?? [], null); $this->setIfExists('publicKeyExpiryDate', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/RegisterSCAFinalResponse.php b/src/Adyen/Model/BalancePlatform/RegisterSCAFinalResponse.php index 10323ae04..f9126c73a 100644 --- a/src/Adyen/Model/BalancePlatform/RegisterSCAFinalResponse.php +++ b/src/Adyen/Model/BalancePlatform/RegisterSCAFinalResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('success', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/RegisterSCARequest.php b/src/Adyen/Model/BalancePlatform/RegisterSCARequest.php index ca8b78889..6b878fc8a 100644 --- a/src/Adyen/Model/BalancePlatform/RegisterSCARequest.php +++ b/src/Adyen/Model/BalancePlatform/RegisterSCARequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('name', $data ?? [], null); $this->setIfExists('paymentInstrumentId', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/RegisterSCAResponse.php b/src/Adyen/Model/BalancePlatform/RegisterSCAResponse.php index 8231553ef..f5f080e1d 100644 --- a/src/Adyen/Model/BalancePlatform/RegisterSCAResponse.php +++ b/src/Adyen/Model/BalancePlatform/RegisterSCAResponse.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('paymentInstrumentId', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/RemediatingAction.php b/src/Adyen/Model/BalancePlatform/RemediatingAction.php index ca0176b37..0eb11becc 100644 --- a/src/Adyen/Model/BalancePlatform/RemediatingAction.php +++ b/src/Adyen/Model/BalancePlatform/RemediatingAction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('code', $data ?? [], null); $this->setIfExists('message', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/Repayment.php b/src/Adyen/Model/BalancePlatform/Repayment.php index b1fc3671d..a2d53281f 100644 --- a/src/Adyen/Model/BalancePlatform/Repayment.php +++ b/src/Adyen/Model/BalancePlatform/Repayment.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('basisPoints', $data ?? [], null); $this->setIfExists('term', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/RepaymentTerm.php b/src/Adyen/Model/BalancePlatform/RepaymentTerm.php index 0c1a3ecb2..21f2b6a0f 100644 --- a/src/Adyen/Model/BalancePlatform/RepaymentTerm.php +++ b/src/Adyen/Model/BalancePlatform/RepaymentTerm.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('estimatedDays', $data ?? [], null); $this->setIfExists('maximumDays', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/RestServiceError.php b/src/Adyen/Model/BalancePlatform/RestServiceError.php index c6c0aeda9..863510592 100644 --- a/src/Adyen/Model/BalancePlatform/RestServiceError.php +++ b/src/Adyen/Model/BalancePlatform/RestServiceError.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('detail', $data ?? [], null); $this->setIfExists('errorCode', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/RevealPinRequest.php b/src/Adyen/Model/BalancePlatform/RevealPinRequest.php index 00ad07070..9f154a570 100644 --- a/src/Adyen/Model/BalancePlatform/RevealPinRequest.php +++ b/src/Adyen/Model/BalancePlatform/RevealPinRequest.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('encryptedKey', $data ?? [], null); $this->setIfExists('paymentInstrumentId', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/RevealPinResponse.php b/src/Adyen/Model/BalancePlatform/RevealPinResponse.php index d3190f21a..54b33e439 100644 --- a/src/Adyen/Model/BalancePlatform/RevealPinResponse.php +++ b/src/Adyen/Model/BalancePlatform/RevealPinResponse.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('encryptedPinBlock', $data ?? [], null); $this->setIfExists('token', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/RiskScores.php b/src/Adyen/Model/BalancePlatform/RiskScores.php index 899d0495a..1cf8b7b1e 100644 --- a/src/Adyen/Model/BalancePlatform/RiskScores.php +++ b/src/Adyen/Model/BalancePlatform/RiskScores.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('mastercard', $data ?? [], null); $this->setIfExists('visa', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/RiskScoresRestriction.php b/src/Adyen/Model/BalancePlatform/RiskScoresRestriction.php index 24ae79cf0..26f829776 100644 --- a/src/Adyen/Model/BalancePlatform/RiskScoresRestriction.php +++ b/src/Adyen/Model/BalancePlatform/RiskScoresRestriction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/SELocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/SELocalAccountIdentification.php index 0793ea1f7..75689bbee 100644 --- a/src/Adyen/Model/BalancePlatform/SELocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/SELocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('clearingNumber', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/SGLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/SGLocalAccountIdentification.php index 458a11d79..cdef70e4a 100644 --- a/src/Adyen/Model/BalancePlatform/SGLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/SGLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bic', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/SameAmountRestriction.php b/src/Adyen/Model/BalancePlatform/SameAmountRestriction.php index b4b2a3afd..fd902030a 100644 --- a/src/Adyen/Model/BalancePlatform/SameAmountRestriction.php +++ b/src/Adyen/Model/BalancePlatform/SameAmountRestriction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/SameCounterpartyRestriction.php b/src/Adyen/Model/BalancePlatform/SameCounterpartyRestriction.php index 203e0c7c6..aa10b7d5b 100644 --- a/src/Adyen/Model/BalancePlatform/SameCounterpartyRestriction.php +++ b/src/Adyen/Model/BalancePlatform/SameCounterpartyRestriction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/SearchRegisteredDevicesResponse.php b/src/Adyen/Model/BalancePlatform/SearchRegisteredDevicesResponse.php index adf04df60..6c6769110 100644 --- a/src/Adyen/Model/BalancePlatform/SearchRegisteredDevicesResponse.php +++ b/src/Adyen/Model/BalancePlatform/SearchRegisteredDevicesResponse.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); $this->setIfExists('itemsTotal', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/SourceAccountTypesRestriction.php b/src/Adyen/Model/BalancePlatform/SourceAccountTypesRestriction.php index be06216c0..066ad1350 100644 --- a/src/Adyen/Model/BalancePlatform/SourceAccountTypesRestriction.php +++ b/src/Adyen/Model/BalancePlatform/SourceAccountTypesRestriction.php @@ -249,7 +249,7 @@ public function getValueAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/StringMatch.php b/src/Adyen/Model/BalancePlatform/StringMatch.php index dc1992902..7a89873ba 100644 --- a/src/Adyen/Model/BalancePlatform/StringMatch.php +++ b/src/Adyen/Model/BalancePlatform/StringMatch.php @@ -253,7 +253,7 @@ public function getOperationAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/SweepConfigurationV2.php b/src/Adyen/Model/BalancePlatform/SweepConfigurationV2.php index 107721aac..2a7bbee01 100644 --- a/src/Adyen/Model/BalancePlatform/SweepConfigurationV2.php +++ b/src/Adyen/Model/BalancePlatform/SweepConfigurationV2.php @@ -441,7 +441,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('category', $data ?? [], null); $this->setIfExists('counterparty', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/SweepCounterparty.php b/src/Adyen/Model/BalancePlatform/SweepCounterparty.php index ada7a05f6..178661266 100644 --- a/src/Adyen/Model/BalancePlatform/SweepCounterparty.php +++ b/src/Adyen/Model/BalancePlatform/SweepCounterparty.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balanceAccountId', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/SweepSchedule.php b/src/Adyen/Model/BalancePlatform/SweepSchedule.php index fc819c640..4ca269efb 100644 --- a/src/Adyen/Model/BalancePlatform/SweepSchedule.php +++ b/src/Adyen/Model/BalancePlatform/SweepSchedule.php @@ -255,7 +255,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cronExpression', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/ThresholdRepayment.php b/src/Adyen/Model/BalancePlatform/ThresholdRepayment.php index ac75404a7..3e7a23fe6 100644 --- a/src/Adyen/Model/BalancePlatform/ThresholdRepayment.php +++ b/src/Adyen/Model/BalancePlatform/ThresholdRepayment.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/TimeOfDay.php b/src/Adyen/Model/BalancePlatform/TimeOfDay.php index 8d6900ff2..188377523 100644 --- a/src/Adyen/Model/BalancePlatform/TimeOfDay.php +++ b/src/Adyen/Model/BalancePlatform/TimeOfDay.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('endTime', $data ?? [], null); $this->setIfExists('startTime', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/TimeOfDayRestriction.php b/src/Adyen/Model/BalancePlatform/TimeOfDayRestriction.php index 21cb6d627..777e1a6aa 100644 --- a/src/Adyen/Model/BalancePlatform/TimeOfDayRestriction.php +++ b/src/Adyen/Model/BalancePlatform/TimeOfDayRestriction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/TokenRequestorsRestriction.php b/src/Adyen/Model/BalancePlatform/TokenRequestorsRestriction.php index d64d4fdab..b38f5e1df 100644 --- a/src/Adyen/Model/BalancePlatform/TokenRequestorsRestriction.php +++ b/src/Adyen/Model/BalancePlatform/TokenRequestorsRestriction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/TotalAmountRestriction.php b/src/Adyen/Model/BalancePlatform/TotalAmountRestriction.php index 81503ae6c..73f03df69 100644 --- a/src/Adyen/Model/BalancePlatform/TotalAmountRestriction.php +++ b/src/Adyen/Model/BalancePlatform/TotalAmountRestriction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operation', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/TransactionRule.php b/src/Adyen/Model/BalancePlatform/TransactionRule.php index 959f11a19..a1cb99db5 100644 --- a/src/Adyen/Model/BalancePlatform/TransactionRule.php +++ b/src/Adyen/Model/BalancePlatform/TransactionRule.php @@ -375,7 +375,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('aggregationLevel', $data ?? [], null); $this->setIfExists('description', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/TransactionRuleEntityKey.php b/src/Adyen/Model/BalancePlatform/TransactionRuleEntityKey.php index 39402c0b7..ab2bf9463 100644 --- a/src/Adyen/Model/BalancePlatform/TransactionRuleEntityKey.php +++ b/src/Adyen/Model/BalancePlatform/TransactionRuleEntityKey.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('entityReference', $data ?? [], null); $this->setIfExists('entityType', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/TransactionRuleInfo.php b/src/Adyen/Model/BalancePlatform/TransactionRuleInfo.php index 498b26337..825f79367 100644 --- a/src/Adyen/Model/BalancePlatform/TransactionRuleInfo.php +++ b/src/Adyen/Model/BalancePlatform/TransactionRuleInfo.php @@ -369,7 +369,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('aggregationLevel', $data ?? [], null); $this->setIfExists('description', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/TransactionRuleInterval.php b/src/Adyen/Model/BalancePlatform/TransactionRuleInterval.php index 3b02d7633..53a4e60ce 100644 --- a/src/Adyen/Model/BalancePlatform/TransactionRuleInterval.php +++ b/src/Adyen/Model/BalancePlatform/TransactionRuleInterval.php @@ -307,7 +307,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('dayOfMonth', $data ?? [], null); $this->setIfExists('dayOfWeek', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/TransactionRuleResponse.php b/src/Adyen/Model/BalancePlatform/TransactionRuleResponse.php index ed9bfe38f..e48838513 100644 --- a/src/Adyen/Model/BalancePlatform/TransactionRuleResponse.php +++ b/src/Adyen/Model/BalancePlatform/TransactionRuleResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('transactionRule', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/TransactionRuleRestrictions.php b/src/Adyen/Model/BalancePlatform/TransactionRuleRestrictions.php index 6021835b8..e7a02eec4 100644 --- a/src/Adyen/Model/BalancePlatform/TransactionRuleRestrictions.php +++ b/src/Adyen/Model/BalancePlatform/TransactionRuleRestrictions.php @@ -355,7 +355,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('activeNetworkTokens', $data ?? [], null); $this->setIfExists('brandVariants', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/TransactionRulesResponse.php b/src/Adyen/Model/BalancePlatform/TransactionRulesResponse.php index 08f6156c3..7ad08d38a 100644 --- a/src/Adyen/Model/BalancePlatform/TransactionRulesResponse.php +++ b/src/Adyen/Model/BalancePlatform/TransactionRulesResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('transactionRules', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/TransferRoute.php b/src/Adyen/Model/BalancePlatform/TransferRoute.php index fdab0a463..ed13aecd1 100644 --- a/src/Adyen/Model/BalancePlatform/TransferRoute.php +++ b/src/Adyen/Model/BalancePlatform/TransferRoute.php @@ -303,7 +303,7 @@ public function getPriorityAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('category', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/TransferRouteRequest.php b/src/Adyen/Model/BalancePlatform/TransferRouteRequest.php index 1c11667f5..2ce92ee48 100644 --- a/src/Adyen/Model/BalancePlatform/TransferRouteRequest.php +++ b/src/Adyen/Model/BalancePlatform/TransferRouteRequest.php @@ -299,7 +299,7 @@ public function getPrioritiesAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balanceAccountId', $data ?? [], null); $this->setIfExists('balancePlatform', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/TransferRouteRequirementsInner.php b/src/Adyen/Model/BalancePlatform/TransferRouteRequirementsInner.php index 85597d3e0..8ee950ecf 100644 --- a/src/Adyen/Model/BalancePlatform/TransferRouteRequirementsInner.php +++ b/src/Adyen/Model/BalancePlatform/TransferRouteRequirementsInner.php @@ -288,7 +288,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('requiredAddressFields', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/TransferRouteResponse.php b/src/Adyen/Model/BalancePlatform/TransferRouteResponse.php index 419c5dc04..3b583b4f5 100644 --- a/src/Adyen/Model/BalancePlatform/TransferRouteResponse.php +++ b/src/Adyen/Model/BalancePlatform/TransferRouteResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('transferRoutes', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/UKLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/UKLocalAccountIdentification.php index 05a57bf13..2a5c5ce60 100644 --- a/src/Adyen/Model/BalancePlatform/UKLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/UKLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('sortCode', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/USInternationalAchAddressRequirement.php b/src/Adyen/Model/BalancePlatform/USInternationalAchAddressRequirement.php index f2ded8acd..84e5f7aee 100644 --- a/src/Adyen/Model/BalancePlatform/USInternationalAchAddressRequirement.php +++ b/src/Adyen/Model/BalancePlatform/USInternationalAchAddressRequirement.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/USLocalAccountIdentification.php b/src/Adyen/Model/BalancePlatform/USLocalAccountIdentification.php index e40c3d377..3a615129e 100644 --- a/src/Adyen/Model/BalancePlatform/USLocalAccountIdentification.php +++ b/src/Adyen/Model/BalancePlatform/USLocalAccountIdentification.php @@ -273,7 +273,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('accountType', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/UpdateNetworkTokenRequest.php b/src/Adyen/Model/BalancePlatform/UpdateNetworkTokenRequest.php index d8f34ecc4..79163a6d0 100644 --- a/src/Adyen/Model/BalancePlatform/UpdateNetworkTokenRequest.php +++ b/src/Adyen/Model/BalancePlatform/UpdateNetworkTokenRequest.php @@ -245,7 +245,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('status', $data ?? [], null); } diff --git a/src/Adyen/Model/BalancePlatform/UpdatePaymentInstrument.php b/src/Adyen/Model/BalancePlatform/UpdatePaymentInstrument.php index 8c819b66e..ca33b5ce5 100644 --- a/src/Adyen/Model/BalancePlatform/UpdatePaymentInstrument.php +++ b/src/Adyen/Model/BalancePlatform/UpdatePaymentInstrument.php @@ -361,7 +361,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalBankAccountIdentifications', $data ?? [], null); $this->setIfExists('balanceAccountId', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/UpdateSweepConfigurationV2.php b/src/Adyen/Model/BalancePlatform/UpdateSweepConfigurationV2.php index 0440c38eb..17c728a7d 100644 --- a/src/Adyen/Model/BalancePlatform/UpdateSweepConfigurationV2.php +++ b/src/Adyen/Model/BalancePlatform/UpdateSweepConfigurationV2.php @@ -441,7 +441,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('category', $data ?? [], null); $this->setIfExists('counterparty', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/VerificationDeadline.php b/src/Adyen/Model/BalancePlatform/VerificationDeadline.php index 07ca86965..96ebdbc44 100644 --- a/src/Adyen/Model/BalancePlatform/VerificationDeadline.php +++ b/src/Adyen/Model/BalancePlatform/VerificationDeadline.php @@ -361,7 +361,7 @@ public function getCapabilitiesAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('capabilities', $data ?? [], null); $this->setIfExists('entityIds', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/VerificationError.php b/src/Adyen/Model/BalancePlatform/VerificationError.php index b172a7f14..2381e3c5d 100644 --- a/src/Adyen/Model/BalancePlatform/VerificationError.php +++ b/src/Adyen/Model/BalancePlatform/VerificationError.php @@ -395,7 +395,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('capabilities', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/src/Adyen/Model/BalancePlatform/VerificationErrorRecursive.php b/src/Adyen/Model/BalancePlatform/VerificationErrorRecursive.php index a06c8ec6a..dfaedcedb 100644 --- a/src/Adyen/Model/BalancePlatform/VerificationErrorRecursive.php +++ b/src/Adyen/Model/BalancePlatform/VerificationErrorRecursive.php @@ -389,7 +389,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('capabilities', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/src/Adyen/Model/BinLookup/Amount.php b/src/Adyen/Model/BinLookup/Amount.php index d5a92bb86..1d88b645b 100644 --- a/src/Adyen/Model/BinLookup/Amount.php +++ b/src/Adyen/Model/BinLookup/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/BinLookup/BinDetail.php b/src/Adyen/Model/BinLookup/BinDetail.php index cbf1b695d..ca4b5f7bb 100644 --- a/src/Adyen/Model/BinLookup/BinDetail.php +++ b/src/Adyen/Model/BinLookup/BinDetail.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('issuerCountry', $data ?? [], null); } diff --git a/src/Adyen/Model/BinLookup/CardBin.php b/src/Adyen/Model/BinLookup/CardBin.php index 3c59ac824..beb998997 100644 --- a/src/Adyen/Model/BinLookup/CardBin.php +++ b/src/Adyen/Model/BinLookup/CardBin.php @@ -289,7 +289,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('bin', $data ?? [], null); $this->setIfExists('commercial', $data ?? [], null); diff --git a/src/Adyen/Model/BinLookup/CostEstimateAssumptions.php b/src/Adyen/Model/BinLookup/CostEstimateAssumptions.php index 452609ef5..fe05cbba9 100644 --- a/src/Adyen/Model/BinLookup/CostEstimateAssumptions.php +++ b/src/Adyen/Model/BinLookup/CostEstimateAssumptions.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('assume3DSecureAuthenticated', $data ?? [], null); $this->setIfExists('assumeLevel3Data', $data ?? [], null); diff --git a/src/Adyen/Model/BinLookup/CostEstimateRequest.php b/src/Adyen/Model/BinLookup/CostEstimateRequest.php index b303f025f..af452f21f 100644 --- a/src/Adyen/Model/BinLookup/CostEstimateRequest.php +++ b/src/Adyen/Model/BinLookup/CostEstimateRequest.php @@ -301,7 +301,7 @@ public function getShopperInteractionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('assumptions', $data ?? [], null); diff --git a/src/Adyen/Model/BinLookup/CostEstimateResponse.php b/src/Adyen/Model/BinLookup/CostEstimateResponse.php index 6b93f7add..66f2db0a5 100644 --- a/src/Adyen/Model/BinLookup/CostEstimateResponse.php +++ b/src/Adyen/Model/BinLookup/CostEstimateResponse.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cardBin', $data ?? [], null); $this->setIfExists('costEstimateAmount', $data ?? [], null); diff --git a/src/Adyen/Model/BinLookup/DSPublicKeyDetail.php b/src/Adyen/Model/BinLookup/DSPublicKeyDetail.php index 9d0f5251f..59536c423 100644 --- a/src/Adyen/Model/BinLookup/DSPublicKeyDetail.php +++ b/src/Adyen/Model/BinLookup/DSPublicKeyDetail.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('brand', $data ?? [], null); $this->setIfExists('directoryServerId', $data ?? [], null); diff --git a/src/Adyen/Model/BinLookup/MerchantDetails.php b/src/Adyen/Model/BinLookup/MerchantDetails.php index e5bc2482b..d4fe2dd9c 100644 --- a/src/Adyen/Model/BinLookup/MerchantDetails.php +++ b/src/Adyen/Model/BinLookup/MerchantDetails.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('countryCode', $data ?? [], null); $this->setIfExists('enrolledIn3DSecure', $data ?? [], null); diff --git a/src/Adyen/Model/BinLookup/Recurring.php b/src/Adyen/Model/BinLookup/Recurring.php index 1f2505d2d..7af01def0 100644 --- a/src/Adyen/Model/BinLookup/Recurring.php +++ b/src/Adyen/Model/BinLookup/Recurring.php @@ -287,7 +287,7 @@ public function getTokenServiceAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('contract', $data ?? [], null); $this->setIfExists('recurringDetailName', $data ?? [], null); diff --git a/src/Adyen/Model/BinLookup/ServiceError.php b/src/Adyen/Model/BinLookup/ServiceError.php index 200b22ac2..6f109a185 100644 --- a/src/Adyen/Model/BinLookup/ServiceError.php +++ b/src/Adyen/Model/BinLookup/ServiceError.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('errorCode', $data ?? [], null); diff --git a/src/Adyen/Model/BinLookup/ThreeDS2CardRangeDetail.php b/src/Adyen/Model/BinLookup/ThreeDS2CardRangeDetail.php index 9d66d225f..62329442b 100644 --- a/src/Adyen/Model/BinLookup/ThreeDS2CardRangeDetail.php +++ b/src/Adyen/Model/BinLookup/ThreeDS2CardRangeDetail.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acsInfoInd', $data ?? [], null); $this->setIfExists('brandCode', $data ?? [], null); diff --git a/src/Adyen/Model/BinLookup/ThreeDSAvailabilityRequest.php b/src/Adyen/Model/BinLookup/ThreeDSAvailabilityRequest.php index 3fcabd2a7..1321476a3 100644 --- a/src/Adyen/Model/BinLookup/ThreeDSAvailabilityRequest.php +++ b/src/Adyen/Model/BinLookup/ThreeDSAvailabilityRequest.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('brands', $data ?? [], null); diff --git a/src/Adyen/Model/BinLookup/ThreeDSAvailabilityResponse.php b/src/Adyen/Model/BinLookup/ThreeDSAvailabilityResponse.php index 4fb1a8127..2890a2dcb 100644 --- a/src/Adyen/Model/BinLookup/ThreeDSAvailabilityResponse.php +++ b/src/Adyen/Model/BinLookup/ThreeDSAvailabilityResponse.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('binDetails', $data ?? [], null); $this->setIfExists('dsPublicKeys', $data ?? [], null); diff --git a/src/Adyen/Model/Capital/Amount.php b/src/Adyen/Model/Capital/Amount.php index ecb17c779..92a0a14d2 100644 --- a/src/Adyen/Model/Capital/Amount.php +++ b/src/Adyen/Model/Capital/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/Capital/CapitalBalance.php b/src/Adyen/Model/Capital/CapitalBalance.php index 8a7e8997b..9e5e5a3ad 100644 --- a/src/Adyen/Model/Capital/CapitalBalance.php +++ b/src/Adyen/Model/Capital/CapitalBalance.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('fee', $data ?? [], null); diff --git a/src/Adyen/Model/Capital/CapitalGrant.php b/src/Adyen/Model/Capital/CapitalGrant.php index 57855ce63..ee43b5260 100644 --- a/src/Adyen/Model/Capital/CapitalGrant.php +++ b/src/Adyen/Model/Capital/CapitalGrant.php @@ -293,7 +293,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('balances', $data ?? [], null); diff --git a/src/Adyen/Model/Capital/CapitalGrantInfo.php b/src/Adyen/Model/Capital/CapitalGrantInfo.php index a4dd4041d..938a6dc19 100644 --- a/src/Adyen/Model/Capital/CapitalGrantInfo.php +++ b/src/Adyen/Model/Capital/CapitalGrantInfo.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('counterparty', $data ?? [], null); $this->setIfExists('grantAccountId', $data ?? [], null); diff --git a/src/Adyen/Model/Capital/CapitalGrants.php b/src/Adyen/Model/Capital/CapitalGrants.php index eab814cab..e31989083 100644 --- a/src/Adyen/Model/Capital/CapitalGrants.php +++ b/src/Adyen/Model/Capital/CapitalGrants.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('grants', $data ?? [], null); } diff --git a/src/Adyen/Model/Capital/Counterparty.php b/src/Adyen/Model/Capital/Counterparty.php index 21973d43f..2277769c2 100644 --- a/src/Adyen/Model/Capital/Counterparty.php +++ b/src/Adyen/Model/Capital/Counterparty.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolderId', $data ?? [], null); $this->setIfExists('balanceAccountId', $data ?? [], null); diff --git a/src/Adyen/Model/Capital/Fee.php b/src/Adyen/Model/Capital/Fee.php index f0b380d19..50faf7d08 100644 --- a/src/Adyen/Model/Capital/Fee.php +++ b/src/Adyen/Model/Capital/Fee.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); } diff --git a/src/Adyen/Model/Capital/InvalidField.php b/src/Adyen/Model/Capital/InvalidField.php index 3383c8eb7..59b37aa44 100644 --- a/src/Adyen/Model/Capital/InvalidField.php +++ b/src/Adyen/Model/Capital/InvalidField.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('message', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Adyen/Model/Capital/JSONObject.php b/src/Adyen/Model/Capital/JSONObject.php index 58af36306..5b9c87c72 100644 --- a/src/Adyen/Model/Capital/JSONObject.php +++ b/src/Adyen/Model/Capital/JSONObject.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paths', $data ?? [], null); $this->setIfExists('rootPath', $data ?? [], null); diff --git a/src/Adyen/Model/Capital/JSONPath.php b/src/Adyen/Model/Capital/JSONPath.php index 9f9024822..1403495fd 100644 --- a/src/Adyen/Model/Capital/JSONPath.php +++ b/src/Adyen/Model/Capital/JSONPath.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('content', $data ?? [], null); } diff --git a/src/Adyen/Model/Capital/Repayment.php b/src/Adyen/Model/Capital/Repayment.php index 873ea9d20..3bb646746 100644 --- a/src/Adyen/Model/Capital/Repayment.php +++ b/src/Adyen/Model/Capital/Repayment.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('basisPoints', $data ?? [], null); $this->setIfExists('term', $data ?? [], null); diff --git a/src/Adyen/Model/Capital/RepaymentTerm.php b/src/Adyen/Model/Capital/RepaymentTerm.php index 30f7f3f08..822d51ad6 100644 --- a/src/Adyen/Model/Capital/RepaymentTerm.php +++ b/src/Adyen/Model/Capital/RepaymentTerm.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('estimatedDays', $data ?? [], null); $this->setIfExists('maximumDays', $data ?? [], null); diff --git a/src/Adyen/Model/Capital/RestServiceError.php b/src/Adyen/Model/Capital/RestServiceError.php index 94267a65a..aa0825425 100644 --- a/src/Adyen/Model/Capital/RestServiceError.php +++ b/src/Adyen/Model/Capital/RestServiceError.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('detail', $data ?? [], null); $this->setIfExists('errorCode', $data ?? [], null); diff --git a/src/Adyen/Model/Capital/ThresholdRepayment.php b/src/Adyen/Model/Capital/ThresholdRepayment.php index b654fcb84..92f6fcd2c 100644 --- a/src/Adyen/Model/Capital/ThresholdRepayment.php +++ b/src/Adyen/Model/Capital/ThresholdRepayment.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); } diff --git a/src/Adyen/Model/Checkout/AccountInfo.php b/src/Adyen/Model/Checkout/AccountInfo.php index dba29353a..9e7d78a7a 100644 --- a/src/Adyen/Model/Checkout/AccountInfo.php +++ b/src/Adyen/Model/Checkout/AccountInfo.php @@ -449,7 +449,7 @@ public function getPaymentAccountIndicatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountAgeIndicator', $data ?? [], null); $this->setIfExists('accountChangeDate', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AcctInfo.php b/src/Adyen/Model/Checkout/AcctInfo.php index 46e111fed..e5ba27f1f 100644 --- a/src/Adyen/Model/Checkout/AcctInfo.php +++ b/src/Adyen/Model/Checkout/AcctInfo.php @@ -443,7 +443,7 @@ public function getSuspiciousAccActivityAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('chAccAgeInd', $data ?? [], null); $this->setIfExists('chAccChange', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AchDetails.php b/src/Adyen/Model/Checkout/AchDetails.php index 1198baff4..50d059b9b 100644 --- a/src/Adyen/Model/Checkout/AchDetails.php +++ b/src/Adyen/Model/Checkout/AchDetails.php @@ -327,7 +327,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('bankAccountNumber', $data ?? [], null); $this->setIfExists('bankAccountType', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AdditionalData3DSecure.php b/src/Adyen/Model/Checkout/AdditionalData3DSecure.php index 7940bd117..55da17acf 100644 --- a/src/Adyen/Model/Checkout/AdditionalData3DSecure.php +++ b/src/Adyen/Model/Checkout/AdditionalData3DSecure.php @@ -279,7 +279,7 @@ public function getChallengeWindowSizeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allow3DS2', $data ?? [], null); $this->setIfExists('challengeWindowSize', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AdditionalDataAirline.php b/src/Adyen/Model/Checkout/AdditionalDataAirline.php index 43a7425df..0972a3a50 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataAirline.php +++ b/src/Adyen/Model/Checkout/AdditionalDataAirline.php @@ -397,7 +397,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('airlineAgencyInvoiceNumber', $data ?? [], null); $this->setIfExists('airlineAgencyPlanName', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AdditionalDataCarRental.php b/src/Adyen/Model/Checkout/AdditionalDataCarRental.php index 4419079ef..2184aa6e4 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataCarRental.php +++ b/src/Adyen/Model/Checkout/AdditionalDataCarRental.php @@ -361,7 +361,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('carRentalCheckOutDate', $data ?? [], null); $this->setIfExists('carRentalCustomerServiceTollFreeNumber', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AdditionalDataCommon.php b/src/Adyen/Model/Checkout/AdditionalDataCommon.php index f635b9518..2b769504a 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataCommon.php +++ b/src/Adyen/Model/Checkout/AdditionalDataCommon.php @@ -345,7 +345,7 @@ public function getIndustryUsageAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('requestedTestErrorResponseCode', $data ?? [], null); $this->setIfExists('allowPartialAuth', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AdditionalDataLevel23.php b/src/Adyen/Model/Checkout/AdditionalDataLevel23.php index 643830b6c..72a2fa979 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataLevel23.php +++ b/src/Adyen/Model/Checkout/AdditionalDataLevel23.php @@ -325,7 +325,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('enhancedSchemeDataCustomerReference', $data ?? [], null); $this->setIfExists('enhancedSchemeDataDestinationCountryCode', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AdditionalDataLodging.php b/src/Adyen/Model/Checkout/AdditionalDataLodging.php index f78af364e..4997cc6b4 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataLodging.php +++ b/src/Adyen/Model/Checkout/AdditionalDataLodging.php @@ -325,7 +325,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('lodgingSpecialProgramCode', $data ?? [], null); $this->setIfExists('lodgingCheckInDate', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php b/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php index 4c06aa658..d06d36484 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php +++ b/src/Adyen/Model/Checkout/AdditionalDataOpenInvoice.php @@ -331,7 +331,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('openinvoicedataMerchantData', $data ?? [], null); $this->setIfExists('openinvoicedataNumberOfLines', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AdditionalDataOpi.php b/src/Adyen/Model/Checkout/AdditionalDataOpi.php index 4f1f29f0d..4a2cc23fa 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataOpi.php +++ b/src/Adyen/Model/Checkout/AdditionalDataOpi.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('opiIncludeTransToken', $data ?? [], null); } diff --git a/src/Adyen/Model/Checkout/AdditionalDataRatepay.php b/src/Adyen/Model/Checkout/AdditionalDataRatepay.php index 4683c764f..ac7cd2ae1 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRatepay.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRatepay.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('ratepayInstallmentAmount', $data ?? [], null); $this->setIfExists('ratepayInterestRate', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AdditionalDataRetry.php b/src/Adyen/Model/Checkout/AdditionalDataRetry.php index 361625760..46232c607 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRetry.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRetry.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('retryChainAttemptNumber', $data ?? [], null); $this->setIfExists('retryOrderAttemptNumber', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AdditionalDataRisk.php b/src/Adyen/Model/Checkout/AdditionalDataRisk.php index e42dbd01f..115a008a8 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRisk.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRisk.php @@ -349,7 +349,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('riskdataCustomFieldName', $data ?? [], null); $this->setIfExists('riskdataBasketItemItemNrAmountPerItem', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php b/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php index ed044de51..3507b7ead 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php +++ b/src/Adyen/Model/Checkout/AdditionalDataRiskStandalone.php @@ -313,7 +313,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('payPalCountryCode', $data ?? [], null); $this->setIfExists('payPalEmailId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php b/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php index 0d49ba84a..c4c129a3e 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php +++ b/src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php @@ -283,7 +283,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('subMerchantNumberOfSubSellers', $data ?? [], null); $this->setIfExists('subMerchantSubSellerSubSellerNrCity', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php b/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php index ed4120672..e471de62b 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php +++ b/src/Adyen/Model/Checkout/AdditionalDataTemporaryServices.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('enhancedSchemeDataCustomerReference', $data ?? [], null); $this->setIfExists('enhancedSchemeDataEmployeeName', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AdditionalDataWallets.php b/src/Adyen/Model/Checkout/AdditionalDataWallets.php index 0e794d042..465963db6 100644 --- a/src/Adyen/Model/Checkout/AdditionalDataWallets.php +++ b/src/Adyen/Model/Checkout/AdditionalDataWallets.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('androidpayToken', $data ?? [], null); $this->setIfExists('masterpassTransactionId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/Address.php b/src/Adyen/Model/Checkout/Address.php index f32741bc3..153cb4066 100644 --- a/src/Adyen/Model/Checkout/Address.php +++ b/src/Adyen/Model/Checkout/Address.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AffirmDetails.php b/src/Adyen/Model/Checkout/AffirmDetails.php index e21bb8aef..23ecadde8 100644 --- a/src/Adyen/Model/Checkout/AffirmDetails.php +++ b/src/Adyen/Model/Checkout/AffirmDetails.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AfterpayDetails.php b/src/Adyen/Model/Checkout/AfterpayDetails.php index 119155186..ac955fb81 100644 --- a/src/Adyen/Model/Checkout/AfterpayDetails.php +++ b/src/Adyen/Model/Checkout/AfterpayDetails.php @@ -283,7 +283,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('billingAddress', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AmazonPayDetails.php b/src/Adyen/Model/Checkout/AmazonPayDetails.php index 764eadc30..13fb29fdb 100644 --- a/src/Adyen/Model/Checkout/AmazonPayDetails.php +++ b/src/Adyen/Model/Checkout/AmazonPayDetails.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amazonPayToken', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/Amount.php b/src/Adyen/Model/Checkout/Amount.php index 4a9a247ed..2752c48f2 100644 --- a/src/Adyen/Model/Checkout/Amount.php +++ b/src/Adyen/Model/Checkout/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/Amounts.php b/src/Adyen/Model/Checkout/Amounts.php index 6dfa1f058..255ae6653 100644 --- a/src/Adyen/Model/Checkout/Amounts.php +++ b/src/Adyen/Model/Checkout/Amounts.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('values', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AncvDetails.php b/src/Adyen/Model/Checkout/AncvDetails.php index d8a2a6478..0505b76ff 100644 --- a/src/Adyen/Model/Checkout/AncvDetails.php +++ b/src/Adyen/Model/Checkout/AncvDetails.php @@ -265,7 +265,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('beneficiaryId', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AndroidPayDetails.php b/src/Adyen/Model/Checkout/AndroidPayDetails.php index 773132a1a..203351b44 100644 --- a/src/Adyen/Model/Checkout/AndroidPayDetails.php +++ b/src/Adyen/Model/Checkout/AndroidPayDetails.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ApplePayDetails.php b/src/Adyen/Model/Checkout/ApplePayDetails.php index 76f44ef2d..3066cb187 100644 --- a/src/Adyen/Model/Checkout/ApplePayDetails.php +++ b/src/Adyen/Model/Checkout/ApplePayDetails.php @@ -285,7 +285,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('applePayToken', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ApplePayDonations.php b/src/Adyen/Model/Checkout/ApplePayDonations.php index 4025a0f01..b766f4756 100644 --- a/src/Adyen/Model/Checkout/ApplePayDonations.php +++ b/src/Adyen/Model/Checkout/ApplePayDonations.php @@ -285,7 +285,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('applePayToken', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ApplePaySessionRequest.php b/src/Adyen/Model/Checkout/ApplePaySessionRequest.php index fe89b18fe..859455624 100644 --- a/src/Adyen/Model/Checkout/ApplePaySessionRequest.php +++ b/src/Adyen/Model/Checkout/ApplePaySessionRequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('displayName', $data ?? [], null); $this->setIfExists('domainName', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ApplePaySessionResponse.php b/src/Adyen/Model/Checkout/ApplePaySessionResponse.php index 0b6651fee..bb33c0922 100644 --- a/src/Adyen/Model/Checkout/ApplePaySessionResponse.php +++ b/src/Adyen/Model/Checkout/ApplePaySessionResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); } diff --git a/src/Adyen/Model/Checkout/ApplicationInfo.php b/src/Adyen/Model/Checkout/ApplicationInfo.php index f674f8d42..993a2e2fb 100644 --- a/src/Adyen/Model/Checkout/ApplicationInfo.php +++ b/src/Adyen/Model/Checkout/ApplicationInfo.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('adyenLibrary', $data ?? [], null); $this->setIfExists('adyenPaymentSource', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/AuthenticationData.php b/src/Adyen/Model/Checkout/AuthenticationData.php index 87fe45595..d98c44586 100644 --- a/src/Adyen/Model/Checkout/AuthenticationData.php +++ b/src/Adyen/Model/Checkout/AuthenticationData.php @@ -255,7 +255,7 @@ public function getAttemptAuthenticationAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('attemptAuthentication', $data ?? [], null); $this->setIfExists('authenticationOnly', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php b/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php index 3c2a3db0d..5caca7db5 100644 --- a/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php +++ b/src/Adyen/Model/Checkout/BacsDirectDebitDetails.php @@ -283,7 +283,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('bankAccountNumber', $data ?? [], null); $this->setIfExists('bankLocationId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/BalanceCheckRequest.php b/src/Adyen/Model/Checkout/BalanceCheckRequest.php index 533b4a852..8d1799bcd 100644 --- a/src/Adyen/Model/Checkout/BalanceCheckRequest.php +++ b/src/Adyen/Model/Checkout/BalanceCheckRequest.php @@ -521,7 +521,7 @@ public function getShopperInteractionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountInfo', $data ?? [], null); $this->setIfExists('additionalAmount', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/BalanceCheckResponse.php b/src/Adyen/Model/Checkout/BalanceCheckResponse.php index b9eb68945..33b3dd658 100644 --- a/src/Adyen/Model/Checkout/BalanceCheckResponse.php +++ b/src/Adyen/Model/Checkout/BalanceCheckResponse.php @@ -281,7 +281,7 @@ public function getResultCodeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('balance', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/BillDeskDetails.php b/src/Adyen/Model/Checkout/BillDeskDetails.php index ee9edab40..0eac5bae8 100644 --- a/src/Adyen/Model/Checkout/BillDeskDetails.php +++ b/src/Adyen/Model/Checkout/BillDeskDetails.php @@ -255,7 +255,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('issuer', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/BillingAddress.php b/src/Adyen/Model/Checkout/BillingAddress.php index 69e0619cf..bdc318324 100644 --- a/src/Adyen/Model/Checkout/BillingAddress.php +++ b/src/Adyen/Model/Checkout/BillingAddress.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/BlikDetails.php b/src/Adyen/Model/Checkout/BlikDetails.php index 646902b03..280aed088 100644 --- a/src/Adyen/Model/Checkout/BlikDetails.php +++ b/src/Adyen/Model/Checkout/BlikDetails.php @@ -265,7 +265,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('blikCode', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/BrowserInfo.php b/src/Adyen/Model/Checkout/BrowserInfo.php index 4a9120067..8846f214c 100644 --- a/src/Adyen/Model/Checkout/BrowserInfo.php +++ b/src/Adyen/Model/Checkout/BrowserInfo.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acceptHeader', $data ?? [], null); $this->setIfExists('colorDepth', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CancelOrderRequest.php b/src/Adyen/Model/Checkout/CancelOrderRequest.php index 100e0e4c8..7d876e9cb 100644 --- a/src/Adyen/Model/Checkout/CancelOrderRequest.php +++ b/src/Adyen/Model/Checkout/CancelOrderRequest.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('order', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CancelOrderResponse.php b/src/Adyen/Model/Checkout/CancelOrderResponse.php index c480d4a82..44faac25b 100644 --- a/src/Adyen/Model/Checkout/CancelOrderResponse.php +++ b/src/Adyen/Model/Checkout/CancelOrderResponse.php @@ -247,7 +247,7 @@ public function getResultCodeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('pspReference', $data ?? [], null); $this->setIfExists('resultCode', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CardBrandDetails.php b/src/Adyen/Model/Checkout/CardBrandDetails.php index fb770ed56..8db9ff06c 100644 --- a/src/Adyen/Model/Checkout/CardBrandDetails.php +++ b/src/Adyen/Model/Checkout/CardBrandDetails.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('supported', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CardDetails.php b/src/Adyen/Model/Checkout/CardDetails.php index 35bd3eeff..341b8eb75 100644 --- a/src/Adyen/Model/Checkout/CardDetails.php +++ b/src/Adyen/Model/Checkout/CardDetails.php @@ -409,7 +409,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('brand', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CardDetailsRequest.php b/src/Adyen/Model/Checkout/CardDetailsRequest.php index 862cc4421..6a7397d34 100644 --- a/src/Adyen/Model/Checkout/CardDetailsRequest.php +++ b/src/Adyen/Model/Checkout/CardDetailsRequest.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cardNumber', $data ?? [], null); $this->setIfExists('countryCode', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CardDetailsResponse.php b/src/Adyen/Model/Checkout/CardDetailsResponse.php index 8b1fb1265..7bc41ade7 100644 --- a/src/Adyen/Model/Checkout/CardDetailsResponse.php +++ b/src/Adyen/Model/Checkout/CardDetailsResponse.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('brands', $data ?? [], null); $this->setIfExists('fundingSource', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CardDonations.php b/src/Adyen/Model/Checkout/CardDonations.php index 44d29d7b4..d546d1cdc 100644 --- a/src/Adyen/Model/Checkout/CardDonations.php +++ b/src/Adyen/Model/Checkout/CardDonations.php @@ -409,7 +409,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('brand', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CashAppDetails.php b/src/Adyen/Model/Checkout/CashAppDetails.php index e9962599a..3ed8e9544 100644 --- a/src/Adyen/Model/Checkout/CashAppDetails.php +++ b/src/Adyen/Model/Checkout/CashAppDetails.php @@ -295,7 +295,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cashtag', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CellulantDetails.php b/src/Adyen/Model/Checkout/CellulantDetails.php index 423dff865..c42bd6817 100644 --- a/src/Adyen/Model/Checkout/CellulantDetails.php +++ b/src/Adyen/Model/Checkout/CellulantDetails.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('issuer', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CheckoutAwaitAction.php b/src/Adyen/Model/Checkout/CheckoutAwaitAction.php index a892d7d50..5d9551023 100644 --- a/src/Adyen/Model/Checkout/CheckoutAwaitAction.php +++ b/src/Adyen/Model/Checkout/CheckoutAwaitAction.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paymentData', $data ?? [], null); $this->setIfExists('paymentMethodType', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CheckoutBankAccount.php b/src/Adyen/Model/Checkout/CheckoutBankAccount.php index 13b415fcf..b02527a0b 100644 --- a/src/Adyen/Model/Checkout/CheckoutBankAccount.php +++ b/src/Adyen/Model/Checkout/CheckoutBankAccount.php @@ -307,7 +307,7 @@ public function getAccountTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountType', $data ?? [], null); $this->setIfExists('bankAccountNumber', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CheckoutBankTransferAction.php b/src/Adyen/Model/Checkout/CheckoutBankTransferAction.php index 48a255b9a..383f9f773 100644 --- a/src/Adyen/Model/Checkout/CheckoutBankTransferAction.php +++ b/src/Adyen/Model/Checkout/CheckoutBankTransferAction.php @@ -313,7 +313,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('beneficiary', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php b/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php index 37600f842..aad241a8e 100644 --- a/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php +++ b/src/Adyen/Model/Checkout/CheckoutDelegatedAuthenticationAction.php @@ -271,7 +271,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authorisationToken', $data ?? [], null); $this->setIfExists('paymentData', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php b/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php index a7c65bf55..6935d4c89 100644 --- a/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php +++ b/src/Adyen/Model/Checkout/CheckoutNativeRedirectAction.php @@ -271,7 +271,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); $this->setIfExists('method', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CheckoutOrderResponse.php b/src/Adyen/Model/Checkout/CheckoutOrderResponse.php index d8e38d3eb..c0582f3b6 100644 --- a/src/Adyen/Model/Checkout/CheckoutOrderResponse.php +++ b/src/Adyen/Model/Checkout/CheckoutOrderResponse.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('expiresAt', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php b/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php index 83ed0d276..0ff42ee02 100644 --- a/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php +++ b/src/Adyen/Model/Checkout/CheckoutPaymentMethod.php @@ -667,7 +667,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('bankAccountNumber', $data ?? [], null); $this->setIfExists('bankAccountType', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php b/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php index fde65b36b..1a33e1fd6 100644 --- a/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php +++ b/src/Adyen/Model/Checkout/CheckoutQrCodeAction.php @@ -271,7 +271,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('expiresAt', $data ?? [], null); $this->setIfExists('paymentData', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CheckoutRedirectAction.php b/src/Adyen/Model/Checkout/CheckoutRedirectAction.php index 5adb34a99..7ca424162 100644 --- a/src/Adyen/Model/Checkout/CheckoutRedirectAction.php +++ b/src/Adyen/Model/Checkout/CheckoutRedirectAction.php @@ -265,7 +265,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); $this->setIfExists('method', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CheckoutSDKAction.php b/src/Adyen/Model/Checkout/CheckoutSDKAction.php index 0a6fbbbab..e57f78156 100644 --- a/src/Adyen/Model/Checkout/CheckoutSDKAction.php +++ b/src/Adyen/Model/Checkout/CheckoutSDKAction.php @@ -267,7 +267,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paymentData', $data ?? [], null); $this->setIfExists('paymentMethodType', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php b/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php index b276410df..2e7ce09e2 100644 --- a/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php +++ b/src/Adyen/Model/Checkout/CheckoutSessionInstallmentOption.php @@ -269,7 +269,7 @@ public function getPlansAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('plans', $data ?? [], null); $this->setIfExists('preselectedValue', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CheckoutSessionThreeDS2RequestData.php b/src/Adyen/Model/Checkout/CheckoutSessionThreeDS2RequestData.php index 91f733ec8..544b577ae 100644 --- a/src/Adyen/Model/Checkout/CheckoutSessionThreeDS2RequestData.php +++ b/src/Adyen/Model/Checkout/CheckoutSessionThreeDS2RequestData.php @@ -269,7 +269,7 @@ public function getThreeDSRequestorChallengeIndAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('homePhone', $data ?? [], null); $this->setIfExists('mobilePhone', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php b/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php index 69ecbb6fc..38d4b0363 100644 --- a/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php +++ b/src/Adyen/Model/Checkout/CheckoutThreeDS2Action.php @@ -277,7 +277,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authorisationToken', $data ?? [], null); $this->setIfExists('paymentData', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CheckoutVoucherAction.php b/src/Adyen/Model/Checkout/CheckoutVoucherAction.php index acb33bb36..ace386f71 100644 --- a/src/Adyen/Model/Checkout/CheckoutVoucherAction.php +++ b/src/Adyen/Model/Checkout/CheckoutVoucherAction.php @@ -361,7 +361,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('alternativeReference', $data ?? [], null); $this->setIfExists('collectionInstitutionNumber', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CommonField.php b/src/Adyen/Model/Checkout/CommonField.php index 0e513da0f..57fc0b386 100644 --- a/src/Adyen/Model/Checkout/CommonField.php +++ b/src/Adyen/Model/Checkout/CommonField.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('name', $data ?? [], null); $this->setIfExists('version', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/Company.php b/src/Adyen/Model/Checkout/Company.php index c3340da80..28e377692 100644 --- a/src/Adyen/Model/Checkout/Company.php +++ b/src/Adyen/Model/Checkout/Company.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('homepage', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php b/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php index ee2540b43..28e3205b4 100644 --- a/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php +++ b/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php @@ -685,7 +685,7 @@ public function getStorePaymentMethodModeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountInfo', $data ?? [], null); $this->setIfExists('additionalAmount', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php b/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php index f657c412e..b9a293fee 100644 --- a/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php +++ b/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php @@ -703,7 +703,7 @@ public function getStorePaymentMethodModeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountInfo', $data ?? [], null); $this->setIfExists('additionalAmount', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CreateOrderRequest.php b/src/Adyen/Model/Checkout/CreateOrderRequest.php index 8831ea19b..abef0241a 100644 --- a/src/Adyen/Model/Checkout/CreateOrderRequest.php +++ b/src/Adyen/Model/Checkout/CreateOrderRequest.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('expiresAt', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/CreateOrderResponse.php b/src/Adyen/Model/Checkout/CreateOrderResponse.php index 8ac31e536..9601a1166 100644 --- a/src/Adyen/Model/Checkout/CreateOrderResponse.php +++ b/src/Adyen/Model/Checkout/CreateOrderResponse.php @@ -295,7 +295,7 @@ public function getResultCodeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/DeliveryAddress.php b/src/Adyen/Model/Checkout/DeliveryAddress.php index 8262d85ec..c2843b9ad 100644 --- a/src/Adyen/Model/Checkout/DeliveryAddress.php +++ b/src/Adyen/Model/Checkout/DeliveryAddress.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/DeliveryMethod.php b/src/Adyen/Model/Checkout/DeliveryMethod.php index b1dc1d128..70ca591a2 100644 --- a/src/Adyen/Model/Checkout/DeliveryMethod.php +++ b/src/Adyen/Model/Checkout/DeliveryMethod.php @@ -265,7 +265,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('description', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php b/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php index 7d4abb1cc..713a737ff 100644 --- a/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php +++ b/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authenticationOnly', $data ?? [], null); } diff --git a/src/Adyen/Model/Checkout/DeviceRenderOptions.php b/src/Adyen/Model/Checkout/DeviceRenderOptions.php index 043286851..8424141a9 100644 --- a/src/Adyen/Model/Checkout/DeviceRenderOptions.php +++ b/src/Adyen/Model/Checkout/DeviceRenderOptions.php @@ -271,7 +271,7 @@ public function getSdkUiTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sdkInterface', $data ?? [], null); $this->setIfExists('sdkUiType', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/DokuDetails.php b/src/Adyen/Model/Checkout/DokuDetails.php index 14be9f8f2..99edd80f0 100644 --- a/src/Adyen/Model/Checkout/DokuDetails.php +++ b/src/Adyen/Model/Checkout/DokuDetails.php @@ -285,7 +285,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('firstName', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/Donation.php b/src/Adyen/Model/Checkout/Donation.php index 7c3119a93..9f9d2d3b2 100644 --- a/src/Adyen/Model/Checkout/Donation.php +++ b/src/Adyen/Model/Checkout/Donation.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('donationType', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/DonationCampaign.php b/src/Adyen/Model/Checkout/DonationCampaign.php index d76733ef5..819b4c93b 100644 --- a/src/Adyen/Model/Checkout/DonationCampaign.php +++ b/src/Adyen/Model/Checkout/DonationCampaign.php @@ -289,7 +289,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amounts', $data ?? [], null); $this->setIfExists('bannerUrl', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/DonationCampaignsRequest.php b/src/Adyen/Model/Checkout/DonationCampaignsRequest.php index e8a189b2b..a957f8092 100644 --- a/src/Adyen/Model/Checkout/DonationCampaignsRequest.php +++ b/src/Adyen/Model/Checkout/DonationCampaignsRequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('locale', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/DonationCampaignsResponse.php b/src/Adyen/Model/Checkout/DonationCampaignsResponse.php index 307fd2ed8..cc1d7e681 100644 --- a/src/Adyen/Model/Checkout/DonationCampaignsResponse.php +++ b/src/Adyen/Model/Checkout/DonationCampaignsResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('donationCampaigns', $data ?? [], null); } diff --git a/src/Adyen/Model/Checkout/DonationPaymentMethod.php b/src/Adyen/Model/Checkout/DonationPaymentMethod.php index 9347e8388..8b2c0a000 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentMethod.php +++ b/src/Adyen/Model/Checkout/DonationPaymentMethod.php @@ -397,7 +397,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('applePayToken', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/DonationPaymentRequest.php b/src/Adyen/Model/Checkout/DonationPaymentRequest.php index 14084f42f..54114fa33 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentRequest.php +++ b/src/Adyen/Model/Checkout/DonationPaymentRequest.php @@ -525,7 +525,7 @@ public function getShopperInteractionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountInfo', $data ?? [], null); $this->setIfExists('additionalData', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/DonationPaymentResponse.php b/src/Adyen/Model/Checkout/DonationPaymentResponse.php index 830506b8d..abbb310e3 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentResponse.php +++ b/src/Adyen/Model/Checkout/DonationPaymentResponse.php @@ -281,7 +281,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('donationAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/DotpayDetails.php b/src/Adyen/Model/Checkout/DotpayDetails.php index 5f07f4097..2b36a5d7b 100644 --- a/src/Adyen/Model/Checkout/DotpayDetails.php +++ b/src/Adyen/Model/Checkout/DotpayDetails.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('issuer', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/DragonpayDetails.php b/src/Adyen/Model/Checkout/DragonpayDetails.php index 6585b7fbc..77d5e8afe 100644 --- a/src/Adyen/Model/Checkout/DragonpayDetails.php +++ b/src/Adyen/Model/Checkout/DragonpayDetails.php @@ -265,7 +265,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('issuer', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/EBankingFinlandDetails.php b/src/Adyen/Model/Checkout/EBankingFinlandDetails.php index 10b70226b..09f4a6a9d 100644 --- a/src/Adyen/Model/Checkout/EBankingFinlandDetails.php +++ b/src/Adyen/Model/Checkout/EBankingFinlandDetails.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('issuer', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/EcontextVoucherDetails.php b/src/Adyen/Model/Checkout/EcontextVoucherDetails.php index 77c2e8869..12780dc72 100644 --- a/src/Adyen/Model/Checkout/EcontextVoucherDetails.php +++ b/src/Adyen/Model/Checkout/EcontextVoucherDetails.php @@ -279,7 +279,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('firstName', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/EftDetails.php b/src/Adyen/Model/Checkout/EftDetails.php index 142cc7d5f..cb98cf7f8 100644 --- a/src/Adyen/Model/Checkout/EftDetails.php +++ b/src/Adyen/Model/Checkout/EftDetails.php @@ -283,7 +283,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('bankAccountNumber', $data ?? [], null); $this->setIfExists('bankCode', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/EncryptedOrderData.php b/src/Adyen/Model/Checkout/EncryptedOrderData.php index f1f085322..cabb99b38 100644 --- a/src/Adyen/Model/Checkout/EncryptedOrderData.php +++ b/src/Adyen/Model/Checkout/EncryptedOrderData.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('orderData', $data ?? [], null); $this->setIfExists('pspReference', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ExternalPlatform.php b/src/Adyen/Model/Checkout/ExternalPlatform.php index 4a38d38cf..d24f27234 100644 --- a/src/Adyen/Model/Checkout/ExternalPlatform.php +++ b/src/Adyen/Model/Checkout/ExternalPlatform.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('integrator', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/FastlaneDetails.php b/src/Adyen/Model/Checkout/FastlaneDetails.php index 95a3271db..f6ec51b54 100644 --- a/src/Adyen/Model/Checkout/FastlaneDetails.php +++ b/src/Adyen/Model/Checkout/FastlaneDetails.php @@ -265,7 +265,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('fastlaneData', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ForexQuote.php b/src/Adyen/Model/Checkout/ForexQuote.php index 0a1eea1d4..153b7e1d4 100644 --- a/src/Adyen/Model/Checkout/ForexQuote.php +++ b/src/Adyen/Model/Checkout/ForexQuote.php @@ -295,7 +295,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('account', $data ?? [], null); $this->setIfExists('accountType', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/FraudCheckResult.php b/src/Adyen/Model/Checkout/FraudCheckResult.php index 0c0808a92..6a6edac25 100644 --- a/src/Adyen/Model/Checkout/FraudCheckResult.php +++ b/src/Adyen/Model/Checkout/FraudCheckResult.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountScore', $data ?? [], null); $this->setIfExists('checkId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/FraudResult.php b/src/Adyen/Model/Checkout/FraudResult.php index b05166ad9..a8ffbaffd 100644 --- a/src/Adyen/Model/Checkout/FraudResult.php +++ b/src/Adyen/Model/Checkout/FraudResult.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountScore', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/FundOrigin.php b/src/Adyen/Model/Checkout/FundOrigin.php index c316af1d1..0a15bcec6 100644 --- a/src/Adyen/Model/Checkout/FundOrigin.php +++ b/src/Adyen/Model/Checkout/FundOrigin.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('billingAddress', $data ?? [], null); $this->setIfExists('shopperEmail', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/FundRecipient.php b/src/Adyen/Model/Checkout/FundRecipient.php index 981e65aee..a2640e885 100644 --- a/src/Adyen/Model/Checkout/FundRecipient.php +++ b/src/Adyen/Model/Checkout/FundRecipient.php @@ -315,7 +315,7 @@ public function getWalletPurposeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('iBAN', $data ?? [], null); $this->setIfExists('billingAddress', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php b/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php index 0dc8b9562..3e5968344 100644 --- a/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php +++ b/src/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.php @@ -271,7 +271,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('issuer', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/GiropayDetails.php b/src/Adyen/Model/Checkout/GiropayDetails.php index 7ede8d883..c2b740f2d 100644 --- a/src/Adyen/Model/Checkout/GiropayDetails.php +++ b/src/Adyen/Model/Checkout/GiropayDetails.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('recurringDetailReference', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/GooglePayDetails.php b/src/Adyen/Model/Checkout/GooglePayDetails.php index c2a8c5c7a..eb1672fbc 100644 --- a/src/Adyen/Model/Checkout/GooglePayDetails.php +++ b/src/Adyen/Model/Checkout/GooglePayDetails.php @@ -297,7 +297,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('fundingSource', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/GooglePayDonations.php b/src/Adyen/Model/Checkout/GooglePayDonations.php index dbe90f843..c36ab56c9 100644 --- a/src/Adyen/Model/Checkout/GooglePayDonations.php +++ b/src/Adyen/Model/Checkout/GooglePayDonations.php @@ -297,7 +297,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('fundingSource', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/IdealDetails.php b/src/Adyen/Model/Checkout/IdealDetails.php index 7b8353407..2ebe14559 100644 --- a/src/Adyen/Model/Checkout/IdealDetails.php +++ b/src/Adyen/Model/Checkout/IdealDetails.php @@ -265,7 +265,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('issuer', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/IdealDonations.php b/src/Adyen/Model/Checkout/IdealDonations.php index bb6293687..9fd40afd9 100644 --- a/src/Adyen/Model/Checkout/IdealDonations.php +++ b/src/Adyen/Model/Checkout/IdealDonations.php @@ -265,7 +265,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('issuer', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/InputDetail.php b/src/Adyen/Model/Checkout/InputDetail.php index c77747937..db2be937e 100644 --- a/src/Adyen/Model/Checkout/InputDetail.php +++ b/src/Adyen/Model/Checkout/InputDetail.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('configuration', $data ?? [], null); $this->setIfExists('details', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/InstallmentOption.php b/src/Adyen/Model/Checkout/InstallmentOption.php index 21887714b..03ac429d6 100644 --- a/src/Adyen/Model/Checkout/InstallmentOption.php +++ b/src/Adyen/Model/Checkout/InstallmentOption.php @@ -275,7 +275,7 @@ public function getPlansAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('maxValue', $data ?? [], null); $this->setIfExists('plans', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/Installments.php b/src/Adyen/Model/Checkout/Installments.php index a960d1090..4d1bc11dc 100644 --- a/src/Adyen/Model/Checkout/Installments.php +++ b/src/Adyen/Model/Checkout/Installments.php @@ -269,7 +269,7 @@ public function getPlanAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('extra', $data ?? [], null); $this->setIfExists('plan', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/Item.php b/src/Adyen/Model/Checkout/Item.php index 082fe539d..d5879c574 100644 --- a/src/Adyen/Model/Checkout/Item.php +++ b/src/Adyen/Model/Checkout/Item.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/KlarnaDetails.php b/src/Adyen/Model/Checkout/KlarnaDetails.php index c62c6cf25..d4e2b5cc9 100644 --- a/src/Adyen/Model/Checkout/KlarnaDetails.php +++ b/src/Adyen/Model/Checkout/KlarnaDetails.php @@ -295,7 +295,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('billingAddress', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/LineItem.php b/src/Adyen/Model/Checkout/LineItem.php index 8a5079c86..3a4393854 100644 --- a/src/Adyen/Model/Checkout/LineItem.php +++ b/src/Adyen/Model/Checkout/LineItem.php @@ -331,7 +331,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amountExcludingTax', $data ?? [], null); $this->setIfExists('amountIncludingTax', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php b/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php index ae3584686..48f33f285 100644 --- a/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php +++ b/src/Adyen/Model/Checkout/ListStoredPaymentMethodsResponse.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('shopperReference', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/Mandate.php b/src/Adyen/Model/Checkout/Mandate.php index a775ce98a..3403a43ef 100644 --- a/src/Adyen/Model/Checkout/Mandate.php +++ b/src/Adyen/Model/Checkout/Mandate.php @@ -333,7 +333,7 @@ public function getFrequencyAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('amountRule', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/MasterpassDetails.php b/src/Adyen/Model/Checkout/MasterpassDetails.php index fe6c5e8c5..64a667e9b 100644 --- a/src/Adyen/Model/Checkout/MasterpassDetails.php +++ b/src/Adyen/Model/Checkout/MasterpassDetails.php @@ -273,7 +273,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('fundingSource', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/MbwayDetails.php b/src/Adyen/Model/Checkout/MbwayDetails.php index dc73d3c30..b9105024e 100644 --- a/src/Adyen/Model/Checkout/MbwayDetails.php +++ b/src/Adyen/Model/Checkout/MbwayDetails.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('shopperEmail', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/MerchantDevice.php b/src/Adyen/Model/Checkout/MerchantDevice.php index 3aa8bd67f..7174d20d3 100644 --- a/src/Adyen/Model/Checkout/MerchantDevice.php +++ b/src/Adyen/Model/Checkout/MerchantDevice.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('os', $data ?? [], null); $this->setIfExists('osVersion', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/MerchantRiskIndicator.php b/src/Adyen/Model/Checkout/MerchantRiskIndicator.php index 87b3a733e..f4a5a4dc3 100644 --- a/src/Adyen/Model/Checkout/MerchantRiskIndicator.php +++ b/src/Adyen/Model/Checkout/MerchantRiskIndicator.php @@ -349,7 +349,7 @@ public function getDeliveryTimeframeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('addressMatch', $data ?? [], null); $this->setIfExists('deliveryAddressIndicator', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/MobilePayDetails.php b/src/Adyen/Model/Checkout/MobilePayDetails.php index e0b91103d..9aea0af91 100644 --- a/src/Adyen/Model/Checkout/MobilePayDetails.php +++ b/src/Adyen/Model/Checkout/MobilePayDetails.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/MolPayDetails.php b/src/Adyen/Model/Checkout/MolPayDetails.php index 8f09dccc7..e8ee7828f 100644 --- a/src/Adyen/Model/Checkout/MolPayDetails.php +++ b/src/Adyen/Model/Checkout/MolPayDetails.php @@ -255,7 +255,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('issuer', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/Name.php b/src/Adyen/Model/Checkout/Name.php index 5f0736d8e..d2fb93c9a 100644 --- a/src/Adyen/Model/Checkout/Name.php +++ b/src/Adyen/Model/Checkout/Name.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('firstName', $data ?? [], null); $this->setIfExists('lastName', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/OpenInvoiceDetails.php b/src/Adyen/Model/Checkout/OpenInvoiceDetails.php index f9d21291a..994546207 100644 --- a/src/Adyen/Model/Checkout/OpenInvoiceDetails.php +++ b/src/Adyen/Model/Checkout/OpenInvoiceDetails.php @@ -281,7 +281,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('billingAddress', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PayByBankAISDirectDebitDetails.php b/src/Adyen/Model/Checkout/PayByBankAISDirectDebitDetails.php index 1af7ddc98..4e4e2252b 100644 --- a/src/Adyen/Model/Checkout/PayByBankAISDirectDebitDetails.php +++ b/src/Adyen/Model/Checkout/PayByBankAISDirectDebitDetails.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('recurringDetailReference', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PayByBankDetails.php b/src/Adyen/Model/Checkout/PayByBankDetails.php index 1146a762f..549c17698 100644 --- a/src/Adyen/Model/Checkout/PayByBankDetails.php +++ b/src/Adyen/Model/Checkout/PayByBankDetails.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('issuer', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PayPalDetails.php b/src/Adyen/Model/Checkout/PayPalDetails.php index a4d86551c..ebf1655f0 100644 --- a/src/Adyen/Model/Checkout/PayPalDetails.php +++ b/src/Adyen/Model/Checkout/PayPalDetails.php @@ -305,7 +305,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('orderID', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PayPayDetails.php b/src/Adyen/Model/Checkout/PayPayDetails.php index bce1574c6..b3c11bb26 100644 --- a/src/Adyen/Model/Checkout/PayPayDetails.php +++ b/src/Adyen/Model/Checkout/PayPayDetails.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('recurringDetailReference', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PayToDetails.php b/src/Adyen/Model/Checkout/PayToDetails.php index 3dae30a82..9ebee4952 100644 --- a/src/Adyen/Model/Checkout/PayToDetails.php +++ b/src/Adyen/Model/Checkout/PayToDetails.php @@ -265,7 +265,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('recurringDetailReference', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PayUUpiDetails.php b/src/Adyen/Model/Checkout/PayUUpiDetails.php index da318a9e5..57ddf6f07 100644 --- a/src/Adyen/Model/Checkout/PayUUpiDetails.php +++ b/src/Adyen/Model/Checkout/PayUUpiDetails.php @@ -271,7 +271,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('recurringDetailReference', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PayWithGoogleDetails.php b/src/Adyen/Model/Checkout/PayWithGoogleDetails.php index e38ab1096..b5a67527a 100644 --- a/src/Adyen/Model/Checkout/PayWithGoogleDetails.php +++ b/src/Adyen/Model/Checkout/PayWithGoogleDetails.php @@ -291,7 +291,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('fundingSource', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PayWithGoogleDonations.php b/src/Adyen/Model/Checkout/PayWithGoogleDonations.php index b9a23ccb7..7025dbcd9 100644 --- a/src/Adyen/Model/Checkout/PayWithGoogleDonations.php +++ b/src/Adyen/Model/Checkout/PayWithGoogleDonations.php @@ -291,7 +291,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('fundingSource', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php b/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php index b1af34601..4ee993769 100644 --- a/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php +++ b/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php @@ -281,7 +281,7 @@ public function getIndustryUsageAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('applicationInfo', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php b/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php index 8f5e8beeb..fc1ebcbdd 100644 --- a/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php +++ b/src/Adyen/Model/Checkout/PaymentAmountUpdateResponse.php @@ -305,7 +305,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('industryUsage', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentCancelRequest.php b/src/Adyen/Model/Checkout/PaymentCancelRequest.php index 31341b9f7..1ac7c75ce 100644 --- a/src/Adyen/Model/Checkout/PaymentCancelRequest.php +++ b/src/Adyen/Model/Checkout/PaymentCancelRequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('applicationInfo', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentCancelResponse.php b/src/Adyen/Model/Checkout/PaymentCancelResponse.php index de662b8ba..f202d99af 100644 --- a/src/Adyen/Model/Checkout/PaymentCancelResponse.php +++ b/src/Adyen/Model/Checkout/PaymentCancelResponse.php @@ -265,7 +265,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('paymentPspReference', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentCaptureRequest.php b/src/Adyen/Model/Checkout/PaymentCaptureRequest.php index 5858dab1e..459ab3c1b 100644 --- a/src/Adyen/Model/Checkout/PaymentCaptureRequest.php +++ b/src/Adyen/Model/Checkout/PaymentCaptureRequest.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('applicationInfo', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentCaptureResponse.php b/src/Adyen/Model/Checkout/PaymentCaptureResponse.php index 8f095e73f..49af66875 100644 --- a/src/Adyen/Model/Checkout/PaymentCaptureResponse.php +++ b/src/Adyen/Model/Checkout/PaymentCaptureResponse.php @@ -295,7 +295,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('lineItems', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentCompletionDetails.php b/src/Adyen/Model/Checkout/PaymentCompletionDetails.php index 6a36abe3c..2e6cb7fe0 100644 --- a/src/Adyen/Model/Checkout/PaymentCompletionDetails.php +++ b/src/Adyen/Model/Checkout/PaymentCompletionDetails.php @@ -343,7 +343,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('mD', $data ?? [], null); $this->setIfExists('paReq', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentDetails.php b/src/Adyen/Model/Checkout/PaymentDetails.php index d0eb9e183..38da1fe24 100644 --- a/src/Adyen/Model/Checkout/PaymentDetails.php +++ b/src/Adyen/Model/Checkout/PaymentDetails.php @@ -421,7 +421,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentDetailsRequest.php b/src/Adyen/Model/Checkout/PaymentDetailsRequest.php index 350b4d3f5..88255780b 100644 --- a/src/Adyen/Model/Checkout/PaymentDetailsRequest.php +++ b/src/Adyen/Model/Checkout/PaymentDetailsRequest.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authenticationData', $data ?? [], null); $this->setIfExists('details', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentDetailsResponse.php b/src/Adyen/Model/Checkout/PaymentDetailsResponse.php index d7c5b02b2..7ddc9ae8a 100644 --- a/src/Adyen/Model/Checkout/PaymentDetailsResponse.php +++ b/src/Adyen/Model/Checkout/PaymentDetailsResponse.php @@ -351,7 +351,7 @@ public function getResultCodeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentLinkRequest.php b/src/Adyen/Model/Checkout/PaymentLinkRequest.php index 4c1a688e6..58ceaaebc 100644 --- a/src/Adyen/Model/Checkout/PaymentLinkRequest.php +++ b/src/Adyen/Model/Checkout/PaymentLinkRequest.php @@ -527,7 +527,7 @@ public function getStorePaymentMethodModeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allowedPaymentMethods', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentLinkResponse.php b/src/Adyen/Model/Checkout/PaymentLinkResponse.php index 0f7fcf1d0..763fc9313 100644 --- a/src/Adyen/Model/Checkout/PaymentLinkResponse.php +++ b/src/Adyen/Model/Checkout/PaymentLinkResponse.php @@ -571,7 +571,7 @@ public function getStorePaymentMethodModeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allowedPaymentMethods', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentMethod.php b/src/Adyen/Model/Checkout/PaymentMethod.php index b6513d549..0752ac777 100644 --- a/src/Adyen/Model/Checkout/PaymentMethod.php +++ b/src/Adyen/Model/Checkout/PaymentMethod.php @@ -297,7 +297,7 @@ public function getFundingSourceAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('apps', $data ?? [], null); $this->setIfExists('brand', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentMethodGroup.php b/src/Adyen/Model/Checkout/PaymentMethodGroup.php index 05b0d5120..6b2a853ca 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodGroup.php +++ b/src/Adyen/Model/Checkout/PaymentMethodGroup.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('name', $data ?? [], null); $this->setIfExists('paymentMethodData', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentMethodIssuer.php b/src/Adyen/Model/Checkout/PaymentMethodIssuer.php index 375a063a2..c83c8934a 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodIssuer.php +++ b/src/Adyen/Model/Checkout/PaymentMethodIssuer.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('disabled', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentMethodToStore.php b/src/Adyen/Model/Checkout/PaymentMethodToStore.php index 9585f865d..994493146 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodToStore.php +++ b/src/Adyen/Model/Checkout/PaymentMethodToStore.php @@ -289,7 +289,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('brand', $data ?? [], null); $this->setIfExists('cvc', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentMethodUPIApps.php b/src/Adyen/Model/Checkout/PaymentMethodUPIApps.php index 2ed96f418..b3eca7e03 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodUPIApps.php +++ b/src/Adyen/Model/Checkout/PaymentMethodUPIApps.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentMethodsRequest.php b/src/Adyen/Model/Checkout/PaymentMethodsRequest.php index bdd761522..025ba0782 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodsRequest.php +++ b/src/Adyen/Model/Checkout/PaymentMethodsRequest.php @@ -339,7 +339,7 @@ public function getStoreFiltrationModeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('allowedPaymentMethods', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentMethodsResponse.php b/src/Adyen/Model/Checkout/PaymentMethodsResponse.php index 4fec79974..4a5c4cc02 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodsResponse.php +++ b/src/Adyen/Model/Checkout/PaymentMethodsResponse.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paymentMethods', $data ?? [], null); $this->setIfExists('storedPaymentMethods', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentRefundRequest.php b/src/Adyen/Model/Checkout/PaymentRefundRequest.php index 3c595dde0..0b2c84049 100644 --- a/src/Adyen/Model/Checkout/PaymentRefundRequest.php +++ b/src/Adyen/Model/Checkout/PaymentRefundRequest.php @@ -291,7 +291,7 @@ public function getMerchantRefundReasonAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('applicationInfo', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentRefundResponse.php b/src/Adyen/Model/Checkout/PaymentRefundResponse.php index fb1b3d502..03f4936ed 100644 --- a/src/Adyen/Model/Checkout/PaymentRefundResponse.php +++ b/src/Adyen/Model/Checkout/PaymentRefundResponse.php @@ -321,7 +321,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('capturePspReference', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentRequest.php b/src/Adyen/Model/Checkout/PaymentRequest.php index a262c3ee6..be5bec980 100644 --- a/src/Adyen/Model/Checkout/PaymentRequest.php +++ b/src/Adyen/Model/Checkout/PaymentRequest.php @@ -723,7 +723,7 @@ public function getShopperInteractionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountInfo', $data ?? [], null); $this->setIfExists('additionalAmount', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentResponse.php b/src/Adyen/Model/Checkout/PaymentResponse.php index e6f7320dc..497a0e68f 100644 --- a/src/Adyen/Model/Checkout/PaymentResponse.php +++ b/src/Adyen/Model/Checkout/PaymentResponse.php @@ -351,7 +351,7 @@ public function getResultCodeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('action', $data ?? [], null); $this->setIfExists('additionalData', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentResponseAction.php b/src/Adyen/Model/Checkout/PaymentResponseAction.php index 9583f5d36..5ace12ae0 100644 --- a/src/Adyen/Model/Checkout/PaymentResponseAction.php +++ b/src/Adyen/Model/Checkout/PaymentResponseAction.php @@ -433,7 +433,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paymentData', $data ?? [], null); $this->setIfExists('paymentMethodType', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentReversalRequest.php b/src/Adyen/Model/Checkout/PaymentReversalRequest.php index b974a7ab0..cfd3cc704 100644 --- a/src/Adyen/Model/Checkout/PaymentReversalRequest.php +++ b/src/Adyen/Model/Checkout/PaymentReversalRequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('applicationInfo', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaymentReversalResponse.php b/src/Adyen/Model/Checkout/PaymentReversalResponse.php index 0dcf1b393..b1068c7a3 100644 --- a/src/Adyen/Model/Checkout/PaymentReversalResponse.php +++ b/src/Adyen/Model/Checkout/PaymentReversalResponse.php @@ -265,7 +265,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('paymentPspReference', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaypalUpdateOrderRequest.php b/src/Adyen/Model/Checkout/PaypalUpdateOrderRequest.php index fb573c1a4..dcffc6705 100644 --- a/src/Adyen/Model/Checkout/PaypalUpdateOrderRequest.php +++ b/src/Adyen/Model/Checkout/PaypalUpdateOrderRequest.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('deliveryMethods', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PaypalUpdateOrderResponse.php b/src/Adyen/Model/Checkout/PaypalUpdateOrderResponse.php index 1e41b25db..f2c965cd1 100644 --- a/src/Adyen/Model/Checkout/PaypalUpdateOrderResponse.php +++ b/src/Adyen/Model/Checkout/PaypalUpdateOrderResponse.php @@ -249,7 +249,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paymentData', $data ?? [], null); $this->setIfExists('status', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/Phone.php b/src/Adyen/Model/Checkout/Phone.php index 3729ac598..a5b97cd83 100644 --- a/src/Adyen/Model/Checkout/Phone.php +++ b/src/Adyen/Model/Checkout/Phone.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cc', $data ?? [], null); $this->setIfExists('subscriber', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PixDetails.php b/src/Adyen/Model/Checkout/PixDetails.php index 752d1a843..b32bc1fc3 100644 --- a/src/Adyen/Model/Checkout/PixDetails.php +++ b/src/Adyen/Model/Checkout/PixDetails.php @@ -265,7 +265,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('pixRecurring', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PixRecurring.php b/src/Adyen/Model/Checkout/PixRecurring.php index 1e2044a7e..45f442d83 100644 --- a/src/Adyen/Model/Checkout/PixRecurring.php +++ b/src/Adyen/Model/Checkout/PixRecurring.php @@ -297,7 +297,7 @@ public function getFrequencyAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('billingDate', $data ?? [], null); $this->setIfExists('endsAt', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PlatformChargebackLogic.php b/src/Adyen/Model/Checkout/PlatformChargebackLogic.php index b1d54b2d8..61a4fb6c4 100644 --- a/src/Adyen/Model/Checkout/PlatformChargebackLogic.php +++ b/src/Adyen/Model/Checkout/PlatformChargebackLogic.php @@ -257,7 +257,7 @@ public function getBehaviorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('behavior', $data ?? [], null); $this->setIfExists('costAllocationAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/PseDetails.php b/src/Adyen/Model/Checkout/PseDetails.php index 2012309d3..6ad05d591 100644 --- a/src/Adyen/Model/Checkout/PseDetails.php +++ b/src/Adyen/Model/Checkout/PseDetails.php @@ -271,7 +271,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('bank', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/RatepayDetails.php b/src/Adyen/Model/Checkout/RatepayDetails.php index 0f6addea5..45a662458 100644 --- a/src/Adyen/Model/Checkout/RatepayDetails.php +++ b/src/Adyen/Model/Checkout/RatepayDetails.php @@ -279,7 +279,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('billingAddress', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/Recurring.php b/src/Adyen/Model/Checkout/Recurring.php index cdf1e53e4..866f040ca 100644 --- a/src/Adyen/Model/Checkout/Recurring.php +++ b/src/Adyen/Model/Checkout/Recurring.php @@ -287,7 +287,7 @@ public function getTokenServiceAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('contract', $data ?? [], null); $this->setIfExists('recurringDetailName', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php b/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php index e4b3f4f19..234579fd9 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalData3DSecure.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cardHolderInfo', $data ?? [], null); $this->setIfExists('cavv', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php index e89f36bd7..1fae47a8b 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataBillingAddress.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('billingAddressCity', $data ?? [], null); $this->setIfExists('billingAddressCountry', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php index 579242606..862f083ae 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataCard.php @@ -309,7 +309,7 @@ public function getCardProductIdAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cardBin', $data ?? [], null); $this->setIfExists('cardHolderName', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php index c0cd9de8f..0fb444a91 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataCommon.php @@ -641,7 +641,7 @@ public function getTokenizationStoreOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acquirerAccountCode', $data ?? [], null); $this->setIfExists('acquirerCode', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataDomesticError.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataDomesticError.php index 88ff9bc1b..be667fb9b 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataDomesticError.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataDomesticError.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('domesticRefusalReasonRaw', $data ?? [], null); $this->setIfExists('domesticShopperAdvice', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php index f605b9a8d..151667289 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataInstallments.php @@ -295,7 +295,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('installmentPaymentDataInstallmentType', $data ?? [], null); $this->setIfExists('installmentPaymentDataOptionItemNrAnnualPercentageRate', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php index a3a967bc9..4d1e9350d 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataNetworkTokens.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('networkTokenAvailable', $data ?? [], null); $this->setIfExists('networkTokenBin', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php index 1af9f22d7..d3820f262 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataOpi.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('opiTransToken', $data ?? [], null); } diff --git a/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php b/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php index 8a3a13ea8..fe0409f23 100644 --- a/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php +++ b/src/Adyen/Model/Checkout/ResponseAdditionalDataSepa.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sepadirectdebitDateOfSignature', $data ?? [], null); $this->setIfExists('sepadirectdebitMandateId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ResponsePaymentMethod.php b/src/Adyen/Model/Checkout/ResponsePaymentMethod.php index fb2eed9f7..5d3d8dbf8 100644 --- a/src/Adyen/Model/Checkout/ResponsePaymentMethod.php +++ b/src/Adyen/Model/Checkout/ResponsePaymentMethod.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('brand', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/RiskData.php b/src/Adyen/Model/Checkout/RiskData.php index 9d07bd8d4..1c7bac9ce 100644 --- a/src/Adyen/Model/Checkout/RiskData.php +++ b/src/Adyen/Model/Checkout/RiskData.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('clientData', $data ?? [], null); $this->setIfExists('customFields', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/RivertyDetails.php b/src/Adyen/Model/Checkout/RivertyDetails.php index fd27b12ba..011ee3e58 100644 --- a/src/Adyen/Model/Checkout/RivertyDetails.php +++ b/src/Adyen/Model/Checkout/RivertyDetails.php @@ -293,7 +293,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('billingAddress', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/SDKEphemPubKey.php b/src/Adyen/Model/Checkout/SDKEphemPubKey.php index 58bf130be..d57ee4b4e 100644 --- a/src/Adyen/Model/Checkout/SDKEphemPubKey.php +++ b/src/Adyen/Model/Checkout/SDKEphemPubKey.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('crv', $data ?? [], null); $this->setIfExists('kty', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/SamsungPayDetails.php b/src/Adyen/Model/Checkout/SamsungPayDetails.php index 6b93e28dc..ba0a2582b 100644 --- a/src/Adyen/Model/Checkout/SamsungPayDetails.php +++ b/src/Adyen/Model/Checkout/SamsungPayDetails.php @@ -285,7 +285,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('fundingSource', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php b/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php index 8a955bbea..f5c17c289 100644 --- a/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php +++ b/src/Adyen/Model/Checkout/SepaDirectDebitDetails.php @@ -279,7 +279,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('iban', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ServiceError.php b/src/Adyen/Model/Checkout/ServiceError.php index ebaebb099..a7b1a8716 100644 --- a/src/Adyen/Model/Checkout/ServiceError.php +++ b/src/Adyen/Model/Checkout/ServiceError.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('errorCode', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/SessionResultResponse.php b/src/Adyen/Model/Checkout/SessionResultResponse.php index 4c04fdac9..028fa9734 100644 --- a/src/Adyen/Model/Checkout/SessionResultResponse.php +++ b/src/Adyen/Model/Checkout/SessionResultResponse.php @@ -257,7 +257,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('status', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ShopperInteractionDevice.php b/src/Adyen/Model/Checkout/ShopperInteractionDevice.php index ea8f18e95..c3a067415 100644 --- a/src/Adyen/Model/Checkout/ShopperInteractionDevice.php +++ b/src/Adyen/Model/Checkout/ShopperInteractionDevice.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('locale', $data ?? [], null); $this->setIfExists('os', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/Split.php b/src/Adyen/Model/Checkout/Split.php index 7b98342a8..156fb3eda 100644 --- a/src/Adyen/Model/Checkout/Split.php +++ b/src/Adyen/Model/Checkout/Split.php @@ -295,7 +295,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('account', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/SplitAmount.php b/src/Adyen/Model/Checkout/SplitAmount.php index cb65ae02f..36cf15d74 100644 --- a/src/Adyen/Model/Checkout/SplitAmount.php +++ b/src/Adyen/Model/Checkout/SplitAmount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php b/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php index 21f89de0b..9947c78b7 100644 --- a/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php +++ b/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('applicationInfo', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php b/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php index dbb831dce..2299b6dcf 100644 --- a/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php +++ b/src/Adyen/Model/Checkout/StandalonePaymentCancelResponse.php @@ -265,7 +265,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('paymentReference', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethod.php b/src/Adyen/Model/Checkout/StoredPaymentMethod.php index b198e37ba..460605197 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethod.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethod.php @@ -325,7 +325,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('bankAccountNumber', $data ?? [], null); $this->setIfExists('bankLocationId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php b/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php index adbae26fc..5e455c36f 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethodDetails.php @@ -291,7 +291,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('recurringDetailReference', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethodRequest.php b/src/Adyen/Model/Checkout/StoredPaymentMethodRequest.php index 2fad35e6b..b63b2305b 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethodRequest.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethodRequest.php @@ -275,7 +275,7 @@ public function getRecurringProcessingModelAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('paymentMethod', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php b/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php index 54d0fb23d..3110f554b 100644 --- a/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php +++ b/src/Adyen/Model/Checkout/StoredPaymentMethodResource.php @@ -325,7 +325,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('brand', $data ?? [], null); $this->setIfExists('expiryMonth', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/SubInputDetail.php b/src/Adyen/Model/Checkout/SubInputDetail.php index 360300475..5c1ffbbfa 100644 --- a/src/Adyen/Model/Checkout/SubInputDetail.php +++ b/src/Adyen/Model/Checkout/SubInputDetail.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('configuration', $data ?? [], null); $this->setIfExists('items', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/SubMerchant.php b/src/Adyen/Model/Checkout/SubMerchant.php index 0f98d717b..9bdaf86a0 100644 --- a/src/Adyen/Model/Checkout/SubMerchant.php +++ b/src/Adyen/Model/Checkout/SubMerchant.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/SubMerchantInfo.php b/src/Adyen/Model/Checkout/SubMerchantInfo.php index 95e3b5b66..e6a14aec4 100644 --- a/src/Adyen/Model/Checkout/SubMerchantInfo.php +++ b/src/Adyen/Model/Checkout/SubMerchantInfo.php @@ -283,7 +283,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('address', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/TaxTotal.php b/src/Adyen/Model/Checkout/TaxTotal.php index ff29884d7..7cde5e473 100644 --- a/src/Adyen/Model/Checkout/TaxTotal.php +++ b/src/Adyen/Model/Checkout/TaxTotal.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); } diff --git a/src/Adyen/Model/Checkout/ThreeDS2RequestData.php b/src/Adyen/Model/Checkout/ThreeDS2RequestData.php index a92adf1c3..687103cc1 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2RequestData.php +++ b/src/Adyen/Model/Checkout/ThreeDS2RequestData.php @@ -567,7 +567,7 @@ public function getTransactionTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acctInfo', $data ?? [], null); $this->setIfExists('acctType', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php b/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php index bd09aa103..4e3bc4774 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php +++ b/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php @@ -549,7 +549,7 @@ public function getTransactionTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acctInfo', $data ?? [], null); $this->setIfExists('acctType', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php b/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php index fb6561475..c7dd1fef6 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php +++ b/src/Adyen/Model/Checkout/ThreeDS2ResponseData.php @@ -337,7 +337,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acsChallengeMandated', $data ?? [], null); $this->setIfExists('acsOperatorID', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ThreeDS2Result.php b/src/Adyen/Model/Checkout/ThreeDS2Result.php index 1909962b2..77d9b88e0 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2Result.php +++ b/src/Adyen/Model/Checkout/ThreeDS2Result.php @@ -371,7 +371,7 @@ public function getThreeDSRequestorChallengeIndAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authenticationValue', $data ?? [], null); $this->setIfExists('cavvAlgorithm', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ThreeDSRequestData.php b/src/Adyen/Model/Checkout/ThreeDSRequestData.php index eee0d257b..81fa63e23 100644 --- a/src/Adyen/Model/Checkout/ThreeDSRequestData.php +++ b/src/Adyen/Model/Checkout/ThreeDSRequestData.php @@ -309,7 +309,7 @@ public function getThreeDSVersionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('challengeWindowSize', $data ?? [], null); $this->setIfExists('dataOnly', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php b/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php index 82b778974..037f3b47f 100644 --- a/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php +++ b/src/Adyen/Model/Checkout/ThreeDSRequestorAuthenticationInfo.php @@ -263,7 +263,7 @@ public function getThreeDSReqAuthMethodAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('threeDSReqAuthData', $data ?? [], null); $this->setIfExists('threeDSReqAuthMethod', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php b/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php index 139ecf188..90a65537f 100644 --- a/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php +++ b/src/Adyen/Model/Checkout/ThreeDSRequestorPriorAuthenticationInfo.php @@ -265,7 +265,7 @@ public function getThreeDSReqPriorAuthMethodAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('threeDSReqPriorAuthData', $data ?? [], null); $this->setIfExists('threeDSReqPriorAuthMethod', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ThreeDSecureData.php b/src/Adyen/Model/Checkout/ThreeDSecureData.php index 9dc5f6b56..80d0933ef 100644 --- a/src/Adyen/Model/Checkout/ThreeDSecureData.php +++ b/src/Adyen/Model/Checkout/ThreeDSecureData.php @@ -363,7 +363,7 @@ public function getDirectoryResponseAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authenticationResponse', $data ?? [], null); $this->setIfExists('cavv', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/TwintDetails.php b/src/Adyen/Model/Checkout/TwintDetails.php index d0d058fcb..d224f88cd 100644 --- a/src/Adyen/Model/Checkout/TwintDetails.php +++ b/src/Adyen/Model/Checkout/TwintDetails.php @@ -265,7 +265,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('recurringDetailReference', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php b/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php index a93087a73..8287930a9 100644 --- a/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php +++ b/src/Adyen/Model/Checkout/UpdatePaymentLinkRequest.php @@ -241,7 +241,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('status', $data ?? [], null); } diff --git a/src/Adyen/Model/Checkout/UpiCollectDetails.php b/src/Adyen/Model/Checkout/UpiCollectDetails.php index 4394c0e62..3e42ac05a 100644 --- a/src/Adyen/Model/Checkout/UpiCollectDetails.php +++ b/src/Adyen/Model/Checkout/UpiCollectDetails.php @@ -277,7 +277,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('billingSequenceNumber', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/UpiIntentDetails.php b/src/Adyen/Model/Checkout/UpiIntentDetails.php index 94e6ecd16..b4a3f3bd4 100644 --- a/src/Adyen/Model/Checkout/UpiIntentDetails.php +++ b/src/Adyen/Model/Checkout/UpiIntentDetails.php @@ -271,7 +271,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('appId', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/UtilityRequest.php b/src/Adyen/Model/Checkout/UtilityRequest.php index 66a405ede..c7c6eba07 100644 --- a/src/Adyen/Model/Checkout/UtilityRequest.php +++ b/src/Adyen/Model/Checkout/UtilityRequest.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('originDomains', $data ?? [], null); } diff --git a/src/Adyen/Model/Checkout/UtilityResponse.php b/src/Adyen/Model/Checkout/UtilityResponse.php index ae54cf83e..5bb81c952 100644 --- a/src/Adyen/Model/Checkout/UtilityResponse.php +++ b/src/Adyen/Model/Checkout/UtilityResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('originKeys', $data ?? [], null); } diff --git a/src/Adyen/Model/Checkout/VippsDetails.php b/src/Adyen/Model/Checkout/VippsDetails.php index a47f75bce..f9b8f41f6 100644 --- a/src/Adyen/Model/Checkout/VippsDetails.php +++ b/src/Adyen/Model/Checkout/VippsDetails.php @@ -265,7 +265,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('recurringDetailReference', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/VisaCheckoutDetails.php b/src/Adyen/Model/Checkout/VisaCheckoutDetails.php index c4efd28e0..8af089ecb 100644 --- a/src/Adyen/Model/Checkout/VisaCheckoutDetails.php +++ b/src/Adyen/Model/Checkout/VisaCheckoutDetails.php @@ -273,7 +273,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('fundingSource', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/WeChatPayDetails.php b/src/Adyen/Model/Checkout/WeChatPayDetails.php index edbff30aa..d0eece2bc 100644 --- a/src/Adyen/Model/Checkout/WeChatPayDetails.php +++ b/src/Adyen/Model/Checkout/WeChatPayDetails.php @@ -249,7 +249,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php b/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php index bce2d0b05..f8f32d542 100644 --- a/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php +++ b/src/Adyen/Model/Checkout/WeChatPayMiniProgramDetails.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('appId', $data ?? [], null); $this->setIfExists('checkoutAttemptId', $data ?? [], null); diff --git a/src/Adyen/Model/Checkout/ZipDetails.php b/src/Adyen/Model/Checkout/ZipDetails.php index 34d3b6c18..6267d8511 100644 --- a/src/Adyen/Model/Checkout/ZipDetails.php +++ b/src/Adyen/Model/Checkout/ZipDetails.php @@ -267,7 +267,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutAttemptId', $data ?? [], null); $this->setIfExists('clickAndCollect', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/AccountHolder.php b/src/Adyen/Model/ConfigurationWebhooks/AccountHolder.php index b0ba19462..c07226a20 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/AccountHolder.php +++ b/src/Adyen/Model/ConfigurationWebhooks/AccountHolder.php @@ -317,7 +317,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balancePlatform', $data ?? [], null); $this->setIfExists('capabilities', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/AccountHolderCapability.php b/src/Adyen/Model/ConfigurationWebhooks/AccountHolderCapability.php index 1cbba9f9d..cdc470f48 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/AccountHolderCapability.php +++ b/src/Adyen/Model/ConfigurationWebhooks/AccountHolderCapability.php @@ -337,7 +337,7 @@ public function getVerificationStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allowed', $data ?? [], null); $this->setIfExists('allowedLevel', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/AccountHolderNotificationData.php b/src/Adyen/Model/ConfigurationWebhooks/AccountHolderNotificationData.php index 225950ab8..c9bc84e36 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/AccountHolderNotificationData.php +++ b/src/Adyen/Model/ConfigurationWebhooks/AccountHolderNotificationData.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolder', $data ?? [], null); $this->setIfExists('balancePlatform', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/AccountHolderNotificationRequest.php b/src/Adyen/Model/ConfigurationWebhooks/AccountHolderNotificationRequest.php index c6693bf1d..38610bb48 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/AccountHolderNotificationRequest.php +++ b/src/Adyen/Model/ConfigurationWebhooks/AccountHolderNotificationRequest.php @@ -261,7 +261,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); $this->setIfExists('environment', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/AccountSupportingEntityCapability.php b/src/Adyen/Model/ConfigurationWebhooks/AccountSupportingEntityCapability.php index b17bc5d02..a6072da53 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/AccountSupportingEntityCapability.php +++ b/src/Adyen/Model/ConfigurationWebhooks/AccountSupportingEntityCapability.php @@ -319,7 +319,7 @@ public function getVerificationStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allowed', $data ?? [], null); $this->setIfExists('allowedLevel', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/Address.php b/src/Adyen/Model/ConfigurationWebhooks/Address.php index a9edd01e1..b8dfe4058 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Address.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Address.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/Amount.php b/src/Adyen/Model/ConfigurationWebhooks/Amount.php index be7a534fd..c01b52a38 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Amount.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/Authentication.php b/src/Adyen/Model/ConfigurationWebhooks/Authentication.php index 9d428e644..d7305f86d 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Authentication.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Authentication.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('email', $data ?? [], null); $this->setIfExists('password', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/Balance.php b/src/Adyen/Model/ConfigurationWebhooks/Balance.php index 82f368536..7341c4a9e 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Balance.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Balance.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('available', $data ?? [], null); $this->setIfExists('balance', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/BalanceAccount.php b/src/Adyen/Model/ConfigurationWebhooks/BalanceAccount.php index 02b943df1..36dc2fa7b 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/BalanceAccount.php +++ b/src/Adyen/Model/ConfigurationWebhooks/BalanceAccount.php @@ -307,7 +307,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolderId', $data ?? [], null); $this->setIfExists('balances', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/BalanceAccountNotificationData.php b/src/Adyen/Model/ConfigurationWebhooks/BalanceAccountNotificationData.php index 4c50a6bfb..146704e15 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/BalanceAccountNotificationData.php +++ b/src/Adyen/Model/ConfigurationWebhooks/BalanceAccountNotificationData.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balanceAccount', $data ?? [], null); $this->setIfExists('balancePlatform', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/BalanceAccountNotificationRequest.php b/src/Adyen/Model/ConfigurationWebhooks/BalanceAccountNotificationRequest.php index 64595f668..09de4a8fd 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/BalanceAccountNotificationRequest.php +++ b/src/Adyen/Model/ConfigurationWebhooks/BalanceAccountNotificationRequest.php @@ -261,7 +261,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); $this->setIfExists('environment', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/BalancePlatformNotificationResponse.php b/src/Adyen/Model/ConfigurationWebhooks/BalancePlatformNotificationResponse.php index 08c2529f8..488dc7a68 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/BalancePlatformNotificationResponse.php +++ b/src/Adyen/Model/ConfigurationWebhooks/BalancePlatformNotificationResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('notificationResponse', $data ?? [], null); } diff --git a/src/Adyen/Model/ConfigurationWebhooks/BankAccountDetails.php b/src/Adyen/Model/ConfigurationWebhooks/BankAccountDetails.php index 41f22b06d..5825af57a 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/BankAccountDetails.php +++ b/src/Adyen/Model/ConfigurationWebhooks/BankAccountDetails.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('accountType', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/BulkAddress.php b/src/Adyen/Model/ConfigurationWebhooks/BulkAddress.php index b42808aeb..ecaf238c4 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/BulkAddress.php +++ b/src/Adyen/Model/ConfigurationWebhooks/BulkAddress.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('company', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblem.php b/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblem.php index b88047fec..c6ba1b194 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblem.php +++ b/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblem.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('entity', $data ?? [], null); $this->setIfExists('verificationErrors', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblemEntity.php b/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblemEntity.php index ecc55832a..6a2da560e 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblemEntity.php +++ b/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblemEntity.php @@ -263,7 +263,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('documents', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblemEntityRecursive.php b/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblemEntityRecursive.php index 4b450fada..5808c76f5 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblemEntityRecursive.php +++ b/src/Adyen/Model/ConfigurationWebhooks/CapabilityProblemEntityRecursive.php @@ -257,7 +257,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('documents', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/CapabilitySettings.php b/src/Adyen/Model/ConfigurationWebhooks/CapabilitySettings.php index 77bba385d..a40a17bd2 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/CapabilitySettings.php +++ b/src/Adyen/Model/ConfigurationWebhooks/CapabilitySettings.php @@ -285,7 +285,7 @@ public function getIntervalAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amountPerIndustry', $data ?? [], null); $this->setIfExists('authorizedCardUsers', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/Card.php b/src/Adyen/Model/ConfigurationWebhooks/Card.php index 9d78c5d11..5d40b4ebd 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Card.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Card.php @@ -317,7 +317,7 @@ public function getFormFactorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authentication', $data ?? [], null); $this->setIfExists('bin', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/CardConfiguration.php b/src/Adyen/Model/ConfigurationWebhooks/CardConfiguration.php index 3792d417f..bef345598 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/CardConfiguration.php +++ b/src/Adyen/Model/ConfigurationWebhooks/CardConfiguration.php @@ -307,7 +307,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('activation', $data ?? [], null); $this->setIfExists('activationUrl', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/CardOrderItem.php b/src/Adyen/Model/ConfigurationWebhooks/CardOrderItem.php index 34ded6323..93b5f7d25 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/CardOrderItem.php +++ b/src/Adyen/Model/ConfigurationWebhooks/CardOrderItem.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balancePlatform', $data ?? [], null); $this->setIfExists('card', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/CardOrderItemDeliveryStatus.php b/src/Adyen/Model/ConfigurationWebhooks/CardOrderItemDeliveryStatus.php index 5c1679f02..81dde32cc 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/CardOrderItemDeliveryStatus.php +++ b/src/Adyen/Model/ConfigurationWebhooks/CardOrderItemDeliveryStatus.php @@ -267,7 +267,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('errorMessage', $data ?? [], null); $this->setIfExists('status', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/CardOrderNotificationRequest.php b/src/Adyen/Model/ConfigurationWebhooks/CardOrderNotificationRequest.php index 066a55ee1..1ec6049b5 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/CardOrderNotificationRequest.php +++ b/src/Adyen/Model/ConfigurationWebhooks/CardOrderNotificationRequest.php @@ -261,7 +261,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); $this->setIfExists('environment', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/ContactDetails.php b/src/Adyen/Model/ConfigurationWebhooks/ContactDetails.php index 5a4f38ac9..59e8f6cfa 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/ContactDetails.php +++ b/src/Adyen/Model/ConfigurationWebhooks/ContactDetails.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('address', $data ?? [], null); $this->setIfExists('email', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/DeliveryAddress.php b/src/Adyen/Model/ConfigurationWebhooks/DeliveryAddress.php index 0e5db8355..0edeb273e 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/DeliveryAddress.php +++ b/src/Adyen/Model/ConfigurationWebhooks/DeliveryAddress.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/DeliveryContact.php b/src/Adyen/Model/ConfigurationWebhooks/DeliveryContact.php index fba6d10aa..75620048a 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/DeliveryContact.php +++ b/src/Adyen/Model/ConfigurationWebhooks/DeliveryContact.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('address', $data ?? [], null); $this->setIfExists('company', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/Expiry.php b/src/Adyen/Model/ConfigurationWebhooks/Expiry.php index 72b9765df..ce0a57ff0 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Expiry.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Expiry.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('month', $data ?? [], null); $this->setIfExists('year', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/IbanAccountIdentification.php b/src/Adyen/Model/ConfigurationWebhooks/IbanAccountIdentification.php index 3f7f41181..d60c651c4 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/IbanAccountIdentification.php +++ b/src/Adyen/Model/ConfigurationWebhooks/IbanAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('iban', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/Name.php b/src/Adyen/Model/ConfigurationWebhooks/Name.php index 378c1867d..8e8688a61 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Name.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Name.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('firstName', $data ?? [], null); $this->setIfExists('lastName', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrument.php b/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrument.php index 524531dfd..a1910c875 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrument.php +++ b/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrument.php @@ -361,7 +361,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalBankAccountIdentifications', $data ?? [], null); $this->setIfExists('balanceAccountId', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentAdditionalBankAccountIdentificationsInner.php b/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentAdditionalBankAccountIdentificationsInner.php index 4711acdf5..0eeaa9216 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentAdditionalBankAccountIdentificationsInner.php +++ b/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentAdditionalBankAccountIdentificationsInner.php @@ -234,7 +234,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('iban', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentNotificationData.php b/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentNotificationData.php index dfc624cf2..07c23aa70 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentNotificationData.php +++ b/src/Adyen/Model/ConfigurationWebhooks/PaymentInstrumentNotificationData.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balancePlatform', $data ?? [], null); $this->setIfExists('paymentInstrument', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/PaymentNotificationRequest.php b/src/Adyen/Model/ConfigurationWebhooks/PaymentNotificationRequest.php index 0e86a8d7e..b45809ec2 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/PaymentNotificationRequest.php +++ b/src/Adyen/Model/ConfigurationWebhooks/PaymentNotificationRequest.php @@ -261,7 +261,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); $this->setIfExists('environment', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/Phone.php b/src/Adyen/Model/ConfigurationWebhooks/Phone.php index 977cd6b52..6f60affa4 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Phone.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Phone.php @@ -249,7 +249,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('number', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/PhoneNumber.php b/src/Adyen/Model/ConfigurationWebhooks/PhoneNumber.php index ac138169c..7515daf35 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/PhoneNumber.php +++ b/src/Adyen/Model/ConfigurationWebhooks/PhoneNumber.php @@ -259,7 +259,7 @@ public function getPhoneTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('phoneCountryCode', $data ?? [], null); $this->setIfExists('phoneNumber', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/PlatformPaymentConfiguration.php b/src/Adyen/Model/ConfigurationWebhooks/PlatformPaymentConfiguration.php index 0ed6333fe..9f78958db 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/PlatformPaymentConfiguration.php +++ b/src/Adyen/Model/ConfigurationWebhooks/PlatformPaymentConfiguration.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('salesDayClosingTime', $data ?? [], null); $this->setIfExists('settlementDelayDays', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/RemediatingAction.php b/src/Adyen/Model/ConfigurationWebhooks/RemediatingAction.php index 2e89b8ce7..47c1f1eaf 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/RemediatingAction.php +++ b/src/Adyen/Model/ConfigurationWebhooks/RemediatingAction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('code', $data ?? [], null); $this->setIfExists('message', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/Resource.php b/src/Adyen/Model/ConfigurationWebhooks/Resource.php index 5ecd1c84a..574f58de0 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/Resource.php +++ b/src/Adyen/Model/ConfigurationWebhooks/Resource.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balancePlatform', $data ?? [], null); $this->setIfExists('creationDate', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationNotificationData.php b/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationNotificationData.php index 859c46545..c8a148cf5 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationNotificationData.php +++ b/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationNotificationData.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountId', $data ?? [], null); $this->setIfExists('balancePlatform', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationNotificationRequest.php b/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationNotificationRequest.php index 323c25486..1c3aa9e16 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationNotificationRequest.php +++ b/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationNotificationRequest.php @@ -263,7 +263,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); $this->setIfExists('environment', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationV2.php b/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationV2.php index 47ce72440..137e66ca1 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationV2.php +++ b/src/Adyen/Model/ConfigurationWebhooks/SweepConfigurationV2.php @@ -441,7 +441,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('category', $data ?? [], null); $this->setIfExists('counterparty', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/SweepCounterparty.php b/src/Adyen/Model/ConfigurationWebhooks/SweepCounterparty.php index 1ea4efc1f..caa874a28 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/SweepCounterparty.php +++ b/src/Adyen/Model/ConfigurationWebhooks/SweepCounterparty.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balanceAccountId', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/SweepSchedule.php b/src/Adyen/Model/ConfigurationWebhooks/SweepSchedule.php index cbeadcf39..7615c04c7 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/SweepSchedule.php +++ b/src/Adyen/Model/ConfigurationWebhooks/SweepSchedule.php @@ -255,7 +255,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cronExpression', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/VerificationDeadline.php b/src/Adyen/Model/ConfigurationWebhooks/VerificationDeadline.php index d83642f2b..7bf460b1d 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/VerificationDeadline.php +++ b/src/Adyen/Model/ConfigurationWebhooks/VerificationDeadline.php @@ -361,7 +361,7 @@ public function getCapabilitiesAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('capabilities', $data ?? [], null); $this->setIfExists('entityIds', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/VerificationError.php b/src/Adyen/Model/ConfigurationWebhooks/VerificationError.php index e1f87a221..bb54db063 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/VerificationError.php +++ b/src/Adyen/Model/ConfigurationWebhooks/VerificationError.php @@ -395,7 +395,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('capabilities', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/src/Adyen/Model/ConfigurationWebhooks/VerificationErrorRecursive.php b/src/Adyen/Model/ConfigurationWebhooks/VerificationErrorRecursive.php index a5ce08429..cdd2dba80 100644 --- a/src/Adyen/Model/ConfigurationWebhooks/VerificationErrorRecursive.php +++ b/src/Adyen/Model/ConfigurationWebhooks/VerificationErrorRecursive.php @@ -389,7 +389,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('capabilities', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/src/Adyen/Model/DataProtection/ServiceError.php b/src/Adyen/Model/DataProtection/ServiceError.php index cc419f0ca..3b52c36c3 100644 --- a/src/Adyen/Model/DataProtection/ServiceError.php +++ b/src/Adyen/Model/DataProtection/ServiceError.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('errorCode', $data ?? [], null); $this->setIfExists('errorType', $data ?? [], null); diff --git a/src/Adyen/Model/DataProtection/SubjectErasureByPspReferenceRequest.php b/src/Adyen/Model/DataProtection/SubjectErasureByPspReferenceRequest.php index b7c695d6b..809c24343 100644 --- a/src/Adyen/Model/DataProtection/SubjectErasureByPspReferenceRequest.php +++ b/src/Adyen/Model/DataProtection/SubjectErasureByPspReferenceRequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('forceErasure', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/DataProtection/SubjectErasureResponse.php b/src/Adyen/Model/DataProtection/SubjectErasureResponse.php index 4c2da8367..1b407b119 100644 --- a/src/Adyen/Model/DataProtection/SubjectErasureResponse.php +++ b/src/Adyen/Model/DataProtection/SubjectErasureResponse.php @@ -247,7 +247,7 @@ public function getResultAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('result', $data ?? [], null); } diff --git a/src/Adyen/Model/DisputeWebhooks/Amount.php b/src/Adyen/Model/DisputeWebhooks/Amount.php index 4aa85c4c6..854bff137 100644 --- a/src/Adyen/Model/DisputeWebhooks/Amount.php +++ b/src/Adyen/Model/DisputeWebhooks/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/DisputeWebhooks/BalancePlatformNotificationResponse.php b/src/Adyen/Model/DisputeWebhooks/BalancePlatformNotificationResponse.php index 7289f2e3d..28355dd78 100644 --- a/src/Adyen/Model/DisputeWebhooks/BalancePlatformNotificationResponse.php +++ b/src/Adyen/Model/DisputeWebhooks/BalancePlatformNotificationResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('notificationResponse', $data ?? [], null); } diff --git a/src/Adyen/Model/DisputeWebhooks/DisputeEventNotification.php b/src/Adyen/Model/DisputeWebhooks/DisputeEventNotification.php index b4d25ead8..86dc3df66 100644 --- a/src/Adyen/Model/DisputeWebhooks/DisputeEventNotification.php +++ b/src/Adyen/Model/DisputeWebhooks/DisputeEventNotification.php @@ -297,7 +297,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('arn', $data ?? [], null); $this->setIfExists('balancePlatform', $data ?? [], null); diff --git a/src/Adyen/Model/DisputeWebhooks/DisputeNotificationRequest.php b/src/Adyen/Model/DisputeWebhooks/DisputeNotificationRequest.php index 889afb297..026663f07 100644 --- a/src/Adyen/Model/DisputeWebhooks/DisputeNotificationRequest.php +++ b/src/Adyen/Model/DisputeWebhooks/DisputeNotificationRequest.php @@ -249,7 +249,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Disputes/AcceptDisputeRequest.php b/src/Adyen/Model/Disputes/AcceptDisputeRequest.php index 9c9cf9df2..c4f598da2 100644 --- a/src/Adyen/Model/Disputes/AcceptDisputeRequest.php +++ b/src/Adyen/Model/Disputes/AcceptDisputeRequest.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('disputePspReference', $data ?? [], null); $this->setIfExists('merchantAccountCode', $data ?? [], null); diff --git a/src/Adyen/Model/Disputes/AcceptDisputeResponse.php b/src/Adyen/Model/Disputes/AcceptDisputeResponse.php index 9121cbd25..25fd98edb 100644 --- a/src/Adyen/Model/Disputes/AcceptDisputeResponse.php +++ b/src/Adyen/Model/Disputes/AcceptDisputeResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('disputeServiceResult', $data ?? [], null); } diff --git a/src/Adyen/Model/Disputes/DefendDisputeRequest.php b/src/Adyen/Model/Disputes/DefendDisputeRequest.php index 5ac59a704..2370ad51c 100644 --- a/src/Adyen/Model/Disputes/DefendDisputeRequest.php +++ b/src/Adyen/Model/Disputes/DefendDisputeRequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('defenseReasonCode', $data ?? [], null); $this->setIfExists('disputePspReference', $data ?? [], null); diff --git a/src/Adyen/Model/Disputes/DefendDisputeResponse.php b/src/Adyen/Model/Disputes/DefendDisputeResponse.php index 9be301f64..915661153 100644 --- a/src/Adyen/Model/Disputes/DefendDisputeResponse.php +++ b/src/Adyen/Model/Disputes/DefendDisputeResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('disputeServiceResult', $data ?? [], null); } diff --git a/src/Adyen/Model/Disputes/DefenseDocument.php b/src/Adyen/Model/Disputes/DefenseDocument.php index 5e30abbee..b0f5ef64e 100644 --- a/src/Adyen/Model/Disputes/DefenseDocument.php +++ b/src/Adyen/Model/Disputes/DefenseDocument.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('content', $data ?? [], null); $this->setIfExists('contentType', $data ?? [], null); diff --git a/src/Adyen/Model/Disputes/DefenseDocumentType.php b/src/Adyen/Model/Disputes/DefenseDocumentType.php index 750bf63c2..dbbd7c59c 100644 --- a/src/Adyen/Model/Disputes/DefenseDocumentType.php +++ b/src/Adyen/Model/Disputes/DefenseDocumentType.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('available', $data ?? [], null); $this->setIfExists('defenseDocumentTypeCode', $data ?? [], null); diff --git a/src/Adyen/Model/Disputes/DefenseReason.php b/src/Adyen/Model/Disputes/DefenseReason.php index 73e411d4e..2ce818536 100644 --- a/src/Adyen/Model/Disputes/DefenseReason.php +++ b/src/Adyen/Model/Disputes/DefenseReason.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('defenseDocumentTypes', $data ?? [], null); $this->setIfExists('defenseReasonCode', $data ?? [], null); diff --git a/src/Adyen/Model/Disputes/DefenseReasonsRequest.php b/src/Adyen/Model/Disputes/DefenseReasonsRequest.php index 5bb9589e1..9e43a1edf 100644 --- a/src/Adyen/Model/Disputes/DefenseReasonsRequest.php +++ b/src/Adyen/Model/Disputes/DefenseReasonsRequest.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('disputePspReference', $data ?? [], null); $this->setIfExists('merchantAccountCode', $data ?? [], null); diff --git a/src/Adyen/Model/Disputes/DefenseReasonsResponse.php b/src/Adyen/Model/Disputes/DefenseReasonsResponse.php index 316b03a77..3117ff859 100644 --- a/src/Adyen/Model/Disputes/DefenseReasonsResponse.php +++ b/src/Adyen/Model/Disputes/DefenseReasonsResponse.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('defenseReasons', $data ?? [], null); $this->setIfExists('disputeServiceResult', $data ?? [], null); diff --git a/src/Adyen/Model/Disputes/DeleteDefenseDocumentRequest.php b/src/Adyen/Model/Disputes/DeleteDefenseDocumentRequest.php index 11de0472e..41521c5c9 100644 --- a/src/Adyen/Model/Disputes/DeleteDefenseDocumentRequest.php +++ b/src/Adyen/Model/Disputes/DeleteDefenseDocumentRequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('defenseDocumentType', $data ?? [], null); $this->setIfExists('disputePspReference', $data ?? [], null); diff --git a/src/Adyen/Model/Disputes/DeleteDefenseDocumentResponse.php b/src/Adyen/Model/Disputes/DeleteDefenseDocumentResponse.php index bc042b3e7..aa0082b07 100644 --- a/src/Adyen/Model/Disputes/DeleteDefenseDocumentResponse.php +++ b/src/Adyen/Model/Disputes/DeleteDefenseDocumentResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('disputeServiceResult', $data ?? [], null); } diff --git a/src/Adyen/Model/Disputes/DisputeServiceResult.php b/src/Adyen/Model/Disputes/DisputeServiceResult.php index 8a028ded1..45ff5b700 100644 --- a/src/Adyen/Model/Disputes/DisputeServiceResult.php +++ b/src/Adyen/Model/Disputes/DisputeServiceResult.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('errorMessage', $data ?? [], null); $this->setIfExists('success', $data ?? [], null); diff --git a/src/Adyen/Model/Disputes/ServiceError.php b/src/Adyen/Model/Disputes/ServiceError.php index 4d75067cb..21c0646d3 100644 --- a/src/Adyen/Model/Disputes/ServiceError.php +++ b/src/Adyen/Model/Disputes/ServiceError.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('errorCode', $data ?? [], null); $this->setIfExists('errorType', $data ?? [], null); diff --git a/src/Adyen/Model/Disputes/SupplyDefenseDocumentRequest.php b/src/Adyen/Model/Disputes/SupplyDefenseDocumentRequest.php index 1d3692de8..d0fa79595 100644 --- a/src/Adyen/Model/Disputes/SupplyDefenseDocumentRequest.php +++ b/src/Adyen/Model/Disputes/SupplyDefenseDocumentRequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('defenseDocuments', $data ?? [], null); $this->setIfExists('disputePspReference', $data ?? [], null); diff --git a/src/Adyen/Model/Disputes/SupplyDefenseDocumentResponse.php b/src/Adyen/Model/Disputes/SupplyDefenseDocumentResponse.php index c7a08e784..d5b0ca005 100644 --- a/src/Adyen/Model/Disputes/SupplyDefenseDocumentResponse.php +++ b/src/Adyen/Model/Disputes/SupplyDefenseDocumentResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('disputeServiceResult', $data ?? [], null); } diff --git a/src/Adyen/Model/LegalEntityManagement/AULocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/AULocalAccountIdentification.php index 5a0731b13..5ae74f6e7 100644 --- a/src/Adyen/Model/LegalEntityManagement/AULocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/AULocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bsbCode', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.php b/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.php index 12c392407..2e5f9faa5 100644 --- a/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.php +++ b/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acceptedBy', $data ?? [], null); $this->setIfExists('ipAddress', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceResponse.php b/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceResponse.php index bbc1c41a9..4d6128fc1 100644 --- a/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceResponse.php @@ -287,7 +287,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acceptedBy', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/AdditionalBankIdentification.php b/src/Adyen/Model/LegalEntityManagement/AdditionalBankIdentification.php index bdc076d71..1f2d2dd18 100644 --- a/src/Adyen/Model/LegalEntityManagement/AdditionalBankIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/AdditionalBankIdentification.php @@ -249,7 +249,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('code', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/Address.php b/src/Adyen/Model/LegalEntityManagement/Address.php index dec774364..d642824c6 100644 --- a/src/Adyen/Model/LegalEntityManagement/Address.php +++ b/src/Adyen/Model/LegalEntityManagement/Address.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/Amount.php b/src/Adyen/Model/LegalEntityManagement/Amount.php index 186c4b832..94603b1c9 100644 --- a/src/Adyen/Model/LegalEntityManagement/Amount.php +++ b/src/Adyen/Model/LegalEntityManagement/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/Attachment.php b/src/Adyen/Model/LegalEntityManagement/Attachment.php index 8a8db33dd..975f8c448 100644 --- a/src/Adyen/Model/LegalEntityManagement/Attachment.php +++ b/src/Adyen/Model/LegalEntityManagement/Attachment.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('content', $data ?? [], null); $this->setIfExists('contentType', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/BankAccountInfo.php b/src/Adyen/Model/LegalEntityManagement/BankAccountInfo.php index 66471833f..2abe75e73 100644 --- a/src/Adyen/Model/LegalEntityManagement/BankAccountInfo.php +++ b/src/Adyen/Model/LegalEntityManagement/BankAccountInfo.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountIdentification', $data ?? [], null); $this->setIfExists('accountType', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/BankAccountInfoAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/BankAccountInfoAccountIdentification.php index f2a476fb3..1f98f8546 100644 --- a/src/Adyen/Model/LegalEntityManagement/BankAccountInfoAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/BankAccountInfoAccountIdentification.php @@ -307,7 +307,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bsbCode', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/BirthData.php b/src/Adyen/Model/LegalEntityManagement/BirthData.php index 68834e828..5eeb59fa9 100644 --- a/src/Adyen/Model/LegalEntityManagement/BirthData.php +++ b/src/Adyen/Model/LegalEntityManagement/BirthData.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('dateOfBirth', $data ?? [], null); } diff --git a/src/Adyen/Model/LegalEntityManagement/BusinessLine.php b/src/Adyen/Model/LegalEntityManagement/BusinessLine.php index 3922cb881..e3c96b0b8 100644 --- a/src/Adyen/Model/LegalEntityManagement/BusinessLine.php +++ b/src/Adyen/Model/LegalEntityManagement/BusinessLine.php @@ -313,7 +313,7 @@ public function getServiceAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('capability', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/BusinessLineInfo.php b/src/Adyen/Model/LegalEntityManagement/BusinessLineInfo.php index bffc0c1ee..ea89ff64c 100644 --- a/src/Adyen/Model/LegalEntityManagement/BusinessLineInfo.php +++ b/src/Adyen/Model/LegalEntityManagement/BusinessLineInfo.php @@ -301,7 +301,7 @@ public function getServiceAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('capability', $data ?? [], null); $this->setIfExists('industryCode', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/BusinessLineInfoUpdate.php b/src/Adyen/Model/LegalEntityManagement/BusinessLineInfoUpdate.php index e01229910..1f2c0a2c6 100644 --- a/src/Adyen/Model/LegalEntityManagement/BusinessLineInfoUpdate.php +++ b/src/Adyen/Model/LegalEntityManagement/BusinessLineInfoUpdate.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('industryCode', $data ?? [], null); $this->setIfExists('salesChannels', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/BusinessLines.php b/src/Adyen/Model/LegalEntityManagement/BusinessLines.php index 350759364..7e580a96b 100644 --- a/src/Adyen/Model/LegalEntityManagement/BusinessLines.php +++ b/src/Adyen/Model/LegalEntityManagement/BusinessLines.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('businessLines', $data ?? [], null); } diff --git a/src/Adyen/Model/LegalEntityManagement/CALocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/CALocalAccountIdentification.php index da4101fec..46b80e109 100644 --- a/src/Adyen/Model/LegalEntityManagement/CALocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/CALocalAccountIdentification.php @@ -279,7 +279,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('accountType', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/CZLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/CZLocalAccountIdentification.php index a1df6f894..aa1f7f754 100644 --- a/src/Adyen/Model/LegalEntityManagement/CZLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/CZLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bankCode', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/CalculatePciStatusRequest.php b/src/Adyen/Model/LegalEntityManagement/CalculatePciStatusRequest.php index b3c961e2b..62a21502c 100644 --- a/src/Adyen/Model/LegalEntityManagement/CalculatePciStatusRequest.php +++ b/src/Adyen/Model/LegalEntityManagement/CalculatePciStatusRequest.php @@ -247,7 +247,7 @@ public function getAdditionalSalesChannelsAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalSalesChannels', $data ?? [], null); } diff --git a/src/Adyen/Model/LegalEntityManagement/CalculatePciStatusResponse.php b/src/Adyen/Model/LegalEntityManagement/CalculatePciStatusResponse.php index 2020be5c9..ff0a840e7 100644 --- a/src/Adyen/Model/LegalEntityManagement/CalculatePciStatusResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/CalculatePciStatusResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('signingRequired', $data ?? [], null); } diff --git a/src/Adyen/Model/LegalEntityManagement/CalculateTermsOfServiceStatusResponse.php b/src/Adyen/Model/LegalEntityManagement/CalculateTermsOfServiceStatusResponse.php index ff6c690f4..d5033bba1 100644 --- a/src/Adyen/Model/LegalEntityManagement/CalculateTermsOfServiceStatusResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/CalculateTermsOfServiceStatusResponse.php @@ -257,7 +257,7 @@ public function getTermsOfServiceTypesAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('termsOfServiceTypes', $data ?? [], null); } diff --git a/src/Adyen/Model/LegalEntityManagement/CapabilityProblem.php b/src/Adyen/Model/LegalEntityManagement/CapabilityProblem.php index e2c30cf2f..c51e1073b 100644 --- a/src/Adyen/Model/LegalEntityManagement/CapabilityProblem.php +++ b/src/Adyen/Model/LegalEntityManagement/CapabilityProblem.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('entity', $data ?? [], null); $this->setIfExists('verificationErrors', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/CapabilityProblemEntity.php b/src/Adyen/Model/LegalEntityManagement/CapabilityProblemEntity.php index 9182a4a10..ac98738f4 100644 --- a/src/Adyen/Model/LegalEntityManagement/CapabilityProblemEntity.php +++ b/src/Adyen/Model/LegalEntityManagement/CapabilityProblemEntity.php @@ -265,7 +265,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('documents', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/CapabilityProblemEntityRecursive.php b/src/Adyen/Model/LegalEntityManagement/CapabilityProblemEntityRecursive.php index 1e74b01d1..185d08810 100644 --- a/src/Adyen/Model/LegalEntityManagement/CapabilityProblemEntityRecursive.php +++ b/src/Adyen/Model/LegalEntityManagement/CapabilityProblemEntityRecursive.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('documents', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/CapabilitySettings.php b/src/Adyen/Model/LegalEntityManagement/CapabilitySettings.php index 673ee6109..ee45bbd0e 100644 --- a/src/Adyen/Model/LegalEntityManagement/CapabilitySettings.php +++ b/src/Adyen/Model/LegalEntityManagement/CapabilitySettings.php @@ -285,7 +285,7 @@ public function getIntervalAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amountPerIndustry', $data ?? [], null); $this->setIfExists('authorizedCardUsers', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/CheckTaxElectronicDeliveryConsentResponse.php b/src/Adyen/Model/LegalEntityManagement/CheckTaxElectronicDeliveryConsentResponse.php index e88fadd54..72ab8a504 100644 --- a/src/Adyen/Model/LegalEntityManagement/CheckTaxElectronicDeliveryConsentResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/CheckTaxElectronicDeliveryConsentResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('uS1099k', $data ?? [], null); } diff --git a/src/Adyen/Model/LegalEntityManagement/DKLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/DKLocalAccountIdentification.php index 79049e88a..94282ed4d 100644 --- a/src/Adyen/Model/LegalEntityManagement/DKLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/DKLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bankCode', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/DataReviewConfirmationResponse.php b/src/Adyen/Model/LegalEntityManagement/DataReviewConfirmationResponse.php index acef3aacd..ea1dbca63 100644 --- a/src/Adyen/Model/LegalEntityManagement/DataReviewConfirmationResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/DataReviewConfirmationResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('dataReviewedAt', $data ?? [], null); } diff --git a/src/Adyen/Model/LegalEntityManagement/Document.php b/src/Adyen/Model/LegalEntityManagement/Document.php index 46d18998f..5e3a29ede 100644 --- a/src/Adyen/Model/LegalEntityManagement/Document.php +++ b/src/Adyen/Model/LegalEntityManagement/Document.php @@ -349,7 +349,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('attachment', $data ?? [], null); $this->setIfExists('attachments', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/DocumentPage.php b/src/Adyen/Model/LegalEntityManagement/DocumentPage.php index 508f9dca6..31edfd943 100644 --- a/src/Adyen/Model/LegalEntityManagement/DocumentPage.php +++ b/src/Adyen/Model/LegalEntityManagement/DocumentPage.php @@ -257,7 +257,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('pageName', $data ?? [], null); $this->setIfExists('pageNumber', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/DocumentReference.php b/src/Adyen/Model/LegalEntityManagement/DocumentReference.php index d8a0af9f2..8160bc23f 100644 --- a/src/Adyen/Model/LegalEntityManagement/DocumentReference.php +++ b/src/Adyen/Model/LegalEntityManagement/DocumentReference.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('active', $data ?? [], null); $this->setIfExists('description', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/EntityReference.php b/src/Adyen/Model/LegalEntityManagement/EntityReference.php index a5bc4cefa..afd193a11 100644 --- a/src/Adyen/Model/LegalEntityManagement/EntityReference.php +++ b/src/Adyen/Model/LegalEntityManagement/EntityReference.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/src/Adyen/Model/LegalEntityManagement/FinancialReport.php b/src/Adyen/Model/LegalEntityManagement/FinancialReport.php index 2e4786712..4499ca7b9 100644 --- a/src/Adyen/Model/LegalEntityManagement/FinancialReport.php +++ b/src/Adyen/Model/LegalEntityManagement/FinancialReport.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('annualTurnover', $data ?? [], null); $this->setIfExists('balanceSheetTotal', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/GeneratePciDescriptionRequest.php b/src/Adyen/Model/LegalEntityManagement/GeneratePciDescriptionRequest.php index e55d97a34..814c5f409 100644 --- a/src/Adyen/Model/LegalEntityManagement/GeneratePciDescriptionRequest.php +++ b/src/Adyen/Model/LegalEntityManagement/GeneratePciDescriptionRequest.php @@ -253,7 +253,7 @@ public function getAdditionalSalesChannelsAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalSalesChannels', $data ?? [], null); $this->setIfExists('language', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/GeneratePciDescriptionResponse.php b/src/Adyen/Model/LegalEntityManagement/GeneratePciDescriptionResponse.php index e16e44a45..8d37a5b86 100644 --- a/src/Adyen/Model/LegalEntityManagement/GeneratePciDescriptionResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/GeneratePciDescriptionResponse.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('content', $data ?? [], null); $this->setIfExists('language', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/GetAcceptedTermsOfServiceDocumentResponse.php b/src/Adyen/Model/LegalEntityManagement/GetAcceptedTermsOfServiceDocumentResponse.php index 8c596499e..6776f02e2 100644 --- a/src/Adyen/Model/LegalEntityManagement/GetAcceptedTermsOfServiceDocumentResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/GetAcceptedTermsOfServiceDocumentResponse.php @@ -263,7 +263,7 @@ public function getTermsOfServiceDocumentFormatAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('document', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/GetPciQuestionnaireInfosResponse.php b/src/Adyen/Model/LegalEntityManagement/GetPciQuestionnaireInfosResponse.php index 2875d01f8..357f475b8 100644 --- a/src/Adyen/Model/LegalEntityManagement/GetPciQuestionnaireInfosResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/GetPciQuestionnaireInfosResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); } diff --git a/src/Adyen/Model/LegalEntityManagement/GetPciQuestionnaireResponse.php b/src/Adyen/Model/LegalEntityManagement/GetPciQuestionnaireResponse.php index 10e979157..0c21027a8 100644 --- a/src/Adyen/Model/LegalEntityManagement/GetPciQuestionnaireResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/GetPciQuestionnaireResponse.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('content', $data ?? [], null); $this->setIfExists('createdAt', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceAcceptanceInfosResponse.php b/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceAcceptanceInfosResponse.php index 48aec665a..c0159215a 100644 --- a/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceAcceptanceInfosResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceAcceptanceInfosResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); } diff --git a/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.php b/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.php index 4b5a104d6..2caadf112 100644 --- a/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.php +++ b/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.php @@ -269,7 +269,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('language', $data ?? [], null); $this->setIfExists('termsOfServiceDocumentFormat', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentResponse.php b/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentResponse.php index d7e1d2612..2a5554a34 100644 --- a/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentResponse.php @@ -287,7 +287,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('document', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/HKLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/HKLocalAccountIdentification.php index 7be36c68b..725738748 100644 --- a/src/Adyen/Model/LegalEntityManagement/HKLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/HKLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('clearingCode', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/HULocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/HULocalAccountIdentification.php index 916bb722a..695b8aff3 100644 --- a/src/Adyen/Model/LegalEntityManagement/HULocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/HULocalAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/IbanAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/IbanAccountIdentification.php index b1f4e50a5..19d63442b 100644 --- a/src/Adyen/Model/LegalEntityManagement/IbanAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/IbanAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('iban', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/IdentificationData.php b/src/Adyen/Model/LegalEntityManagement/IdentificationData.php index 4993dc186..e9d1ced64 100644 --- a/src/Adyen/Model/LegalEntityManagement/IdentificationData.php +++ b/src/Adyen/Model/LegalEntityManagement/IdentificationData.php @@ -283,7 +283,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cardNumber', $data ?? [], null); $this->setIfExists('expiryDate', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/Individual.php b/src/Adyen/Model/LegalEntityManagement/Individual.php index 6a80a3d1c..6ace67b4b 100644 --- a/src/Adyen/Model/LegalEntityManagement/Individual.php +++ b/src/Adyen/Model/LegalEntityManagement/Individual.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('birthData', $data ?? [], null); $this->setIfExists('email', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/LegalEntity.php b/src/Adyen/Model/LegalEntityManagement/LegalEntity.php index 05b34bbab..91fb97649 100644 --- a/src/Adyen/Model/LegalEntityManagement/LegalEntity.php +++ b/src/Adyen/Model/LegalEntityManagement/LegalEntity.php @@ -339,7 +339,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('capabilities', $data ?? [], null); $this->setIfExists('documentDetails', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/LegalEntityAssociation.php b/src/Adyen/Model/LegalEntityManagement/LegalEntityAssociation.php index a54827807..a06f368f0 100644 --- a/src/Adyen/Model/LegalEntityManagement/LegalEntityAssociation.php +++ b/src/Adyen/Model/LegalEntityManagement/LegalEntityAssociation.php @@ -323,7 +323,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associatorId', $data ?? [], null); $this->setIfExists('entityType', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/LegalEntityCapability.php b/src/Adyen/Model/LegalEntityManagement/LegalEntityCapability.php index b0aca4f19..1b0e9e543 100644 --- a/src/Adyen/Model/LegalEntityManagement/LegalEntityCapability.php +++ b/src/Adyen/Model/LegalEntityManagement/LegalEntityCapability.php @@ -307,7 +307,7 @@ public function getRequestedLevelAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allowed', $data ?? [], null); $this->setIfExists('allowedLevel', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/LegalEntityInfo.php b/src/Adyen/Model/LegalEntityManagement/LegalEntityInfo.php index b672aafd2..3dbc41230 100644 --- a/src/Adyen/Model/LegalEntityManagement/LegalEntityInfo.php +++ b/src/Adyen/Model/LegalEntityManagement/LegalEntityInfo.php @@ -303,7 +303,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('capabilities', $data ?? [], null); $this->setIfExists('entityAssociations', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/LegalEntityInfoRequiredType.php b/src/Adyen/Model/LegalEntityManagement/LegalEntityInfoRequiredType.php index 6a33228d5..3439484bb 100644 --- a/src/Adyen/Model/LegalEntityManagement/LegalEntityInfoRequiredType.php +++ b/src/Adyen/Model/LegalEntityManagement/LegalEntityInfoRequiredType.php @@ -303,7 +303,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('capabilities', $data ?? [], null); $this->setIfExists('entityAssociations', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/NOLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/NOLocalAccountIdentification.php index fdbb27b05..2034537d2 100644 --- a/src/Adyen/Model/LegalEntityManagement/NOLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/NOLocalAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/NZLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/NZLocalAccountIdentification.php index 223fd84ac..4efd2fe39 100644 --- a/src/Adyen/Model/LegalEntityManagement/NZLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/NZLocalAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/Name.php b/src/Adyen/Model/LegalEntityManagement/Name.php index 675fa6447..8798da7fb 100644 --- a/src/Adyen/Model/LegalEntityManagement/Name.php +++ b/src/Adyen/Model/LegalEntityManagement/Name.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('firstName', $data ?? [], null); $this->setIfExists('infix', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/NumberAndBicAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/NumberAndBicAccountIdentification.php index 9f0f1dbe1..1c71f8f41 100644 --- a/src/Adyen/Model/LegalEntityManagement/NumberAndBicAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/NumberAndBicAccountIdentification.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('additionalBankIdentification', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/OnboardingLink.php b/src/Adyen/Model/LegalEntityManagement/OnboardingLink.php index 0a43f382d..546ed6394 100644 --- a/src/Adyen/Model/LegalEntityManagement/OnboardingLink.php +++ b/src/Adyen/Model/LegalEntityManagement/OnboardingLink.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('url', $data ?? [], null); } diff --git a/src/Adyen/Model/LegalEntityManagement/OnboardingLinkInfo.php b/src/Adyen/Model/LegalEntityManagement/OnboardingLinkInfo.php index d154c5de9..9a3d22774 100644 --- a/src/Adyen/Model/LegalEntityManagement/OnboardingLinkInfo.php +++ b/src/Adyen/Model/LegalEntityManagement/OnboardingLinkInfo.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('locale', $data ?? [], null); $this->setIfExists('redirectUrl', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.php b/src/Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.php index 4149ba9df..1309a60af 100644 --- a/src/Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.php +++ b/src/Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.php @@ -319,7 +319,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acceptedCountries', $data ?? [], null); $this->setIfExists('allowBankAccountFormatSelection', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/OnboardingTheme.php b/src/Adyen/Model/LegalEntityManagement/OnboardingTheme.php index 28bcdba37..9dfc8df77 100644 --- a/src/Adyen/Model/LegalEntityManagement/OnboardingTheme.php +++ b/src/Adyen/Model/LegalEntityManagement/OnboardingTheme.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('createdAt', $data ?? [], null); $this->setIfExists('description', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/OnboardingThemes.php b/src/Adyen/Model/LegalEntityManagement/OnboardingThemes.php index e11fe45c4..1fc34dcb3 100644 --- a/src/Adyen/Model/LegalEntityManagement/OnboardingThemes.php +++ b/src/Adyen/Model/LegalEntityManagement/OnboardingThemes.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('previous', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/Organization.php b/src/Adyen/Model/LegalEntityManagement/Organization.php index fd32d9aef..c45c03761 100644 --- a/src/Adyen/Model/LegalEntityManagement/Organization.php +++ b/src/Adyen/Model/LegalEntityManagement/Organization.php @@ -367,7 +367,7 @@ public function getVatAbsenceReasonAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('countryOfGoverningLaw', $data ?? [], null); $this->setIfExists('dateOfIncorporation', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/OwnerEntity.php b/src/Adyen/Model/LegalEntityManagement/OwnerEntity.php index d9c25bd66..3e8e4b38d 100644 --- a/src/Adyen/Model/LegalEntityManagement/OwnerEntity.php +++ b/src/Adyen/Model/LegalEntityManagement/OwnerEntity.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/PLLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/PLLocalAccountIdentification.php index 3f8fe0ff7..55fa86100 100644 --- a/src/Adyen/Model/LegalEntityManagement/PLLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/PLLocalAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/PciDocumentInfo.php b/src/Adyen/Model/LegalEntityManagement/PciDocumentInfo.php index a73ad1f0f..68ba7950d 100644 --- a/src/Adyen/Model/LegalEntityManagement/PciDocumentInfo.php +++ b/src/Adyen/Model/LegalEntityManagement/PciDocumentInfo.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('createdAt', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/PciSigningRequest.php b/src/Adyen/Model/LegalEntityManagement/PciSigningRequest.php index 71cc9e86e..66cf2d0d0 100644 --- a/src/Adyen/Model/LegalEntityManagement/PciSigningRequest.php +++ b/src/Adyen/Model/LegalEntityManagement/PciSigningRequest.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('pciTemplateReferences', $data ?? [], null); $this->setIfExists('signedBy', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/PciSigningResponse.php b/src/Adyen/Model/LegalEntityManagement/PciSigningResponse.php index 2a9eea932..0c49a92a9 100644 --- a/src/Adyen/Model/LegalEntityManagement/PciSigningResponse.php +++ b/src/Adyen/Model/LegalEntityManagement/PciSigningResponse.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('pciQuestionnaireIds', $data ?? [], null); $this->setIfExists('signedBy', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/PhoneNumber.php b/src/Adyen/Model/LegalEntityManagement/PhoneNumber.php index 3c9c644c0..245a07c57 100644 --- a/src/Adyen/Model/LegalEntityManagement/PhoneNumber.php +++ b/src/Adyen/Model/LegalEntityManagement/PhoneNumber.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('number', $data ?? [], null); $this->setIfExists('phoneCountryCode', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/RemediatingAction.php b/src/Adyen/Model/LegalEntityManagement/RemediatingAction.php index e47d5c8dd..96484a944 100644 --- a/src/Adyen/Model/LegalEntityManagement/RemediatingAction.php +++ b/src/Adyen/Model/LegalEntityManagement/RemediatingAction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('code', $data ?? [], null); $this->setIfExists('message', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/SELocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/SELocalAccountIdentification.php index ad72026b2..06b14b79a 100644 --- a/src/Adyen/Model/LegalEntityManagement/SELocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/SELocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('clearingNumber', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/SGLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/SGLocalAccountIdentification.php index c7a5acf08..459c8a75a 100644 --- a/src/Adyen/Model/LegalEntityManagement/SGLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/SGLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bic', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/ServiceError.php b/src/Adyen/Model/LegalEntityManagement/ServiceError.php index cd15d6115..116c07fca 100644 --- a/src/Adyen/Model/LegalEntityManagement/ServiceError.php +++ b/src/Adyen/Model/LegalEntityManagement/ServiceError.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('errorCode', $data ?? [], null); $this->setIfExists('errorType', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/SetTaxElectronicDeliveryConsentRequest.php b/src/Adyen/Model/LegalEntityManagement/SetTaxElectronicDeliveryConsentRequest.php index f3eaf51b7..02f97023c 100644 --- a/src/Adyen/Model/LegalEntityManagement/SetTaxElectronicDeliveryConsentRequest.php +++ b/src/Adyen/Model/LegalEntityManagement/SetTaxElectronicDeliveryConsentRequest.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('uS1099k', $data ?? [], null); } diff --git a/src/Adyen/Model/LegalEntityManagement/SoleProprietorship.php b/src/Adyen/Model/LegalEntityManagement/SoleProprietorship.php index e810c983a..d4c6c676a 100644 --- a/src/Adyen/Model/LegalEntityManagement/SoleProprietorship.php +++ b/src/Adyen/Model/LegalEntityManagement/SoleProprietorship.php @@ -309,7 +309,7 @@ public function getVatAbsenceReasonAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('countryOfGoverningLaw', $data ?? [], null); $this->setIfExists('dateOfIncorporation', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/SourceOfFunds.php b/src/Adyen/Model/LegalEntityManagement/SourceOfFunds.php index 40bdd3233..2a71b6940 100644 --- a/src/Adyen/Model/LegalEntityManagement/SourceOfFunds.php +++ b/src/Adyen/Model/LegalEntityManagement/SourceOfFunds.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acquiringBusinessLineId', $data ?? [], null); $this->setIfExists('adyenProcessedFunds', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/StockData.php b/src/Adyen/Model/LegalEntityManagement/StockData.php index 04efbe08e..2344d3685 100644 --- a/src/Adyen/Model/LegalEntityManagement/StockData.php +++ b/src/Adyen/Model/LegalEntityManagement/StockData.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('marketIdentifier', $data ?? [], null); $this->setIfExists('stockNumber', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/SupportingEntityCapability.php b/src/Adyen/Model/LegalEntityManagement/SupportingEntityCapability.php index bb9015227..cc134b2b5 100644 --- a/src/Adyen/Model/LegalEntityManagement/SupportingEntityCapability.php +++ b/src/Adyen/Model/LegalEntityManagement/SupportingEntityCapability.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allowed', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/TaxInformation.php b/src/Adyen/Model/LegalEntityManagement/TaxInformation.php index 346e17a73..e9f9d9fc7 100644 --- a/src/Adyen/Model/LegalEntityManagement/TaxInformation.php +++ b/src/Adyen/Model/LegalEntityManagement/TaxInformation.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('country', $data ?? [], null); $this->setIfExists('number', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/TaxReportingClassification.php b/src/Adyen/Model/LegalEntityManagement/TaxReportingClassification.php index efd22f175..28e502646 100644 --- a/src/Adyen/Model/LegalEntityManagement/TaxReportingClassification.php +++ b/src/Adyen/Model/LegalEntityManagement/TaxReportingClassification.php @@ -307,7 +307,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('businessType', $data ?? [], null); $this->setIfExists('financialInstitutionNumber', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/TermsOfServiceAcceptanceInfo.php b/src/Adyen/Model/LegalEntityManagement/TermsOfServiceAcceptanceInfo.php index d0f7d5d94..30d213197 100644 --- a/src/Adyen/Model/LegalEntityManagement/TermsOfServiceAcceptanceInfo.php +++ b/src/Adyen/Model/LegalEntityManagement/TermsOfServiceAcceptanceInfo.php @@ -281,7 +281,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acceptedBy', $data ?? [], null); $this->setIfExists('acceptedFor', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/TransferInstrument.php b/src/Adyen/Model/LegalEntityManagement/TransferInstrument.php index 6057d9750..d086c42f0 100644 --- a/src/Adyen/Model/LegalEntityManagement/TransferInstrument.php +++ b/src/Adyen/Model/LegalEntityManagement/TransferInstrument.php @@ -279,7 +279,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('bankAccount', $data ?? [], null); $this->setIfExists('capabilities', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/TransferInstrumentInfo.php b/src/Adyen/Model/LegalEntityManagement/TransferInstrumentInfo.php index b542ca7ee..53b9dd084 100644 --- a/src/Adyen/Model/LegalEntityManagement/TransferInstrumentInfo.php +++ b/src/Adyen/Model/LegalEntityManagement/TransferInstrumentInfo.php @@ -255,7 +255,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('bankAccount', $data ?? [], null); $this->setIfExists('legalEntityId', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/TransferInstrumentReference.php b/src/Adyen/Model/LegalEntityManagement/TransferInstrumentReference.php index a696410af..cc084f427 100644 --- a/src/Adyen/Model/LegalEntityManagement/TransferInstrumentReference.php +++ b/src/Adyen/Model/LegalEntityManagement/TransferInstrumentReference.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountIdentifier', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/Trust.php b/src/Adyen/Model/LegalEntityManagement/Trust.php index 2362049c0..1ab3a4c66 100644 --- a/src/Adyen/Model/LegalEntityManagement/Trust.php +++ b/src/Adyen/Model/LegalEntityManagement/Trust.php @@ -363,7 +363,7 @@ public function getVatAbsenceReasonAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('countryOfGoverningLaw', $data ?? [], null); $this->setIfExists('dateOfIncorporation', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/UKLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/UKLocalAccountIdentification.php index 31b6043e6..620d68126 100644 --- a/src/Adyen/Model/LegalEntityManagement/UKLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/UKLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('sortCode', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/USLocalAccountIdentification.php b/src/Adyen/Model/LegalEntityManagement/USLocalAccountIdentification.php index 78f3dd56a..1838de258 100644 --- a/src/Adyen/Model/LegalEntityManagement/USLocalAccountIdentification.php +++ b/src/Adyen/Model/LegalEntityManagement/USLocalAccountIdentification.php @@ -273,7 +273,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('accountType', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/UndefinedBeneficiary.php b/src/Adyen/Model/LegalEntityManagement/UndefinedBeneficiary.php index 738a29422..c1389c53b 100644 --- a/src/Adyen/Model/LegalEntityManagement/UndefinedBeneficiary.php +++ b/src/Adyen/Model/LegalEntityManagement/UndefinedBeneficiary.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('reference', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/UnincorporatedPartnership.php b/src/Adyen/Model/LegalEntityManagement/UnincorporatedPartnership.php index b0227e76a..2067fdb7f 100644 --- a/src/Adyen/Model/LegalEntityManagement/UnincorporatedPartnership.php +++ b/src/Adyen/Model/LegalEntityManagement/UnincorporatedPartnership.php @@ -375,7 +375,7 @@ public function getVatAbsenceReasonAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('countryOfGoverningLaw', $data ?? [], null); $this->setIfExists('dateOfIncorporation', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/VerificationDeadline.php b/src/Adyen/Model/LegalEntityManagement/VerificationDeadline.php index 1536c893b..413661f14 100644 --- a/src/Adyen/Model/LegalEntityManagement/VerificationDeadline.php +++ b/src/Adyen/Model/LegalEntityManagement/VerificationDeadline.php @@ -361,7 +361,7 @@ public function getCapabilitiesAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('capabilities', $data ?? [], null); $this->setIfExists('entityIds', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/VerificationError.php b/src/Adyen/Model/LegalEntityManagement/VerificationError.php index a6e230b37..8b33cb292 100644 --- a/src/Adyen/Model/LegalEntityManagement/VerificationError.php +++ b/src/Adyen/Model/LegalEntityManagement/VerificationError.php @@ -399,7 +399,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('capabilities', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/VerificationErrorRecursive.php b/src/Adyen/Model/LegalEntityManagement/VerificationErrorRecursive.php index 92f320a3a..7453ef977 100644 --- a/src/Adyen/Model/LegalEntityManagement/VerificationErrorRecursive.php +++ b/src/Adyen/Model/LegalEntityManagement/VerificationErrorRecursive.php @@ -393,7 +393,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('capabilities', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/VerificationErrors.php b/src/Adyen/Model/LegalEntityManagement/VerificationErrors.php index 46979620d..73b2f1316 100644 --- a/src/Adyen/Model/LegalEntityManagement/VerificationErrors.php +++ b/src/Adyen/Model/LegalEntityManagement/VerificationErrors.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('problems', $data ?? [], null); } diff --git a/src/Adyen/Model/LegalEntityManagement/WebData.php b/src/Adyen/Model/LegalEntityManagement/WebData.php index 2b0fb1a22..75582d6b2 100644 --- a/src/Adyen/Model/LegalEntityManagement/WebData.php +++ b/src/Adyen/Model/LegalEntityManagement/WebData.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('webAddress', $data ?? [], null); $this->setIfExists('webAddressId', $data ?? [], null); diff --git a/src/Adyen/Model/LegalEntityManagement/WebDataExemption.php b/src/Adyen/Model/LegalEntityManagement/WebDataExemption.php index addba895e..1d8ac4f51 100644 --- a/src/Adyen/Model/LegalEntityManagement/WebDataExemption.php +++ b/src/Adyen/Model/LegalEntityManagement/WebDataExemption.php @@ -243,7 +243,7 @@ public function getReasonAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('reason', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/AccelInfo.php b/src/Adyen/Model/Management/AccelInfo.php index d056973ce..d75368bb3 100644 --- a/src/Adyen/Model/Management/AccelInfo.php +++ b/src/Adyen/Model/Management/AccelInfo.php @@ -251,7 +251,7 @@ public function getProcessingTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('processingType', $data ?? [], null); $this->setIfExists('transactionDescription', $data ?? [], null); diff --git a/src/Adyen/Model/Management/AdditionalCommission.php b/src/Adyen/Model/Management/AdditionalCommission.php index 2d1970938..8b4c0bb97 100644 --- a/src/Adyen/Model/Management/AdditionalCommission.php +++ b/src/Adyen/Model/Management/AdditionalCommission.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balanceAccountId', $data ?? [], null); $this->setIfExists('fixedAmount', $data ?? [], null); diff --git a/src/Adyen/Model/Management/AdditionalSettings.php b/src/Adyen/Model/Management/AdditionalSettings.php index 93c1b5b81..aa1cd5157 100644 --- a/src/Adyen/Model/Management/AdditionalSettings.php +++ b/src/Adyen/Model/Management/AdditionalSettings.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('includeEventCodes', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/src/Adyen/Model/Management/AdditionalSettingsResponse.php b/src/Adyen/Model/Management/AdditionalSettingsResponse.php index 1a2e38a70..a3229eae6 100644 --- a/src/Adyen/Model/Management/AdditionalSettingsResponse.php +++ b/src/Adyen/Model/Management/AdditionalSettingsResponse.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('excludeEventCodes', $data ?? [], null); $this->setIfExists('includeEventCodes', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Address.php b/src/Adyen/Model/Management/Address.php index 016d5ab4b..1d8914fd3 100644 --- a/src/Adyen/Model/Management/Address.php +++ b/src/Adyen/Model/Management/Address.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('companyName', $data ?? [], null); diff --git a/src/Adyen/Model/Management/AffirmInfo.php b/src/Adyen/Model/Management/AffirmInfo.php index d0b069911..c7bf7df23 100644 --- a/src/Adyen/Model/Management/AffirmInfo.php +++ b/src/Adyen/Model/Management/AffirmInfo.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('supportEmail', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/AfterpayTouchInfo.php b/src/Adyen/Model/Management/AfterpayTouchInfo.php index 8967a99c6..140a825d3 100644 --- a/src/Adyen/Model/Management/AfterpayTouchInfo.php +++ b/src/Adyen/Model/Management/AfterpayTouchInfo.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('supportUrl', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/AllowedOrigin.php b/src/Adyen/Model/Management/AllowedOrigin.php index b111ea1f7..0f317ad9b 100644 --- a/src/Adyen/Model/Management/AllowedOrigin.php +++ b/src/Adyen/Model/Management/AllowedOrigin.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('domain', $data ?? [], null); diff --git a/src/Adyen/Model/Management/AllowedOriginsResponse.php b/src/Adyen/Model/Management/AllowedOriginsResponse.php index d99757458..0db6bd70e 100644 --- a/src/Adyen/Model/Management/AllowedOriginsResponse.php +++ b/src/Adyen/Model/Management/AllowedOriginsResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/AmexInfo.php b/src/Adyen/Model/Management/AmexInfo.php index 10d62094e..9beb05ea2 100644 --- a/src/Adyen/Model/Management/AmexInfo.php +++ b/src/Adyen/Model/Management/AmexInfo.php @@ -257,7 +257,7 @@ public function getServiceLevelAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('midNumber', $data ?? [], null); $this->setIfExists('reuseMidNumber', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Amount.php b/src/Adyen/Model/Management/Amount.php index 856712d62..bf9856f78 100644 --- a/src/Adyen/Model/Management/Amount.php +++ b/src/Adyen/Model/Management/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/Management/AndroidApp.php b/src/Adyen/Model/Management/AndroidApp.php index ce05433bc..b380e2f16 100644 --- a/src/Adyen/Model/Management/AndroidApp.php +++ b/src/Adyen/Model/Management/AndroidApp.php @@ -297,7 +297,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('errorCode', $data ?? [], null); diff --git a/src/Adyen/Model/Management/AndroidAppError.php b/src/Adyen/Model/Management/AndroidAppError.php index 461f47937..afb6377d2 100644 --- a/src/Adyen/Model/Management/AndroidAppError.php +++ b/src/Adyen/Model/Management/AndroidAppError.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('errorCode', $data ?? [], null); $this->setIfExists('terminalModels', $data ?? [], null); diff --git a/src/Adyen/Model/Management/AndroidAppsResponse.php b/src/Adyen/Model/Management/AndroidAppsResponse.php index 3ec9cf85d..ba2adeb86 100644 --- a/src/Adyen/Model/Management/AndroidAppsResponse.php +++ b/src/Adyen/Model/Management/AndroidAppsResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/AndroidCertificate.php b/src/Adyen/Model/Management/AndroidCertificate.php index 654f18ba0..890590f33 100644 --- a/src/Adyen/Model/Management/AndroidCertificate.php +++ b/src/Adyen/Model/Management/AndroidCertificate.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('extension', $data ?? [], null); diff --git a/src/Adyen/Model/Management/AndroidCertificatesResponse.php b/src/Adyen/Model/Management/AndroidCertificatesResponse.php index 3052f3114..61330494c 100644 --- a/src/Adyen/Model/Management/AndroidCertificatesResponse.php +++ b/src/Adyen/Model/Management/AndroidCertificatesResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/ApiCredential.php b/src/Adyen/Model/Management/ApiCredential.php index 077dd6e84..215535237 100644 --- a/src/Adyen/Model/Management/ApiCredential.php +++ b/src/Adyen/Model/Management/ApiCredential.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('active', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ApiCredentialLinks.php b/src/Adyen/Model/Management/ApiCredentialLinks.php index 9a9d33cf8..351e2a84f 100644 --- a/src/Adyen/Model/Management/ApiCredentialLinks.php +++ b/src/Adyen/Model/Management/ApiCredentialLinks.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allowedOrigins', $data ?? [], null); $this->setIfExists('company', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ApplePayInfo.php b/src/Adyen/Model/Management/ApplePayInfo.php index 9e8737aae..67fc88ce9 100644 --- a/src/Adyen/Model/Management/ApplePayInfo.php +++ b/src/Adyen/Model/Management/ApplePayInfo.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('domains', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/BcmcInfo.php b/src/Adyen/Model/Management/BcmcInfo.php index 24007aa57..6137b89c6 100644 --- a/src/Adyen/Model/Management/BcmcInfo.php +++ b/src/Adyen/Model/Management/BcmcInfo.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('enableBcmcMobile', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/BillingEntitiesResponse.php b/src/Adyen/Model/Management/BillingEntitiesResponse.php index 1160f61ec..4199304ee 100644 --- a/src/Adyen/Model/Management/BillingEntitiesResponse.php +++ b/src/Adyen/Model/Management/BillingEntitiesResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/BillingEntity.php b/src/Adyen/Model/Management/BillingEntity.php index 99731d57c..a95a24f31 100644 --- a/src/Adyen/Model/Management/BillingEntity.php +++ b/src/Adyen/Model/Management/BillingEntity.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('address', $data ?? [], null); $this->setIfExists('email', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CardholderReceipt.php b/src/Adyen/Model/Management/CardholderReceipt.php index 895a15eae..13249aecc 100644 --- a/src/Adyen/Model/Management/CardholderReceipt.php +++ b/src/Adyen/Model/Management/CardholderReceipt.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('headerForAuthorizedReceipt', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/CartesBancairesInfo.php b/src/Adyen/Model/Management/CartesBancairesInfo.php index a597f2678..f97a3c815 100644 --- a/src/Adyen/Model/Management/CartesBancairesInfo.php +++ b/src/Adyen/Model/Management/CartesBancairesInfo.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('siret', $data ?? [], null); $this->setIfExists('transactionDescription', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ClearpayInfo.php b/src/Adyen/Model/Management/ClearpayInfo.php index cab0148c2..d8d5e0550 100644 --- a/src/Adyen/Model/Management/ClearpayInfo.php +++ b/src/Adyen/Model/Management/ClearpayInfo.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('supportUrl', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/Commission.php b/src/Adyen/Model/Management/Commission.php index 1aaea2278..446280d51 100644 --- a/src/Adyen/Model/Management/Commission.php +++ b/src/Adyen/Model/Management/Commission.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('fixedAmount', $data ?? [], null); $this->setIfExists('variablePercentage', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Company.php b/src/Adyen/Model/Management/Company.php index 4b2037d0f..11d6d9057 100644 --- a/src/Adyen/Model/Management/Company.php +++ b/src/Adyen/Model/Management/Company.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('dataCenters', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CompanyApiCredential.php b/src/Adyen/Model/Management/CompanyApiCredential.php index d5d4463c9..b71a3bb9a 100644 --- a/src/Adyen/Model/Management/CompanyApiCredential.php +++ b/src/Adyen/Model/Management/CompanyApiCredential.php @@ -283,7 +283,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('active', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CompanyLinks.php b/src/Adyen/Model/Management/CompanyLinks.php index 6c4cefd0c..ec9e03f97 100644 --- a/src/Adyen/Model/Management/CompanyLinks.php +++ b/src/Adyen/Model/Management/CompanyLinks.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('apiCredentials', $data ?? [], null); $this->setIfExists('self', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CompanyUser.php b/src/Adyen/Model/Management/CompanyUser.php index f061b104e..93b1d4880 100644 --- a/src/Adyen/Model/Management/CompanyUser.php +++ b/src/Adyen/Model/Management/CompanyUser.php @@ -289,7 +289,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('accountGroups', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Configuration.php b/src/Adyen/Model/Management/Configuration.php index 1a26cf6ff..ed28185a8 100644 --- a/src/Adyen/Model/Management/Configuration.php +++ b/src/Adyen/Model/Management/Configuration.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('brand', $data ?? [], null); $this->setIfExists('commercial', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Connectivity.php b/src/Adyen/Model/Management/Connectivity.php index d07b02bf3..d7c2fa842 100644 --- a/src/Adyen/Model/Management/Connectivity.php +++ b/src/Adyen/Model/Management/Connectivity.php @@ -249,7 +249,7 @@ public function getSimcardStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('simcardStatus', $data ?? [], null); $this->setIfExists('terminalIPAddressURL', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Contact.php b/src/Adyen/Model/Management/Contact.php index fe551b4a8..5847accea 100644 --- a/src/Adyen/Model/Management/Contact.php +++ b/src/Adyen/Model/Management/Contact.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('email', $data ?? [], null); $this->setIfExists('firstName', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CreateAllowedOriginRequest.php b/src/Adyen/Model/Management/CreateAllowedOriginRequest.php index 949f8f932..05514a1a8 100644 --- a/src/Adyen/Model/Management/CreateAllowedOriginRequest.php +++ b/src/Adyen/Model/Management/CreateAllowedOriginRequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('domain', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CreateApiCredentialResponse.php b/src/Adyen/Model/Management/CreateApiCredentialResponse.php index b13fa5cf7..217a65eed 100644 --- a/src/Adyen/Model/Management/CreateApiCredentialResponse.php +++ b/src/Adyen/Model/Management/CreateApiCredentialResponse.php @@ -289,7 +289,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('active', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CreateCompanyApiCredentialRequest.php b/src/Adyen/Model/Management/CreateCompanyApiCredentialRequest.php index 21bd847de..9e9dcb967 100644 --- a/src/Adyen/Model/Management/CreateCompanyApiCredentialRequest.php +++ b/src/Adyen/Model/Management/CreateCompanyApiCredentialRequest.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allowedOrigins', $data ?? [], null); $this->setIfExists('associatedMerchantAccounts', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CreateCompanyApiCredentialResponse.php b/src/Adyen/Model/Management/CreateCompanyApiCredentialResponse.php index 9084d1927..0b33d94cc 100644 --- a/src/Adyen/Model/Management/CreateCompanyApiCredentialResponse.php +++ b/src/Adyen/Model/Management/CreateCompanyApiCredentialResponse.php @@ -295,7 +295,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('active', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CreateCompanyUserRequest.php b/src/Adyen/Model/Management/CreateCompanyUserRequest.php index 1b5fa50c0..79d17362c 100644 --- a/src/Adyen/Model/Management/CreateCompanyUserRequest.php +++ b/src/Adyen/Model/Management/CreateCompanyUserRequest.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountGroups', $data ?? [], null); $this->setIfExists('associatedMerchantAccounts', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CreateCompanyUserResponse.php b/src/Adyen/Model/Management/CreateCompanyUserResponse.php index 15e265c4d..bb9e5da47 100644 --- a/src/Adyen/Model/Management/CreateCompanyUserResponse.php +++ b/src/Adyen/Model/Management/CreateCompanyUserResponse.php @@ -289,7 +289,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('accountGroups', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CreateCompanyWebhookRequest.php b/src/Adyen/Model/Management/CreateCompanyWebhookRequest.php index 41f2511af..f2840e580 100644 --- a/src/Adyen/Model/Management/CreateCompanyWebhookRequest.php +++ b/src/Adyen/Model/Management/CreateCompanyWebhookRequest.php @@ -381,7 +381,7 @@ public function getNetworkTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acceptsExpiredCertificate', $data ?? [], null); $this->setIfExists('acceptsSelfSignedCertificate', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CreateMerchantApiCredentialRequest.php b/src/Adyen/Model/Management/CreateMerchantApiCredentialRequest.php index 08e26ed96..7666136b7 100644 --- a/src/Adyen/Model/Management/CreateMerchantApiCredentialRequest.php +++ b/src/Adyen/Model/Management/CreateMerchantApiCredentialRequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allowedOrigins', $data ?? [], null); $this->setIfExists('description', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CreateMerchantRequest.php b/src/Adyen/Model/Management/CreateMerchantRequest.php index 619fb77fb..1fdeba938 100644 --- a/src/Adyen/Model/Management/CreateMerchantRequest.php +++ b/src/Adyen/Model/Management/CreateMerchantRequest.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('businessLineId', $data ?? [], null); $this->setIfExists('companyId', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CreateMerchantResponse.php b/src/Adyen/Model/Management/CreateMerchantResponse.php index a0c2b5b5a..d9a54f27a 100644 --- a/src/Adyen/Model/Management/CreateMerchantResponse.php +++ b/src/Adyen/Model/Management/CreateMerchantResponse.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('businessLineId', $data ?? [], null); $this->setIfExists('companyId', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CreateMerchantUserRequest.php b/src/Adyen/Model/Management/CreateMerchantUserRequest.php index dced4ef92..ca0827859 100644 --- a/src/Adyen/Model/Management/CreateMerchantUserRequest.php +++ b/src/Adyen/Model/Management/CreateMerchantUserRequest.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountGroups', $data ?? [], null); $this->setIfExists('email', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CreateMerchantWebhookRequest.php b/src/Adyen/Model/Management/CreateMerchantWebhookRequest.php index 4872fca09..d11b63151 100644 --- a/src/Adyen/Model/Management/CreateMerchantWebhookRequest.php +++ b/src/Adyen/Model/Management/CreateMerchantWebhookRequest.php @@ -353,7 +353,7 @@ public function getNetworkTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acceptsExpiredCertificate', $data ?? [], null); $this->setIfExists('acceptsSelfSignedCertificate', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CreateUserResponse.php b/src/Adyen/Model/Management/CreateUserResponse.php index c67a9af0a..b10edebda 100644 --- a/src/Adyen/Model/Management/CreateUserResponse.php +++ b/src/Adyen/Model/Management/CreateUserResponse.php @@ -283,7 +283,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('accountGroups', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Currency.php b/src/Adyen/Model/Management/Currency.php index 776e248fd..4bcc1a5a9 100644 --- a/src/Adyen/Model/Management/Currency.php +++ b/src/Adyen/Model/Management/Currency.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('currencyCode', $data ?? [], null); diff --git a/src/Adyen/Model/Management/CustomNotification.php b/src/Adyen/Model/Management/CustomNotification.php index b8eb76cf4..e029b9371 100644 --- a/src/Adyen/Model/Management/CustomNotification.php +++ b/src/Adyen/Model/Management/CustomNotification.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('eventCode', $data ?? [], null); diff --git a/src/Adyen/Model/Management/DataCenter.php b/src/Adyen/Model/Management/DataCenter.php index e4805574a..b9f5388fd 100644 --- a/src/Adyen/Model/Management/DataCenter.php +++ b/src/Adyen/Model/Management/DataCenter.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('livePrefix', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Adyen/Model/Management/DinersInfo.php b/src/Adyen/Model/Management/DinersInfo.php index f063288b4..f193fa1c6 100644 --- a/src/Adyen/Model/Management/DinersInfo.php +++ b/src/Adyen/Model/Management/DinersInfo.php @@ -261,7 +261,7 @@ public function getServiceLevelAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('midNumber', $data ?? [], null); $this->setIfExists('reuseMidNumber', $data ?? [], null); diff --git a/src/Adyen/Model/Management/EventUrl.php b/src/Adyen/Model/Management/EventUrl.php index 207ef5940..eff97756b 100644 --- a/src/Adyen/Model/Management/EventUrl.php +++ b/src/Adyen/Model/Management/EventUrl.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('eventLocalUrls', $data ?? [], null); $this->setIfExists('eventPublicUrls', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ExternalTerminalAction.php b/src/Adyen/Model/Management/ExternalTerminalAction.php index 379d745cd..62682db34 100644 --- a/src/Adyen/Model/Management/ExternalTerminalAction.php +++ b/src/Adyen/Model/Management/ExternalTerminalAction.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('actionType', $data ?? [], null); $this->setIfExists('config', $data ?? [], null); diff --git a/src/Adyen/Model/Management/File.php b/src/Adyen/Model/Management/File.php index a63c76aea..5f0f28038 100644 --- a/src/Adyen/Model/Management/File.php +++ b/src/Adyen/Model/Management/File.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Adyen/Model/Management/GenerateApiKeyResponse.php b/src/Adyen/Model/Management/GenerateApiKeyResponse.php index e1d941ca9..64f50c2d7 100644 --- a/src/Adyen/Model/Management/GenerateApiKeyResponse.php +++ b/src/Adyen/Model/Management/GenerateApiKeyResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('apiKey', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/GenerateClientKeyResponse.php b/src/Adyen/Model/Management/GenerateClientKeyResponse.php index 7a0b914a8..bf0849f6f 100644 --- a/src/Adyen/Model/Management/GenerateClientKeyResponse.php +++ b/src/Adyen/Model/Management/GenerateClientKeyResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('clientKey', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/GenerateHmacKeyResponse.php b/src/Adyen/Model/Management/GenerateHmacKeyResponse.php index 242e5217a..80943654b 100644 --- a/src/Adyen/Model/Management/GenerateHmacKeyResponse.php +++ b/src/Adyen/Model/Management/GenerateHmacKeyResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hmacKey', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/GenericPmWithTdiInfo.php b/src/Adyen/Model/Management/GenericPmWithTdiInfo.php index e7e694a87..e15a4ee04 100644 --- a/src/Adyen/Model/Management/GenericPmWithTdiInfo.php +++ b/src/Adyen/Model/Management/GenericPmWithTdiInfo.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('transactionDescription', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/GiroPayInfo.php b/src/Adyen/Model/Management/GiroPayInfo.php index 64cc47887..969c89539 100644 --- a/src/Adyen/Model/Management/GiroPayInfo.php +++ b/src/Adyen/Model/Management/GiroPayInfo.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('supportEmail', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/GooglePayInfo.php b/src/Adyen/Model/Management/GooglePayInfo.php index 351188cef..67505a239 100644 --- a/src/Adyen/Model/Management/GooglePayInfo.php +++ b/src/Adyen/Model/Management/GooglePayInfo.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantId', $data ?? [], null); $this->setIfExists('reuseMerchantId', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Gratuity.php b/src/Adyen/Model/Management/Gratuity.php index af96331fb..fc07e4dcc 100644 --- a/src/Adyen/Model/Management/Gratuity.php +++ b/src/Adyen/Model/Management/Gratuity.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allowCustomAmount', $data ?? [], null); $this->setIfExists('currency', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Hardware.php b/src/Adyen/Model/Management/Hardware.php index 66377e996..5e44266a4 100644 --- a/src/Adyen/Model/Management/Hardware.php +++ b/src/Adyen/Model/Management/Hardware.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('displayMaximumBackLight', $data ?? [], null); $this->setIfExists('resetTotalsHour', $data ?? [], null); diff --git a/src/Adyen/Model/Management/IdName.php b/src/Adyen/Model/Management/IdName.php index 5793b31a5..c685fe601 100644 --- a/src/Adyen/Model/Management/IdName.php +++ b/src/Adyen/Model/Management/IdName.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Adyen/Model/Management/InstallAndroidAppDetails.php b/src/Adyen/Model/Management/InstallAndroidAppDetails.php index 1011479b1..0519e24ee 100644 --- a/src/Adyen/Model/Management/InstallAndroidAppDetails.php +++ b/src/Adyen/Model/Management/InstallAndroidAppDetails.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('appId', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Management/InstallAndroidCertificateDetails.php b/src/Adyen/Model/Management/InstallAndroidCertificateDetails.php index 8247c5f17..61c15c60b 100644 --- a/src/Adyen/Model/Management/InstallAndroidCertificateDetails.php +++ b/src/Adyen/Model/Management/InstallAndroidCertificateDetails.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('certificateId', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Management/InvalidField.php b/src/Adyen/Model/Management/InvalidField.php index 3e1a1dcf3..e3ced5c70 100644 --- a/src/Adyen/Model/Management/InvalidField.php +++ b/src/Adyen/Model/Management/InvalidField.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('message', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Adyen/Model/Management/JCBInfo.php b/src/Adyen/Model/Management/JCBInfo.php index d87833d38..fc658ec73 100644 --- a/src/Adyen/Model/Management/JCBInfo.php +++ b/src/Adyen/Model/Management/JCBInfo.php @@ -261,7 +261,7 @@ public function getServiceLevelAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('midNumber', $data ?? [], null); $this->setIfExists('reuseMidNumber', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Key.php b/src/Adyen/Model/Management/Key.php index 392979203..f159e9aac 100644 --- a/src/Adyen/Model/Management/Key.php +++ b/src/Adyen/Model/Management/Key.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('identifier', $data ?? [], null); $this->setIfExists('passphrase', $data ?? [], null); diff --git a/src/Adyen/Model/Management/KlarnaInfo.php b/src/Adyen/Model/Management/KlarnaInfo.php index c5f87657b..e6110e7d7 100644 --- a/src/Adyen/Model/Management/KlarnaInfo.php +++ b/src/Adyen/Model/Management/KlarnaInfo.php @@ -265,7 +265,7 @@ public function getRegionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('autoCapture', $data ?? [], null); $this->setIfExists('disputeEmail', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Links.php b/src/Adyen/Model/Management/Links.php index cf33369a4..88f02c1ec 100644 --- a/src/Adyen/Model/Management/Links.php +++ b/src/Adyen/Model/Management/Links.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('self', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/LinksElement.php b/src/Adyen/Model/Management/LinksElement.php index ff59e9ee3..5eae64486 100644 --- a/src/Adyen/Model/Management/LinksElement.php +++ b/src/Adyen/Model/Management/LinksElement.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('href', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/ListCompanyApiCredentialsResponse.php b/src/Adyen/Model/Management/ListCompanyApiCredentialsResponse.php index a89c64f19..7400ca8ee 100644 --- a/src/Adyen/Model/Management/ListCompanyApiCredentialsResponse.php +++ b/src/Adyen/Model/Management/ListCompanyApiCredentialsResponse.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ListCompanyResponse.php b/src/Adyen/Model/Management/ListCompanyResponse.php index 2b5e247a9..bab585a43 100644 --- a/src/Adyen/Model/Management/ListCompanyResponse.php +++ b/src/Adyen/Model/Management/ListCompanyResponse.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ListCompanyUsersResponse.php b/src/Adyen/Model/Management/ListCompanyUsersResponse.php index 4d8fe752b..5d8f013e7 100644 --- a/src/Adyen/Model/Management/ListCompanyUsersResponse.php +++ b/src/Adyen/Model/Management/ListCompanyUsersResponse.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ListExternalTerminalActionsResponse.php b/src/Adyen/Model/Management/ListExternalTerminalActionsResponse.php index 8263a1f0b..514e7bd0b 100644 --- a/src/Adyen/Model/Management/ListExternalTerminalActionsResponse.php +++ b/src/Adyen/Model/Management/ListExternalTerminalActionsResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/ListMerchantApiCredentialsResponse.php b/src/Adyen/Model/Management/ListMerchantApiCredentialsResponse.php index 8381ede0f..bba736a2c 100644 --- a/src/Adyen/Model/Management/ListMerchantApiCredentialsResponse.php +++ b/src/Adyen/Model/Management/ListMerchantApiCredentialsResponse.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ListMerchantResponse.php b/src/Adyen/Model/Management/ListMerchantResponse.php index 1938514ce..0884a05dc 100644 --- a/src/Adyen/Model/Management/ListMerchantResponse.php +++ b/src/Adyen/Model/Management/ListMerchantResponse.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ListMerchantUsersResponse.php b/src/Adyen/Model/Management/ListMerchantUsersResponse.php index 2075fe15c..98f813b04 100644 --- a/src/Adyen/Model/Management/ListMerchantUsersResponse.php +++ b/src/Adyen/Model/Management/ListMerchantUsersResponse.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ListStoresResponse.php b/src/Adyen/Model/Management/ListStoresResponse.php index ebbf3a86d..963a02877 100644 --- a/src/Adyen/Model/Management/ListStoresResponse.php +++ b/src/Adyen/Model/Management/ListStoresResponse.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ListTerminalsResponse.php b/src/Adyen/Model/Management/ListTerminalsResponse.php index 8efb15b48..2c52e4d99 100644 --- a/src/Adyen/Model/Management/ListTerminalsResponse.php +++ b/src/Adyen/Model/Management/ListTerminalsResponse.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ListWebhooksResponse.php b/src/Adyen/Model/Management/ListWebhooksResponse.php index 4cfb4cb00..262162542 100644 --- a/src/Adyen/Model/Management/ListWebhooksResponse.php +++ b/src/Adyen/Model/Management/ListWebhooksResponse.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('accountReference', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Localization.php b/src/Adyen/Model/Management/Localization.php index 0c07d9980..6d8ac7e36 100644 --- a/src/Adyen/Model/Management/Localization.php +++ b/src/Adyen/Model/Management/Localization.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('language', $data ?? [], null); $this->setIfExists('secondaryLanguage', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Logo.php b/src/Adyen/Model/Management/Logo.php index c6fef75d7..99b83c6e0 100644 --- a/src/Adyen/Model/Management/Logo.php +++ b/src/Adyen/Model/Management/Logo.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/MeApiCredential.php b/src/Adyen/Model/Management/MeApiCredential.php index e1cfe2199..9d3d5c3c9 100644 --- a/src/Adyen/Model/Management/MeApiCredential.php +++ b/src/Adyen/Model/Management/MeApiCredential.php @@ -283,7 +283,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('active', $data ?? [], null); diff --git a/src/Adyen/Model/Management/MealVoucherFRInfo.php b/src/Adyen/Model/Management/MealVoucherFRInfo.php index 8fd85d365..20b3499f9 100644 --- a/src/Adyen/Model/Management/MealVoucherFRInfo.php +++ b/src/Adyen/Model/Management/MealVoucherFRInfo.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('conecsId', $data ?? [], null); $this->setIfExists('siret', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Merchant.php b/src/Adyen/Model/Management/Merchant.php index 4a9b232d4..a04434405 100644 --- a/src/Adyen/Model/Management/Merchant.php +++ b/src/Adyen/Model/Management/Merchant.php @@ -307,7 +307,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('captureDelay', $data ?? [], null); diff --git a/src/Adyen/Model/Management/MerchantLinks.php b/src/Adyen/Model/Management/MerchantLinks.php index 8424605c2..095f84512 100644 --- a/src/Adyen/Model/Management/MerchantLinks.php +++ b/src/Adyen/Model/Management/MerchantLinks.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('apiCredentials', $data ?? [], null); $this->setIfExists('self', $data ?? [], null); diff --git a/src/Adyen/Model/Management/MinorUnitsMonetaryValue.php b/src/Adyen/Model/Management/MinorUnitsMonetaryValue.php index 425bb7eb6..9160d37bf 100644 --- a/src/Adyen/Model/Management/MinorUnitsMonetaryValue.php +++ b/src/Adyen/Model/Management/MinorUnitsMonetaryValue.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('currencyCode', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Name.php b/src/Adyen/Model/Management/Name.php index 0ab85e9ff..3952e9a6f 100644 --- a/src/Adyen/Model/Management/Name.php +++ b/src/Adyen/Model/Management/Name.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('firstName', $data ?? [], null); $this->setIfExists('lastName', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Name2.php b/src/Adyen/Model/Management/Name2.php index e2bf954dc..be5caaf24 100644 --- a/src/Adyen/Model/Management/Name2.php +++ b/src/Adyen/Model/Management/Name2.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('firstName', $data ?? [], null); $this->setIfExists('lastName', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Nexo.php b/src/Adyen/Model/Management/Nexo.php index e4d8f6a3b..99aae3c75 100644 --- a/src/Adyen/Model/Management/Nexo.php +++ b/src/Adyen/Model/Management/Nexo.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('displayUrls', $data ?? [], null); $this->setIfExists('encryptionKey', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Notification.php b/src/Adyen/Model/Management/Notification.php index b4bcdcfd9..af253fdc2 100644 --- a/src/Adyen/Model/Management/Notification.php +++ b/src/Adyen/Model/Management/Notification.php @@ -269,7 +269,7 @@ public function getCategoryAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('category', $data ?? [], null); $this->setIfExists('details', $data ?? [], null); diff --git a/src/Adyen/Model/Management/NotificationUrl.php b/src/Adyen/Model/Management/NotificationUrl.php index fb3ff202d..d6e0ea364 100644 --- a/src/Adyen/Model/Management/NotificationUrl.php +++ b/src/Adyen/Model/Management/NotificationUrl.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('localUrls', $data ?? [], null); $this->setIfExists('publicUrls', $data ?? [], null); diff --git a/src/Adyen/Model/Management/NyceInfo.php b/src/Adyen/Model/Management/NyceInfo.php index a9850274a..8e1cf5d89 100644 --- a/src/Adyen/Model/Management/NyceInfo.php +++ b/src/Adyen/Model/Management/NyceInfo.php @@ -251,7 +251,7 @@ public function getProcessingTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('processingType', $data ?? [], null); $this->setIfExists('transactionDescription', $data ?? [], null); diff --git a/src/Adyen/Model/Management/OfflineProcessing.php b/src/Adyen/Model/Management/OfflineProcessing.php index 6a74dc69c..01169b81c 100644 --- a/src/Adyen/Model/Management/OfflineProcessing.php +++ b/src/Adyen/Model/Management/OfflineProcessing.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('chipFloorLimit', $data ?? [], null); $this->setIfExists('offlineSwipeLimits', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Opi.php b/src/Adyen/Model/Management/Opi.php index 3055deb21..ac6a19437 100644 --- a/src/Adyen/Model/Management/Opi.php +++ b/src/Adyen/Model/Management/Opi.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('enablePayAtTable', $data ?? [], null); $this->setIfExists('payAtTableStoreNumber', $data ?? [], null); diff --git a/src/Adyen/Model/Management/OrderItem.php b/src/Adyen/Model/Management/OrderItem.php index 4a8d56bd7..78797540c 100644 --- a/src/Adyen/Model/Management/OrderItem.php +++ b/src/Adyen/Model/Management/OrderItem.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('installments', $data ?? [], null); diff --git a/src/Adyen/Model/Management/PaginationLinks.php b/src/Adyen/Model/Management/PaginationLinks.php index 045788851..c15a9947d 100644 --- a/src/Adyen/Model/Management/PaginationLinks.php +++ b/src/Adyen/Model/Management/PaginationLinks.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('first', $data ?? [], null); $this->setIfExists('last', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Passcodes.php b/src/Adyen/Model/Management/Passcodes.php index ce42b0597..cb8a5d220 100644 --- a/src/Adyen/Model/Management/Passcodes.php +++ b/src/Adyen/Model/Management/Passcodes.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('adminMenuPin', $data ?? [], null); $this->setIfExists('refundPin', $data ?? [], null); diff --git a/src/Adyen/Model/Management/PayAtTable.php b/src/Adyen/Model/Management/PayAtTable.php index f28025990..ff3a1b1bb 100644 --- a/src/Adyen/Model/Management/PayAtTable.php +++ b/src/Adyen/Model/Management/PayAtTable.php @@ -269,7 +269,7 @@ public function getPaymentInstrumentAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authenticationMethod', $data ?? [], null); $this->setIfExists('enablePayAtTable', $data ?? [], null); diff --git a/src/Adyen/Model/Management/PayMeInfo.php b/src/Adyen/Model/Management/PayMeInfo.php index f12ac0134..02de7a931 100644 --- a/src/Adyen/Model/Management/PayMeInfo.php +++ b/src/Adyen/Model/Management/PayMeInfo.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('displayName', $data ?? [], null); $this->setIfExists('logo', $data ?? [], null); diff --git a/src/Adyen/Model/Management/PayPalInfo.php b/src/Adyen/Model/Management/PayPalInfo.php index d48153800..dd24fb60c 100644 --- a/src/Adyen/Model/Management/PayPalInfo.php +++ b/src/Adyen/Model/Management/PayPalInfo.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('directCapture', $data ?? [], null); $this->setIfExists('payerId', $data ?? [], null); diff --git a/src/Adyen/Model/Management/PayToInfo.php b/src/Adyen/Model/Management/PayToInfo.php index 4629696fc..c0d272239 100644 --- a/src/Adyen/Model/Management/PayToInfo.php +++ b/src/Adyen/Model/Management/PayToInfo.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantName', $data ?? [], null); $this->setIfExists('payToPurpose', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Payment.php b/src/Adyen/Model/Management/Payment.php index 19323b8eb..67083d620 100644 --- a/src/Adyen/Model/Management/Payment.php +++ b/src/Adyen/Model/Management/Payment.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('contactlessCurrency', $data ?? [], null); $this->setIfExists('hideMinorUnitsInCurrencies', $data ?? [], null); diff --git a/src/Adyen/Model/Management/PaymentMethod.php b/src/Adyen/Model/Management/PaymentMethod.php index 4252077af..a12426f01 100644 --- a/src/Adyen/Model/Management/PaymentMethod.php +++ b/src/Adyen/Model/Management/PaymentMethod.php @@ -541,7 +541,7 @@ public function getVerificationStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accel', $data ?? [], null); $this->setIfExists('affirm', $data ?? [], null); diff --git a/src/Adyen/Model/Management/PaymentMethodResponse.php b/src/Adyen/Model/Management/PaymentMethodResponse.php index 6bcc0acc9..c0780b00f 100644 --- a/src/Adyen/Model/Management/PaymentMethodResponse.php +++ b/src/Adyen/Model/Management/PaymentMethodResponse.php @@ -417,7 +417,7 @@ public function getTypesWithErrorsAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/Management/PaymentMethodSetupInfo.php b/src/Adyen/Model/Management/PaymentMethodSetupInfo.php index d78f964c7..e2aeb93b3 100644 --- a/src/Adyen/Model/Management/PaymentMethodSetupInfo.php +++ b/src/Adyen/Model/Management/PaymentMethodSetupInfo.php @@ -681,7 +681,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accel', $data ?? [], null); $this->setIfExists('affirm', $data ?? [], null); diff --git a/src/Adyen/Model/Management/PayoutSettings.php b/src/Adyen/Model/Management/PayoutSettings.php index b859660ea..4122d154a 100644 --- a/src/Adyen/Model/Management/PayoutSettings.php +++ b/src/Adyen/Model/Management/PayoutSettings.php @@ -299,7 +299,7 @@ public function getVerificationStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allowed', $data ?? [], null); $this->setIfExists('enabled', $data ?? [], null); diff --git a/src/Adyen/Model/Management/PayoutSettingsRequest.php b/src/Adyen/Model/Management/PayoutSettingsRequest.php index cc4d376f3..d1d359334 100644 --- a/src/Adyen/Model/Management/PayoutSettingsRequest.php +++ b/src/Adyen/Model/Management/PayoutSettingsRequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('enabled', $data ?? [], null); $this->setIfExists('enabledFromDate', $data ?? [], null); diff --git a/src/Adyen/Model/Management/PayoutSettingsResponse.php b/src/Adyen/Model/Management/PayoutSettingsResponse.php index e46cc5254..81f825b06 100644 --- a/src/Adyen/Model/Management/PayoutSettingsResponse.php +++ b/src/Adyen/Model/Management/PayoutSettingsResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/Profile.php b/src/Adyen/Model/Management/Profile.php index b5e09f2d6..8b9accb65 100644 --- a/src/Adyen/Model/Management/Profile.php +++ b/src/Adyen/Model/Management/Profile.php @@ -331,7 +331,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authType', $data ?? [], null); $this->setIfExists('autoWifi', $data ?? [], null); diff --git a/src/Adyen/Model/Management/PulseInfo.php b/src/Adyen/Model/Management/PulseInfo.php index 11bd0288d..ac0f518a4 100644 --- a/src/Adyen/Model/Management/PulseInfo.php +++ b/src/Adyen/Model/Management/PulseInfo.php @@ -251,7 +251,7 @@ public function getProcessingTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('processingType', $data ?? [], null); $this->setIfExists('transactionDescription', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ReceiptOptions.php b/src/Adyen/Model/Management/ReceiptOptions.php index 1c0bf9016..1c7cf0017 100644 --- a/src/Adyen/Model/Management/ReceiptOptions.php +++ b/src/Adyen/Model/Management/ReceiptOptions.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('logo', $data ?? [], null); $this->setIfExists('promptBeforePrinting', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ReceiptPrinting.php b/src/Adyen/Model/Management/ReceiptPrinting.php index 581e5b901..419120a89 100644 --- a/src/Adyen/Model/Management/ReceiptPrinting.php +++ b/src/Adyen/Model/Management/ReceiptPrinting.php @@ -319,7 +319,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantApproved', $data ?? [], null); $this->setIfExists('merchantCancelled', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Referenced.php b/src/Adyen/Model/Management/Referenced.php index ef4c91a59..af9076015 100644 --- a/src/Adyen/Model/Management/Referenced.php +++ b/src/Adyen/Model/Management/Referenced.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('enableStandaloneRefunds', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/Refunds.php b/src/Adyen/Model/Management/Refunds.php index 5797301fa..34bf0c4bf 100644 --- a/src/Adyen/Model/Management/Refunds.php +++ b/src/Adyen/Model/Management/Refunds.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('referenced', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/ReleaseUpdateDetails.php b/src/Adyen/Model/Management/ReleaseUpdateDetails.php index 77df0312c..19aa7181f 100644 --- a/src/Adyen/Model/Management/ReleaseUpdateDetails.php +++ b/src/Adyen/Model/Management/ReleaseUpdateDetails.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('type', $data ?? [], null); $this->setIfExists('updateAtFirstMaintenanceCall', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ReprocessAndroidAppResponse.php b/src/Adyen/Model/Management/ReprocessAndroidAppResponse.php index 493aff5ac..bfa2f5cc2 100644 --- a/src/Adyen/Model/Management/ReprocessAndroidAppResponse.php +++ b/src/Adyen/Model/Management/ReprocessAndroidAppResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('message', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/RequestActivationResponse.php b/src/Adyen/Model/Management/RequestActivationResponse.php index e51ad06f9..9fb73a98b 100644 --- a/src/Adyen/Model/Management/RequestActivationResponse.php +++ b/src/Adyen/Model/Management/RequestActivationResponse.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('companyId', $data ?? [], null); $this->setIfExists('merchantId', $data ?? [], null); diff --git a/src/Adyen/Model/Management/RestServiceError.php b/src/Adyen/Model/Management/RestServiceError.php index 665642006..76321dbd8 100644 --- a/src/Adyen/Model/Management/RestServiceError.php +++ b/src/Adyen/Model/Management/RestServiceError.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('detail', $data ?? [], null); $this->setIfExists('errorCode', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ScheduleTerminalActionsRequest.php b/src/Adyen/Model/Management/ScheduleTerminalActionsRequest.php index c2b8c541b..6ebea3e8e 100644 --- a/src/Adyen/Model/Management/ScheduleTerminalActionsRequest.php +++ b/src/Adyen/Model/Management/ScheduleTerminalActionsRequest.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('actionDetails', $data ?? [], null); $this->setIfExists('scheduledAt', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ScheduleTerminalActionsRequestActionDetails.php b/src/Adyen/Model/Management/ScheduleTerminalActionsRequestActionDetails.php index 2cc0ec55e..edf654539 100644 --- a/src/Adyen/Model/Management/ScheduleTerminalActionsRequestActionDetails.php +++ b/src/Adyen/Model/Management/ScheduleTerminalActionsRequestActionDetails.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('appId', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ScheduleTerminalActionsResponse.php b/src/Adyen/Model/Management/ScheduleTerminalActionsResponse.php index cdba4499b..9e1dfd1bc 100644 --- a/src/Adyen/Model/Management/ScheduleTerminalActionsResponse.php +++ b/src/Adyen/Model/Management/ScheduleTerminalActionsResponse.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('actionDetails', $data ?? [], null); $this->setIfExists('items', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Settings.php b/src/Adyen/Model/Management/Settings.php index 3a19f6263..dc90b89f7 100644 --- a/src/Adyen/Model/Management/Settings.php +++ b/src/Adyen/Model/Management/Settings.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('band', $data ?? [], null); $this->setIfExists('roaming', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ShippingLocation.php b/src/Adyen/Model/Management/ShippingLocation.php index 8254aac48..0fc5c6db4 100644 --- a/src/Adyen/Model/Management/ShippingLocation.php +++ b/src/Adyen/Model/Management/ShippingLocation.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('address', $data ?? [], null); $this->setIfExists('contact', $data ?? [], null); diff --git a/src/Adyen/Model/Management/ShippingLocationsResponse.php b/src/Adyen/Model/Management/ShippingLocationsResponse.php index f82ef8140..da67e2773 100644 --- a/src/Adyen/Model/Management/ShippingLocationsResponse.php +++ b/src/Adyen/Model/Management/ShippingLocationsResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/Signature.php b/src/Adyen/Model/Management/Signature.php index b4d09fe1b..28c983823 100644 --- a/src/Adyen/Model/Management/Signature.php +++ b/src/Adyen/Model/Management/Signature.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('askSignatureOnScreen', $data ?? [], null); $this->setIfExists('deviceName', $data ?? [], null); diff --git a/src/Adyen/Model/Management/SodexoInfo.php b/src/Adyen/Model/Management/SodexoInfo.php index d8120edee..e2ce90fae 100644 --- a/src/Adyen/Model/Management/SodexoInfo.php +++ b/src/Adyen/Model/Management/SodexoInfo.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantContactPhone', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/SofortInfo.php b/src/Adyen/Model/Management/SofortInfo.php index 627a42e33..fb667cdd9 100644 --- a/src/Adyen/Model/Management/SofortInfo.php +++ b/src/Adyen/Model/Management/SofortInfo.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currencyCode', $data ?? [], null); $this->setIfExists('logo', $data ?? [], null); diff --git a/src/Adyen/Model/Management/SplitConfiguration.php b/src/Adyen/Model/Management/SplitConfiguration.php index 9c009d5ad..fa3afdd9f 100644 --- a/src/Adyen/Model/Management/SplitConfiguration.php +++ b/src/Adyen/Model/Management/SplitConfiguration.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('rules', $data ?? [], null); diff --git a/src/Adyen/Model/Management/SplitConfigurationList.php b/src/Adyen/Model/Management/SplitConfigurationList.php index 90719f657..1703340a0 100644 --- a/src/Adyen/Model/Management/SplitConfigurationList.php +++ b/src/Adyen/Model/Management/SplitConfigurationList.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/SplitConfigurationLogic.php b/src/Adyen/Model/Management/SplitConfigurationLogic.php index 8043abbfb..4ac52ae39 100644 --- a/src/Adyen/Model/Management/SplitConfigurationLogic.php +++ b/src/Adyen/Model/Management/SplitConfigurationLogic.php @@ -525,7 +525,7 @@ public function getTipAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acquiringFees', $data ?? [], null); $this->setIfExists('additionalCommission', $data ?? [], null); diff --git a/src/Adyen/Model/Management/SplitConfigurationRule.php b/src/Adyen/Model/Management/SplitConfigurationRule.php index 5bb7234ee..b115629d3 100644 --- a/src/Adyen/Model/Management/SplitConfigurationRule.php +++ b/src/Adyen/Model/Management/SplitConfigurationRule.php @@ -295,7 +295,7 @@ public function getShopperInteractionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('fundingSource', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Standalone.php b/src/Adyen/Model/Management/Standalone.php index e25a1aead..b82916370 100644 --- a/src/Adyen/Model/Management/Standalone.php +++ b/src/Adyen/Model/Management/Standalone.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currencyCode', $data ?? [], null); $this->setIfExists('enableStandalone', $data ?? [], null); diff --git a/src/Adyen/Model/Management/StarInfo.php b/src/Adyen/Model/Management/StarInfo.php index 493c2d3ca..5ad897c99 100644 --- a/src/Adyen/Model/Management/StarInfo.php +++ b/src/Adyen/Model/Management/StarInfo.php @@ -251,7 +251,7 @@ public function getProcessingTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('processingType', $data ?? [], null); $this->setIfExists('transactionDescription', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Store.php b/src/Adyen/Model/Management/Store.php index a7ece8584..80928799b 100644 --- a/src/Adyen/Model/Management/Store.php +++ b/src/Adyen/Model/Management/Store.php @@ -311,7 +311,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('address', $data ?? [], null); diff --git a/src/Adyen/Model/Management/StoreAndForward.php b/src/Adyen/Model/Management/StoreAndForward.php index 6e1fc7fd3..a11dc0b49 100644 --- a/src/Adyen/Model/Management/StoreAndForward.php +++ b/src/Adyen/Model/Management/StoreAndForward.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('maxAmount', $data ?? [], null); $this->setIfExists('maxPayments', $data ?? [], null); diff --git a/src/Adyen/Model/Management/StoreCreationRequest.php b/src/Adyen/Model/Management/StoreCreationRequest.php index 8b098ec62..6cb5a5ad0 100644 --- a/src/Adyen/Model/Management/StoreCreationRequest.php +++ b/src/Adyen/Model/Management/StoreCreationRequest.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('address', $data ?? [], null); $this->setIfExists('businessLineIds', $data ?? [], null); diff --git a/src/Adyen/Model/Management/StoreCreationWithMerchantCodeRequest.php b/src/Adyen/Model/Management/StoreCreationWithMerchantCodeRequest.php index fd8a32615..c1aa0ff6e 100644 --- a/src/Adyen/Model/Management/StoreCreationWithMerchantCodeRequest.php +++ b/src/Adyen/Model/Management/StoreCreationWithMerchantCodeRequest.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('address', $data ?? [], null); $this->setIfExists('businessLineIds', $data ?? [], null); diff --git a/src/Adyen/Model/Management/StoreLocation.php b/src/Adyen/Model/Management/StoreLocation.php index a0c1795a4..db4b2e7f6 100644 --- a/src/Adyen/Model/Management/StoreLocation.php +++ b/src/Adyen/Model/Management/StoreLocation.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/Management/StoreSplitConfiguration.php b/src/Adyen/Model/Management/StoreSplitConfiguration.php index f3800bd38..5598e743f 100644 --- a/src/Adyen/Model/Management/StoreSplitConfiguration.php +++ b/src/Adyen/Model/Management/StoreSplitConfiguration.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balanceAccountId', $data ?? [], null); $this->setIfExists('splitConfigurationId', $data ?? [], null); diff --git a/src/Adyen/Model/Management/SupportedCardTypes.php b/src/Adyen/Model/Management/SupportedCardTypes.php index 2dd148e4b..ef9de18ea 100644 --- a/src/Adyen/Model/Management/SupportedCardTypes.php +++ b/src/Adyen/Model/Management/SupportedCardTypes.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('credit', $data ?? [], null); $this->setIfExists('debit', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Surcharge.php b/src/Adyen/Model/Management/Surcharge.php index f5ea9593e..0e617a69d 100644 --- a/src/Adyen/Model/Management/Surcharge.php +++ b/src/Adyen/Model/Management/Surcharge.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('askConfirmation', $data ?? [], null); $this->setIfExists('configurations', $data ?? [], null); diff --git a/src/Adyen/Model/Management/SwishInfo.php b/src/Adyen/Model/Management/SwishInfo.php index 109f51587..64be70b83 100644 --- a/src/Adyen/Model/Management/SwishInfo.php +++ b/src/Adyen/Model/Management/SwishInfo.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('swishNumber', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/TapToPay.php b/src/Adyen/Model/Management/TapToPay.php index ce07046f7..a36102869 100644 --- a/src/Adyen/Model/Management/TapToPay.php +++ b/src/Adyen/Model/Management/TapToPay.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantDisplayName', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/Terminal.php b/src/Adyen/Model/Management/Terminal.php index 10bc42a44..998067721 100644 --- a/src/Adyen/Model/Management/Terminal.php +++ b/src/Adyen/Model/Management/Terminal.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('assignment', $data ?? [], null); $this->setIfExists('connectivity', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TerminalActionScheduleDetail.php b/src/Adyen/Model/Management/TerminalActionScheduleDetail.php index 982657de5..bb1dc3118 100644 --- a/src/Adyen/Model/Management/TerminalActionScheduleDetail.php +++ b/src/Adyen/Model/Management/TerminalActionScheduleDetail.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('terminalId', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TerminalAssignment.php b/src/Adyen/Model/Management/TerminalAssignment.php index 2bb1c2912..7bf8eab7a 100644 --- a/src/Adyen/Model/Management/TerminalAssignment.php +++ b/src/Adyen/Model/Management/TerminalAssignment.php @@ -271,7 +271,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('companyId', $data ?? [], null); $this->setIfExists('merchantId', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TerminalConnectivity.php b/src/Adyen/Model/Management/TerminalConnectivity.php index 7285f6053..ec6c7440a 100644 --- a/src/Adyen/Model/Management/TerminalConnectivity.php +++ b/src/Adyen/Model/Management/TerminalConnectivity.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('bluetooth', $data ?? [], null); $this->setIfExists('cellular', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TerminalConnectivityBluetooth.php b/src/Adyen/Model/Management/TerminalConnectivityBluetooth.php index 85066d229..5254f141d 100644 --- a/src/Adyen/Model/Management/TerminalConnectivityBluetooth.php +++ b/src/Adyen/Model/Management/TerminalConnectivityBluetooth.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('ipAddress', $data ?? [], null); $this->setIfExists('macAddress', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TerminalConnectivityCellular.php b/src/Adyen/Model/Management/TerminalConnectivityCellular.php index 490699d4d..7a945ea2e 100644 --- a/src/Adyen/Model/Management/TerminalConnectivityCellular.php +++ b/src/Adyen/Model/Management/TerminalConnectivityCellular.php @@ -261,7 +261,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('iccid', $data ?? [], null); $this->setIfExists('iccid2', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TerminalConnectivityEthernet.php b/src/Adyen/Model/Management/TerminalConnectivityEthernet.php index 4c27ba3e7..d9b30ad4d 100644 --- a/src/Adyen/Model/Management/TerminalConnectivityEthernet.php +++ b/src/Adyen/Model/Management/TerminalConnectivityEthernet.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('ipAddress', $data ?? [], null); $this->setIfExists('linkNegotiation', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TerminalConnectivityWifi.php b/src/Adyen/Model/Management/TerminalConnectivityWifi.php index 1fe6c3d77..24b7f8f6c 100644 --- a/src/Adyen/Model/Management/TerminalConnectivityWifi.php +++ b/src/Adyen/Model/Management/TerminalConnectivityWifi.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('ipAddress', $data ?? [], null); $this->setIfExists('macAddress', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TerminalInstructions.php b/src/Adyen/Model/Management/TerminalInstructions.php index 4ca7b016d..af8ab7173 100644 --- a/src/Adyen/Model/Management/TerminalInstructions.php +++ b/src/Adyen/Model/Management/TerminalInstructions.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('adyenAppRestart', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/TerminalModelsResponse.php b/src/Adyen/Model/Management/TerminalModelsResponse.php index 56dbfa4f0..773905f4f 100644 --- a/src/Adyen/Model/Management/TerminalModelsResponse.php +++ b/src/Adyen/Model/Management/TerminalModelsResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/TerminalOrder.php b/src/Adyen/Model/Management/TerminalOrder.php index 33582c16a..91d9f48e8 100644 --- a/src/Adyen/Model/Management/TerminalOrder.php +++ b/src/Adyen/Model/Management/TerminalOrder.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('billingEntity', $data ?? [], null); $this->setIfExists('customerOrderReference', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TerminalOrderRequest.php b/src/Adyen/Model/Management/TerminalOrderRequest.php index b995fc8c8..b5de9c678 100644 --- a/src/Adyen/Model/Management/TerminalOrderRequest.php +++ b/src/Adyen/Model/Management/TerminalOrderRequest.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('billingEntityId', $data ?? [], null); $this->setIfExists('customerOrderReference', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TerminalOrdersResponse.php b/src/Adyen/Model/Management/TerminalOrdersResponse.php index d138d411f..7efc658d3 100644 --- a/src/Adyen/Model/Management/TerminalOrdersResponse.php +++ b/src/Adyen/Model/Management/TerminalOrdersResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/TerminalProduct.php b/src/Adyen/Model/Management/TerminalProduct.php index 0ce501ca3..c4197fa55 100644 --- a/src/Adyen/Model/Management/TerminalProduct.php +++ b/src/Adyen/Model/Management/TerminalProduct.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TerminalProductPrice.php b/src/Adyen/Model/Management/TerminalProductPrice.php index 2fc9f5a8d..d009453a8 100644 --- a/src/Adyen/Model/Management/TerminalProductPrice.php +++ b/src/Adyen/Model/Management/TerminalProductPrice.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TerminalProductsResponse.php b/src/Adyen/Model/Management/TerminalProductsResponse.php index 1265dbffa..3438706d2 100644 --- a/src/Adyen/Model/Management/TerminalProductsResponse.php +++ b/src/Adyen/Model/Management/TerminalProductsResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/TerminalReassignmentRequest.php b/src/Adyen/Model/Management/TerminalReassignmentRequest.php index 191c5dff2..3f9323766 100644 --- a/src/Adyen/Model/Management/TerminalReassignmentRequest.php +++ b/src/Adyen/Model/Management/TerminalReassignmentRequest.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('companyId', $data ?? [], null); $this->setIfExists('inventory', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TerminalReassignmentTarget.php b/src/Adyen/Model/Management/TerminalReassignmentTarget.php index 830038d2f..596b81b07 100644 --- a/src/Adyen/Model/Management/TerminalReassignmentTarget.php +++ b/src/Adyen/Model/Management/TerminalReassignmentTarget.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('companyId', $data ?? [], null); $this->setIfExists('inventory', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TerminalSettings.php b/src/Adyen/Model/Management/TerminalSettings.php index 2eb510791..99a4b4329 100644 --- a/src/Adyen/Model/Management/TerminalSettings.php +++ b/src/Adyen/Model/Management/TerminalSettings.php @@ -355,7 +355,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cardholderReceipt', $data ?? [], null); $this->setIfExists('connectivity', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TestCompanyWebhookRequest.php b/src/Adyen/Model/Management/TestCompanyWebhookRequest.php index adaccb309..ba5e8a4aa 100644 --- a/src/Adyen/Model/Management/TestCompanyWebhookRequest.php +++ b/src/Adyen/Model/Management/TestCompanyWebhookRequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantIds', $data ?? [], null); $this->setIfExists('notification', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TestOutput.php b/src/Adyen/Model/Management/TestOutput.php index 6ad0897fa..9828ff3ef 100644 --- a/src/Adyen/Model/Management/TestOutput.php +++ b/src/Adyen/Model/Management/TestOutput.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantId', $data ?? [], null); $this->setIfExists('output', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TestWebhookRequest.php b/src/Adyen/Model/Management/TestWebhookRequest.php index 81f1ba303..061e4c254 100644 --- a/src/Adyen/Model/Management/TestWebhookRequest.php +++ b/src/Adyen/Model/Management/TestWebhookRequest.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('notification', $data ?? [], null); $this->setIfExists('types', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TestWebhookResponse.php b/src/Adyen/Model/Management/TestWebhookResponse.php index 44f8894bf..4b6663ae0 100644 --- a/src/Adyen/Model/Management/TestWebhookResponse.php +++ b/src/Adyen/Model/Management/TestWebhookResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/TicketInfo.php b/src/Adyen/Model/Management/TicketInfo.php index d92458ac4..0ecd70fc4 100644 --- a/src/Adyen/Model/Management/TicketInfo.php +++ b/src/Adyen/Model/Management/TicketInfo.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('requestorId', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/Timeouts.php b/src/Adyen/Model/Management/Timeouts.php index 299840329..ffa7e5705 100644 --- a/src/Adyen/Model/Management/Timeouts.php +++ b/src/Adyen/Model/Management/Timeouts.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('fromActiveToSleep', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/TransactionDescriptionInfo.php b/src/Adyen/Model/Management/TransactionDescriptionInfo.php index 64624194f..1e58b1cd7 100644 --- a/src/Adyen/Model/Management/TransactionDescriptionInfo.php +++ b/src/Adyen/Model/Management/TransactionDescriptionInfo.php @@ -251,7 +251,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('doingBusinessAsName', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Management/TwintInfo.php b/src/Adyen/Model/Management/TwintInfo.php index 3591c4d83..710f7f885 100644 --- a/src/Adyen/Model/Management/TwintInfo.php +++ b/src/Adyen/Model/Management/TwintInfo.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('logo', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/UninstallAndroidAppDetails.php b/src/Adyen/Model/Management/UninstallAndroidAppDetails.php index 20e5e3db1..650d254b0 100644 --- a/src/Adyen/Model/Management/UninstallAndroidAppDetails.php +++ b/src/Adyen/Model/Management/UninstallAndroidAppDetails.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('appId', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Management/UninstallAndroidCertificateDetails.php b/src/Adyen/Model/Management/UninstallAndroidCertificateDetails.php index 22a6c3599..ca63e6455 100644 --- a/src/Adyen/Model/Management/UninstallAndroidCertificateDetails.php +++ b/src/Adyen/Model/Management/UninstallAndroidCertificateDetails.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('certificateId', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Management/UpdatableAddress.php b/src/Adyen/Model/Management/UpdatableAddress.php index 828766f78..c5861de40 100644 --- a/src/Adyen/Model/Management/UpdatableAddress.php +++ b/src/Adyen/Model/Management/UpdatableAddress.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('line1', $data ?? [], null); diff --git a/src/Adyen/Model/Management/UpdateCompanyApiCredentialRequest.php b/src/Adyen/Model/Management/UpdateCompanyApiCredentialRequest.php index dff5eb02b..47e18d934 100644 --- a/src/Adyen/Model/Management/UpdateCompanyApiCredentialRequest.php +++ b/src/Adyen/Model/Management/UpdateCompanyApiCredentialRequest.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('active', $data ?? [], null); $this->setIfExists('allowedOrigins', $data ?? [], null); diff --git a/src/Adyen/Model/Management/UpdateCompanyUserRequest.php b/src/Adyen/Model/Management/UpdateCompanyUserRequest.php index d9ecc30f9..2f1b3f533 100644 --- a/src/Adyen/Model/Management/UpdateCompanyUserRequest.php +++ b/src/Adyen/Model/Management/UpdateCompanyUserRequest.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountGroups', $data ?? [], null); $this->setIfExists('active', $data ?? [], null); diff --git a/src/Adyen/Model/Management/UpdateCompanyWebhookRequest.php b/src/Adyen/Model/Management/UpdateCompanyWebhookRequest.php index b83cb82da..3187b6ff3 100644 --- a/src/Adyen/Model/Management/UpdateCompanyWebhookRequest.php +++ b/src/Adyen/Model/Management/UpdateCompanyWebhookRequest.php @@ -375,7 +375,7 @@ public function getNetworkTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acceptsExpiredCertificate', $data ?? [], null); $this->setIfExists('acceptsSelfSignedCertificate', $data ?? [], null); diff --git a/src/Adyen/Model/Management/UpdateMerchantApiCredentialRequest.php b/src/Adyen/Model/Management/UpdateMerchantApiCredentialRequest.php index a35eebf25..d828c185e 100644 --- a/src/Adyen/Model/Management/UpdateMerchantApiCredentialRequest.php +++ b/src/Adyen/Model/Management/UpdateMerchantApiCredentialRequest.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('active', $data ?? [], null); $this->setIfExists('allowedOrigins', $data ?? [], null); diff --git a/src/Adyen/Model/Management/UpdateMerchantUserRequest.php b/src/Adyen/Model/Management/UpdateMerchantUserRequest.php index d54e467a1..a2480dea0 100644 --- a/src/Adyen/Model/Management/UpdateMerchantUserRequest.php +++ b/src/Adyen/Model/Management/UpdateMerchantUserRequest.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountGroups', $data ?? [], null); $this->setIfExists('active', $data ?? [], null); diff --git a/src/Adyen/Model/Management/UpdateMerchantWebhookRequest.php b/src/Adyen/Model/Management/UpdateMerchantWebhookRequest.php index c347171db..ed9a1f358 100644 --- a/src/Adyen/Model/Management/UpdateMerchantWebhookRequest.php +++ b/src/Adyen/Model/Management/UpdateMerchantWebhookRequest.php @@ -347,7 +347,7 @@ public function getNetworkTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acceptsExpiredCertificate', $data ?? [], null); $this->setIfExists('acceptsSelfSignedCertificate', $data ?? [], null); diff --git a/src/Adyen/Model/Management/UpdatePaymentMethodInfo.php b/src/Adyen/Model/Management/UpdatePaymentMethodInfo.php index f22cda8b9..29df7c4d3 100644 --- a/src/Adyen/Model/Management/UpdatePaymentMethodInfo.php +++ b/src/Adyen/Model/Management/UpdatePaymentMethodInfo.php @@ -367,7 +367,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accel', $data ?? [], null); $this->setIfExists('bcmc', $data ?? [], null); diff --git a/src/Adyen/Model/Management/UpdatePayoutSettingsRequest.php b/src/Adyen/Model/Management/UpdatePayoutSettingsRequest.php index 0370326ec..9a8006202 100644 --- a/src/Adyen/Model/Management/UpdatePayoutSettingsRequest.php +++ b/src/Adyen/Model/Management/UpdatePayoutSettingsRequest.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('enabled', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/UpdateSplitConfigurationLogicRequest.php b/src/Adyen/Model/Management/UpdateSplitConfigurationLogicRequest.php index a7f91274b..c944de9a1 100644 --- a/src/Adyen/Model/Management/UpdateSplitConfigurationLogicRequest.php +++ b/src/Adyen/Model/Management/UpdateSplitConfigurationLogicRequest.php @@ -525,7 +525,7 @@ public function getTipAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acquiringFees', $data ?? [], null); $this->setIfExists('additionalCommission', $data ?? [], null); diff --git a/src/Adyen/Model/Management/UpdateSplitConfigurationRequest.php b/src/Adyen/Model/Management/UpdateSplitConfigurationRequest.php index 7656cfa76..2e3ea99d5 100644 --- a/src/Adyen/Model/Management/UpdateSplitConfigurationRequest.php +++ b/src/Adyen/Model/Management/UpdateSplitConfigurationRequest.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/UpdateSplitConfigurationRuleRequest.php b/src/Adyen/Model/Management/UpdateSplitConfigurationRuleRequest.php index 399c545b5..87dc9bbfa 100644 --- a/src/Adyen/Model/Management/UpdateSplitConfigurationRuleRequest.php +++ b/src/Adyen/Model/Management/UpdateSplitConfigurationRuleRequest.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('fundingSource', $data ?? [], null); diff --git a/src/Adyen/Model/Management/UpdateStoreRequest.php b/src/Adyen/Model/Management/UpdateStoreRequest.php index 7ed98dddd..5bcd3ba15 100644 --- a/src/Adyen/Model/Management/UpdateStoreRequest.php +++ b/src/Adyen/Model/Management/UpdateStoreRequest.php @@ -281,7 +281,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('address', $data ?? [], null); $this->setIfExists('businessLineIds', $data ?? [], null); diff --git a/src/Adyen/Model/Management/UploadAndroidAppResponse.php b/src/Adyen/Model/Management/UploadAndroidAppResponse.php index 0f215abdd..10da970c9 100644 --- a/src/Adyen/Model/Management/UploadAndroidAppResponse.php +++ b/src/Adyen/Model/Management/UploadAndroidAppResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/UploadAndroidCertificateResponse.php b/src/Adyen/Model/Management/UploadAndroidCertificateResponse.php index 9a51f3e33..4a803455d 100644 --- a/src/Adyen/Model/Management/UploadAndroidCertificateResponse.php +++ b/src/Adyen/Model/Management/UploadAndroidCertificateResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/src/Adyen/Model/Management/Url.php b/src/Adyen/Model/Management/Url.php index 1a453ca07..4bf4f869e 100644 --- a/src/Adyen/Model/Management/Url.php +++ b/src/Adyen/Model/Management/Url.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('encrypted', $data ?? [], null); $this->setIfExists('password', $data ?? [], null); diff --git a/src/Adyen/Model/Management/User.php b/src/Adyen/Model/Management/User.php index 0728f1e18..162ce4179 100644 --- a/src/Adyen/Model/Management/User.php +++ b/src/Adyen/Model/Management/User.php @@ -283,7 +283,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('accountGroups', $data ?? [], null); diff --git a/src/Adyen/Model/Management/VippsInfo.php b/src/Adyen/Model/Management/VippsInfo.php index 896a23ea0..a1f9dddb2 100644 --- a/src/Adyen/Model/Management/VippsInfo.php +++ b/src/Adyen/Model/Management/VippsInfo.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('logo', $data ?? [], null); $this->setIfExists('subscriptionCancelUrl', $data ?? [], null); diff --git a/src/Adyen/Model/Management/WeChatPayInfo.php b/src/Adyen/Model/Management/WeChatPayInfo.php index 0f8b260d3..3ebe9d1ee 100644 --- a/src/Adyen/Model/Management/WeChatPayInfo.php +++ b/src/Adyen/Model/Management/WeChatPayInfo.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('contactPersonName', $data ?? [], null); $this->setIfExists('email', $data ?? [], null); diff --git a/src/Adyen/Model/Management/WeChatPayPosInfo.php b/src/Adyen/Model/Management/WeChatPayPosInfo.php index f19d0b407..2113aee28 100644 --- a/src/Adyen/Model/Management/WeChatPayPosInfo.php +++ b/src/Adyen/Model/Management/WeChatPayPosInfo.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('contactPersonName', $data ?? [], null); $this->setIfExists('email', $data ?? [], null); diff --git a/src/Adyen/Model/Management/Webhook.php b/src/Adyen/Model/Management/Webhook.php index 578cde7b4..a244ef806 100644 --- a/src/Adyen/Model/Management/Webhook.php +++ b/src/Adyen/Model/Management/Webhook.php @@ -417,7 +417,7 @@ public function getNetworkTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('acceptsExpiredCertificate', $data ?? [], null); diff --git a/src/Adyen/Model/Management/WebhookLinks.php b/src/Adyen/Model/Management/WebhookLinks.php index 2330c538f..71ac5ed8e 100644 --- a/src/Adyen/Model/Management/WebhookLinks.php +++ b/src/Adyen/Model/Management/WebhookLinks.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('company', $data ?? [], null); $this->setIfExists('generateHmac', $data ?? [], null); diff --git a/src/Adyen/Model/Management/WifiProfiles.php b/src/Adyen/Model/Management/WifiProfiles.php index 869eae1b9..8552e892d 100644 --- a/src/Adyen/Model/Management/WifiProfiles.php +++ b/src/Adyen/Model/Management/WifiProfiles.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('profiles', $data ?? [], null); $this->setIfExists('settings', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/AccountCapabilityData.php b/src/Adyen/Model/ManagementWebhooks/AccountCapabilityData.php index 4d63839ee..55b22b9cc 100644 --- a/src/Adyen/Model/ManagementWebhooks/AccountCapabilityData.php +++ b/src/Adyen/Model/ManagementWebhooks/AccountCapabilityData.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allowed', $data ?? [], null); $this->setIfExists('allowedLevel', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/AccountCreateNotificationData.php b/src/Adyen/Model/ManagementWebhooks/AccountCreateNotificationData.php index 040ec1e60..6359632ec 100644 --- a/src/Adyen/Model/ManagementWebhooks/AccountCreateNotificationData.php +++ b/src/Adyen/Model/ManagementWebhooks/AccountCreateNotificationData.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('capabilities', $data ?? [], null); $this->setIfExists('companyId', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/AccountNotificationResponse.php b/src/Adyen/Model/ManagementWebhooks/AccountNotificationResponse.php index 74e7fec14..55b9f4371 100644 --- a/src/Adyen/Model/ManagementWebhooks/AccountNotificationResponse.php +++ b/src/Adyen/Model/ManagementWebhooks/AccountNotificationResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('notificationResponse', $data ?? [], null); } diff --git a/src/Adyen/Model/ManagementWebhooks/AccountUpdateNotificationData.php b/src/Adyen/Model/ManagementWebhooks/AccountUpdateNotificationData.php index e2a257f95..5f4c95af2 100644 --- a/src/Adyen/Model/ManagementWebhooks/AccountUpdateNotificationData.php +++ b/src/Adyen/Model/ManagementWebhooks/AccountUpdateNotificationData.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('capabilities', $data ?? [], null); $this->setIfExists('legalEntityId', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/CapabilityProblem.php b/src/Adyen/Model/ManagementWebhooks/CapabilityProblem.php index 59f7ddc6d..20fcb5749 100644 --- a/src/Adyen/Model/ManagementWebhooks/CapabilityProblem.php +++ b/src/Adyen/Model/ManagementWebhooks/CapabilityProblem.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('entity', $data ?? [], null); $this->setIfExists('verificationErrors', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/CapabilityProblemEntity.php b/src/Adyen/Model/ManagementWebhooks/CapabilityProblemEntity.php index 0061b5d1c..89305a757 100644 --- a/src/Adyen/Model/ManagementWebhooks/CapabilityProblemEntity.php +++ b/src/Adyen/Model/ManagementWebhooks/CapabilityProblemEntity.php @@ -263,7 +263,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('documents', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/CapabilityProblemEntityRecursive.php b/src/Adyen/Model/ManagementWebhooks/CapabilityProblemEntityRecursive.php index 661f52521..2ed19544d 100644 --- a/src/Adyen/Model/ManagementWebhooks/CapabilityProblemEntityRecursive.php +++ b/src/Adyen/Model/ManagementWebhooks/CapabilityProblemEntityRecursive.php @@ -257,7 +257,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('documents', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/MerchantCreatedNotificationRequest.php b/src/Adyen/Model/ManagementWebhooks/MerchantCreatedNotificationRequest.php index 7bd10c67a..bf416c4c3 100644 --- a/src/Adyen/Model/ManagementWebhooks/MerchantCreatedNotificationRequest.php +++ b/src/Adyen/Model/ManagementWebhooks/MerchantCreatedNotificationRequest.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('createdAt', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/MerchantUpdatedNotificationRequest.php b/src/Adyen/Model/ManagementWebhooks/MerchantUpdatedNotificationRequest.php index fd10bc914..ff7ccdd4a 100644 --- a/src/Adyen/Model/ManagementWebhooks/MerchantUpdatedNotificationRequest.php +++ b/src/Adyen/Model/ManagementWebhooks/MerchantUpdatedNotificationRequest.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('createdAt', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/MidServiceNotificationData.php b/src/Adyen/Model/ManagementWebhooks/MidServiceNotificationData.php index b84597c9c..4ba4f176a 100644 --- a/src/Adyen/Model/ManagementWebhooks/MidServiceNotificationData.php +++ b/src/Adyen/Model/ManagementWebhooks/MidServiceNotificationData.php @@ -315,7 +315,7 @@ public function getVerificationStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allowed', $data ?? [], null); $this->setIfExists('enabled', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/PaymentMethodCreatedNotificationRequest.php b/src/Adyen/Model/ManagementWebhooks/PaymentMethodCreatedNotificationRequest.php index a48b22230..21657ce64 100644 --- a/src/Adyen/Model/ManagementWebhooks/PaymentMethodCreatedNotificationRequest.php +++ b/src/Adyen/Model/ManagementWebhooks/PaymentMethodCreatedNotificationRequest.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('createdAt', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/PaymentMethodNotificationResponse.php b/src/Adyen/Model/ManagementWebhooks/PaymentMethodNotificationResponse.php index 307d1d17f..38e27e8dd 100644 --- a/src/Adyen/Model/ManagementWebhooks/PaymentMethodNotificationResponse.php +++ b/src/Adyen/Model/ManagementWebhooks/PaymentMethodNotificationResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('notificationResponse', $data ?? [], null); } diff --git a/src/Adyen/Model/ManagementWebhooks/PaymentMethodRequestRemovedNotificationRequest.php b/src/Adyen/Model/ManagementWebhooks/PaymentMethodRequestRemovedNotificationRequest.php index eed5c5c9f..ae8acd6c3 100644 --- a/src/Adyen/Model/ManagementWebhooks/PaymentMethodRequestRemovedNotificationRequest.php +++ b/src/Adyen/Model/ManagementWebhooks/PaymentMethodRequestRemovedNotificationRequest.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('createdAt', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/PaymentMethodScheduledForRemovalNotificationRequest.php b/src/Adyen/Model/ManagementWebhooks/PaymentMethodScheduledForRemovalNotificationRequest.php index d916cff67..6b782c1a5 100644 --- a/src/Adyen/Model/ManagementWebhooks/PaymentMethodScheduledForRemovalNotificationRequest.php +++ b/src/Adyen/Model/ManagementWebhooks/PaymentMethodScheduledForRemovalNotificationRequest.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('createdAt', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/RemediatingAction.php b/src/Adyen/Model/ManagementWebhooks/RemediatingAction.php index ee6b41c67..0ae1463f0 100644 --- a/src/Adyen/Model/ManagementWebhooks/RemediatingAction.php +++ b/src/Adyen/Model/ManagementWebhooks/RemediatingAction.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('code', $data ?? [], null); $this->setIfExists('message', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/TerminalAssignmentNotificationRequest.php b/src/Adyen/Model/ManagementWebhooks/TerminalAssignmentNotificationRequest.php index 36ba72a79..bdb306c50 100644 --- a/src/Adyen/Model/ManagementWebhooks/TerminalAssignmentNotificationRequest.php +++ b/src/Adyen/Model/ManagementWebhooks/TerminalAssignmentNotificationRequest.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('assignedToAccount', $data ?? [], null); $this->setIfExists('assignedToStore', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/TerminalAssignmentNotificationResponse.php b/src/Adyen/Model/ManagementWebhooks/TerminalAssignmentNotificationResponse.php index bea94b1cb..398e8b870 100644 --- a/src/Adyen/Model/ManagementWebhooks/TerminalAssignmentNotificationResponse.php +++ b/src/Adyen/Model/ManagementWebhooks/TerminalAssignmentNotificationResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('notificationResponse', $data ?? [], null); } diff --git a/src/Adyen/Model/ManagementWebhooks/TerminalBoardingData.php b/src/Adyen/Model/ManagementWebhooks/TerminalBoardingData.php index d7d855fe1..2af52f695 100644 --- a/src/Adyen/Model/ManagementWebhooks/TerminalBoardingData.php +++ b/src/Adyen/Model/ManagementWebhooks/TerminalBoardingData.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('companyId', $data ?? [], null); $this->setIfExists('merchantId', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/TerminalBoardingNotificationRequest.php b/src/Adyen/Model/ManagementWebhooks/TerminalBoardingNotificationRequest.php index 485f981f9..fe85c1e92 100644 --- a/src/Adyen/Model/ManagementWebhooks/TerminalBoardingNotificationRequest.php +++ b/src/Adyen/Model/ManagementWebhooks/TerminalBoardingNotificationRequest.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('createdAt', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/TerminalBoardingNotificationResponse.php b/src/Adyen/Model/ManagementWebhooks/TerminalBoardingNotificationResponse.php index 2f441e39c..4cf624d28 100644 --- a/src/Adyen/Model/ManagementWebhooks/TerminalBoardingNotificationResponse.php +++ b/src/Adyen/Model/ManagementWebhooks/TerminalBoardingNotificationResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('notificationResponse', $data ?? [], null); } diff --git a/src/Adyen/Model/ManagementWebhooks/TerminalSettingsData.php b/src/Adyen/Model/ManagementWebhooks/TerminalSettingsData.php index 8b01c07d3..cb6d3e297 100644 --- a/src/Adyen/Model/ManagementWebhooks/TerminalSettingsData.php +++ b/src/Adyen/Model/ManagementWebhooks/TerminalSettingsData.php @@ -273,7 +273,7 @@ public function getUpdateSourceAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('companyId', $data ?? [], null); $this->setIfExists('merchantId', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/TerminalSettingsNotificationRequest.php b/src/Adyen/Model/ManagementWebhooks/TerminalSettingsNotificationRequest.php index fa2fb4604..583f15be9 100644 --- a/src/Adyen/Model/ManagementWebhooks/TerminalSettingsNotificationRequest.php +++ b/src/Adyen/Model/ManagementWebhooks/TerminalSettingsNotificationRequest.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('createdAt', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/TerminalSettingsNotificationResponse.php b/src/Adyen/Model/ManagementWebhooks/TerminalSettingsNotificationResponse.php index 530a4e113..cf21540bd 100644 --- a/src/Adyen/Model/ManagementWebhooks/TerminalSettingsNotificationResponse.php +++ b/src/Adyen/Model/ManagementWebhooks/TerminalSettingsNotificationResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('notificationResponse', $data ?? [], null); } diff --git a/src/Adyen/Model/ManagementWebhooks/VerificationError.php b/src/Adyen/Model/ManagementWebhooks/VerificationError.php index 10ff608f9..7b63e6401 100644 --- a/src/Adyen/Model/ManagementWebhooks/VerificationError.php +++ b/src/Adyen/Model/ManagementWebhooks/VerificationError.php @@ -269,7 +269,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('code', $data ?? [], null); $this->setIfExists('message', $data ?? [], null); diff --git a/src/Adyen/Model/ManagementWebhooks/VerificationErrorRecursive.php b/src/Adyen/Model/ManagementWebhooks/VerificationErrorRecursive.php index c3120012d..484d05c5e 100644 --- a/src/Adyen/Model/ManagementWebhooks/VerificationErrorRecursive.php +++ b/src/Adyen/Model/ManagementWebhooks/VerificationErrorRecursive.php @@ -263,7 +263,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('code', $data ?? [], null); $this->setIfExists('message', $data ?? [], null); diff --git a/src/Adyen/Model/NegativeBalanceWarningWebhooks/Amount.php b/src/Adyen/Model/NegativeBalanceWarningWebhooks/Amount.php index fc0a5495e..37082bf30 100644 --- a/src/Adyen/Model/NegativeBalanceWarningWebhooks/Amount.php +++ b/src/Adyen/Model/NegativeBalanceWarningWebhooks/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/NegativeBalanceWarningWebhooks/NegativeBalanceCompensationWarningNotificationData.php b/src/Adyen/Model/NegativeBalanceWarningWebhooks/NegativeBalanceCompensationWarningNotificationData.php index 3608cabb7..fcb48d38a 100644 --- a/src/Adyen/Model/NegativeBalanceWarningWebhooks/NegativeBalanceCompensationWarningNotificationData.php +++ b/src/Adyen/Model/NegativeBalanceWarningWebhooks/NegativeBalanceCompensationWarningNotificationData.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolder', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); diff --git a/src/Adyen/Model/NegativeBalanceWarningWebhooks/NegativeBalanceCompensationWarningNotificationRequest.php b/src/Adyen/Model/NegativeBalanceWarningWebhooks/NegativeBalanceCompensationWarningNotificationRequest.php index a05c58502..03f1f22b6 100644 --- a/src/Adyen/Model/NegativeBalanceWarningWebhooks/NegativeBalanceCompensationWarningNotificationRequest.php +++ b/src/Adyen/Model/NegativeBalanceWarningWebhooks/NegativeBalanceCompensationWarningNotificationRequest.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); $this->setIfExists('environment', $data ?? [], null); diff --git a/src/Adyen/Model/NegativeBalanceWarningWebhooks/Resource.php b/src/Adyen/Model/NegativeBalanceWarningWebhooks/Resource.php index 35b405431..98f604f79 100644 --- a/src/Adyen/Model/NegativeBalanceWarningWebhooks/Resource.php +++ b/src/Adyen/Model/NegativeBalanceWarningWebhooks/Resource.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balancePlatform', $data ?? [], null); $this->setIfExists('creationDate', $data ?? [], null); diff --git a/src/Adyen/Model/NegativeBalanceWarningWebhooks/ResourceReference.php b/src/Adyen/Model/NegativeBalanceWarningWebhooks/ResourceReference.php index 536772c13..81872aff0 100644 --- a/src/Adyen/Model/NegativeBalanceWarningWebhooks/ResourceReference.php +++ b/src/Adyen/Model/NegativeBalanceWarningWebhooks/ResourceReference.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/POSTerminalManagement/Address.php b/src/Adyen/Model/POSTerminalManagement/Address.php index 2ab762f42..e80e10afb 100644 --- a/src/Adyen/Model/POSTerminalManagement/Address.php +++ b/src/Adyen/Model/POSTerminalManagement/Address.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('countryCode', $data ?? [], null); diff --git a/src/Adyen/Model/POSTerminalManagement/AssignTerminalsRequest.php b/src/Adyen/Model/POSTerminalManagement/AssignTerminalsRequest.php index 07d35ba50..76ba7a44c 100644 --- a/src/Adyen/Model/POSTerminalManagement/AssignTerminalsRequest.php +++ b/src/Adyen/Model/POSTerminalManagement/AssignTerminalsRequest.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('companyAccount', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/POSTerminalManagement/AssignTerminalsResponse.php b/src/Adyen/Model/POSTerminalManagement/AssignTerminalsResponse.php index a16444897..69581426d 100644 --- a/src/Adyen/Model/POSTerminalManagement/AssignTerminalsResponse.php +++ b/src/Adyen/Model/POSTerminalManagement/AssignTerminalsResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/src/Adyen/Model/POSTerminalManagement/FindTerminalRequest.php b/src/Adyen/Model/POSTerminalManagement/FindTerminalRequest.php index a699971b5..1802315b1 100644 --- a/src/Adyen/Model/POSTerminalManagement/FindTerminalRequest.php +++ b/src/Adyen/Model/POSTerminalManagement/FindTerminalRequest.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('terminal', $data ?? [], null); } diff --git a/src/Adyen/Model/POSTerminalManagement/FindTerminalResponse.php b/src/Adyen/Model/POSTerminalManagement/FindTerminalResponse.php index 81daa2e96..5ae5eefde 100644 --- a/src/Adyen/Model/POSTerminalManagement/FindTerminalResponse.php +++ b/src/Adyen/Model/POSTerminalManagement/FindTerminalResponse.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('companyAccount', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/POSTerminalManagement/GetStoresUnderAccountRequest.php b/src/Adyen/Model/POSTerminalManagement/GetStoresUnderAccountRequest.php index 6799b0e08..cd28192b6 100644 --- a/src/Adyen/Model/POSTerminalManagement/GetStoresUnderAccountRequest.php +++ b/src/Adyen/Model/POSTerminalManagement/GetStoresUnderAccountRequest.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('companyAccount', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/POSTerminalManagement/GetStoresUnderAccountResponse.php b/src/Adyen/Model/POSTerminalManagement/GetStoresUnderAccountResponse.php index 128aff9c6..ee02ed269 100644 --- a/src/Adyen/Model/POSTerminalManagement/GetStoresUnderAccountResponse.php +++ b/src/Adyen/Model/POSTerminalManagement/GetStoresUnderAccountResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('stores', $data ?? [], null); } diff --git a/src/Adyen/Model/POSTerminalManagement/GetTerminalDetailsRequest.php b/src/Adyen/Model/POSTerminalManagement/GetTerminalDetailsRequest.php index 08a164690..1e4e4a56c 100644 --- a/src/Adyen/Model/POSTerminalManagement/GetTerminalDetailsRequest.php +++ b/src/Adyen/Model/POSTerminalManagement/GetTerminalDetailsRequest.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('terminal', $data ?? [], null); } diff --git a/src/Adyen/Model/POSTerminalManagement/GetTerminalDetailsResponse.php b/src/Adyen/Model/POSTerminalManagement/GetTerminalDetailsResponse.php index 7218eb46f..f087bf639 100644 --- a/src/Adyen/Model/POSTerminalManagement/GetTerminalDetailsResponse.php +++ b/src/Adyen/Model/POSTerminalManagement/GetTerminalDetailsResponse.php @@ -407,7 +407,7 @@ public function getTerminalStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('bluetoothIp', $data ?? [], null); $this->setIfExists('bluetoothMac', $data ?? [], null); diff --git a/src/Adyen/Model/POSTerminalManagement/GetTerminalsUnderAccountRequest.php b/src/Adyen/Model/POSTerminalManagement/GetTerminalsUnderAccountRequest.php index 102db4397..5fc8ec32d 100644 --- a/src/Adyen/Model/POSTerminalManagement/GetTerminalsUnderAccountRequest.php +++ b/src/Adyen/Model/POSTerminalManagement/GetTerminalsUnderAccountRequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('companyAccount', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/POSTerminalManagement/GetTerminalsUnderAccountResponse.php b/src/Adyen/Model/POSTerminalManagement/GetTerminalsUnderAccountResponse.php index 9c9240efb..ed3d7837f 100644 --- a/src/Adyen/Model/POSTerminalManagement/GetTerminalsUnderAccountResponse.php +++ b/src/Adyen/Model/POSTerminalManagement/GetTerminalsUnderAccountResponse.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('companyAccount', $data ?? [], null); $this->setIfExists('inventoryTerminals', $data ?? [], null); diff --git a/src/Adyen/Model/POSTerminalManagement/MerchantAccount.php b/src/Adyen/Model/POSTerminalManagement/MerchantAccount.php index 71f7632d3..be3d80619 100644 --- a/src/Adyen/Model/POSTerminalManagement/MerchantAccount.php +++ b/src/Adyen/Model/POSTerminalManagement/MerchantAccount.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inStoreTerminals', $data ?? [], null); $this->setIfExists('inventoryTerminals', $data ?? [], null); diff --git a/src/Adyen/Model/POSTerminalManagement/ServiceError.php b/src/Adyen/Model/POSTerminalManagement/ServiceError.php index 6f608eefc..95b90cdd8 100644 --- a/src/Adyen/Model/POSTerminalManagement/ServiceError.php +++ b/src/Adyen/Model/POSTerminalManagement/ServiceError.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('errorCode', $data ?? [], null); $this->setIfExists('errorType', $data ?? [], null); diff --git a/src/Adyen/Model/POSTerminalManagement/Store.php b/src/Adyen/Model/POSTerminalManagement/Store.php index 55a91e71f..370718a9f 100644 --- a/src/Adyen/Model/POSTerminalManagement/Store.php +++ b/src/Adyen/Model/POSTerminalManagement/Store.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('address', $data ?? [], null); $this->setIfExists('description', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AccountInfo.php b/src/Adyen/Model/Payments/AccountInfo.php index c8dbbdbc9..10e623532 100644 --- a/src/Adyen/Model/Payments/AccountInfo.php +++ b/src/Adyen/Model/Payments/AccountInfo.php @@ -449,7 +449,7 @@ public function getPaymentAccountIndicatorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountAgeIndicator', $data ?? [], null); $this->setIfExists('accountChangeDate', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AcctInfo.php b/src/Adyen/Model/Payments/AcctInfo.php index c13ec113a..5ae8d38eb 100644 --- a/src/Adyen/Model/Payments/AcctInfo.php +++ b/src/Adyen/Model/Payments/AcctInfo.php @@ -443,7 +443,7 @@ public function getSuspiciousAccActivityAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('chAccAgeInd', $data ?? [], null); $this->setIfExists('chAccChange', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AdditionalData3DSecure.php b/src/Adyen/Model/Payments/AdditionalData3DSecure.php index fbe64c058..001eba9ed 100644 --- a/src/Adyen/Model/Payments/AdditionalData3DSecure.php +++ b/src/Adyen/Model/Payments/AdditionalData3DSecure.php @@ -279,7 +279,7 @@ public function getChallengeWindowSizeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('allow3DS2', $data ?? [], null); $this->setIfExists('challengeWindowSize', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AdditionalDataAirline.php b/src/Adyen/Model/Payments/AdditionalDataAirline.php index 13d6cf974..e9d107b69 100644 --- a/src/Adyen/Model/Payments/AdditionalDataAirline.php +++ b/src/Adyen/Model/Payments/AdditionalDataAirline.php @@ -397,7 +397,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('airlineAgencyInvoiceNumber', $data ?? [], null); $this->setIfExists('airlineAgencyPlanName', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AdditionalDataCarRental.php b/src/Adyen/Model/Payments/AdditionalDataCarRental.php index f3f24f1d4..9a529ad52 100644 --- a/src/Adyen/Model/Payments/AdditionalDataCarRental.php +++ b/src/Adyen/Model/Payments/AdditionalDataCarRental.php @@ -361,7 +361,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('carRentalCheckOutDate', $data ?? [], null); $this->setIfExists('carRentalCustomerServiceTollFreeNumber', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AdditionalDataCommon.php b/src/Adyen/Model/Payments/AdditionalDataCommon.php index 5c8301cb4..4e1e2ea9c 100644 --- a/src/Adyen/Model/Payments/AdditionalDataCommon.php +++ b/src/Adyen/Model/Payments/AdditionalDataCommon.php @@ -345,7 +345,7 @@ public function getIndustryUsageAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('requestedTestErrorResponseCode', $data ?? [], null); $this->setIfExists('allowPartialAuth', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AdditionalDataLevel23.php b/src/Adyen/Model/Payments/AdditionalDataLevel23.php index 8f7288be2..94c83ea56 100644 --- a/src/Adyen/Model/Payments/AdditionalDataLevel23.php +++ b/src/Adyen/Model/Payments/AdditionalDataLevel23.php @@ -325,7 +325,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('enhancedSchemeDataCustomerReference', $data ?? [], null); $this->setIfExists('enhancedSchemeDataDestinationCountryCode', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AdditionalDataLodging.php b/src/Adyen/Model/Payments/AdditionalDataLodging.php index e0c746901..c6a0d8daf 100644 --- a/src/Adyen/Model/Payments/AdditionalDataLodging.php +++ b/src/Adyen/Model/Payments/AdditionalDataLodging.php @@ -325,7 +325,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('lodgingSpecialProgramCode', $data ?? [], null); $this->setIfExists('lodgingCheckInDate', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AdditionalDataModifications.php b/src/Adyen/Model/Payments/AdditionalDataModifications.php index 960fe85cc..8c5670ede 100644 --- a/src/Adyen/Model/Payments/AdditionalDataModifications.php +++ b/src/Adyen/Model/Payments/AdditionalDataModifications.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('installmentPaymentDataSelectedInstallmentOption', $data ?? [], null); } diff --git a/src/Adyen/Model/Payments/AdditionalDataOpenInvoice.php b/src/Adyen/Model/Payments/AdditionalDataOpenInvoice.php index 08c0fd15f..a81cda182 100644 --- a/src/Adyen/Model/Payments/AdditionalDataOpenInvoice.php +++ b/src/Adyen/Model/Payments/AdditionalDataOpenInvoice.php @@ -331,7 +331,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('openinvoicedataMerchantData', $data ?? [], null); $this->setIfExists('openinvoicedataNumberOfLines', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AdditionalDataOpi.php b/src/Adyen/Model/Payments/AdditionalDataOpi.php index 57eef93c8..9a89e18b4 100644 --- a/src/Adyen/Model/Payments/AdditionalDataOpi.php +++ b/src/Adyen/Model/Payments/AdditionalDataOpi.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('opiIncludeTransToken', $data ?? [], null); } diff --git a/src/Adyen/Model/Payments/AdditionalDataRatepay.php b/src/Adyen/Model/Payments/AdditionalDataRatepay.php index 0b234a1b7..acc539648 100644 --- a/src/Adyen/Model/Payments/AdditionalDataRatepay.php +++ b/src/Adyen/Model/Payments/AdditionalDataRatepay.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('ratepayInstallmentAmount', $data ?? [], null); $this->setIfExists('ratepayInterestRate', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AdditionalDataRetry.php b/src/Adyen/Model/Payments/AdditionalDataRetry.php index c1261ab31..74cde6b53 100644 --- a/src/Adyen/Model/Payments/AdditionalDataRetry.php +++ b/src/Adyen/Model/Payments/AdditionalDataRetry.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('retryChainAttemptNumber', $data ?? [], null); $this->setIfExists('retryOrderAttemptNumber', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AdditionalDataRisk.php b/src/Adyen/Model/Payments/AdditionalDataRisk.php index b8d3aceed..13732997e 100644 --- a/src/Adyen/Model/Payments/AdditionalDataRisk.php +++ b/src/Adyen/Model/Payments/AdditionalDataRisk.php @@ -349,7 +349,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('riskdataCustomFieldName', $data ?? [], null); $this->setIfExists('riskdataBasketItemItemNrAmountPerItem', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AdditionalDataRiskStandalone.php b/src/Adyen/Model/Payments/AdditionalDataRiskStandalone.php index 772bcf1d0..8070580ac 100644 --- a/src/Adyen/Model/Payments/AdditionalDataRiskStandalone.php +++ b/src/Adyen/Model/Payments/AdditionalDataRiskStandalone.php @@ -313,7 +313,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('payPalCountryCode', $data ?? [], null); $this->setIfExists('payPalEmailId', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AdditionalDataSubMerchant.php b/src/Adyen/Model/Payments/AdditionalDataSubMerchant.php index 76a2a10cc..8d36f3743 100644 --- a/src/Adyen/Model/Payments/AdditionalDataSubMerchant.php +++ b/src/Adyen/Model/Payments/AdditionalDataSubMerchant.php @@ -283,7 +283,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('subMerchantNumberOfSubSellers', $data ?? [], null); $this->setIfExists('subMerchantSubSellerSubSellerNrCity', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AdditionalDataTemporaryServices.php b/src/Adyen/Model/Payments/AdditionalDataTemporaryServices.php index b8aec31a3..9d397f738 100644 --- a/src/Adyen/Model/Payments/AdditionalDataTemporaryServices.php +++ b/src/Adyen/Model/Payments/AdditionalDataTemporaryServices.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('enhancedSchemeDataCustomerReference', $data ?? [], null); $this->setIfExists('enhancedSchemeDataEmployeeName', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AdditionalDataWallets.php b/src/Adyen/Model/Payments/AdditionalDataWallets.php index be347e9dc..e095267bb 100644 --- a/src/Adyen/Model/Payments/AdditionalDataWallets.php +++ b/src/Adyen/Model/Payments/AdditionalDataWallets.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('androidpayToken', $data ?? [], null); $this->setIfExists('masterpassTransactionId', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/Address.php b/src/Adyen/Model/Payments/Address.php index ebce29b3b..c523cd00e 100644 --- a/src/Adyen/Model/Payments/Address.php +++ b/src/Adyen/Model/Payments/Address.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AdjustAuthorisationRequest.php b/src/Adyen/Model/Payments/AdjustAuthorisationRequest.php index 5ffb11b3e..10c99e0ec 100644 --- a/src/Adyen/Model/Payments/AdjustAuthorisationRequest.php +++ b/src/Adyen/Model/Payments/AdjustAuthorisationRequest.php @@ -289,7 +289,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/Amount.php b/src/Adyen/Model/Payments/Amount.php index ec740c5e6..827ef3286 100644 --- a/src/Adyen/Model/Payments/Amount.php +++ b/src/Adyen/Model/Payments/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ApplicationInfo.php b/src/Adyen/Model/Payments/ApplicationInfo.php index 480541f32..6c47af3bd 100644 --- a/src/Adyen/Model/Payments/ApplicationInfo.php +++ b/src/Adyen/Model/Payments/ApplicationInfo.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('adyenLibrary', $data ?? [], null); $this->setIfExists('adyenPaymentSource', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AuthenticationResultRequest.php b/src/Adyen/Model/Payments/AuthenticationResultRequest.php index ed73c9711..ec35a28bf 100644 --- a/src/Adyen/Model/Payments/AuthenticationResultRequest.php +++ b/src/Adyen/Model/Payments/AuthenticationResultRequest.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('pspReference', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/AuthenticationResultResponse.php b/src/Adyen/Model/Payments/AuthenticationResultResponse.php index dcd8ad1b6..038bfda47 100644 --- a/src/Adyen/Model/Payments/AuthenticationResultResponse.php +++ b/src/Adyen/Model/Payments/AuthenticationResultResponse.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('threeDS1Result', $data ?? [], null); $this->setIfExists('threeDS2Result', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/BankAccount.php b/src/Adyen/Model/Payments/BankAccount.php index 869486ad2..c0cb93473 100644 --- a/src/Adyen/Model/Payments/BankAccount.php +++ b/src/Adyen/Model/Payments/BankAccount.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('bankAccountNumber', $data ?? [], null); $this->setIfExists('bankCity', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/BrowserInfo.php b/src/Adyen/Model/Payments/BrowserInfo.php index a6c85b9a2..70d03c635 100644 --- a/src/Adyen/Model/Payments/BrowserInfo.php +++ b/src/Adyen/Model/Payments/BrowserInfo.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acceptHeader', $data ?? [], null); $this->setIfExists('colorDepth', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/CancelOrRefundRequest.php b/src/Adyen/Model/Payments/CancelOrRefundRequest.php index b20940d24..77cce93ca 100644 --- a/src/Adyen/Model/Payments/CancelOrRefundRequest.php +++ b/src/Adyen/Model/Payments/CancelOrRefundRequest.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/CancelRequest.php b/src/Adyen/Model/Payments/CancelRequest.php index dfba4c386..c88e1a1d2 100644 --- a/src/Adyen/Model/Payments/CancelRequest.php +++ b/src/Adyen/Model/Payments/CancelRequest.php @@ -283,7 +283,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/CaptureRequest.php b/src/Adyen/Model/Payments/CaptureRequest.php index ac29a6897..af81466d8 100644 --- a/src/Adyen/Model/Payments/CaptureRequest.php +++ b/src/Adyen/Model/Payments/CaptureRequest.php @@ -289,7 +289,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/Card.php b/src/Adyen/Model/Payments/Card.php index be0d93a95..d9b1177d3 100644 --- a/src/Adyen/Model/Payments/Card.php +++ b/src/Adyen/Model/Payments/Card.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cvc', $data ?? [], null); $this->setIfExists('expiryMonth', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/CommonField.php b/src/Adyen/Model/Payments/CommonField.php index bde94acfa..7f820060a 100644 --- a/src/Adyen/Model/Payments/CommonField.php +++ b/src/Adyen/Model/Payments/CommonField.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('name', $data ?? [], null); $this->setIfExists('version', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/DeviceRenderOptions.php b/src/Adyen/Model/Payments/DeviceRenderOptions.php index 6ded1689b..c24a3bcf3 100644 --- a/src/Adyen/Model/Payments/DeviceRenderOptions.php +++ b/src/Adyen/Model/Payments/DeviceRenderOptions.php @@ -271,7 +271,7 @@ public function getSdkUiTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sdkInterface', $data ?? [], null); $this->setIfExists('sdkUiType', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/DonationRequest.php b/src/Adyen/Model/Payments/DonationRequest.php index 5ee32cb76..e32f5155b 100644 --- a/src/Adyen/Model/Payments/DonationRequest.php +++ b/src/Adyen/Model/Payments/DonationRequest.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('donationAccount', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ExternalPlatform.php b/src/Adyen/Model/Payments/ExternalPlatform.php index cf66f80e7..12e83087e 100644 --- a/src/Adyen/Model/Payments/ExternalPlatform.php +++ b/src/Adyen/Model/Payments/ExternalPlatform.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('integrator', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ForexQuote.php b/src/Adyen/Model/Payments/ForexQuote.php index d5d2bb975..ecb29478d 100644 --- a/src/Adyen/Model/Payments/ForexQuote.php +++ b/src/Adyen/Model/Payments/ForexQuote.php @@ -295,7 +295,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('account', $data ?? [], null); $this->setIfExists('accountType', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/FraudCheckResult.php b/src/Adyen/Model/Payments/FraudCheckResult.php index 87fbebeaf..035614577 100644 --- a/src/Adyen/Model/Payments/FraudCheckResult.php +++ b/src/Adyen/Model/Payments/FraudCheckResult.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountScore', $data ?? [], null); $this->setIfExists('checkId', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/FraudCheckResultWrapper.php b/src/Adyen/Model/Payments/FraudCheckResultWrapper.php index a89e3545f..90eb02801 100644 --- a/src/Adyen/Model/Payments/FraudCheckResultWrapper.php +++ b/src/Adyen/Model/Payments/FraudCheckResultWrapper.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('fraudCheckResult', $data ?? [], null); } diff --git a/src/Adyen/Model/Payments/FraudResult.php b/src/Adyen/Model/Payments/FraudResult.php index 03abe3d86..56a1e1215 100644 --- a/src/Adyen/Model/Payments/FraudResult.php +++ b/src/Adyen/Model/Payments/FraudResult.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountScore', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/FundDestination.php b/src/Adyen/Model/Payments/FundDestination.php index d2f9218cb..46b1884e8 100644 --- a/src/Adyen/Model/Payments/FundDestination.php +++ b/src/Adyen/Model/Payments/FundDestination.php @@ -289,7 +289,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('iBAN', $data ?? [], null); $this->setIfExists('additionalData', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/FundSource.php b/src/Adyen/Model/Payments/FundSource.php index 954241149..05af5ebbc 100644 --- a/src/Adyen/Model/Payments/FundSource.php +++ b/src/Adyen/Model/Payments/FundSource.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('billingAddress', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/Installments.php b/src/Adyen/Model/Payments/Installments.php index fae2de776..9f1516738 100644 --- a/src/Adyen/Model/Payments/Installments.php +++ b/src/Adyen/Model/Payments/Installments.php @@ -269,7 +269,7 @@ public function getPlanAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('extra', $data ?? [], null); $this->setIfExists('plan', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/Mandate.php b/src/Adyen/Model/Payments/Mandate.php index 7d000ddd0..577908828 100644 --- a/src/Adyen/Model/Payments/Mandate.php +++ b/src/Adyen/Model/Payments/Mandate.php @@ -333,7 +333,7 @@ public function getFrequencyAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('amountRule', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/MerchantDevice.php b/src/Adyen/Model/Payments/MerchantDevice.php index 426477c88..d910e6927 100644 --- a/src/Adyen/Model/Payments/MerchantDevice.php +++ b/src/Adyen/Model/Payments/MerchantDevice.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('os', $data ?? [], null); $this->setIfExists('osVersion', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/MerchantRiskIndicator.php b/src/Adyen/Model/Payments/MerchantRiskIndicator.php index eed176b0b..533eaf8b9 100644 --- a/src/Adyen/Model/Payments/MerchantRiskIndicator.php +++ b/src/Adyen/Model/Payments/MerchantRiskIndicator.php @@ -349,7 +349,7 @@ public function getDeliveryTimeframeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('addressMatch', $data ?? [], null); $this->setIfExists('deliveryAddressIndicator', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ModificationResult.php b/src/Adyen/Model/Payments/ModificationResult.php index ba1050d8e..93c60e0a6 100644 --- a/src/Adyen/Model/Payments/ModificationResult.php +++ b/src/Adyen/Model/Payments/ModificationResult.php @@ -269,7 +269,7 @@ public function getResponseAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('pspReference', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/Name.php b/src/Adyen/Model/Payments/Name.php index 4a0d2ff26..2dafc2b12 100644 --- a/src/Adyen/Model/Payments/Name.php +++ b/src/Adyen/Model/Payments/Name.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('firstName', $data ?? [], null); $this->setIfExists('lastName', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/PaymentRequest.php b/src/Adyen/Model/Payments/PaymentRequest.php index e41163f42..74c5f1891 100644 --- a/src/Adyen/Model/Payments/PaymentRequest.php +++ b/src/Adyen/Model/Payments/PaymentRequest.php @@ -609,7 +609,7 @@ public function getShopperInteractionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountInfo', $data ?? [], null); $this->setIfExists('additionalAmount', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/PaymentRequest3d.php b/src/Adyen/Model/Payments/PaymentRequest3d.php index 05d8e2487..b99a06ff7 100644 --- a/src/Adyen/Model/Payments/PaymentRequest3d.php +++ b/src/Adyen/Model/Payments/PaymentRequest3d.php @@ -527,7 +527,7 @@ public function getShopperInteractionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountInfo', $data ?? [], null); $this->setIfExists('additionalAmount', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/PaymentRequest3ds2.php b/src/Adyen/Model/Payments/PaymentRequest3ds2.php index 0f15f0b18..9fc8aa04e 100644 --- a/src/Adyen/Model/Payments/PaymentRequest3ds2.php +++ b/src/Adyen/Model/Payments/PaymentRequest3ds2.php @@ -527,7 +527,7 @@ public function getShopperInteractionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountInfo', $data ?? [], null); $this->setIfExists('additionalAmount', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/PaymentResult.php b/src/Adyen/Model/Payments/PaymentResult.php index 6cab22a4b..7b6c36b51 100644 --- a/src/Adyen/Model/Payments/PaymentResult.php +++ b/src/Adyen/Model/Payments/PaymentResult.php @@ -327,7 +327,7 @@ public function getResultCodeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('authCode', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/Phone.php b/src/Adyen/Model/Payments/Phone.php index a249087c7..c5cef2540 100644 --- a/src/Adyen/Model/Payments/Phone.php +++ b/src/Adyen/Model/Payments/Phone.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cc', $data ?? [], null); $this->setIfExists('subscriber', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/PlatformChargebackLogic.php b/src/Adyen/Model/Payments/PlatformChargebackLogic.php index 516d846af..ebaf2a5fd 100644 --- a/src/Adyen/Model/Payments/PlatformChargebackLogic.php +++ b/src/Adyen/Model/Payments/PlatformChargebackLogic.php @@ -257,7 +257,7 @@ public function getBehaviorAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('behavior', $data ?? [], null); $this->setIfExists('costAllocationAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/Recurring.php b/src/Adyen/Model/Payments/Recurring.php index c42aee29e..3e355d3d2 100644 --- a/src/Adyen/Model/Payments/Recurring.php +++ b/src/Adyen/Model/Payments/Recurring.php @@ -287,7 +287,7 @@ public function getTokenServiceAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('contract', $data ?? [], null); $this->setIfExists('recurringDetailName', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/RefundRequest.php b/src/Adyen/Model/Payments/RefundRequest.php index 653bfbd13..511c62a41 100644 --- a/src/Adyen/Model/Payments/RefundRequest.php +++ b/src/Adyen/Model/Payments/RefundRequest.php @@ -289,7 +289,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ResponseAdditionalData3DSecure.php b/src/Adyen/Model/Payments/ResponseAdditionalData3DSecure.php index 1352635b4..42bec1df9 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalData3DSecure.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalData3DSecure.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cardHolderInfo', $data ?? [], null); $this->setIfExists('cavv', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ResponseAdditionalDataBillingAddress.php b/src/Adyen/Model/Payments/ResponseAdditionalDataBillingAddress.php index 08dfacfe9..35cb4c571 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalDataBillingAddress.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalDataBillingAddress.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('billingAddressCity', $data ?? [], null); $this->setIfExists('billingAddressCountry', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ResponseAdditionalDataCard.php b/src/Adyen/Model/Payments/ResponseAdditionalDataCard.php index 3a87adcb1..36eb42cee 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalDataCard.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalDataCard.php @@ -309,7 +309,7 @@ public function getCardProductIdAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cardBin', $data ?? [], null); $this->setIfExists('cardHolderName', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ResponseAdditionalDataCommon.php b/src/Adyen/Model/Payments/ResponseAdditionalDataCommon.php index f7424ee0b..41954114a 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalDataCommon.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalDataCommon.php @@ -641,7 +641,7 @@ public function getTokenizationStoreOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acquirerAccountCode', $data ?? [], null); $this->setIfExists('acquirerCode', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ResponseAdditionalDataDomesticError.php b/src/Adyen/Model/Payments/ResponseAdditionalDataDomesticError.php index c94d6ac25..b7203b9ea 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalDataDomesticError.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalDataDomesticError.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('domesticRefusalReasonRaw', $data ?? [], null); $this->setIfExists('domesticShopperAdvice', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ResponseAdditionalDataInstallments.php b/src/Adyen/Model/Payments/ResponseAdditionalDataInstallments.php index 4abedcf68..37bf5822c 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalDataInstallments.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalDataInstallments.php @@ -295,7 +295,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('installmentPaymentDataInstallmentType', $data ?? [], null); $this->setIfExists('installmentPaymentDataOptionItemNrAnnualPercentageRate', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ResponseAdditionalDataNetworkTokens.php b/src/Adyen/Model/Payments/ResponseAdditionalDataNetworkTokens.php index 1adbf0e55..edf1edfab 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalDataNetworkTokens.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalDataNetworkTokens.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('networkTokenAvailable', $data ?? [], null); $this->setIfExists('networkTokenBin', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ResponseAdditionalDataOpi.php b/src/Adyen/Model/Payments/ResponseAdditionalDataOpi.php index 61f53df0c..2ae25d2d9 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalDataOpi.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalDataOpi.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('opiTransToken', $data ?? [], null); } diff --git a/src/Adyen/Model/Payments/ResponseAdditionalDataSepa.php b/src/Adyen/Model/Payments/ResponseAdditionalDataSepa.php index 7175374a4..c251c5e6e 100644 --- a/src/Adyen/Model/Payments/ResponseAdditionalDataSepa.php +++ b/src/Adyen/Model/Payments/ResponseAdditionalDataSepa.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sepadirectdebitDateOfSignature', $data ?? [], null); $this->setIfExists('sepadirectdebitMandateId', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/SDKEphemPubKey.php b/src/Adyen/Model/Payments/SDKEphemPubKey.php index 04b2c6631..159f061f1 100644 --- a/src/Adyen/Model/Payments/SDKEphemPubKey.php +++ b/src/Adyen/Model/Payments/SDKEphemPubKey.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('crv', $data ?? [], null); $this->setIfExists('kty', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/SecureRemoteCommerceCheckoutData.php b/src/Adyen/Model/Payments/SecureRemoteCommerceCheckoutData.php index ed4862d95..b07e81b36 100644 --- a/src/Adyen/Model/Payments/SecureRemoteCommerceCheckoutData.php +++ b/src/Adyen/Model/Payments/SecureRemoteCommerceCheckoutData.php @@ -273,7 +273,7 @@ public function getSchemeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('checkoutPayload', $data ?? [], null); $this->setIfExists('correlationId', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ServiceError.php b/src/Adyen/Model/Payments/ServiceError.php index 7238a08f9..b42ae5109 100644 --- a/src/Adyen/Model/Payments/ServiceError.php +++ b/src/Adyen/Model/Payments/ServiceError.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('errorCode', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ShopperInteractionDevice.php b/src/Adyen/Model/Payments/ShopperInteractionDevice.php index 658d8975e..0d0bfc75e 100644 --- a/src/Adyen/Model/Payments/ShopperInteractionDevice.php +++ b/src/Adyen/Model/Payments/ShopperInteractionDevice.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('locale', $data ?? [], null); $this->setIfExists('os', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/Split.php b/src/Adyen/Model/Payments/Split.php index ffc4590d0..70b193963 100644 --- a/src/Adyen/Model/Payments/Split.php +++ b/src/Adyen/Model/Payments/Split.php @@ -295,7 +295,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('account', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/SplitAmount.php b/src/Adyen/Model/Payments/SplitAmount.php index aaed21e25..6fe9c8b98 100644 --- a/src/Adyen/Model/Payments/SplitAmount.php +++ b/src/Adyen/Model/Payments/SplitAmount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/SubMerchant.php b/src/Adyen/Model/Payments/SubMerchant.php index dbfa0f75f..ec320e320 100644 --- a/src/Adyen/Model/Payments/SubMerchant.php +++ b/src/Adyen/Model/Payments/SubMerchant.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/TechnicalCancelRequest.php b/src/Adyen/Model/Payments/TechnicalCancelRequest.php index 5f27bcfa1..ee9d18534 100644 --- a/src/Adyen/Model/Payments/TechnicalCancelRequest.php +++ b/src/Adyen/Model/Payments/TechnicalCancelRequest.php @@ -283,7 +283,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ThreeDS1Result.php b/src/Adyen/Model/Payments/ThreeDS1Result.php index c472ea3c7..c34c6d12b 100644 --- a/src/Adyen/Model/Payments/ThreeDS1Result.php +++ b/src/Adyen/Model/Payments/ThreeDS1Result.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cavv', $data ?? [], null); $this->setIfExists('cavvAlgorithm', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ThreeDS2RequestData.php b/src/Adyen/Model/Payments/ThreeDS2RequestData.php index 312059870..effcbeab4 100644 --- a/src/Adyen/Model/Payments/ThreeDS2RequestData.php +++ b/src/Adyen/Model/Payments/ThreeDS2RequestData.php @@ -567,7 +567,7 @@ public function getTransactionTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acctInfo', $data ?? [], null); $this->setIfExists('acctType', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ThreeDS2Result.php b/src/Adyen/Model/Payments/ThreeDS2Result.php index 73bd6d6ec..3a2cab608 100644 --- a/src/Adyen/Model/Payments/ThreeDS2Result.php +++ b/src/Adyen/Model/Payments/ThreeDS2Result.php @@ -371,7 +371,7 @@ public function getThreeDSRequestorChallengeIndAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authenticationValue', $data ?? [], null); $this->setIfExists('cavvAlgorithm', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ThreeDS2ResultRequest.php b/src/Adyen/Model/Payments/ThreeDS2ResultRequest.php index 4929f320d..f31e85d18 100644 --- a/src/Adyen/Model/Payments/ThreeDS2ResultRequest.php +++ b/src/Adyen/Model/Payments/ThreeDS2ResultRequest.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('pspReference', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ThreeDS2ResultResponse.php b/src/Adyen/Model/Payments/ThreeDS2ResultResponse.php index 02b92b05a..b84ca70d2 100644 --- a/src/Adyen/Model/Payments/ThreeDS2ResultResponse.php +++ b/src/Adyen/Model/Payments/ThreeDS2ResultResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('threeDS2Result', $data ?? [], null); } diff --git a/src/Adyen/Model/Payments/ThreeDSRequestorAuthenticationInfo.php b/src/Adyen/Model/Payments/ThreeDSRequestorAuthenticationInfo.php index 862118edd..fe9b6a868 100644 --- a/src/Adyen/Model/Payments/ThreeDSRequestorAuthenticationInfo.php +++ b/src/Adyen/Model/Payments/ThreeDSRequestorAuthenticationInfo.php @@ -263,7 +263,7 @@ public function getThreeDSReqAuthMethodAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('threeDSReqAuthData', $data ?? [], null); $this->setIfExists('threeDSReqAuthMethod', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ThreeDSRequestorPriorAuthenticationInfo.php b/src/Adyen/Model/Payments/ThreeDSRequestorPriorAuthenticationInfo.php index b20e924f8..c6f0981b2 100644 --- a/src/Adyen/Model/Payments/ThreeDSRequestorPriorAuthenticationInfo.php +++ b/src/Adyen/Model/Payments/ThreeDSRequestorPriorAuthenticationInfo.php @@ -265,7 +265,7 @@ public function getThreeDSReqPriorAuthMethodAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('threeDSReqPriorAuthData', $data ?? [], null); $this->setIfExists('threeDSReqPriorAuthMethod', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/ThreeDSecureData.php b/src/Adyen/Model/Payments/ThreeDSecureData.php index fcb986fc9..c725180ef 100644 --- a/src/Adyen/Model/Payments/ThreeDSecureData.php +++ b/src/Adyen/Model/Payments/ThreeDSecureData.php @@ -363,7 +363,7 @@ public function getDirectoryResponseAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authenticationResponse', $data ?? [], null); $this->setIfExists('cavv', $data ?? [], null); diff --git a/src/Adyen/Model/Payments/VoidPendingRefundRequest.php b/src/Adyen/Model/Payments/VoidPendingRefundRequest.php index ded87fb42..9e75cecd9 100644 --- a/src/Adyen/Model/Payments/VoidPendingRefundRequest.php +++ b/src/Adyen/Model/Payments/VoidPendingRefundRequest.php @@ -289,7 +289,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/PaymentsApp/BoardingTokenRequest.php b/src/Adyen/Model/PaymentsApp/BoardingTokenRequest.php index f296d371a..105df0ce8 100644 --- a/src/Adyen/Model/PaymentsApp/BoardingTokenRequest.php +++ b/src/Adyen/Model/PaymentsApp/BoardingTokenRequest.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('boardingRequestToken', $data ?? [], null); } diff --git a/src/Adyen/Model/PaymentsApp/BoardingTokenResponse.php b/src/Adyen/Model/PaymentsApp/BoardingTokenResponse.php index 7f79a9d3c..83f0fe41b 100644 --- a/src/Adyen/Model/PaymentsApp/BoardingTokenResponse.php +++ b/src/Adyen/Model/PaymentsApp/BoardingTokenResponse.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('boardingToken', $data ?? [], null); $this->setIfExists('installationId', $data ?? [], null); diff --git a/src/Adyen/Model/PaymentsApp/DefaultErrorResponseEntity.php b/src/Adyen/Model/PaymentsApp/DefaultErrorResponseEntity.php index 70eb07c24..0f545a9f7 100644 --- a/src/Adyen/Model/PaymentsApp/DefaultErrorResponseEntity.php +++ b/src/Adyen/Model/PaymentsApp/DefaultErrorResponseEntity.php @@ -272,7 +272,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('detail', $data ?? [], null); $this->setIfExists('errorCode', $data ?? [], null); diff --git a/src/Adyen/Model/PaymentsApp/InvalidField.php b/src/Adyen/Model/PaymentsApp/InvalidField.php index bfa7af1f1..cb98de1ef 100644 --- a/src/Adyen/Model/PaymentsApp/InvalidField.php +++ b/src/Adyen/Model/PaymentsApp/InvalidField.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('name', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/PaymentsApp/PaymentsAppDto.php b/src/Adyen/Model/PaymentsApp/PaymentsAppDto.php index a6cdd04d0..527ca8810 100644 --- a/src/Adyen/Model/PaymentsApp/PaymentsAppDto.php +++ b/src/Adyen/Model/PaymentsApp/PaymentsAppDto.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('installationId', $data ?? [], null); $this->setIfExists('merchantAccountCode', $data ?? [], null); diff --git a/src/Adyen/Model/PaymentsApp/PaymentsAppResponse.php b/src/Adyen/Model/PaymentsApp/PaymentsAppResponse.php index 6f427cd2d..ce326e57a 100644 --- a/src/Adyen/Model/PaymentsApp/PaymentsAppResponse.php +++ b/src/Adyen/Model/PaymentsApp/PaymentsAppResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paymentsApps', $data ?? [], null); } diff --git a/src/Adyen/Model/Payout/Address.php b/src/Adyen/Model/Payout/Address.php index 13c16560a..1a7f156da 100644 --- a/src/Adyen/Model/Payout/Address.php +++ b/src/Adyen/Model/Payout/Address.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/Amount.php b/src/Adyen/Model/Payout/Amount.php index 7aa1df1b3..c6c783f7b 100644 --- a/src/Adyen/Model/Payout/Amount.php +++ b/src/Adyen/Model/Payout/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/BankAccount.php b/src/Adyen/Model/Payout/BankAccount.php index 8c7134ead..1a8e86c57 100644 --- a/src/Adyen/Model/Payout/BankAccount.php +++ b/src/Adyen/Model/Payout/BankAccount.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('bankAccountNumber', $data ?? [], null); $this->setIfExists('bankCity', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/Card.php b/src/Adyen/Model/Payout/Card.php index 4d49666e0..a16f30fff 100644 --- a/src/Adyen/Model/Payout/Card.php +++ b/src/Adyen/Model/Payout/Card.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cvc', $data ?? [], null); $this->setIfExists('expiryMonth', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/FraudCheckResult.php b/src/Adyen/Model/Payout/FraudCheckResult.php index 2a3a93a0e..4b5861ad2 100644 --- a/src/Adyen/Model/Payout/FraudCheckResult.php +++ b/src/Adyen/Model/Payout/FraudCheckResult.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountScore', $data ?? [], null); $this->setIfExists('checkId', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/FraudCheckResultWrapper.php b/src/Adyen/Model/Payout/FraudCheckResultWrapper.php index 8d8cd6016..73e2f8fe2 100644 --- a/src/Adyen/Model/Payout/FraudCheckResultWrapper.php +++ b/src/Adyen/Model/Payout/FraudCheckResultWrapper.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('fraudCheckResult', $data ?? [], null); } diff --git a/src/Adyen/Model/Payout/FraudResult.php b/src/Adyen/Model/Payout/FraudResult.php index 3650cb4db..d299cc790 100644 --- a/src/Adyen/Model/Payout/FraudResult.php +++ b/src/Adyen/Model/Payout/FraudResult.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountScore', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/FundSource.php b/src/Adyen/Model/Payout/FundSource.php index 0e17f8d38..33ce8221d 100644 --- a/src/Adyen/Model/Payout/FundSource.php +++ b/src/Adyen/Model/Payout/FundSource.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('billingAddress', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/ModifyRequest.php b/src/Adyen/Model/Payout/ModifyRequest.php index 969585f96..ee4694200 100644 --- a/src/Adyen/Model/Payout/ModifyRequest.php +++ b/src/Adyen/Model/Payout/ModifyRequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/ModifyResponse.php b/src/Adyen/Model/Payout/ModifyResponse.php index 25149da64..342f69d80 100644 --- a/src/Adyen/Model/Payout/ModifyResponse.php +++ b/src/Adyen/Model/Payout/ModifyResponse.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('pspReference', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/Name.php b/src/Adyen/Model/Payout/Name.php index 30ec17f1d..f7bfcb041 100644 --- a/src/Adyen/Model/Payout/Name.php +++ b/src/Adyen/Model/Payout/Name.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('firstName', $data ?? [], null); $this->setIfExists('lastName', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/PayoutRequest.php b/src/Adyen/Model/Payout/PayoutRequest.php index d8a28e9e8..e78267130 100644 --- a/src/Adyen/Model/Payout/PayoutRequest.php +++ b/src/Adyen/Model/Payout/PayoutRequest.php @@ -325,7 +325,7 @@ public function getShopperInteractionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('billingAddress', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/PayoutResponse.php b/src/Adyen/Model/Payout/PayoutResponse.php index cb9abcf0c..e658d4531 100644 --- a/src/Adyen/Model/Payout/PayoutResponse.php +++ b/src/Adyen/Model/Payout/PayoutResponse.php @@ -327,7 +327,7 @@ public function getResultCodeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('authCode', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/Recurring.php b/src/Adyen/Model/Payout/Recurring.php index b064dce51..2085f2372 100644 --- a/src/Adyen/Model/Payout/Recurring.php +++ b/src/Adyen/Model/Payout/Recurring.php @@ -287,7 +287,7 @@ public function getTokenServiceAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('contract', $data ?? [], null); $this->setIfExists('recurringDetailName', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/ResponseAdditionalData3DSecure.php b/src/Adyen/Model/Payout/ResponseAdditionalData3DSecure.php index 0c9969b25..8b467562f 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalData3DSecure.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalData3DSecure.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cardHolderInfo', $data ?? [], null); $this->setIfExists('cavv', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/ResponseAdditionalDataBillingAddress.php b/src/Adyen/Model/Payout/ResponseAdditionalDataBillingAddress.php index a524642df..6c47faac5 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalDataBillingAddress.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalDataBillingAddress.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('billingAddressCity', $data ?? [], null); $this->setIfExists('billingAddressCountry', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/ResponseAdditionalDataCard.php b/src/Adyen/Model/Payout/ResponseAdditionalDataCard.php index 3e44a1846..a4a22f7e0 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalDataCard.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalDataCard.php @@ -309,7 +309,7 @@ public function getCardProductIdAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cardBin', $data ?? [], null); $this->setIfExists('cardHolderName', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/ResponseAdditionalDataCommon.php b/src/Adyen/Model/Payout/ResponseAdditionalDataCommon.php index d9d3fdd17..1e6f345b9 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalDataCommon.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalDataCommon.php @@ -641,7 +641,7 @@ public function getTokenizationStoreOperationTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acquirerAccountCode', $data ?? [], null); $this->setIfExists('acquirerCode', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/ResponseAdditionalDataDomesticError.php b/src/Adyen/Model/Payout/ResponseAdditionalDataDomesticError.php index 11b83520a..c51b61aff 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalDataDomesticError.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalDataDomesticError.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('domesticRefusalReasonRaw', $data ?? [], null); $this->setIfExists('domesticShopperAdvice', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/ResponseAdditionalDataInstallments.php b/src/Adyen/Model/Payout/ResponseAdditionalDataInstallments.php index bedc7bf06..896df239f 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalDataInstallments.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalDataInstallments.php @@ -295,7 +295,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('installmentPaymentDataInstallmentType', $data ?? [], null); $this->setIfExists('installmentPaymentDataOptionItemNrAnnualPercentageRate', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/ResponseAdditionalDataNetworkTokens.php b/src/Adyen/Model/Payout/ResponseAdditionalDataNetworkTokens.php index 99868e3d8..5c7f0288d 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalDataNetworkTokens.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalDataNetworkTokens.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('networkTokenAvailable', $data ?? [], null); $this->setIfExists('networkTokenBin', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/ResponseAdditionalDataOpi.php b/src/Adyen/Model/Payout/ResponseAdditionalDataOpi.php index 7eab74318..f065a938c 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalDataOpi.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalDataOpi.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('opiTransToken', $data ?? [], null); } diff --git a/src/Adyen/Model/Payout/ResponseAdditionalDataSepa.php b/src/Adyen/Model/Payout/ResponseAdditionalDataSepa.php index 33e99a2c8..69853e876 100644 --- a/src/Adyen/Model/Payout/ResponseAdditionalDataSepa.php +++ b/src/Adyen/Model/Payout/ResponseAdditionalDataSepa.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sepadirectdebitDateOfSignature', $data ?? [], null); $this->setIfExists('sepadirectdebitMandateId', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/ServiceError.php b/src/Adyen/Model/Payout/ServiceError.php index a1158c3b4..edf64cfec 100644 --- a/src/Adyen/Model/Payout/ServiceError.php +++ b/src/Adyen/Model/Payout/ServiceError.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('errorCode', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/StoreDetailAndSubmitRequest.php b/src/Adyen/Model/Payout/StoreDetailAndSubmitRequest.php index 02626cf6d..b5aaa8514 100644 --- a/src/Adyen/Model/Payout/StoreDetailAndSubmitRequest.php +++ b/src/Adyen/Model/Payout/StoreDetailAndSubmitRequest.php @@ -351,7 +351,7 @@ public function getEntityTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/StoreDetailAndSubmitResponse.php b/src/Adyen/Model/Payout/StoreDetailAndSubmitResponse.php index f61ca2e4b..a85be1f68 100644 --- a/src/Adyen/Model/Payout/StoreDetailAndSubmitResponse.php +++ b/src/Adyen/Model/Payout/StoreDetailAndSubmitResponse.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('pspReference', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/StoreDetailRequest.php b/src/Adyen/Model/Payout/StoreDetailRequest.php index 65d4d9f5b..3183a6741 100644 --- a/src/Adyen/Model/Payout/StoreDetailRequest.php +++ b/src/Adyen/Model/Payout/StoreDetailRequest.php @@ -333,7 +333,7 @@ public function getEntityTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('bank', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/StoreDetailResponse.php b/src/Adyen/Model/Payout/StoreDetailResponse.php index 9001492f2..2a1666f6c 100644 --- a/src/Adyen/Model/Payout/StoreDetailResponse.php +++ b/src/Adyen/Model/Payout/StoreDetailResponse.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('pspReference', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/SubmitRequest.php b/src/Adyen/Model/Payout/SubmitRequest.php index 59f09ded8..34f9a561b 100644 --- a/src/Adyen/Model/Payout/SubmitRequest.php +++ b/src/Adyen/Model/Payout/SubmitRequest.php @@ -327,7 +327,7 @@ public function getEntityTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); diff --git a/src/Adyen/Model/Payout/SubmitResponse.php b/src/Adyen/Model/Payout/SubmitResponse.php index 1e1669dcc..e26c3b54f 100644 --- a/src/Adyen/Model/Payout/SubmitResponse.php +++ b/src/Adyen/Model/Payout/SubmitResponse.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('pspReference', $data ?? [], null); diff --git a/src/Adyen/Model/PosMobile/CreateSessionRequest.php b/src/Adyen/Model/PosMobile/CreateSessionRequest.php index 6646bb562..4b67fd39a 100644 --- a/src/Adyen/Model/PosMobile/CreateSessionRequest.php +++ b/src/Adyen/Model/PosMobile/CreateSessionRequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('setupToken', $data ?? [], null); diff --git a/src/Adyen/Model/PosMobile/CreateSessionResponse.php b/src/Adyen/Model/PosMobile/CreateSessionResponse.php index 16c6b075d..42389e867 100644 --- a/src/Adyen/Model/PosMobile/CreateSessionResponse.php +++ b/src/Adyen/Model/PosMobile/CreateSessionResponse.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('installationId', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/Address.php b/src/Adyen/Model/Recurring/Address.php index 9e61b2d0c..ad7b2e1b0 100644 --- a/src/Adyen/Model/Recurring/Address.php +++ b/src/Adyen/Model/Recurring/Address.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/Amount.php b/src/Adyen/Model/Recurring/Amount.php index ada86cbc6..681a59779 100644 --- a/src/Adyen/Model/Recurring/Amount.php +++ b/src/Adyen/Model/Recurring/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/BankAccount.php b/src/Adyen/Model/Recurring/BankAccount.php index 5c86cd3da..341f6642b 100644 --- a/src/Adyen/Model/Recurring/BankAccount.php +++ b/src/Adyen/Model/Recurring/BankAccount.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('bankAccountNumber', $data ?? [], null); $this->setIfExists('bankCity', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/Card.php b/src/Adyen/Model/Recurring/Card.php index c5e313ab1..89de3350a 100644 --- a/src/Adyen/Model/Recurring/Card.php +++ b/src/Adyen/Model/Recurring/Card.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cvc', $data ?? [], null); $this->setIfExists('expiryMonth', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/CreatePermitRequest.php b/src/Adyen/Model/Recurring/CreatePermitRequest.php index 12658684e..bfced48d7 100644 --- a/src/Adyen/Model/Recurring/CreatePermitRequest.php +++ b/src/Adyen/Model/Recurring/CreatePermitRequest.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('permits', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/CreatePermitResult.php b/src/Adyen/Model/Recurring/CreatePermitResult.php index 384722fea..e87bae4d3 100644 --- a/src/Adyen/Model/Recurring/CreatePermitResult.php +++ b/src/Adyen/Model/Recurring/CreatePermitResult.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('permitResultList', $data ?? [], null); $this->setIfExists('pspReference', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/DisablePermitRequest.php b/src/Adyen/Model/Recurring/DisablePermitRequest.php index 1bcadb5d1..cee7def49 100644 --- a/src/Adyen/Model/Recurring/DisablePermitRequest.php +++ b/src/Adyen/Model/Recurring/DisablePermitRequest.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('token', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/DisablePermitResult.php b/src/Adyen/Model/Recurring/DisablePermitResult.php index 5b27a3a6e..f87149f8f 100644 --- a/src/Adyen/Model/Recurring/DisablePermitResult.php +++ b/src/Adyen/Model/Recurring/DisablePermitResult.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('pspReference', $data ?? [], null); $this->setIfExists('status', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/DisableRequest.php b/src/Adyen/Model/Recurring/DisableRequest.php index 42fe5e444..e0b7b2d23 100644 --- a/src/Adyen/Model/Recurring/DisableRequest.php +++ b/src/Adyen/Model/Recurring/DisableRequest.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('contract', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/DisableResult.php b/src/Adyen/Model/Recurring/DisableResult.php index 199592b6f..48655b1f8 100644 --- a/src/Adyen/Model/Recurring/DisableResult.php +++ b/src/Adyen/Model/Recurring/DisableResult.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('response', $data ?? [], null); } diff --git a/src/Adyen/Model/Recurring/Name.php b/src/Adyen/Model/Recurring/Name.php index f42fbe0c5..04870ae0e 100644 --- a/src/Adyen/Model/Recurring/Name.php +++ b/src/Adyen/Model/Recurring/Name.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('firstName', $data ?? [], null); $this->setIfExists('lastName', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/NotifyShopperRequest.php b/src/Adyen/Model/Recurring/NotifyShopperRequest.php index 7ffdbf816..8ea7a22b3 100644 --- a/src/Adyen/Model/Recurring/NotifyShopperRequest.php +++ b/src/Adyen/Model/Recurring/NotifyShopperRequest.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('billingDate', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/NotifyShopperResult.php b/src/Adyen/Model/Recurring/NotifyShopperResult.php index 95a530f43..34c92e903 100644 --- a/src/Adyen/Model/Recurring/NotifyShopperResult.php +++ b/src/Adyen/Model/Recurring/NotifyShopperResult.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('displayedReference', $data ?? [], null); $this->setIfExists('message', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/Permit.php b/src/Adyen/Model/Recurring/Permit.php index 23cf61183..8949bde13 100644 --- a/src/Adyen/Model/Recurring/Permit.php +++ b/src/Adyen/Model/Recurring/Permit.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('partnerId', $data ?? [], null); $this->setIfExists('profileReference', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/PermitRestriction.php b/src/Adyen/Model/Recurring/PermitRestriction.php index bc152e4a7..bfcec5779 100644 --- a/src/Adyen/Model/Recurring/PermitRestriction.php +++ b/src/Adyen/Model/Recurring/PermitRestriction.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('maxAmount', $data ?? [], null); $this->setIfExists('singleTransactionLimit', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/PermitResult.php b/src/Adyen/Model/Recurring/PermitResult.php index 4a7fdaffa..bc84846ff 100644 --- a/src/Adyen/Model/Recurring/PermitResult.php +++ b/src/Adyen/Model/Recurring/PermitResult.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('resultKey', $data ?? [], null); $this->setIfExists('token', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/Recurring.php b/src/Adyen/Model/Recurring/Recurring.php index a6546c72d..c7e96d113 100644 --- a/src/Adyen/Model/Recurring/Recurring.php +++ b/src/Adyen/Model/Recurring/Recurring.php @@ -287,7 +287,7 @@ public function getTokenServiceAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('contract', $data ?? [], null); $this->setIfExists('recurringDetailName', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/RecurringDetail.php b/src/Adyen/Model/Recurring/RecurringDetail.php index b8fe68148..a7a28e033 100644 --- a/src/Adyen/Model/Recurring/RecurringDetail.php +++ b/src/Adyen/Model/Recurring/RecurringDetail.php @@ -325,7 +325,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('alias', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/RecurringDetailWrapper.php b/src/Adyen/Model/Recurring/RecurringDetailWrapper.php index 81b6b1928..2eb27cbad 100644 --- a/src/Adyen/Model/Recurring/RecurringDetailWrapper.php +++ b/src/Adyen/Model/Recurring/RecurringDetailWrapper.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('recurringDetail', $data ?? [], null); } diff --git a/src/Adyen/Model/Recurring/RecurringDetailsRequest.php b/src/Adyen/Model/Recurring/RecurringDetailsRequest.php index 8e0d63d53..8dca830e2 100644 --- a/src/Adyen/Model/Recurring/RecurringDetailsRequest.php +++ b/src/Adyen/Model/Recurring/RecurringDetailsRequest.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('recurring', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/RecurringDetailsResult.php b/src/Adyen/Model/Recurring/RecurringDetailsResult.php index 2170bdda0..2bf3c46ec 100644 --- a/src/Adyen/Model/Recurring/RecurringDetailsResult.php +++ b/src/Adyen/Model/Recurring/RecurringDetailsResult.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('creationDate', $data ?? [], null); $this->setIfExists('details', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/ScheduleAccountUpdaterRequest.php b/src/Adyen/Model/Recurring/ScheduleAccountUpdaterRequest.php index cc3495d27..abb8e5ca5 100644 --- a/src/Adyen/Model/Recurring/ScheduleAccountUpdaterRequest.php +++ b/src/Adyen/Model/Recurring/ScheduleAccountUpdaterRequest.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('card', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/ScheduleAccountUpdaterResult.php b/src/Adyen/Model/Recurring/ScheduleAccountUpdaterResult.php index 22d476f21..9808b5e00 100644 --- a/src/Adyen/Model/Recurring/ScheduleAccountUpdaterResult.php +++ b/src/Adyen/Model/Recurring/ScheduleAccountUpdaterResult.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('pspReference', $data ?? [], null); $this->setIfExists('result', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/ServiceError.php b/src/Adyen/Model/Recurring/ServiceError.php index 97daad673..767a7d1bd 100644 --- a/src/Adyen/Model/Recurring/ServiceError.php +++ b/src/Adyen/Model/Recurring/ServiceError.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('errorCode', $data ?? [], null); diff --git a/src/Adyen/Model/Recurring/TokenDetails.php b/src/Adyen/Model/Recurring/TokenDetails.php index 7bba24ccd..2813e9cf9 100644 --- a/src/Adyen/Model/Recurring/TokenDetails.php +++ b/src/Adyen/Model/Recurring/TokenDetails.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('tokenData', $data ?? [], null); $this->setIfExists('tokenDataType', $data ?? [], null); diff --git a/src/Adyen/Model/ReportWebhooks/BalancePlatformNotificationResponse.php b/src/Adyen/Model/ReportWebhooks/BalancePlatformNotificationResponse.php index a5fb2f68d..3f0a66275 100644 --- a/src/Adyen/Model/ReportWebhooks/BalancePlatformNotificationResponse.php +++ b/src/Adyen/Model/ReportWebhooks/BalancePlatformNotificationResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('notificationResponse', $data ?? [], null); } diff --git a/src/Adyen/Model/ReportWebhooks/ReportNotificationData.php b/src/Adyen/Model/ReportWebhooks/ReportNotificationData.php index bb9de4f4c..90bcadac9 100644 --- a/src/Adyen/Model/ReportWebhooks/ReportNotificationData.php +++ b/src/Adyen/Model/ReportWebhooks/ReportNotificationData.php @@ -271,7 +271,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolder', $data ?? [], null); $this->setIfExists('balanceAccount', $data ?? [], null); diff --git a/src/Adyen/Model/ReportWebhooks/ReportNotificationRequest.php b/src/Adyen/Model/ReportWebhooks/ReportNotificationRequest.php index 651247a92..a0169da4f 100644 --- a/src/Adyen/Model/ReportWebhooks/ReportNotificationRequest.php +++ b/src/Adyen/Model/ReportWebhooks/ReportNotificationRequest.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); $this->setIfExists('environment', $data ?? [], null); diff --git a/src/Adyen/Model/ReportWebhooks/Resource.php b/src/Adyen/Model/ReportWebhooks/Resource.php index 5325c7169..23b0196c3 100644 --- a/src/Adyen/Model/ReportWebhooks/Resource.php +++ b/src/Adyen/Model/ReportWebhooks/Resource.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balancePlatform', $data ?? [], null); $this->setIfExists('creationDate', $data ?? [], null); diff --git a/src/Adyen/Model/ReportWebhooks/ResourceReference.php b/src/Adyen/Model/ReportWebhooks/ResourceReference.php index 31db791b1..38bcac883 100644 --- a/src/Adyen/Model/ReportWebhooks/ResourceReference.php +++ b/src/Adyen/Model/ReportWebhooks/ResourceReference.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/StoredValue/Amount.php b/src/Adyen/Model/StoredValue/Amount.php index 1a5086010..75b64802c 100644 --- a/src/Adyen/Model/StoredValue/Amount.php +++ b/src/Adyen/Model/StoredValue/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/StoredValue/ServiceError.php b/src/Adyen/Model/StoredValue/ServiceError.php index 0783efc9b..17f86d15e 100644 --- a/src/Adyen/Model/StoredValue/ServiceError.php +++ b/src/Adyen/Model/StoredValue/ServiceError.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('additionalData', $data ?? [], null); $this->setIfExists('errorCode', $data ?? [], null); diff --git a/src/Adyen/Model/StoredValue/StoredValueBalanceCheckRequest.php b/src/Adyen/Model/StoredValue/StoredValueBalanceCheckRequest.php index e62dc0efb..1b6b76882 100644 --- a/src/Adyen/Model/StoredValue/StoredValueBalanceCheckRequest.php +++ b/src/Adyen/Model/StoredValue/StoredValueBalanceCheckRequest.php @@ -289,7 +289,7 @@ public function getShopperInteractionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/StoredValue/StoredValueBalanceCheckResponse.php b/src/Adyen/Model/StoredValue/StoredValueBalanceCheckResponse.php index dbb55d6cc..6243df565 100644 --- a/src/Adyen/Model/StoredValue/StoredValueBalanceCheckResponse.php +++ b/src/Adyen/Model/StoredValue/StoredValueBalanceCheckResponse.php @@ -271,7 +271,7 @@ public function getResultCodeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currentBalance', $data ?? [], null); $this->setIfExists('pspReference', $data ?? [], null); diff --git a/src/Adyen/Model/StoredValue/StoredValueBalanceMergeRequest.php b/src/Adyen/Model/StoredValue/StoredValueBalanceMergeRequest.php index db442b86b..e662b6b43 100644 --- a/src/Adyen/Model/StoredValue/StoredValueBalanceMergeRequest.php +++ b/src/Adyen/Model/StoredValue/StoredValueBalanceMergeRequest.php @@ -295,7 +295,7 @@ public function getShopperInteractionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/StoredValue/StoredValueBalanceMergeResponse.php b/src/Adyen/Model/StoredValue/StoredValueBalanceMergeResponse.php index 57b3f64e7..127820d6c 100644 --- a/src/Adyen/Model/StoredValue/StoredValueBalanceMergeResponse.php +++ b/src/Adyen/Model/StoredValue/StoredValueBalanceMergeResponse.php @@ -277,7 +277,7 @@ public function getResultCodeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authCode', $data ?? [], null); $this->setIfExists('currentBalance', $data ?? [], null); diff --git a/src/Adyen/Model/StoredValue/StoredValueIssueRequest.php b/src/Adyen/Model/StoredValue/StoredValueIssueRequest.php index 0ec05449e..62fc511b9 100644 --- a/src/Adyen/Model/StoredValue/StoredValueIssueRequest.php +++ b/src/Adyen/Model/StoredValue/StoredValueIssueRequest.php @@ -289,7 +289,7 @@ public function getShopperInteractionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/StoredValue/StoredValueIssueResponse.php b/src/Adyen/Model/StoredValue/StoredValueIssueResponse.php index 3cdcbdbe1..832d0d4bc 100644 --- a/src/Adyen/Model/StoredValue/StoredValueIssueResponse.php +++ b/src/Adyen/Model/StoredValue/StoredValueIssueResponse.php @@ -283,7 +283,7 @@ public function getResultCodeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authCode', $data ?? [], null); $this->setIfExists('currentBalance', $data ?? [], null); diff --git a/src/Adyen/Model/StoredValue/StoredValueLoadRequest.php b/src/Adyen/Model/StoredValue/StoredValueLoadRequest.php index aef21b43c..bf234e820 100644 --- a/src/Adyen/Model/StoredValue/StoredValueLoadRequest.php +++ b/src/Adyen/Model/StoredValue/StoredValueLoadRequest.php @@ -309,7 +309,7 @@ public function getShopperInteractionAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('loadType', $data ?? [], null); diff --git a/src/Adyen/Model/StoredValue/StoredValueLoadResponse.php b/src/Adyen/Model/StoredValue/StoredValueLoadResponse.php index cc0b5b051..5da5e82f5 100644 --- a/src/Adyen/Model/StoredValue/StoredValueLoadResponse.php +++ b/src/Adyen/Model/StoredValue/StoredValueLoadResponse.php @@ -277,7 +277,7 @@ public function getResultCodeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authCode', $data ?? [], null); $this->setIfExists('currentBalance', $data ?? [], null); diff --git a/src/Adyen/Model/StoredValue/StoredValueStatusChangeRequest.php b/src/Adyen/Model/StoredValue/StoredValueStatusChangeRequest.php index 65415ac90..8a423809b 100644 --- a/src/Adyen/Model/StoredValue/StoredValueStatusChangeRequest.php +++ b/src/Adyen/Model/StoredValue/StoredValueStatusChangeRequest.php @@ -309,7 +309,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); diff --git a/src/Adyen/Model/StoredValue/StoredValueStatusChangeResponse.php b/src/Adyen/Model/StoredValue/StoredValueStatusChangeResponse.php index dd8346eaa..72073ccb1 100644 --- a/src/Adyen/Model/StoredValue/StoredValueStatusChangeResponse.php +++ b/src/Adyen/Model/StoredValue/StoredValueStatusChangeResponse.php @@ -277,7 +277,7 @@ public function getResultCodeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authCode', $data ?? [], null); $this->setIfExists('currentBalance', $data ?? [], null); diff --git a/src/Adyen/Model/StoredValue/StoredValueVoidRequest.php b/src/Adyen/Model/StoredValue/StoredValueVoidRequest.php index 76d67016f..fa0523dc9 100644 --- a/src/Adyen/Model/StoredValue/StoredValueVoidRequest.php +++ b/src/Adyen/Model/StoredValue/StoredValueVoidRequest.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('originalReference', $data ?? [], null); diff --git a/src/Adyen/Model/StoredValue/StoredValueVoidResponse.php b/src/Adyen/Model/StoredValue/StoredValueVoidResponse.php index e4968522e..53329b79a 100644 --- a/src/Adyen/Model/StoredValue/StoredValueVoidResponse.php +++ b/src/Adyen/Model/StoredValue/StoredValueVoidResponse.php @@ -271,7 +271,7 @@ public function getResultCodeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currentBalance', $data ?? [], null); $this->setIfExists('pspReference', $data ?? [], null); diff --git a/src/Adyen/Model/TransactionWebhooks/Amount.php b/src/Adyen/Model/TransactionWebhooks/Amount.php index a89617041..0fc44af05 100644 --- a/src/Adyen/Model/TransactionWebhooks/Amount.php +++ b/src/Adyen/Model/TransactionWebhooks/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/TransactionWebhooks/BalancePlatformNotificationResponse.php b/src/Adyen/Model/TransactionWebhooks/BalancePlatformNotificationResponse.php index 51fcad329..6dd2df7bc 100644 --- a/src/Adyen/Model/TransactionWebhooks/BalancePlatformNotificationResponse.php +++ b/src/Adyen/Model/TransactionWebhooks/BalancePlatformNotificationResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('notificationResponse', $data ?? [], null); } diff --git a/src/Adyen/Model/TransactionWebhooks/BankCategoryData.php b/src/Adyen/Model/TransactionWebhooks/BankCategoryData.php index bd92fc0f7..cb94b745a 100644 --- a/src/Adyen/Model/TransactionWebhooks/BankCategoryData.php +++ b/src/Adyen/Model/TransactionWebhooks/BankCategoryData.php @@ -269,7 +269,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('priority', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransactionWebhooks/InternalCategoryData.php b/src/Adyen/Model/TransactionWebhooks/InternalCategoryData.php index 87ac3ba76..0f2b10be1 100644 --- a/src/Adyen/Model/TransactionWebhooks/InternalCategoryData.php +++ b/src/Adyen/Model/TransactionWebhooks/InternalCategoryData.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('modificationMerchantReference', $data ?? [], null); $this->setIfExists('modificationPspReference', $data ?? [], null); diff --git a/src/Adyen/Model/TransactionWebhooks/IssuedCard.php b/src/Adyen/Model/TransactionWebhooks/IssuedCard.php index 6507c02f1..b1f63c3bb 100644 --- a/src/Adyen/Model/TransactionWebhooks/IssuedCard.php +++ b/src/Adyen/Model/TransactionWebhooks/IssuedCard.php @@ -333,7 +333,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authorisationType', $data ?? [], null); $this->setIfExists('panEntryMode', $data ?? [], null); diff --git a/src/Adyen/Model/TransactionWebhooks/PaymentInstrument.php b/src/Adyen/Model/TransactionWebhooks/PaymentInstrument.php index 4f653196e..f13b29a70 100644 --- a/src/Adyen/Model/TransactionWebhooks/PaymentInstrument.php +++ b/src/Adyen/Model/TransactionWebhooks/PaymentInstrument.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/TransactionWebhooks/PlatformPayment.php b/src/Adyen/Model/TransactionWebhooks/PlatformPayment.php index ef0529a22..2bae633d6 100644 --- a/src/Adyen/Model/TransactionWebhooks/PlatformPayment.php +++ b/src/Adyen/Model/TransactionWebhooks/PlatformPayment.php @@ -311,7 +311,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('modificationMerchantReference', $data ?? [], null); $this->setIfExists('modificationPspReference', $data ?? [], null); diff --git a/src/Adyen/Model/TransactionWebhooks/RelayedAuthorisationData.php b/src/Adyen/Model/TransactionWebhooks/RelayedAuthorisationData.php index ad581f49d..1b4b7278d 100644 --- a/src/Adyen/Model/TransactionWebhooks/RelayedAuthorisationData.php +++ b/src/Adyen/Model/TransactionWebhooks/RelayedAuthorisationData.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('metadata', $data ?? [], null); $this->setIfExists('reference', $data ?? [], null); diff --git a/src/Adyen/Model/TransactionWebhooks/Resource.php b/src/Adyen/Model/TransactionWebhooks/Resource.php index 27af581dc..04fc67f65 100644 --- a/src/Adyen/Model/TransactionWebhooks/Resource.php +++ b/src/Adyen/Model/TransactionWebhooks/Resource.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balancePlatform', $data ?? [], null); $this->setIfExists('creationDate', $data ?? [], null); diff --git a/src/Adyen/Model/TransactionWebhooks/ResourceReference.php b/src/Adyen/Model/TransactionWebhooks/ResourceReference.php index e66e32381..c6b239688 100644 --- a/src/Adyen/Model/TransactionWebhooks/ResourceReference.php +++ b/src/Adyen/Model/TransactionWebhooks/ResourceReference.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/TransactionWebhooks/Transaction.php b/src/Adyen/Model/TransactionWebhooks/Transaction.php index 3030136a5..b65867de8 100644 --- a/src/Adyen/Model/TransactionWebhooks/Transaction.php +++ b/src/Adyen/Model/TransactionWebhooks/Transaction.php @@ -315,7 +315,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolder', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); diff --git a/src/Adyen/Model/TransactionWebhooks/TransactionNotificationRequestV4.php b/src/Adyen/Model/TransactionWebhooks/TransactionNotificationRequestV4.php index 0eb23d446..7c6222b4c 100644 --- a/src/Adyen/Model/TransactionWebhooks/TransactionNotificationRequestV4.php +++ b/src/Adyen/Model/TransactionWebhooks/TransactionNotificationRequestV4.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); $this->setIfExists('environment', $data ?? [], null); diff --git a/src/Adyen/Model/TransactionWebhooks/TransferNotificationValidationFact.php b/src/Adyen/Model/TransactionWebhooks/TransferNotificationValidationFact.php index 9d32266d0..2bb2168ec 100644 --- a/src/Adyen/Model/TransactionWebhooks/TransferNotificationValidationFact.php +++ b/src/Adyen/Model/TransactionWebhooks/TransferNotificationValidationFact.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('result', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransactionWebhooks/TransferView.php b/src/Adyen/Model/TransactionWebhooks/TransferView.php index 20ed624e2..9e2485602 100644 --- a/src/Adyen/Model/TransactionWebhooks/TransferView.php +++ b/src/Adyen/Model/TransactionWebhooks/TransferView.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('categoryData', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/TransactionWebhooks/TransferViewCategoryData.php b/src/Adyen/Model/TransactionWebhooks/TransferViewCategoryData.php index 586fbcbe8..6ca3e6ab6 100644 --- a/src/Adyen/Model/TransactionWebhooks/TransferViewCategoryData.php +++ b/src/Adyen/Model/TransactionWebhooks/TransferViewCategoryData.php @@ -307,7 +307,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('priority', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/AULocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/AULocalAccountIdentification.php index d5dcef8a7..1d1051eb1 100644 --- a/src/Adyen/Model/TransferWebhooks/AULocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/AULocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bsbCode', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/AdditionalBankIdentification.php b/src/Adyen/Model/TransferWebhooks/AdditionalBankIdentification.php index e8724ae0d..3e4a698c0 100644 --- a/src/Adyen/Model/TransferWebhooks/AdditionalBankIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/AdditionalBankIdentification.php @@ -249,7 +249,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('code', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/Address.php b/src/Adyen/Model/TransferWebhooks/Address.php index 9535bdcb4..c731803dd 100644 --- a/src/Adyen/Model/TransferWebhooks/Address.php +++ b/src/Adyen/Model/TransferWebhooks/Address.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/Airline.php b/src/Adyen/Model/TransferWebhooks/Airline.php index 0f0523b43..552541859 100644 --- a/src/Adyen/Model/TransferWebhooks/Airline.php +++ b/src/Adyen/Model/TransferWebhooks/Airline.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('legs', $data ?? [], null); $this->setIfExists('ticketNumber', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/Amount.php b/src/Adyen/Model/TransferWebhooks/Amount.php index 05b940cff..92fb2464d 100644 --- a/src/Adyen/Model/TransferWebhooks/Amount.php +++ b/src/Adyen/Model/TransferWebhooks/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/AmountAdjustment.php b/src/Adyen/Model/TransferWebhooks/AmountAdjustment.php index b82881cc9..0007427e9 100644 --- a/src/Adyen/Model/TransferWebhooks/AmountAdjustment.php +++ b/src/Adyen/Model/TransferWebhooks/AmountAdjustment.php @@ -259,7 +259,7 @@ public function getAmountAdjustmentTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('amountAdjustmentType', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/BRLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/BRLocalAccountIdentification.php index b44c21fc5..d95d61293 100644 --- a/src/Adyen/Model/TransferWebhooks/BRLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/BRLocalAccountIdentification.php @@ -265,7 +265,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bankCode', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/BalanceMutation.php b/src/Adyen/Model/TransferWebhooks/BalanceMutation.php index 8b90772fb..a97301da2 100644 --- a/src/Adyen/Model/TransferWebhooks/BalanceMutation.php +++ b/src/Adyen/Model/TransferWebhooks/BalanceMutation.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balance', $data ?? [], null); $this->setIfExists('currency', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/BalancePlatformNotificationResponse.php b/src/Adyen/Model/TransferWebhooks/BalancePlatformNotificationResponse.php index 4b2aac976..9ad0b9825 100644 --- a/src/Adyen/Model/TransferWebhooks/BalancePlatformNotificationResponse.php +++ b/src/Adyen/Model/TransferWebhooks/BalancePlatformNotificationResponse.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('notificationResponse', $data ?? [], null); } diff --git a/src/Adyen/Model/TransferWebhooks/BankAccountV3.php b/src/Adyen/Model/TransferWebhooks/BankAccountV3.php index ff03875fd..49e79cfd7 100644 --- a/src/Adyen/Model/TransferWebhooks/BankAccountV3.php +++ b/src/Adyen/Model/TransferWebhooks/BankAccountV3.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolder', $data ?? [], null); $this->setIfExists('accountIdentification', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/BankAccountV3AccountIdentification.php b/src/Adyen/Model/TransferWebhooks/BankAccountV3AccountIdentification.php index fca9b702f..dbbd4e83a 100644 --- a/src/Adyen/Model/TransferWebhooks/BankAccountV3AccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/BankAccountV3AccountIdentification.php @@ -319,7 +319,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bsbCode', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/BankCategoryData.php b/src/Adyen/Model/TransferWebhooks/BankCategoryData.php index 745e448a4..09f29125b 100644 --- a/src/Adyen/Model/TransferWebhooks/BankCategoryData.php +++ b/src/Adyen/Model/TransferWebhooks/BankCategoryData.php @@ -269,7 +269,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('priority', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/CALocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/CALocalAccountIdentification.php index 34df4878b..0d962eb0f 100644 --- a/src/Adyen/Model/TransferWebhooks/CALocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/CALocalAccountIdentification.php @@ -279,7 +279,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('accountType', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/CZLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/CZLocalAccountIdentification.php index d7203a312..16c761c26 100644 --- a/src/Adyen/Model/TransferWebhooks/CZLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/CZLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bankCode', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/Card.php b/src/Adyen/Model/TransferWebhooks/Card.php index fde4d646c..d9dbb8b4a 100644 --- a/src/Adyen/Model/TransferWebhooks/Card.php +++ b/src/Adyen/Model/TransferWebhooks/Card.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cardHolder', $data ?? [], null); $this->setIfExists('cardIdentification', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/CardIdentification.php b/src/Adyen/Model/TransferWebhooks/CardIdentification.php index a0e84e354..a97c42626 100644 --- a/src/Adyen/Model/TransferWebhooks/CardIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/CardIdentification.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('expiryMonth', $data ?? [], null); $this->setIfExists('expiryYear', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/ConfirmationTrackingData.php b/src/Adyen/Model/TransferWebhooks/ConfirmationTrackingData.php index 3a14b8fa8..5d316dc48 100644 --- a/src/Adyen/Model/TransferWebhooks/ConfirmationTrackingData.php +++ b/src/Adyen/Model/TransferWebhooks/ConfirmationTrackingData.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('status', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/CounterpartyV3.php b/src/Adyen/Model/TransferWebhooks/CounterpartyV3.php index 0d8c54577..9b0e1446d 100644 --- a/src/Adyen/Model/TransferWebhooks/CounterpartyV3.php +++ b/src/Adyen/Model/TransferWebhooks/CounterpartyV3.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balanceAccountId', $data ?? [], null); $this->setIfExists('bankAccount', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/DKLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/DKLocalAccountIdentification.php index 839421717..dd4a96804 100644 --- a/src/Adyen/Model/TransferWebhooks/DKLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/DKLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bankCode', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/DirectDebitInformation.php b/src/Adyen/Model/TransferWebhooks/DirectDebitInformation.php index 85df4239b..b918a10bd 100644 --- a/src/Adyen/Model/TransferWebhooks/DirectDebitInformation.php +++ b/src/Adyen/Model/TransferWebhooks/DirectDebitInformation.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('dateOfSignature', $data ?? [], null); $this->setIfExists('dueDate', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/EstimationTrackingData.php b/src/Adyen/Model/TransferWebhooks/EstimationTrackingData.php index 49984832f..82b3c9724 100644 --- a/src/Adyen/Model/TransferWebhooks/EstimationTrackingData.php +++ b/src/Adyen/Model/TransferWebhooks/EstimationTrackingData.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('estimatedArrivalTime', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/ExternalReason.php b/src/Adyen/Model/TransferWebhooks/ExternalReason.php index 0ab3887af..d1a23a351 100644 --- a/src/Adyen/Model/TransferWebhooks/ExternalReason.php +++ b/src/Adyen/Model/TransferWebhooks/ExternalReason.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('code', $data ?? [], null); $this->setIfExists('description', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/HKLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/HKLocalAccountIdentification.php index 666744eb8..feaad555e 100644 --- a/src/Adyen/Model/TransferWebhooks/HKLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/HKLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('clearingCode', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/HULocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/HULocalAccountIdentification.php index 717505890..7337a76eb 100644 --- a/src/Adyen/Model/TransferWebhooks/HULocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/HULocalAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/IbanAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/IbanAccountIdentification.php index 1ef18c00d..85acfabae 100644 --- a/src/Adyen/Model/TransferWebhooks/IbanAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/IbanAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('iban', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/InternalCategoryData.php b/src/Adyen/Model/TransferWebhooks/InternalCategoryData.php index b3237b802..69fdcf5de 100644 --- a/src/Adyen/Model/TransferWebhooks/InternalCategoryData.php +++ b/src/Adyen/Model/TransferWebhooks/InternalCategoryData.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('modificationMerchantReference', $data ?? [], null); $this->setIfExists('modificationPspReference', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/InternalReviewTrackingData.php b/src/Adyen/Model/TransferWebhooks/InternalReviewTrackingData.php index b230b2260..f4ecdb344 100644 --- a/src/Adyen/Model/TransferWebhooks/InternalReviewTrackingData.php +++ b/src/Adyen/Model/TransferWebhooks/InternalReviewTrackingData.php @@ -279,7 +279,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('reason', $data ?? [], null); $this->setIfExists('status', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/IssuedCard.php b/src/Adyen/Model/TransferWebhooks/IssuedCard.php index 82b7204db..6b85239c6 100644 --- a/src/Adyen/Model/TransferWebhooks/IssuedCard.php +++ b/src/Adyen/Model/TransferWebhooks/IssuedCard.php @@ -333,7 +333,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authorisationType', $data ?? [], null); $this->setIfExists('panEntryMode', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/Leg.php b/src/Adyen/Model/TransferWebhooks/Leg.php index 860872bba..2a43f6038 100644 --- a/src/Adyen/Model/TransferWebhooks/Leg.php +++ b/src/Adyen/Model/TransferWebhooks/Leg.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('arrivalAirportCode', $data ?? [], null); $this->setIfExists('basicFareCode', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/MerchantData.php b/src/Adyen/Model/TransferWebhooks/MerchantData.php index fe92244f0..942db8d57 100644 --- a/src/Adyen/Model/TransferWebhooks/MerchantData.php +++ b/src/Adyen/Model/TransferWebhooks/MerchantData.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acquirerId', $data ?? [], null); $this->setIfExists('mcc', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/MerchantPurchaseData.php b/src/Adyen/Model/TransferWebhooks/MerchantPurchaseData.php index eef6637f7..39272653d 100644 --- a/src/Adyen/Model/TransferWebhooks/MerchantPurchaseData.php +++ b/src/Adyen/Model/TransferWebhooks/MerchantPurchaseData.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('airline', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/Modification.php b/src/Adyen/Model/TransferWebhooks/Modification.php index 2509641a7..abfc235d8 100644 --- a/src/Adyen/Model/TransferWebhooks/Modification.php +++ b/src/Adyen/Model/TransferWebhooks/Modification.php @@ -397,7 +397,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('direction', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/NOLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/NOLocalAccountIdentification.php index e15bda039..aa8784510 100644 --- a/src/Adyen/Model/TransferWebhooks/NOLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/NOLocalAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/NZLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/NZLocalAccountIdentification.php index 6760c287f..ba93362af 100644 --- a/src/Adyen/Model/TransferWebhooks/NZLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/NZLocalAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/NameLocation.php b/src/Adyen/Model/TransferWebhooks/NameLocation.php index 53acf5781..a04dcc1d1 100644 --- a/src/Adyen/Model/TransferWebhooks/NameLocation.php +++ b/src/Adyen/Model/TransferWebhooks/NameLocation.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/NumberAndBicAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/NumberAndBicAccountIdentification.php index d821d183f..864e1c50e 100644 --- a/src/Adyen/Model/TransferWebhooks/NumberAndBicAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/NumberAndBicAccountIdentification.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('additionalBankIdentification', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/PLLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/PLLocalAccountIdentification.php index faa3a5356..36a11e7ca 100644 --- a/src/Adyen/Model/TransferWebhooks/PLLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/PLLocalAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/PartyIdentification.php b/src/Adyen/Model/TransferWebhooks/PartyIdentification.php index a4105dac5..e92933aa2 100644 --- a/src/Adyen/Model/TransferWebhooks/PartyIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/PartyIdentification.php @@ -281,7 +281,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('address', $data ?? [], null); $this->setIfExists('dateOfBirth', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/PaymentInstrument.php b/src/Adyen/Model/TransferWebhooks/PaymentInstrument.php index daf4dbbba..f227219cf 100644 --- a/src/Adyen/Model/TransferWebhooks/PaymentInstrument.php +++ b/src/Adyen/Model/TransferWebhooks/PaymentInstrument.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/PlatformPayment.php b/src/Adyen/Model/TransferWebhooks/PlatformPayment.php index c26510624..e8d371ab3 100644 --- a/src/Adyen/Model/TransferWebhooks/PlatformPayment.php +++ b/src/Adyen/Model/TransferWebhooks/PlatformPayment.php @@ -311,7 +311,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('modificationMerchantReference', $data ?? [], null); $this->setIfExists('modificationPspReference', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/RelayedAuthorisationData.php b/src/Adyen/Model/TransferWebhooks/RelayedAuthorisationData.php index e2f49621d..9f6035a88 100644 --- a/src/Adyen/Model/TransferWebhooks/RelayedAuthorisationData.php +++ b/src/Adyen/Model/TransferWebhooks/RelayedAuthorisationData.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('metadata', $data ?? [], null); $this->setIfExists('reference', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/Resource.php b/src/Adyen/Model/TransferWebhooks/Resource.php index 26ee1f5a4..c60aec4f8 100644 --- a/src/Adyen/Model/TransferWebhooks/Resource.php +++ b/src/Adyen/Model/TransferWebhooks/Resource.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balancePlatform', $data ?? [], null); $this->setIfExists('creationDate', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/ResourceReference.php b/src/Adyen/Model/TransferWebhooks/ResourceReference.php index 3dbb69460..008e69785 100644 --- a/src/Adyen/Model/TransferWebhooks/ResourceReference.php +++ b/src/Adyen/Model/TransferWebhooks/ResourceReference.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/SELocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/SELocalAccountIdentification.php index 2347db0b8..2d2bef1ee 100644 --- a/src/Adyen/Model/TransferWebhooks/SELocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/SELocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('clearingNumber', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/SGLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/SGLocalAccountIdentification.php index ffa1afe4a..337cc3874 100644 --- a/src/Adyen/Model/TransferWebhooks/SGLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/SGLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bic', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/TransactionEventViolation.php b/src/Adyen/Model/TransferWebhooks/TransactionEventViolation.php index de6407541..1f24ea94a 100644 --- a/src/Adyen/Model/TransferWebhooks/TransactionEventViolation.php +++ b/src/Adyen/Model/TransferWebhooks/TransactionEventViolation.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('reason', $data ?? [], null); $this->setIfExists('transactionRule', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/TransactionRuleReference.php b/src/Adyen/Model/TransferWebhooks/TransactionRuleReference.php index 8d98793a6..5308b93e0 100644 --- a/src/Adyen/Model/TransferWebhooks/TransactionRuleReference.php +++ b/src/Adyen/Model/TransferWebhooks/TransactionRuleReference.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/TransactionRuleSource.php b/src/Adyen/Model/TransferWebhooks/TransactionRuleSource.php index 2f4430dae..c3133d2f7 100644 --- a/src/Adyen/Model/TransferWebhooks/TransactionRuleSource.php +++ b/src/Adyen/Model/TransferWebhooks/TransactionRuleSource.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/TransactionRulesResult.php b/src/Adyen/Model/TransferWebhooks/TransactionRulesResult.php index fc89dc64e..ff53e8e76 100644 --- a/src/Adyen/Model/TransferWebhooks/TransactionRulesResult.php +++ b/src/Adyen/Model/TransferWebhooks/TransactionRulesResult.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('advice', $data ?? [], null); $this->setIfExists('allHardBlockRulesPassed', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/TransferData.php b/src/Adyen/Model/TransferWebhooks/TransferData.php index bf94fc5bb..8baf7701d 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferData.php +++ b/src/Adyen/Model/TransferWebhooks/TransferData.php @@ -695,7 +695,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolder', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/TransferDataCategoryData.php b/src/Adyen/Model/TransferWebhooks/TransferDataCategoryData.php index 415f1a461..6b5f7a502 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferDataCategoryData.php +++ b/src/Adyen/Model/TransferWebhooks/TransferDataCategoryData.php @@ -307,7 +307,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('priority', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/TransferDataTracking.php b/src/Adyen/Model/TransferWebhooks/TransferDataTracking.php index 4b373ab46..0a7a35d27 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferDataTracking.php +++ b/src/Adyen/Model/TransferWebhooks/TransferDataTracking.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('status', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/TransferEvent.php b/src/Adyen/Model/TransferWebhooks/TransferEvent.php index b01ca6d20..a72dbd349 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferEvent.php +++ b/src/Adyen/Model/TransferWebhooks/TransferEvent.php @@ -545,7 +545,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('amountAdjustments', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/TransferEventEventsDataInner.php b/src/Adyen/Model/TransferWebhooks/TransferEventEventsDataInner.php index e4f94dcf1..e397fda8b 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferEventEventsDataInner.php +++ b/src/Adyen/Model/TransferWebhooks/TransferEventEventsDataInner.php @@ -234,7 +234,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('airline', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/TransferEventTrackingData.php b/src/Adyen/Model/TransferWebhooks/TransferEventTrackingData.php index acd68392d..de41e0efd 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferEventTrackingData.php +++ b/src/Adyen/Model/TransferWebhooks/TransferEventTrackingData.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('status', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/TransferNotificationCounterParty.php b/src/Adyen/Model/TransferWebhooks/TransferNotificationCounterParty.php index 6b25d649c..be4ce3ca2 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferNotificationCounterParty.php +++ b/src/Adyen/Model/TransferWebhooks/TransferNotificationCounterParty.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balanceAccountId', $data ?? [], null); $this->setIfExists('bankAccount', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/TransferNotificationMerchantData.php b/src/Adyen/Model/TransferWebhooks/TransferNotificationMerchantData.php index 7f1cf5966..a58df2fe3 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferNotificationMerchantData.php +++ b/src/Adyen/Model/TransferWebhooks/TransferNotificationMerchantData.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acquirerId', $data ?? [], null); $this->setIfExists('city', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/TransferNotificationRequest.php b/src/Adyen/Model/TransferWebhooks/TransferNotificationRequest.php index 0cf9c0ac9..f09a8b99f 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferNotificationRequest.php +++ b/src/Adyen/Model/TransferWebhooks/TransferNotificationRequest.php @@ -261,7 +261,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data', $data ?? [], null); $this->setIfExists('environment', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/TransferNotificationValidationFact.php b/src/Adyen/Model/TransferWebhooks/TransferNotificationValidationFact.php index 2121e69ac..01b3f7702 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferNotificationValidationFact.php +++ b/src/Adyen/Model/TransferWebhooks/TransferNotificationValidationFact.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('result', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/TransferReview.php b/src/Adyen/Model/TransferWebhooks/TransferReview.php index a655c0ede..5edace5c3 100644 --- a/src/Adyen/Model/TransferWebhooks/TransferReview.php +++ b/src/Adyen/Model/TransferWebhooks/TransferReview.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('numberOfApprovalsRequired', $data ?? [], null); } diff --git a/src/Adyen/Model/TransferWebhooks/UKLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/UKLocalAccountIdentification.php index 2684285ca..18fba5f9a 100644 --- a/src/Adyen/Model/TransferWebhooks/UKLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/UKLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('sortCode', $data ?? [], null); diff --git a/src/Adyen/Model/TransferWebhooks/USLocalAccountIdentification.php b/src/Adyen/Model/TransferWebhooks/USLocalAccountIdentification.php index 3a1d709da..2d6c7d2dd 100644 --- a/src/Adyen/Model/TransferWebhooks/USLocalAccountIdentification.php +++ b/src/Adyen/Model/TransferWebhooks/USLocalAccountIdentification.php @@ -273,7 +273,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('accountType', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/AULocalAccountIdentification.php b/src/Adyen/Model/Transfers/AULocalAccountIdentification.php index b02c1d785..8c7eb7892 100644 --- a/src/Adyen/Model/Transfers/AULocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/AULocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bsbCode', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/AdditionalBankIdentification.php b/src/Adyen/Model/Transfers/AdditionalBankIdentification.php index 80543156c..2cb3ae0e3 100644 --- a/src/Adyen/Model/Transfers/AdditionalBankIdentification.php +++ b/src/Adyen/Model/Transfers/AdditionalBankIdentification.php @@ -249,7 +249,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('code', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/Address.php b/src/Adyen/Model/Transfers/Address.php index ef4633b33..108baac2a 100644 --- a/src/Adyen/Model/Transfers/Address.php +++ b/src/Adyen/Model/Transfers/Address.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/Airline.php b/src/Adyen/Model/Transfers/Airline.php index f89c418e6..b2c30e671 100644 --- a/src/Adyen/Model/Transfers/Airline.php +++ b/src/Adyen/Model/Transfers/Airline.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('legs', $data ?? [], null); $this->setIfExists('ticketNumber', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/Amount.php b/src/Adyen/Model/Transfers/Amount.php index 33fc552c2..5dae46180 100644 --- a/src/Adyen/Model/Transfers/Amount.php +++ b/src/Adyen/Model/Transfers/Amount.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/AmountAdjustment.php b/src/Adyen/Model/Transfers/AmountAdjustment.php index 8e15c232f..da61e4b53 100644 --- a/src/Adyen/Model/Transfers/AmountAdjustment.php +++ b/src/Adyen/Model/Transfers/AmountAdjustment.php @@ -259,7 +259,7 @@ public function getAmountAdjustmentTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('amountAdjustmentType', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/ApproveTransfersRequest.php b/src/Adyen/Model/Transfers/ApproveTransfersRequest.php index 0d815a5b5..cac2ff7ac 100644 --- a/src/Adyen/Model/Transfers/ApproveTransfersRequest.php +++ b/src/Adyen/Model/Transfers/ApproveTransfersRequest.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('transferIds', $data ?? [], null); } diff --git a/src/Adyen/Model/Transfers/BRLocalAccountIdentification.php b/src/Adyen/Model/Transfers/BRLocalAccountIdentification.php index 00211f4c5..f3335ea76 100644 --- a/src/Adyen/Model/Transfers/BRLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/BRLocalAccountIdentification.php @@ -265,7 +265,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bankCode', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/BalanceMutation.php b/src/Adyen/Model/Transfers/BalanceMutation.php index 8e0dcfd36..8387b1bfa 100644 --- a/src/Adyen/Model/Transfers/BalanceMutation.php +++ b/src/Adyen/Model/Transfers/BalanceMutation.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balance', $data ?? [], null); $this->setIfExists('currency', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/BankAccountV3.php b/src/Adyen/Model/Transfers/BankAccountV3.php index b24414f95..bbc5a5094 100644 --- a/src/Adyen/Model/Transfers/BankAccountV3.php +++ b/src/Adyen/Model/Transfers/BankAccountV3.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolder', $data ?? [], null); $this->setIfExists('accountIdentification', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/BankAccountV3AccountIdentification.php b/src/Adyen/Model/Transfers/BankAccountV3AccountIdentification.php index adc78d0ec..ea2518256 100644 --- a/src/Adyen/Model/Transfers/BankAccountV3AccountIdentification.php +++ b/src/Adyen/Model/Transfers/BankAccountV3AccountIdentification.php @@ -319,7 +319,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bsbCode', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/BankCategoryData.php b/src/Adyen/Model/Transfers/BankCategoryData.php index a5fe030ac..a4bead2da 100644 --- a/src/Adyen/Model/Transfers/BankCategoryData.php +++ b/src/Adyen/Model/Transfers/BankCategoryData.php @@ -269,7 +269,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('priority', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/CALocalAccountIdentification.php b/src/Adyen/Model/Transfers/CALocalAccountIdentification.php index d704b8a61..8cfc4b586 100644 --- a/src/Adyen/Model/Transfers/CALocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/CALocalAccountIdentification.php @@ -279,7 +279,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('accountType', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/CZLocalAccountIdentification.php b/src/Adyen/Model/Transfers/CZLocalAccountIdentification.php index 49a0d2a45..424a1a538 100644 --- a/src/Adyen/Model/Transfers/CZLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/CZLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bankCode', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/CancelTransfersRequest.php b/src/Adyen/Model/Transfers/CancelTransfersRequest.php index 85d2062cb..25c7c4509 100644 --- a/src/Adyen/Model/Transfers/CancelTransfersRequest.php +++ b/src/Adyen/Model/Transfers/CancelTransfersRequest.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('transferIds', $data ?? [], null); } diff --git a/src/Adyen/Model/Transfers/CapitalBalance.php b/src/Adyen/Model/Transfers/CapitalBalance.php index 74e157118..7b0190508 100644 --- a/src/Adyen/Model/Transfers/CapitalBalance.php +++ b/src/Adyen/Model/Transfers/CapitalBalance.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('currency', $data ?? [], null); $this->setIfExists('fee', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/CapitalGrant.php b/src/Adyen/Model/Transfers/CapitalGrant.php index 2824975e6..1162e8dc9 100644 --- a/src/Adyen/Model/Transfers/CapitalGrant.php +++ b/src/Adyen/Model/Transfers/CapitalGrant.php @@ -293,7 +293,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('balances', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/CapitalGrantInfo.php b/src/Adyen/Model/Transfers/CapitalGrantInfo.php index 0f06824d5..68dae36f0 100644 --- a/src/Adyen/Model/Transfers/CapitalGrantInfo.php +++ b/src/Adyen/Model/Transfers/CapitalGrantInfo.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('counterparty', $data ?? [], null); $this->setIfExists('grantAccountId', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/CapitalGrants.php b/src/Adyen/Model/Transfers/CapitalGrants.php index 639636b36..bf8546cc1 100644 --- a/src/Adyen/Model/Transfers/CapitalGrants.php +++ b/src/Adyen/Model/Transfers/CapitalGrants.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('grants', $data ?? [], null); } diff --git a/src/Adyen/Model/Transfers/Card.php b/src/Adyen/Model/Transfers/Card.php index 3afb8859f..06807597a 100644 --- a/src/Adyen/Model/Transfers/Card.php +++ b/src/Adyen/Model/Transfers/Card.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cardHolder', $data ?? [], null); $this->setIfExists('cardIdentification', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/CardIdentification.php b/src/Adyen/Model/Transfers/CardIdentification.php index 3bd28422b..51c5ed128 100644 --- a/src/Adyen/Model/Transfers/CardIdentification.php +++ b/src/Adyen/Model/Transfers/CardIdentification.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('expiryMonth', $data ?? [], null); $this->setIfExists('expiryYear', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/ConfirmationTrackingData.php b/src/Adyen/Model/Transfers/ConfirmationTrackingData.php index 2a9c3cd5b..c14fe33d2 100644 --- a/src/Adyen/Model/Transfers/ConfirmationTrackingData.php +++ b/src/Adyen/Model/Transfers/ConfirmationTrackingData.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('status', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/Counterparty.php b/src/Adyen/Model/Transfers/Counterparty.php index 6587d3cdf..efb8f1c81 100644 --- a/src/Adyen/Model/Transfers/Counterparty.php +++ b/src/Adyen/Model/Transfers/Counterparty.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolderId', $data ?? [], null); $this->setIfExists('balanceAccountId', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/CounterpartyInfoV3.php b/src/Adyen/Model/Transfers/CounterpartyInfoV3.php index 2af7909b4..361e6e4af 100644 --- a/src/Adyen/Model/Transfers/CounterpartyInfoV3.php +++ b/src/Adyen/Model/Transfers/CounterpartyInfoV3.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balanceAccountId', $data ?? [], null); $this->setIfExists('bankAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/CounterpartyV3.php b/src/Adyen/Model/Transfers/CounterpartyV3.php index 419c03ab2..f25bf35ca 100644 --- a/src/Adyen/Model/Transfers/CounterpartyV3.php +++ b/src/Adyen/Model/Transfers/CounterpartyV3.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balanceAccountId', $data ?? [], null); $this->setIfExists('bankAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/DKLocalAccountIdentification.php b/src/Adyen/Model/Transfers/DKLocalAccountIdentification.php index 7663ac753..753b06c40 100644 --- a/src/Adyen/Model/Transfers/DKLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/DKLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bankCode', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/DirectDebitInformation.php b/src/Adyen/Model/Transfers/DirectDebitInformation.php index 7b1ce3fcd..620559918 100644 --- a/src/Adyen/Model/Transfers/DirectDebitInformation.php +++ b/src/Adyen/Model/Transfers/DirectDebitInformation.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('dateOfSignature', $data ?? [], null); $this->setIfExists('dueDate', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/EstimationTrackingData.php b/src/Adyen/Model/Transfers/EstimationTrackingData.php index 8b0fc80c6..b1327fea7 100644 --- a/src/Adyen/Model/Transfers/EstimationTrackingData.php +++ b/src/Adyen/Model/Transfers/EstimationTrackingData.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('estimatedArrivalTime', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/ExternalReason.php b/src/Adyen/Model/Transfers/ExternalReason.php index 7bc7121f5..c043e322a 100644 --- a/src/Adyen/Model/Transfers/ExternalReason.php +++ b/src/Adyen/Model/Transfers/ExternalReason.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('code', $data ?? [], null); $this->setIfExists('description', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/Fee.php b/src/Adyen/Model/Transfers/Fee.php index b4f707f36..10da6bb93 100644 --- a/src/Adyen/Model/Transfers/Fee.php +++ b/src/Adyen/Model/Transfers/Fee.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); } diff --git a/src/Adyen/Model/Transfers/FindTransfersResponse.php b/src/Adyen/Model/Transfers/FindTransfersResponse.php index 4ec46cc73..b9e15a33e 100644 --- a/src/Adyen/Model/Transfers/FindTransfersResponse.php +++ b/src/Adyen/Model/Transfers/FindTransfersResponse.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/HKLocalAccountIdentification.php b/src/Adyen/Model/Transfers/HKLocalAccountIdentification.php index 798df9166..7ba92e831 100644 --- a/src/Adyen/Model/Transfers/HKLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/HKLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('clearingCode', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/HULocalAccountIdentification.php b/src/Adyen/Model/Transfers/HULocalAccountIdentification.php index 783ef2b54..0cb562200 100644 --- a/src/Adyen/Model/Transfers/HULocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/HULocalAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/IbanAccountIdentification.php b/src/Adyen/Model/Transfers/IbanAccountIdentification.php index 95e2cf494..450f9222c 100644 --- a/src/Adyen/Model/Transfers/IbanAccountIdentification.php +++ b/src/Adyen/Model/Transfers/IbanAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('iban', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/InternalCategoryData.php b/src/Adyen/Model/Transfers/InternalCategoryData.php index 578aae61f..d317d3bef 100644 --- a/src/Adyen/Model/Transfers/InternalCategoryData.php +++ b/src/Adyen/Model/Transfers/InternalCategoryData.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('modificationMerchantReference', $data ?? [], null); $this->setIfExists('modificationPspReference', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/InternalReviewTrackingData.php b/src/Adyen/Model/Transfers/InternalReviewTrackingData.php index c9a93cc0a..d03677f4e 100644 --- a/src/Adyen/Model/Transfers/InternalReviewTrackingData.php +++ b/src/Adyen/Model/Transfers/InternalReviewTrackingData.php @@ -279,7 +279,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('reason', $data ?? [], null); $this->setIfExists('status', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/InvalidField.php b/src/Adyen/Model/Transfers/InvalidField.php index c0cfebbca..7a2ba27a2 100644 --- a/src/Adyen/Model/Transfers/InvalidField.php +++ b/src/Adyen/Model/Transfers/InvalidField.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('message', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/IssuedCard.php b/src/Adyen/Model/Transfers/IssuedCard.php index b68877fee..1644c2370 100644 --- a/src/Adyen/Model/Transfers/IssuedCard.php +++ b/src/Adyen/Model/Transfers/IssuedCard.php @@ -333,7 +333,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('authorisationType', $data ?? [], null); $this->setIfExists('panEntryMode', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/Leg.php b/src/Adyen/Model/Transfers/Leg.php index 440dabcee..6dfff12c1 100644 --- a/src/Adyen/Model/Transfers/Leg.php +++ b/src/Adyen/Model/Transfers/Leg.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('arrivalAirportCode', $data ?? [], null); $this->setIfExists('basicFareCode', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/Link.php b/src/Adyen/Model/Transfers/Link.php index 9e3733abe..04663d293 100644 --- a/src/Adyen/Model/Transfers/Link.php +++ b/src/Adyen/Model/Transfers/Link.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('href', $data ?? [], null); } diff --git a/src/Adyen/Model/Transfers/Links.php b/src/Adyen/Model/Transfers/Links.php index 0c2a352a8..25d7e9ae1 100644 --- a/src/Adyen/Model/Transfers/Links.php +++ b/src/Adyen/Model/Transfers/Links.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/MerchantData.php b/src/Adyen/Model/Transfers/MerchantData.php index 0eade0ca7..88802d8ca 100644 --- a/src/Adyen/Model/Transfers/MerchantData.php +++ b/src/Adyen/Model/Transfers/MerchantData.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acquirerId', $data ?? [], null); $this->setIfExists('mcc', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/MerchantPurchaseData.php b/src/Adyen/Model/Transfers/MerchantPurchaseData.php index 1adb1a5b0..7eda2191c 100644 --- a/src/Adyen/Model/Transfers/MerchantPurchaseData.php +++ b/src/Adyen/Model/Transfers/MerchantPurchaseData.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('airline', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/Modification.php b/src/Adyen/Model/Transfers/Modification.php index 2b21fe03b..c384a5f34 100644 --- a/src/Adyen/Model/Transfers/Modification.php +++ b/src/Adyen/Model/Transfers/Modification.php @@ -397,7 +397,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('direction', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/NOLocalAccountIdentification.php b/src/Adyen/Model/Transfers/NOLocalAccountIdentification.php index eef7522f1..88089cd16 100644 --- a/src/Adyen/Model/Transfers/NOLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/NOLocalAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/NZLocalAccountIdentification.php b/src/Adyen/Model/Transfers/NZLocalAccountIdentification.php index 01645f34d..aa8170c46 100644 --- a/src/Adyen/Model/Transfers/NZLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/NZLocalAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/NameLocation.php b/src/Adyen/Model/Transfers/NameLocation.php index 709749529..ac0104123 100644 --- a/src/Adyen/Model/Transfers/NameLocation.php +++ b/src/Adyen/Model/Transfers/NameLocation.php @@ -259,7 +259,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('city', $data ?? [], null); $this->setIfExists('country', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/NumberAndBicAccountIdentification.php b/src/Adyen/Model/Transfers/NumberAndBicAccountIdentification.php index c261fe768..9bbe54720 100644 --- a/src/Adyen/Model/Transfers/NumberAndBicAccountIdentification.php +++ b/src/Adyen/Model/Transfers/NumberAndBicAccountIdentification.php @@ -259,7 +259,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('additionalBankIdentification', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/PLLocalAccountIdentification.php b/src/Adyen/Model/Transfers/PLLocalAccountIdentification.php index 3315550b4..23106178d 100644 --- a/src/Adyen/Model/Transfers/PLLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/PLLocalAccountIdentification.php @@ -247,7 +247,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/PartyIdentification.php b/src/Adyen/Model/Transfers/PartyIdentification.php index 44cc38562..fe2dc9d37 100644 --- a/src/Adyen/Model/Transfers/PartyIdentification.php +++ b/src/Adyen/Model/Transfers/PartyIdentification.php @@ -281,7 +281,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('address', $data ?? [], null); $this->setIfExists('dateOfBirth', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/PaymentInstrument.php b/src/Adyen/Model/Transfers/PaymentInstrument.php index 715fd4554..0fe4ed872 100644 --- a/src/Adyen/Model/Transfers/PaymentInstrument.php +++ b/src/Adyen/Model/Transfers/PaymentInstrument.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/PlatformPayment.php b/src/Adyen/Model/Transfers/PlatformPayment.php index b2690a6b7..16dee550d 100644 --- a/src/Adyen/Model/Transfers/PlatformPayment.php +++ b/src/Adyen/Model/Transfers/PlatformPayment.php @@ -311,7 +311,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('modificationMerchantReference', $data ?? [], null); $this->setIfExists('modificationPspReference', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/RelayedAuthorisationData.php b/src/Adyen/Model/Transfers/RelayedAuthorisationData.php index 9ff9dec7a..5aa456197 100644 --- a/src/Adyen/Model/Transfers/RelayedAuthorisationData.php +++ b/src/Adyen/Model/Transfers/RelayedAuthorisationData.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('metadata', $data ?? [], null); $this->setIfExists('reference', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/Repayment.php b/src/Adyen/Model/Transfers/Repayment.php index 14ad052ac..034bdbb80 100644 --- a/src/Adyen/Model/Transfers/Repayment.php +++ b/src/Adyen/Model/Transfers/Repayment.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('basisPoints', $data ?? [], null); $this->setIfExists('term', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/RepaymentTerm.php b/src/Adyen/Model/Transfers/RepaymentTerm.php index c76feb424..e66c8c63f 100644 --- a/src/Adyen/Model/Transfers/RepaymentTerm.php +++ b/src/Adyen/Model/Transfers/RepaymentTerm.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('estimatedDays', $data ?? [], null); $this->setIfExists('maximumDays', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/ResourceReference.php b/src/Adyen/Model/Transfers/ResourceReference.php index 8e7841e3c..0676f67d4 100644 --- a/src/Adyen/Model/Transfers/ResourceReference.php +++ b/src/Adyen/Model/Transfers/ResourceReference.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/RestServiceError.php b/src/Adyen/Model/Transfers/RestServiceError.php index f5be25cbe..62a5cf362 100644 --- a/src/Adyen/Model/Transfers/RestServiceError.php +++ b/src/Adyen/Model/Transfers/RestServiceError.php @@ -277,7 +277,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('detail', $data ?? [], null); $this->setIfExists('errorCode', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/ReturnTransferRequest.php b/src/Adyen/Model/Transfers/ReturnTransferRequest.php index 7238ede7e..b1f018843 100644 --- a/src/Adyen/Model/Transfers/ReturnTransferRequest.php +++ b/src/Adyen/Model/Transfers/ReturnTransferRequest.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('reference', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/ReturnTransferResponse.php b/src/Adyen/Model/Transfers/ReturnTransferResponse.php index 12a0a4c9d..7664ed3dc 100644 --- a/src/Adyen/Model/Transfers/ReturnTransferResponse.php +++ b/src/Adyen/Model/Transfers/ReturnTransferResponse.php @@ -261,7 +261,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('reference', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/RoutingDetails.php b/src/Adyen/Model/Transfers/RoutingDetails.php index 726a28b4a..91c838542 100644 --- a/src/Adyen/Model/Transfers/RoutingDetails.php +++ b/src/Adyen/Model/Transfers/RoutingDetails.php @@ -269,7 +269,7 @@ public function getPriorityAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('detail', $data ?? [], null); $this->setIfExists('errorCode', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/SELocalAccountIdentification.php b/src/Adyen/Model/Transfers/SELocalAccountIdentification.php index 89d9b2293..06d9c34b7 100644 --- a/src/Adyen/Model/Transfers/SELocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/SELocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('clearingNumber', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/SGLocalAccountIdentification.php b/src/Adyen/Model/Transfers/SGLocalAccountIdentification.php index 2915a8712..20777f98d 100644 --- a/src/Adyen/Model/Transfers/SGLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/SGLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('bic', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/ServiceError.php b/src/Adyen/Model/Transfers/ServiceError.php index 819558195..ce310c5b7 100644 --- a/src/Adyen/Model/Transfers/ServiceError.php +++ b/src/Adyen/Model/Transfers/ServiceError.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('errorCode', $data ?? [], null); $this->setIfExists('errorType', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/ThresholdRepayment.php b/src/Adyen/Model/Transfers/ThresholdRepayment.php index b7d0e10d5..0ecaf0313 100644 --- a/src/Adyen/Model/Transfers/ThresholdRepayment.php +++ b/src/Adyen/Model/Transfers/ThresholdRepayment.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); } diff --git a/src/Adyen/Model/Transfers/Transaction.php b/src/Adyen/Model/Transfers/Transaction.php index 404e951be..2c541f8fd 100644 --- a/src/Adyen/Model/Transfers/Transaction.php +++ b/src/Adyen/Model/Transfers/Transaction.php @@ -315,7 +315,7 @@ public function getStatusAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolder', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransactionEventViolation.php b/src/Adyen/Model/Transfers/TransactionEventViolation.php index 22214d462..187cb86ad 100644 --- a/src/Adyen/Model/Transfers/TransactionEventViolation.php +++ b/src/Adyen/Model/Transfers/TransactionEventViolation.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('reason', $data ?? [], null); $this->setIfExists('transactionRule', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransactionRuleReference.php b/src/Adyen/Model/Transfers/TransactionRuleReference.php index 3866b35e9..a8003419c 100644 --- a/src/Adyen/Model/Transfers/TransactionRuleReference.php +++ b/src/Adyen/Model/Transfers/TransactionRuleReference.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('description', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransactionRuleSource.php b/src/Adyen/Model/Transfers/TransactionRuleSource.php index e11505747..7bb64a41a 100644 --- a/src/Adyen/Model/Transfers/TransactionRuleSource.php +++ b/src/Adyen/Model/Transfers/TransactionRuleSource.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransactionRulesResult.php b/src/Adyen/Model/Transfers/TransactionRulesResult.php index 2a3847230..4e6681259 100644 --- a/src/Adyen/Model/Transfers/TransactionRulesResult.php +++ b/src/Adyen/Model/Transfers/TransactionRulesResult.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('advice', $data ?? [], null); $this->setIfExists('allHardBlockRulesPassed', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransactionSearchResponse.php b/src/Adyen/Model/Transfers/TransactionSearchResponse.php index b03daf091..5ba3c6d5c 100644 --- a/src/Adyen/Model/Transfers/TransactionSearchResponse.php +++ b/src/Adyen/Model/Transfers/TransactionSearchResponse.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('data', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/Transfer.php b/src/Adyen/Model/Transfers/Transfer.php index a3a521a9f..1a561cfdd 100644 --- a/src/Adyen/Model/Transfers/Transfer.php +++ b/src/Adyen/Model/Transfers/Transfer.php @@ -653,7 +653,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolder', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransferCategoryData.php b/src/Adyen/Model/Transfers/TransferCategoryData.php index 0f3d24100..66a5e88ca 100644 --- a/src/Adyen/Model/Transfers/TransferCategoryData.php +++ b/src/Adyen/Model/Transfers/TransferCategoryData.php @@ -307,7 +307,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('priority', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransferData.php b/src/Adyen/Model/Transfers/TransferData.php index 44b277d59..3e66a7ecc 100644 --- a/src/Adyen/Model/Transfers/TransferData.php +++ b/src/Adyen/Model/Transfers/TransferData.php @@ -695,7 +695,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountHolder', $data ?? [], null); $this->setIfExists('amount', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransferDataTracking.php b/src/Adyen/Model/Transfers/TransferDataTracking.php index 2ca6b56e5..41f943230 100644 --- a/src/Adyen/Model/Transfers/TransferDataTracking.php +++ b/src/Adyen/Model/Transfers/TransferDataTracking.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('status', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransferEvent.php b/src/Adyen/Model/Transfers/TransferEvent.php index 04ea4f924..644ecf758 100644 --- a/src/Adyen/Model/Transfers/TransferEvent.php +++ b/src/Adyen/Model/Transfers/TransferEvent.php @@ -545,7 +545,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('amountAdjustments', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransferEventEventsDataInner.php b/src/Adyen/Model/Transfers/TransferEventEventsDataInner.php index 2bc604385..1871dbb1e 100644 --- a/src/Adyen/Model/Transfers/TransferEventEventsDataInner.php +++ b/src/Adyen/Model/Transfers/TransferEventEventsDataInner.php @@ -234,7 +234,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('airline', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransferEventTrackingData.php b/src/Adyen/Model/Transfers/TransferEventTrackingData.php index e35f59d22..8de03c721 100644 --- a/src/Adyen/Model/Transfers/TransferEventTrackingData.php +++ b/src/Adyen/Model/Transfers/TransferEventTrackingData.php @@ -247,7 +247,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('status', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransferInfo.php b/src/Adyen/Model/Transfers/TransferInfo.php index edc804697..2b0a094ff 100644 --- a/src/Adyen/Model/Transfers/TransferInfo.php +++ b/src/Adyen/Model/Transfers/TransferInfo.php @@ -383,7 +383,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('balanceAccountId', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransferNotificationCounterParty.php b/src/Adyen/Model/Transfers/TransferNotificationCounterParty.php index 6e943e8a4..11c88f486 100644 --- a/src/Adyen/Model/Transfers/TransferNotificationCounterParty.php +++ b/src/Adyen/Model/Transfers/TransferNotificationCounterParty.php @@ -253,7 +253,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('balanceAccountId', $data ?? [], null); $this->setIfExists('bankAccount', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransferNotificationMerchantData.php b/src/Adyen/Model/Transfers/TransferNotificationMerchantData.php index 5791b4af6..43c8fa956 100644 --- a/src/Adyen/Model/Transfers/TransferNotificationMerchantData.php +++ b/src/Adyen/Model/Transfers/TransferNotificationMerchantData.php @@ -265,7 +265,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('acquirerId', $data ?? [], null); $this->setIfExists('city', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransferNotificationValidationFact.php b/src/Adyen/Model/Transfers/TransferNotificationValidationFact.php index 307418531..0f4b8d049 100644 --- a/src/Adyen/Model/Transfers/TransferNotificationValidationFact.php +++ b/src/Adyen/Model/Transfers/TransferNotificationValidationFact.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('result', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransferRequestReview.php b/src/Adyen/Model/Transfers/TransferRequestReview.php index 27009aa31..239ba8aa8 100644 --- a/src/Adyen/Model/Transfers/TransferRequestReview.php +++ b/src/Adyen/Model/Transfers/TransferRequestReview.php @@ -235,7 +235,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('numberOfApprovalsRequired', $data ?? [], null); $this->setIfExists('scaOnApproval', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransferReview.php b/src/Adyen/Model/Transfers/TransferReview.php index f07fed4be..b8fcc4f76 100644 --- a/src/Adyen/Model/Transfers/TransferReview.php +++ b/src/Adyen/Model/Transfers/TransferReview.php @@ -229,7 +229,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('numberOfApprovalsRequired', $data ?? [], null); } diff --git a/src/Adyen/Model/Transfers/TransferServiceRestServiceError.php b/src/Adyen/Model/Transfers/TransferServiceRestServiceError.php index 18c13f22b..d6badc7a2 100644 --- a/src/Adyen/Model/Transfers/TransferServiceRestServiceError.php +++ b/src/Adyen/Model/Transfers/TransferServiceRestServiceError.php @@ -283,7 +283,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('detail', $data ?? [], null); $this->setIfExists('errorCode', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/TransferView.php b/src/Adyen/Model/Transfers/TransferView.php index 69016dc6a..a74e25c7e 100644 --- a/src/Adyen/Model/Transfers/TransferView.php +++ b/src/Adyen/Model/Transfers/TransferView.php @@ -241,7 +241,7 @@ public function getModelName() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('categoryData', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/UKLocalAccountIdentification.php b/src/Adyen/Model/Transfers/UKLocalAccountIdentification.php index 387b2b88e..37f70f217 100644 --- a/src/Adyen/Model/Transfers/UKLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/UKLocalAccountIdentification.php @@ -253,7 +253,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('sortCode', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/USLocalAccountIdentification.php b/src/Adyen/Model/Transfers/USLocalAccountIdentification.php index f97b4afab..1c589087b 100644 --- a/src/Adyen/Model/Transfers/USLocalAccountIdentification.php +++ b/src/Adyen/Model/Transfers/USLocalAccountIdentification.php @@ -273,7 +273,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('accountNumber', $data ?? [], null); $this->setIfExists('accountType', $data ?? [], null); diff --git a/src/Adyen/Model/Transfers/UltimatePartyIdentification.php b/src/Adyen/Model/Transfers/UltimatePartyIdentification.php index baf77b3a1..a566cf658 100644 --- a/src/Adyen/Model/Transfers/UltimatePartyIdentification.php +++ b/src/Adyen/Model/Transfers/UltimatePartyIdentification.php @@ -281,7 +281,7 @@ public function getTypeAllowableValues() * @param mixed[] $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('address', $data ?? [], null); $this->setIfExists('dateOfBirth', $data ?? [], null); diff --git a/src/Adyen/Service.php b/src/Adyen/Service.php index 3c93b8282..a963cc4cb 100644 --- a/src/Adyen/Service.php +++ b/src/Adyen/Service.php @@ -55,8 +55,8 @@ public function getClient(): Client protected function requestHttp( string $url, string $method = 'get', - array $bodyParams = null, - array $requestOptions = null + ?array $bodyParams = null, + ?array $requestOptions = null ): array { // check if rest api method has a value if (!$method) { diff --git a/src/Adyen/Service/AbstractResource.php b/src/Adyen/Service/AbstractResource.php index f0b37d00e..f91f9924f 100644 --- a/src/Adyen/Service/AbstractResource.php +++ b/src/Adyen/Service/AbstractResource.php @@ -250,7 +250,7 @@ public function requestPost($params) * @return mixed * @throws AdyenException|ConnectionException */ - public function requestHttp($url, string $method = 'get', array $params = null) + public function requestHttp($url, string $method = 'get', ?array $params = null) { // check if rest api method has a value if (!$method) { diff --git a/src/Adyen/Service/BalanceControlApi.php b/src/Adyen/Service/BalanceControlApi.php index c1a304866..f35ea37b0 100644 --- a/src/Adyen/Service/BalanceControlApi.php +++ b/src/Adyen/Service/BalanceControlApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\BalanceControl\BalanceTransferResponse * @throws AdyenException */ - public function balanceTransfer(\Adyen\Model\BalanceControl\BalanceTransferRequest $balanceTransferRequest, array $requestOptions = null): \Adyen\Model\BalanceControl\BalanceTransferResponse + public function balanceTransfer(\Adyen\Model\BalanceControl\BalanceTransferRequest $balanceTransferRequest, ?array $requestOptions = null): \Adyen\Model\BalanceControl\BalanceTransferResponse { $endpoint = $this->baseURL . "/balanceTransfer"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $balanceTransferRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/BalancePlatform/AccountHoldersApi.php b/src/Adyen/Service/BalancePlatform/AccountHoldersApi.php index 2342ec986..38f17c9ce 100644 --- a/src/Adyen/Service/BalancePlatform/AccountHoldersApi.php +++ b/src/Adyen/Service/BalancePlatform/AccountHoldersApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\BalancePlatform\AccountHolder * @throws AdyenException */ - public function createAccountHolder(\Adyen\Model\BalancePlatform\AccountHolderInfo $accountHolderInfo, array $requestOptions = null): \Adyen\Model\BalancePlatform\AccountHolder + public function createAccountHolder(\Adyen\Model\BalancePlatform\AccountHolderInfo $accountHolderInfo, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\AccountHolder { $endpoint = $this->baseURL . "/accountHolders"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $accountHolderInfo->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function createAccountHolder(\Adyen\Model\BalancePlatform\AccountHolderIn * @return \Adyen\Model\BalancePlatform\AccountHolder * @throws AdyenException */ - public function getAccountHolder(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\AccountHolder + public function getAccountHolder(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\AccountHolder { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/accountHolders/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -77,7 +77,7 @@ public function getAccountHolder(string $id, array $requestOptions = null): \Ady * @return \Adyen\Model\BalancePlatform\PaginatedBalanceAccountsResponse * @throws AdyenException */ - public function getAllBalanceAccountsOfAccountHolder(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaginatedBalanceAccountsResponse + public function getAllBalanceAccountsOfAccountHolder(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\PaginatedBalanceAccountsResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/accountHolders/{id}/balanceAccounts"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -92,7 +92,7 @@ public function getAllBalanceAccountsOfAccountHolder(string $id, array $requestO * @return \Adyen\Model\BalancePlatform\TransactionRulesResponse * @throws AdyenException */ - public function getAllTransactionRulesForAccountHolder(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRulesResponse + public function getAllTransactionRulesForAccountHolder(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRulesResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/accountHolders/{id}/transactionRules"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -107,7 +107,7 @@ public function getAllTransactionRulesForAccountHolder(string $id, array $reques * @return \Adyen\Model\BalancePlatform\GetTaxFormResponse * @throws AdyenException */ - public function getTaxForm(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\GetTaxFormResponse + public function getTaxForm(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\GetTaxFormResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/accountHolders/{id}/taxForms"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -123,7 +123,7 @@ public function getTaxForm(string $id, array $requestOptions = null): \Adyen\Mod * @return \Adyen\Model\BalancePlatform\AccountHolder * @throws AdyenException */ - public function updateAccountHolder(string $id, \Adyen\Model\BalancePlatform\AccountHolderUpdateRequest $accountHolderUpdateRequest, array $requestOptions = null): \Adyen\Model\BalancePlatform\AccountHolder + public function updateAccountHolder(string $id, \Adyen\Model\BalancePlatform\AccountHolderUpdateRequest $accountHolderUpdateRequest, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\AccountHolder { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/accountHolders/{id}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $accountHolderUpdateRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/BalancePlatform/BalanceAccountsApi.php b/src/Adyen/Service/BalancePlatform/BalanceAccountsApi.php index 7592a1286..1f043d320 100644 --- a/src/Adyen/Service/BalancePlatform/BalanceAccountsApi.php +++ b/src/Adyen/Service/BalancePlatform/BalanceAccountsApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\BalancePlatform\BalanceAccount * @throws AdyenException */ - public function createBalanceAccount(\Adyen\Model\BalancePlatform\BalanceAccountInfo $balanceAccountInfo, array $requestOptions = null): \Adyen\Model\BalancePlatform\BalanceAccount + public function createBalanceAccount(\Adyen\Model\BalancePlatform\BalanceAccountInfo $balanceAccountInfo, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\BalanceAccount { $endpoint = $this->baseURL . "/balanceAccounts"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $balanceAccountInfo->jsonSerialize(), $requestOptions); @@ -63,7 +63,7 @@ public function createBalanceAccount(\Adyen\Model\BalancePlatform\BalanceAccount * @return \Adyen\Model\BalancePlatform\SweepConfigurationV2 * @throws AdyenException */ - public function createSweep(string $balanceAccountId, \Adyen\Model\BalancePlatform\CreateSweepConfigurationV2 $createSweepConfigurationV2, array $requestOptions = null): \Adyen\Model\BalancePlatform\SweepConfigurationV2 + public function createSweep(string $balanceAccountId, \Adyen\Model\BalancePlatform\CreateSweepConfigurationV2 $createSweepConfigurationV2, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\SweepConfigurationV2 { $endpoint = $this->baseURL . str_replace(['{balanceAccountId}'], [$balanceAccountId], "/balanceAccounts/{balanceAccountId}/sweeps"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createSweepConfigurationV2->jsonSerialize(), $requestOptions); @@ -79,7 +79,7 @@ public function createSweep(string $balanceAccountId, \Adyen\Model\BalancePlatfo * @throws AdyenException */ - public function deleteSweep(string $balanceAccountId, string $sweepId, array $requestOptions = null) + public function deleteSweep(string $balanceAccountId, string $sweepId, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{balanceAccountId}', '{sweepId}'], [$balanceAccountId, $sweepId], "/balanceAccounts/{balanceAccountId}/sweeps/{sweepId}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); @@ -93,7 +93,7 @@ public function deleteSweep(string $balanceAccountId, string $sweepId, array $re * @return \Adyen\Model\BalancePlatform\BalanceSweepConfigurationsResponse * @throws AdyenException */ - public function getAllSweepsForBalanceAccount(string $balanceAccountId, array $requestOptions = null): \Adyen\Model\BalancePlatform\BalanceSweepConfigurationsResponse + public function getAllSweepsForBalanceAccount(string $balanceAccountId, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\BalanceSweepConfigurationsResponse { $endpoint = $this->baseURL . str_replace(['{balanceAccountId}'], [$balanceAccountId], "/balanceAccounts/{balanceAccountId}/sweeps"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -108,7 +108,7 @@ public function getAllSweepsForBalanceAccount(string $balanceAccountId, array $r * @return \Adyen\Model\BalancePlatform\TransactionRulesResponse * @throws AdyenException */ - public function getAllTransactionRulesForBalanceAccount(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRulesResponse + public function getAllTransactionRulesForBalanceAccount(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRulesResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/balanceAccounts/{id}/transactionRules"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -123,7 +123,7 @@ public function getAllTransactionRulesForBalanceAccount(string $id, array $reque * @return \Adyen\Model\BalancePlatform\BalanceAccount * @throws AdyenException */ - public function getBalanceAccount(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\BalanceAccount + public function getBalanceAccount(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\BalanceAccount { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/balanceAccounts/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -138,7 +138,7 @@ public function getBalanceAccount(string $id, array $requestOptions = null): \Ad * @return \Adyen\Model\BalancePlatform\PaginatedPaymentInstrumentsResponse * @throws AdyenException */ - public function getPaymentInstrumentsLinkedToBalanceAccount(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaginatedPaymentInstrumentsResponse + public function getPaymentInstrumentsLinkedToBalanceAccount(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\PaginatedPaymentInstrumentsResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/balanceAccounts/{id}/paymentInstruments"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -154,7 +154,7 @@ public function getPaymentInstrumentsLinkedToBalanceAccount(string $id, array $r * @return \Adyen\Model\BalancePlatform\SweepConfigurationV2 * @throws AdyenException */ - public function getSweep(string $balanceAccountId, string $sweepId, array $requestOptions = null): \Adyen\Model\BalancePlatform\SweepConfigurationV2 + public function getSweep(string $balanceAccountId, string $sweepId, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\SweepConfigurationV2 { $endpoint = $this->baseURL . str_replace(['{balanceAccountId}', '{sweepId}'], [$balanceAccountId, $sweepId], "/balanceAccounts/{balanceAccountId}/sweeps/{sweepId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -170,7 +170,7 @@ public function getSweep(string $balanceAccountId, string $sweepId, array $reque * @return \Adyen\Model\BalancePlatform\BalanceAccount * @throws AdyenException */ - public function updateBalanceAccount(string $id, \Adyen\Model\BalancePlatform\BalanceAccountUpdateRequest $balanceAccountUpdateRequest, array $requestOptions = null): \Adyen\Model\BalancePlatform\BalanceAccount + public function updateBalanceAccount(string $id, \Adyen\Model\BalancePlatform\BalanceAccountUpdateRequest $balanceAccountUpdateRequest, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\BalanceAccount { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/balanceAccounts/{id}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $balanceAccountUpdateRequest->jsonSerialize(), $requestOptions); @@ -187,7 +187,7 @@ public function updateBalanceAccount(string $id, \Adyen\Model\BalancePlatform\Ba * @return \Adyen\Model\BalancePlatform\SweepConfigurationV2 * @throws AdyenException */ - public function updateSweep(string $balanceAccountId, string $sweepId, \Adyen\Model\BalancePlatform\UpdateSweepConfigurationV2 $updateSweepConfigurationV2, array $requestOptions = null): \Adyen\Model\BalancePlatform\SweepConfigurationV2 + public function updateSweep(string $balanceAccountId, string $sweepId, \Adyen\Model\BalancePlatform\UpdateSweepConfigurationV2 $updateSweepConfigurationV2, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\SweepConfigurationV2 { $endpoint = $this->baseURL . str_replace(['{balanceAccountId}', '{sweepId}'], [$balanceAccountId, $sweepId], "/balanceAccounts/{balanceAccountId}/sweeps/{sweepId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateSweepConfigurationV2->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/BalancePlatform/BankAccountValidationApi.php b/src/Adyen/Service/BalancePlatform/BankAccountValidationApi.php index c61143563..8a8476931 100644 --- a/src/Adyen/Service/BalancePlatform/BankAccountValidationApi.php +++ b/src/Adyen/Service/BalancePlatform/BankAccountValidationApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @throws AdyenException */ - public function validateBankAccountIdentification(\Adyen\Model\BalancePlatform\BankAccountIdentificationValidationRequest $bankAccountIdentificationValidationRequest, array $requestOptions = null) + public function validateBankAccountIdentification(\Adyen\Model\BalancePlatform\BankAccountIdentificationValidationRequest $bankAccountIdentificationValidationRequest, ?array $requestOptions = null) { $endpoint = $this->baseURL . "/validateBankAccountIdentification"; $this->requestHttp($endpoint, strtolower('POST'), (array) $bankAccountIdentificationValidationRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/BalancePlatform/CardOrdersApi.php b/src/Adyen/Service/BalancePlatform/CardOrdersApi.php index 9784a0569..ce7a16dde 100644 --- a/src/Adyen/Service/BalancePlatform/CardOrdersApi.php +++ b/src/Adyen/Service/BalancePlatform/CardOrdersApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\BalancePlatform\PaginatedGetCardOrderItemResponse * @throws AdyenException */ - public function getCardOrderItems(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaginatedGetCardOrderItemResponse + public function getCardOrderItems(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\PaginatedGetCardOrderItemResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/cardorders/{id}/items"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -61,7 +61,7 @@ public function getCardOrderItems(string $id, array $requestOptions = null): \Ad * @return \Adyen\Model\BalancePlatform\PaginatedGetCardOrderResponse * @throws AdyenException */ - public function listCardOrders(array $requestOptions = null): \Adyen\Model\BalancePlatform\PaginatedGetCardOrderResponse + public function listCardOrders(?array $requestOptions = null): \Adyen\Model\BalancePlatform\PaginatedGetCardOrderResponse { $endpoint = $this->baseURL . "/cardorders"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); diff --git a/src/Adyen/Service/BalancePlatform/GrantAccountsApi.php b/src/Adyen/Service/BalancePlatform/GrantAccountsApi.php index 204e1220a..00bf63321 100644 --- a/src/Adyen/Service/BalancePlatform/GrantAccountsApi.php +++ b/src/Adyen/Service/BalancePlatform/GrantAccountsApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\BalancePlatform\CapitalGrantAccount * @throws AdyenException */ - public function getGrantAccount(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\CapitalGrantAccount + public function getGrantAccount(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\CapitalGrantAccount { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/grantAccounts/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); diff --git a/src/Adyen/Service/BalancePlatform/GrantOffersApi.php b/src/Adyen/Service/BalancePlatform/GrantOffersApi.php index 0dd316d66..77549089b 100644 --- a/src/Adyen/Service/BalancePlatform/GrantOffersApi.php +++ b/src/Adyen/Service/BalancePlatform/GrantOffersApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\BalancePlatform\GrantOffers * @throws AdyenException */ - public function getAllAvailableGrantOffers(array $requestOptions = null): \Adyen\Model\BalancePlatform\GrantOffers + public function getAllAvailableGrantOffers(?array $requestOptions = null): \Adyen\Model\BalancePlatform\GrantOffers { $endpoint = $this->baseURL . "/grantOffers"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -63,7 +63,7 @@ public function getAllAvailableGrantOffers(array $requestOptions = null): \Adyen * @return \Adyen\Model\BalancePlatform\GrantOffer * @throws AdyenException */ - public function getGrantOffer(string $grantOfferId, array $requestOptions = null): \Adyen\Model\BalancePlatform\GrantOffer + public function getGrantOffer(string $grantOfferId, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\GrantOffer { $endpoint = $this->baseURL . str_replace(['{grantOfferId}'], [$grantOfferId], "/grantOffers/{grantOfferId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); diff --git a/src/Adyen/Service/BalancePlatform/ManageCardPINApi.php b/src/Adyen/Service/BalancePlatform/ManageCardPINApi.php index 6dde6b360..bae2fa4ed 100644 --- a/src/Adyen/Service/BalancePlatform/ManageCardPINApi.php +++ b/src/Adyen/Service/BalancePlatform/ManageCardPINApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\BalancePlatform\PinChangeResponse * @throws AdyenException */ - public function changeCardPin(\Adyen\Model\BalancePlatform\PinChangeRequest $pinChangeRequest, array $requestOptions = null): \Adyen\Model\BalancePlatform\PinChangeResponse + public function changeCardPin(\Adyen\Model\BalancePlatform\PinChangeRequest $pinChangeRequest, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\PinChangeResponse { $endpoint = $this->baseURL . "/pins/change"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $pinChangeRequest->jsonSerialize(), $requestOptions); @@ -61,7 +61,7 @@ public function changeCardPin(\Adyen\Model\BalancePlatform\PinChangeRequest $pin * @return \Adyen\Model\BalancePlatform\PublicKeyResponse * @throws AdyenException */ - public function publicKey(array $requestOptions = null): \Adyen\Model\BalancePlatform\PublicKeyResponse + public function publicKey(?array $requestOptions = null): \Adyen\Model\BalancePlatform\PublicKeyResponse { $endpoint = $this->baseURL . "/publicKey"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -76,7 +76,7 @@ public function publicKey(array $requestOptions = null): \Adyen\Model\BalancePla * @return \Adyen\Model\BalancePlatform\RevealPinResponse * @throws AdyenException */ - public function revealCardPin(\Adyen\Model\BalancePlatform\RevealPinRequest $revealPinRequest, array $requestOptions = null): \Adyen\Model\BalancePlatform\RevealPinResponse + public function revealCardPin(\Adyen\Model\BalancePlatform\RevealPinRequest $revealPinRequest, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\RevealPinResponse { $endpoint = $this->baseURL . "/pins/reveal"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $revealPinRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/BalancePlatform/ManageSCADevicesApi.php b/src/Adyen/Service/BalancePlatform/ManageSCADevicesApi.php index a0f18f360..fe3e6ff4f 100644 --- a/src/Adyen/Service/BalancePlatform/ManageSCADevicesApi.php +++ b/src/Adyen/Service/BalancePlatform/ManageSCADevicesApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\BalancePlatform\AssociationFinaliseResponse * @throws AdyenException */ - public function completeAssociationBetweenScaDeviceAndResource(string $deviceId, \Adyen\Model\BalancePlatform\AssociationFinaliseRequest $associationFinaliseRequest, array $requestOptions = null): \Adyen\Model\BalancePlatform\AssociationFinaliseResponse + public function completeAssociationBetweenScaDeviceAndResource(string $deviceId, \Adyen\Model\BalancePlatform\AssociationFinaliseRequest $associationFinaliseRequest, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\AssociationFinaliseResponse { $endpoint = $this->baseURL . str_replace(['{deviceId}'], [$deviceId], "/registeredDevices/{deviceId}/associations"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $associationFinaliseRequest->jsonSerialize(), $requestOptions); @@ -64,7 +64,7 @@ public function completeAssociationBetweenScaDeviceAndResource(string $deviceId, * @return \Adyen\Model\BalancePlatform\RegisterSCAFinalResponse * @throws AdyenException */ - public function completeRegistrationOfScaDevice(string $id, \Adyen\Model\BalancePlatform\RegisterSCARequest $registerSCARequest, array $requestOptions = null): \Adyen\Model\BalancePlatform\RegisterSCAFinalResponse + public function completeRegistrationOfScaDevice(string $id, \Adyen\Model\BalancePlatform\RegisterSCARequest $registerSCARequest, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\RegisterSCAFinalResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/registeredDevices/{id}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $registerSCARequest->jsonSerialize(), $requestOptions); @@ -79,7 +79,7 @@ public function completeRegistrationOfScaDevice(string $id, \Adyen\Model\Balance * @throws AdyenException */ - public function deleteRegistrationOfScaDevice(string $id, array $requestOptions = null) + public function deleteRegistrationOfScaDevice(string $id, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/registeredDevices/{id}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); @@ -94,7 +94,7 @@ public function deleteRegistrationOfScaDevice(string $id, array $requestOptions * @return \Adyen\Model\BalancePlatform\AssociationInitiateResponse * @throws AdyenException */ - public function initiateAssociationBetweenScaDeviceAndResource(string $deviceId, \Adyen\Model\BalancePlatform\AssociationInitiateRequest $associationInitiateRequest, array $requestOptions = null): \Adyen\Model\BalancePlatform\AssociationInitiateResponse + public function initiateAssociationBetweenScaDeviceAndResource(string $deviceId, \Adyen\Model\BalancePlatform\AssociationInitiateRequest $associationInitiateRequest, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\AssociationInitiateResponse { $endpoint = $this->baseURL . str_replace(['{deviceId}'], [$deviceId], "/registeredDevices/{deviceId}/associations"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $associationInitiateRequest->jsonSerialize(), $requestOptions); @@ -109,7 +109,7 @@ public function initiateAssociationBetweenScaDeviceAndResource(string $deviceId, * @return \Adyen\Model\BalancePlatform\RegisterSCAResponse * @throws AdyenException */ - public function initiateRegistrationOfScaDevice(\Adyen\Model\BalancePlatform\RegisterSCARequest $registerSCARequest, array $requestOptions = null): \Adyen\Model\BalancePlatform\RegisterSCAResponse + public function initiateRegistrationOfScaDevice(\Adyen\Model\BalancePlatform\RegisterSCARequest $registerSCARequest, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\RegisterSCAResponse { $endpoint = $this->baseURL . "/registeredDevices"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $registerSCARequest->jsonSerialize(), $requestOptions); @@ -123,7 +123,7 @@ public function initiateRegistrationOfScaDevice(\Adyen\Model\BalancePlatform\Reg * @return \Adyen\Model\BalancePlatform\SearchRegisteredDevicesResponse * @throws AdyenException */ - public function listRegisteredScaDevices(array $requestOptions = null): \Adyen\Model\BalancePlatform\SearchRegisteredDevicesResponse + public function listRegisteredScaDevices(?array $requestOptions = null): \Adyen\Model\BalancePlatform\SearchRegisteredDevicesResponse { $endpoint = $this->baseURL . "/registeredDevices"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); diff --git a/src/Adyen/Service/BalancePlatform/NetworkTokensApi.php b/src/Adyen/Service/BalancePlatform/NetworkTokensApi.php index ad86f1206..37f29b8d0 100644 --- a/src/Adyen/Service/BalancePlatform/NetworkTokensApi.php +++ b/src/Adyen/Service/BalancePlatform/NetworkTokensApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\BalancePlatform\GetNetworkTokenResponse * @throws AdyenException */ - public function getNetworkToken(string $networkTokenId, array $requestOptions = null): \Adyen\Model\BalancePlatform\GetNetworkTokenResponse + public function getNetworkToken(string $networkTokenId, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\GetNetworkTokenResponse { $endpoint = $this->baseURL . str_replace(['{networkTokenId}'], [$networkTokenId], "/networkTokens/{networkTokenId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -63,7 +63,7 @@ public function getNetworkToken(string $networkTokenId, array $requestOptions = * @throws AdyenException */ - public function updateNetworkToken(string $networkTokenId, \Adyen\Model\BalancePlatform\UpdateNetworkTokenRequest $updateNetworkTokenRequest, array $requestOptions = null) + public function updateNetworkToken(string $networkTokenId, \Adyen\Model\BalancePlatform\UpdateNetworkTokenRequest $updateNetworkTokenRequest, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{networkTokenId}'], [$networkTokenId], "/networkTokens/{networkTokenId}"); $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateNetworkTokenRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/BalancePlatform/PaymentInstrumentGroupsApi.php b/src/Adyen/Service/BalancePlatform/PaymentInstrumentGroupsApi.php index b33272d05..477bc7b0f 100644 --- a/src/Adyen/Service/BalancePlatform/PaymentInstrumentGroupsApi.php +++ b/src/Adyen/Service/BalancePlatform/PaymentInstrumentGroupsApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\BalancePlatform\PaymentInstrumentGroup * @throws AdyenException */ - public function createPaymentInstrumentGroup(\Adyen\Model\BalancePlatform\PaymentInstrumentGroupInfo $paymentInstrumentGroupInfo, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrumentGroup + public function createPaymentInstrumentGroup(\Adyen\Model\BalancePlatform\PaymentInstrumentGroupInfo $paymentInstrumentGroupInfo, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrumentGroup { $endpoint = $this->baseURL . "/paymentInstrumentGroups"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentInstrumentGroupInfo->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function createPaymentInstrumentGroup(\Adyen\Model\BalancePlatform\Paymen * @return \Adyen\Model\BalancePlatform\TransactionRulesResponse * @throws AdyenException */ - public function getAllTransactionRulesForPaymentInstrumentGroup(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRulesResponse + public function getAllTransactionRulesForPaymentInstrumentGroup(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRulesResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstrumentGroups/{id}/transactionRules"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -77,7 +77,7 @@ public function getAllTransactionRulesForPaymentInstrumentGroup(string $id, arra * @return \Adyen\Model\BalancePlatform\PaymentInstrumentGroup * @throws AdyenException */ - public function getPaymentInstrumentGroup(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrumentGroup + public function getPaymentInstrumentGroup(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrumentGroup { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstrumentGroups/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); diff --git a/src/Adyen/Service/BalancePlatform/PaymentInstrumentsApi.php b/src/Adyen/Service/BalancePlatform/PaymentInstrumentsApi.php index 9d4f44b91..3f788cd7c 100644 --- a/src/Adyen/Service/BalancePlatform/PaymentInstrumentsApi.php +++ b/src/Adyen/Service/BalancePlatform/PaymentInstrumentsApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\BalancePlatform\PaymentInstrument * @throws AdyenException */ - public function createPaymentInstrument(\Adyen\Model\BalancePlatform\PaymentInstrumentInfo $paymentInstrumentInfo, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrument + public function createPaymentInstrument(\Adyen\Model\BalancePlatform\PaymentInstrumentInfo $paymentInstrumentInfo, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrument { $endpoint = $this->baseURL . "/paymentInstruments"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentInstrumentInfo->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function createPaymentInstrument(\Adyen\Model\BalancePlatform\PaymentInst * @return \Adyen\Model\BalancePlatform\TransactionRulesResponse * @throws AdyenException */ - public function getAllTransactionRulesForPaymentInstrument(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRulesResponse + public function getAllTransactionRulesForPaymentInstrument(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRulesResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstruments/{id}/transactionRules"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -77,7 +77,7 @@ public function getAllTransactionRulesForPaymentInstrument(string $id, array $re * @return \Adyen\Model\BalancePlatform\PaymentInstrumentRevealInfo * @throws AdyenException */ - public function getPanOfPaymentInstrument(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrumentRevealInfo + public function getPanOfPaymentInstrument(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrumentRevealInfo { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstruments/{id}/reveal"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -92,7 +92,7 @@ public function getPanOfPaymentInstrument(string $id, array $requestOptions = nu * @return \Adyen\Model\BalancePlatform\PaymentInstrument * @throws AdyenException */ - public function getPaymentInstrument(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrument + public function getPaymentInstrument(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrument { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstruments/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -107,7 +107,7 @@ public function getPaymentInstrument(string $id, array $requestOptions = null): * @return \Adyen\Model\BalancePlatform\ListNetworkTokensResponse * @throws AdyenException */ - public function listNetworkTokens(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\ListNetworkTokensResponse + public function listNetworkTokens(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\ListNetworkTokensResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstruments/{id}/networkTokens"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -122,7 +122,7 @@ public function listNetworkTokens(string $id, array $requestOptions = null): \Ad * @return \Adyen\Model\BalancePlatform\PaymentInstrumentRevealResponse * @throws AdyenException */ - public function revealDataOfPaymentInstrument(\Adyen\Model\BalancePlatform\PaymentInstrumentRevealRequest $paymentInstrumentRevealRequest, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrumentRevealResponse + public function revealDataOfPaymentInstrument(\Adyen\Model\BalancePlatform\PaymentInstrumentRevealRequest $paymentInstrumentRevealRequest, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\PaymentInstrumentRevealResponse { $endpoint = $this->baseURL . "/paymentInstruments/reveal"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentInstrumentRevealRequest->jsonSerialize(), $requestOptions); @@ -138,7 +138,7 @@ public function revealDataOfPaymentInstrument(\Adyen\Model\BalancePlatform\Payme * @return \Adyen\Model\BalancePlatform\UpdatePaymentInstrument * @throws AdyenException */ - public function updatePaymentInstrument(string $id, \Adyen\Model\BalancePlatform\PaymentInstrumentUpdateRequest $paymentInstrumentUpdateRequest, array $requestOptions = null): \Adyen\Model\BalancePlatform\UpdatePaymentInstrument + public function updatePaymentInstrument(string $id, \Adyen\Model\BalancePlatform\PaymentInstrumentUpdateRequest $paymentInstrumentUpdateRequest, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\UpdatePaymentInstrument { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/paymentInstruments/{id}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $paymentInstrumentUpdateRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/BalancePlatform/PlatformApi.php b/src/Adyen/Service/BalancePlatform/PlatformApi.php index 1ed2691e4..d7f042670 100644 --- a/src/Adyen/Service/BalancePlatform/PlatformApi.php +++ b/src/Adyen/Service/BalancePlatform/PlatformApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\BalancePlatform\PaginatedAccountHoldersResponse * @throws AdyenException */ - public function getAllAccountHoldersUnderBalancePlatform(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\PaginatedAccountHoldersResponse + public function getAllAccountHoldersUnderBalancePlatform(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\PaginatedAccountHoldersResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/balancePlatforms/{id}/accountHolders"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -62,7 +62,7 @@ public function getAllAccountHoldersUnderBalancePlatform(string $id, array $requ * @return \Adyen\Model\BalancePlatform\TransactionRulesResponse * @throws AdyenException */ - public function getAllTransactionRulesForBalancePlatform(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRulesResponse + public function getAllTransactionRulesForBalancePlatform(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRulesResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/balancePlatforms/{id}/transactionRules"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -77,7 +77,7 @@ public function getAllTransactionRulesForBalancePlatform(string $id, array $requ * @return \Adyen\Model\BalancePlatform\BalancePlatform * @throws AdyenException */ - public function getBalancePlatform(string $id, array $requestOptions = null): \Adyen\Model\BalancePlatform\BalancePlatform + public function getBalancePlatform(string $id, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\BalancePlatform { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/balancePlatforms/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); diff --git a/src/Adyen/Service/BalancePlatform/TransactionRulesApi.php b/src/Adyen/Service/BalancePlatform/TransactionRulesApi.php index 59fc7ccf7..070b6e6ab 100644 --- a/src/Adyen/Service/BalancePlatform/TransactionRulesApi.php +++ b/src/Adyen/Service/BalancePlatform/TransactionRulesApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\BalancePlatform\TransactionRule * @throws AdyenException */ - public function createTransactionRule(\Adyen\Model\BalancePlatform\TransactionRuleInfo $transactionRuleInfo, array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRule + public function createTransactionRule(\Adyen\Model\BalancePlatform\TransactionRuleInfo $transactionRuleInfo, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRule { $endpoint = $this->baseURL . "/transactionRules"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $transactionRuleInfo->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function createTransactionRule(\Adyen\Model\BalancePlatform\TransactionRu * @return \Adyen\Model\BalancePlatform\TransactionRule * @throws AdyenException */ - public function deleteTransactionRule(string $transactionRuleId, array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRule + public function deleteTransactionRule(string $transactionRuleId, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRule { $endpoint = $this->baseURL . str_replace(['{transactionRuleId}'], [$transactionRuleId], "/transactionRules/{transactionRuleId}"); $response = $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); @@ -77,7 +77,7 @@ public function deleteTransactionRule(string $transactionRuleId, array $requestO * @return \Adyen\Model\BalancePlatform\TransactionRuleResponse * @throws AdyenException */ - public function getTransactionRule(string $transactionRuleId, array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRuleResponse + public function getTransactionRule(string $transactionRuleId, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRuleResponse { $endpoint = $this->baseURL . str_replace(['{transactionRuleId}'], [$transactionRuleId], "/transactionRules/{transactionRuleId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -93,7 +93,7 @@ public function getTransactionRule(string $transactionRuleId, array $requestOpti * @return \Adyen\Model\BalancePlatform\TransactionRule * @throws AdyenException */ - public function updateTransactionRule(string $transactionRuleId, \Adyen\Model\BalancePlatform\TransactionRuleInfo $transactionRuleInfo, array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRule + public function updateTransactionRule(string $transactionRuleId, \Adyen\Model\BalancePlatform\TransactionRuleInfo $transactionRuleInfo, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\TransactionRule { $endpoint = $this->baseURL . str_replace(['{transactionRuleId}'], [$transactionRuleId], "/transactionRules/{transactionRuleId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $transactionRuleInfo->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/BalancePlatform/TransferRoutesApi.php b/src/Adyen/Service/BalancePlatform/TransferRoutesApi.php index 237e537b7..33986261d 100644 --- a/src/Adyen/Service/BalancePlatform/TransferRoutesApi.php +++ b/src/Adyen/Service/BalancePlatform/TransferRoutesApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\BalancePlatform\TransferRouteResponse * @throws AdyenException */ - public function calculateTransferRoutes(\Adyen\Model\BalancePlatform\TransferRouteRequest $transferRouteRequest, array $requestOptions = null): \Adyen\Model\BalancePlatform\TransferRouteResponse + public function calculateTransferRoutes(\Adyen\Model\BalancePlatform\TransferRouteRequest $transferRouteRequest, ?array $requestOptions = null): \Adyen\Model\BalancePlatform\TransferRouteResponse { $endpoint = $this->baseURL . "/transferRoutes/calculate"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $transferRouteRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/BinLookupApi.php b/src/Adyen/Service/BinLookupApi.php index 0cf6de2be..71e710c1f 100644 --- a/src/Adyen/Service/BinLookupApi.php +++ b/src/Adyen/Service/BinLookupApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\BinLookup\ThreeDSAvailabilityResponse * @throws AdyenException */ - public function get3dsAvailability(\Adyen\Model\BinLookup\ThreeDSAvailabilityRequest $threeDSAvailabilityRequest, array $requestOptions = null): \Adyen\Model\BinLookup\ThreeDSAvailabilityResponse + public function get3dsAvailability(\Adyen\Model\BinLookup\ThreeDSAvailabilityRequest $threeDSAvailabilityRequest, ?array $requestOptions = null): \Adyen\Model\BinLookup\ThreeDSAvailabilityResponse { $endpoint = $this->baseURL . "/get3dsAvailability"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $threeDSAvailabilityRequest->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function get3dsAvailability(\Adyen\Model\BinLookup\ThreeDSAvailabilityReq * @return \Adyen\Model\BinLookup\CostEstimateResponse * @throws AdyenException */ - public function getCostEstimate(\Adyen\Model\BinLookup\CostEstimateRequest $costEstimateRequest, array $requestOptions = null): \Adyen\Model\BinLookup\CostEstimateResponse + public function getCostEstimate(\Adyen\Model\BinLookup\CostEstimateRequest $costEstimateRequest, ?array $requestOptions = null): \Adyen\Model\BinLookup\CostEstimateResponse { $endpoint = $this->baseURL . "/getCostEstimate"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $costEstimateRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/CapitalApi.php b/src/Adyen/Service/CapitalApi.php index 691f9bf32..2bd55f444 100644 --- a/src/Adyen/Service/CapitalApi.php +++ b/src/Adyen/Service/CapitalApi.php @@ -45,7 +45,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Capital\CapitalGrants * @throws AdyenException */ - public function getCapitalAccount(array $requestOptions = null): \Adyen\Model\Capital\CapitalGrants + public function getCapitalAccount(?array $requestOptions = null): \Adyen\Model\Capital\CapitalGrants { $endpoint = $this->baseURL . "/grants"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -60,7 +60,7 @@ public function getCapitalAccount(array $requestOptions = null): \Adyen\Model\Ca * @return \Adyen\Model\Capital\CapitalGrant * @throws AdyenException */ - public function getGrantReferenceDetails(string $id, array $requestOptions = null): \Adyen\Model\Capital\CapitalGrant + public function getGrantReferenceDetails(string $id, ?array $requestOptions = null): \Adyen\Model\Capital\CapitalGrant { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/grants/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -75,7 +75,7 @@ public function getGrantReferenceDetails(string $id, array $requestOptions = nul * @return \Adyen\Model\Capital\CapitalGrant * @throws AdyenException */ - public function requestGrantPayout(\Adyen\Model\Capital\CapitalGrantInfo $capitalGrantInfo, array $requestOptions = null): \Adyen\Model\Capital\CapitalGrant + public function requestGrantPayout(\Adyen\Model\Capital\CapitalGrantInfo $capitalGrantInfo, ?array $requestOptions = null): \Adyen\Model\Capital\CapitalGrant { $endpoint = $this->baseURL . "/grants"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $capitalGrantInfo->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Checkout/DonationsApi.php b/src/Adyen/Service/Checkout/DonationsApi.php index 881ff6d23..0cadbe4c7 100644 --- a/src/Adyen/Service/Checkout/DonationsApi.php +++ b/src/Adyen/Service/Checkout/DonationsApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Checkout\DonationCampaignsResponse * @throws AdyenException */ - public function donationCampaigns(\Adyen\Model\Checkout\DonationCampaignsRequest $donationCampaignsRequest, array $requestOptions = null): \Adyen\Model\Checkout\DonationCampaignsResponse + public function donationCampaigns(\Adyen\Model\Checkout\DonationCampaignsRequest $donationCampaignsRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\DonationCampaignsResponse { $endpoint = $this->baseURL . "/donationCampaigns"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $donationCampaignsRequest->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function donationCampaigns(\Adyen\Model\Checkout\DonationCampaignsRequest * @return \Adyen\Model\Checkout\DonationPaymentResponse * @throws AdyenException */ - public function donations(\Adyen\Model\Checkout\DonationPaymentRequest $donationPaymentRequest, array $requestOptions = null): \Adyen\Model\Checkout\DonationPaymentResponse + public function donations(\Adyen\Model\Checkout\DonationPaymentRequest $donationPaymentRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\DonationPaymentResponse { $endpoint = $this->baseURL . "/donations"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $donationPaymentRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Checkout/ModificationsApi.php b/src/Adyen/Service/Checkout/ModificationsApi.php index 98a2271fd..7f0fc6392 100644 --- a/src/Adyen/Service/Checkout/ModificationsApi.php +++ b/src/Adyen/Service/Checkout/ModificationsApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Checkout\StandalonePaymentCancelResponse * @throws AdyenException */ - public function cancelAuthorisedPayment(\Adyen\Model\Checkout\StandalonePaymentCancelRequest $standalonePaymentCancelRequest, array $requestOptions = null): \Adyen\Model\Checkout\StandalonePaymentCancelResponse + public function cancelAuthorisedPayment(\Adyen\Model\Checkout\StandalonePaymentCancelRequest $standalonePaymentCancelRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\StandalonePaymentCancelResponse { $endpoint = $this->baseURL . "/cancels"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $standalonePaymentCancelRequest->jsonSerialize(), $requestOptions); @@ -63,7 +63,7 @@ public function cancelAuthorisedPayment(\Adyen\Model\Checkout\StandalonePaymentC * @return \Adyen\Model\Checkout\PaymentCancelResponse * @throws AdyenException */ - public function cancelAuthorisedPaymentByPspReference(string $paymentPspReference, \Adyen\Model\Checkout\PaymentCancelRequest $paymentCancelRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentCancelResponse + public function cancelAuthorisedPaymentByPspReference(string $paymentPspReference, \Adyen\Model\Checkout\PaymentCancelRequest $paymentCancelRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\PaymentCancelResponse { $endpoint = $this->baseURL . str_replace(['{paymentPspReference}'], [$paymentPspReference], "/payments/{paymentPspReference}/cancels"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentCancelRequest->jsonSerialize(), $requestOptions); @@ -79,7 +79,7 @@ public function cancelAuthorisedPaymentByPspReference(string $paymentPspReferenc * @return \Adyen\Model\Checkout\PaymentCaptureResponse * @throws AdyenException */ - public function captureAuthorisedPayment(string $paymentPspReference, \Adyen\Model\Checkout\PaymentCaptureRequest $paymentCaptureRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentCaptureResponse + public function captureAuthorisedPayment(string $paymentPspReference, \Adyen\Model\Checkout\PaymentCaptureRequest $paymentCaptureRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\PaymentCaptureResponse { $endpoint = $this->baseURL . str_replace(['{paymentPspReference}'], [$paymentPspReference], "/payments/{paymentPspReference}/captures"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentCaptureRequest->jsonSerialize(), $requestOptions); @@ -95,7 +95,7 @@ public function captureAuthorisedPayment(string $paymentPspReference, \Adyen\Mod * @return \Adyen\Model\Checkout\PaymentRefundResponse * @throws AdyenException */ - public function refundCapturedPayment(string $paymentPspReference, \Adyen\Model\Checkout\PaymentRefundRequest $paymentRefundRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentRefundResponse + public function refundCapturedPayment(string $paymentPspReference, \Adyen\Model\Checkout\PaymentRefundRequest $paymentRefundRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\PaymentRefundResponse { $endpoint = $this->baseURL . str_replace(['{paymentPspReference}'], [$paymentPspReference], "/payments/{paymentPspReference}/refunds"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentRefundRequest->jsonSerialize(), $requestOptions); @@ -111,7 +111,7 @@ public function refundCapturedPayment(string $paymentPspReference, \Adyen\Model\ * @return \Adyen\Model\Checkout\PaymentReversalResponse * @throws AdyenException */ - public function refundOrCancelPayment(string $paymentPspReference, \Adyen\Model\Checkout\PaymentReversalRequest $paymentReversalRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentReversalResponse + public function refundOrCancelPayment(string $paymentPspReference, \Adyen\Model\Checkout\PaymentReversalRequest $paymentReversalRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\PaymentReversalResponse { $endpoint = $this->baseURL . str_replace(['{paymentPspReference}'], [$paymentPspReference], "/payments/{paymentPspReference}/reversals"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentReversalRequest->jsonSerialize(), $requestOptions); @@ -127,7 +127,7 @@ public function refundOrCancelPayment(string $paymentPspReference, \Adyen\Model\ * @return \Adyen\Model\Checkout\PaymentAmountUpdateResponse * @throws AdyenException */ - public function updateAuthorisedAmount(string $paymentPspReference, \Adyen\Model\Checkout\PaymentAmountUpdateRequest $paymentAmountUpdateRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentAmountUpdateResponse + 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); diff --git a/src/Adyen/Service/Checkout/OrdersApi.php b/src/Adyen/Service/Checkout/OrdersApi.php index fe4513ce3..6474f4bb2 100644 --- a/src/Adyen/Service/Checkout/OrdersApi.php +++ b/src/Adyen/Service/Checkout/OrdersApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Checkout\CancelOrderResponse * @throws AdyenException */ - public function cancelOrder(\Adyen\Model\Checkout\CancelOrderRequest $cancelOrderRequest, array $requestOptions = null): \Adyen\Model\Checkout\CancelOrderResponse + public function cancelOrder(\Adyen\Model\Checkout\CancelOrderRequest $cancelOrderRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\CancelOrderResponse { $endpoint = $this->baseURL . "/orders/cancel"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $cancelOrderRequest->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function cancelOrder(\Adyen\Model\Checkout\CancelOrderRequest $cancelOrde * @return \Adyen\Model\Checkout\BalanceCheckResponse * @throws AdyenException */ - public function getBalanceOfGiftCard(\Adyen\Model\Checkout\BalanceCheckRequest $balanceCheckRequest, array $requestOptions = null): \Adyen\Model\Checkout\BalanceCheckResponse + public function getBalanceOfGiftCard(\Adyen\Model\Checkout\BalanceCheckRequest $balanceCheckRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\BalanceCheckResponse { $endpoint = $this->baseURL . "/paymentMethods/balance"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $balanceCheckRequest->jsonSerialize(), $requestOptions); @@ -77,7 +77,7 @@ public function getBalanceOfGiftCard(\Adyen\Model\Checkout\BalanceCheckRequest $ * @return \Adyen\Model\Checkout\CreateOrderResponse * @throws AdyenException */ - public function orders(\Adyen\Model\Checkout\CreateOrderRequest $createOrderRequest, array $requestOptions = null): \Adyen\Model\Checkout\CreateOrderResponse + 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); diff --git a/src/Adyen/Service/Checkout/PaymentLinksApi.php b/src/Adyen/Service/Checkout/PaymentLinksApi.php index 0deba7e73..4f1fefb00 100644 --- a/src/Adyen/Service/Checkout/PaymentLinksApi.php +++ b/src/Adyen/Service/Checkout/PaymentLinksApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Checkout\PaymentLinkResponse * @throws AdyenException */ - public function getPaymentLink(string $linkId, array $requestOptions = null): \Adyen\Model\Checkout\PaymentLinkResponse + public function getPaymentLink(string $linkId, ?array $requestOptions = null): \Adyen\Model\Checkout\PaymentLinkResponse { $endpoint = $this->baseURL . str_replace(['{linkId}'], [$linkId], "/paymentLinks/{linkId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -62,7 +62,7 @@ public function getPaymentLink(string $linkId, array $requestOptions = null): \A * @return \Adyen\Model\Checkout\PaymentLinkResponse * @throws AdyenException */ - public function paymentLinks(\Adyen\Model\Checkout\PaymentLinkRequest $paymentLinkRequest, 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 . "/paymentLinks"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentLinkRequest->jsonSerialize(), $requestOptions); @@ -78,7 +78,7 @@ public function paymentLinks(\Adyen\Model\Checkout\PaymentLinkRequest $paymentLi * @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 updatePaymentLink(string $linkId, \Adyen\Model\Checkout\UpdatePaymentLinkRequest $updatePaymentLinkRequest, ?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); diff --git a/src/Adyen/Service/Checkout/PaymentsApi.php b/src/Adyen/Service/Checkout/PaymentsApi.php index 95322cbbf..d932d5d4d 100644 --- a/src/Adyen/Service/Checkout/PaymentsApi.php +++ b/src/Adyen/Service/Checkout/PaymentsApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Checkout\CardDetailsResponse * @throws AdyenException */ - public function cardDetails(\Adyen\Model\Checkout\CardDetailsRequest $cardDetailsRequest, array $requestOptions = null): \Adyen\Model\Checkout\CardDetailsResponse + 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); @@ -62,7 +62,7 @@ public function cardDetails(\Adyen\Model\Checkout\CardDetailsRequest $cardDetail * @return \Adyen\Model\Checkout\SessionResultResponse * @throws AdyenException */ - public function getResultOfPaymentSession(string $sessionId, array $requestOptions = null): \Adyen\Model\Checkout\SessionResultResponse + public function getResultOfPaymentSession(string $sessionId, ?array $requestOptions = null): \Adyen\Model\Checkout\SessionResultResponse { $endpoint = $this->baseURL . str_replace(['{sessionId}'], [$sessionId], "/sessions/{sessionId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -77,7 +77,7 @@ public function getResultOfPaymentSession(string $sessionId, array $requestOptio * @return \Adyen\Model\Checkout\PaymentMethodsResponse * @throws AdyenException */ - public function paymentMethods(\Adyen\Model\Checkout\PaymentMethodsRequest $paymentMethodsRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentMethodsResponse + public function paymentMethods(\Adyen\Model\Checkout\PaymentMethodsRequest $paymentMethodsRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\PaymentMethodsResponse { $endpoint = $this->baseURL . "/paymentMethods"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentMethodsRequest->jsonSerialize(), $requestOptions); @@ -92,7 +92,7 @@ public function paymentMethods(\Adyen\Model\Checkout\PaymentMethodsRequest $paym * @return \Adyen\Model\Checkout\PaymentResponse * @throws AdyenException */ - public function payments(\Adyen\Model\Checkout\PaymentRequest $paymentRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentResponse + public function payments(\Adyen\Model\Checkout\PaymentRequest $paymentRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\PaymentResponse { $endpoint = $this->baseURL . "/payments"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentRequest->jsonSerialize(), $requestOptions); @@ -107,7 +107,7 @@ public function payments(\Adyen\Model\Checkout\PaymentRequest $paymentRequest, a * @return \Adyen\Model\Checkout\PaymentDetailsResponse * @throws AdyenException */ - public function paymentsDetails(\Adyen\Model\Checkout\PaymentDetailsRequest $paymentDetailsRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaymentDetailsResponse + public function paymentsDetails(\Adyen\Model\Checkout\PaymentDetailsRequest $paymentDetailsRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\PaymentDetailsResponse { $endpoint = $this->baseURL . "/payments/details"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentDetailsRequest->jsonSerialize(), $requestOptions); @@ -122,7 +122,7 @@ public function paymentsDetails(\Adyen\Model\Checkout\PaymentDetailsRequest $pay * @return \Adyen\Model\Checkout\CreateCheckoutSessionResponse * @throws AdyenException */ - public function sessions(\Adyen\Model\Checkout\CreateCheckoutSessionRequest $createCheckoutSessionRequest, array $requestOptions = null): \Adyen\Model\Checkout\CreateCheckoutSessionResponse + public function sessions(\Adyen\Model\Checkout\CreateCheckoutSessionRequest $createCheckoutSessionRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\CreateCheckoutSessionResponse { $endpoint = $this->baseURL . "/sessions"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createCheckoutSessionRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Checkout/RecurringApi.php b/src/Adyen/Service/Checkout/RecurringApi.php index 233c09180..70f099ede 100644 --- a/src/Adyen/Service/Checkout/RecurringApi.php +++ b/src/Adyen/Service/Checkout/RecurringApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @throws AdyenException */ - public function deleteTokenForStoredPaymentDetails(string $storedPaymentMethodId, array $requestOptions = null) + public function deleteTokenForStoredPaymentDetails(string $storedPaymentMethodId, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{storedPaymentMethodId}'], [$storedPaymentMethodId], "/storedPaymentMethods/{storedPaymentMethodId}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); @@ -60,7 +60,7 @@ public function deleteTokenForStoredPaymentDetails(string $storedPaymentMethodId * @return \Adyen\Model\Checkout\ListStoredPaymentMethodsResponse * @throws AdyenException */ - public function getTokensForStoredPaymentDetails(array $requestOptions = null): \Adyen\Model\Checkout\ListStoredPaymentMethodsResponse + public function getTokensForStoredPaymentDetails(?array $requestOptions = null): \Adyen\Model\Checkout\ListStoredPaymentMethodsResponse { $endpoint = $this->baseURL . "/storedPaymentMethods"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -75,7 +75,7 @@ public function getTokensForStoredPaymentDetails(array $requestOptions = null): * @return \Adyen\Model\Checkout\StoredPaymentMethodResource * @throws AdyenException */ - public function storedPaymentMethods(\Adyen\Model\Checkout\StoredPaymentMethodRequest $storedPaymentMethodRequest, array $requestOptions = null): \Adyen\Model\Checkout\StoredPaymentMethodResource + public function storedPaymentMethods(\Adyen\Model\Checkout\StoredPaymentMethodRequest $storedPaymentMethodRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\StoredPaymentMethodResource { $endpoint = $this->baseURL . "/storedPaymentMethods"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $storedPaymentMethodRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Checkout/UtilityApi.php b/src/Adyen/Service/Checkout/UtilityApi.php index ff2192d26..e6cc3a105 100644 --- a/src/Adyen/Service/Checkout/UtilityApi.php +++ b/src/Adyen/Service/Checkout/UtilityApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Checkout\ApplePaySessionResponse * @throws AdyenException */ - public function getApplePaySession(\Adyen\Model\Checkout\ApplePaySessionRequest $applePaySessionRequest, array $requestOptions = null): \Adyen\Model\Checkout\ApplePaySessionResponse + public function getApplePaySession(\Adyen\Model\Checkout\ApplePaySessionRequest $applePaySessionRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\ApplePaySessionResponse { $endpoint = $this->baseURL . "/applePay/sessions"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $applePaySessionRequest->jsonSerialize(), $requestOptions); @@ -63,7 +63,7 @@ public function getApplePaySession(\Adyen\Model\Checkout\ApplePaySessionRequest * @return \Adyen\Model\Checkout\UtilityResponse * @throws AdyenException */ - public function originKeys(\Adyen\Model\Checkout\UtilityRequest $utilityRequest, array $requestOptions = null): \Adyen\Model\Checkout\UtilityResponse + public function originKeys(\Adyen\Model\Checkout\UtilityRequest $utilityRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\UtilityResponse { $endpoint = $this->baseURL . "/originKeys"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $utilityRequest->jsonSerialize(), $requestOptions); @@ -78,7 +78,7 @@ public function originKeys(\Adyen\Model\Checkout\UtilityRequest $utilityRequest, * @return \Adyen\Model\Checkout\PaypalUpdateOrderResponse * @throws AdyenException */ - public function updatesOrderForPaypalExpressCheckout(\Adyen\Model\Checkout\PaypalUpdateOrderRequest $paypalUpdateOrderRequest, array $requestOptions = null): \Adyen\Model\Checkout\PaypalUpdateOrderResponse + public function updatesOrderForPaypalExpressCheckout(\Adyen\Model\Checkout\PaypalUpdateOrderRequest $paypalUpdateOrderRequest, ?array $requestOptions = null): \Adyen\Model\Checkout\PaypalUpdateOrderResponse { $endpoint = $this->baseURL . "/paypal/updateOrder"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paypalUpdateOrderRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/DataProtectionApi.php b/src/Adyen/Service/DataProtectionApi.php index 53c1a3ada..9cc633bd4 100644 --- a/src/Adyen/Service/DataProtectionApi.php +++ b/src/Adyen/Service/DataProtectionApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\DataProtection\SubjectErasureResponse * @throws AdyenException */ - public function requestSubjectErasure(\Adyen\Model\DataProtection\SubjectErasureByPspReferenceRequest $subjectErasureByPspReferenceRequest, array $requestOptions = null): \Adyen\Model\DataProtection\SubjectErasureResponse + public function requestSubjectErasure(\Adyen\Model\DataProtection\SubjectErasureByPspReferenceRequest $subjectErasureByPspReferenceRequest, ?array $requestOptions = null): \Adyen\Model\DataProtection\SubjectErasureResponse { $endpoint = $this->baseURL . "/requestSubjectErasure"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $subjectErasureByPspReferenceRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/DisputesApi.php b/src/Adyen/Service/DisputesApi.php index 49110d69a..92f8ed6eb 100644 --- a/src/Adyen/Service/DisputesApi.php +++ b/src/Adyen/Service/DisputesApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Disputes\AcceptDisputeResponse * @throws AdyenException */ - public function acceptDispute(\Adyen\Model\Disputes\AcceptDisputeRequest $acceptDisputeRequest, array $requestOptions = null): \Adyen\Model\Disputes\AcceptDisputeResponse + public function acceptDispute(\Adyen\Model\Disputes\AcceptDisputeRequest $acceptDisputeRequest, ?array $requestOptions = null): \Adyen\Model\Disputes\AcceptDisputeResponse { $endpoint = $this->baseURL . "/acceptDispute"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $acceptDisputeRequest->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function acceptDispute(\Adyen\Model\Disputes\AcceptDisputeRequest $accept * @return \Adyen\Model\Disputes\DefendDisputeResponse * @throws AdyenException */ - public function defendDispute(\Adyen\Model\Disputes\DefendDisputeRequest $defendDisputeRequest, array $requestOptions = null): \Adyen\Model\Disputes\DefendDisputeResponse + public function defendDispute(\Adyen\Model\Disputes\DefendDisputeRequest $defendDisputeRequest, ?array $requestOptions = null): \Adyen\Model\Disputes\DefendDisputeResponse { $endpoint = $this->baseURL . "/defendDispute"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $defendDisputeRequest->jsonSerialize(), $requestOptions); @@ -77,7 +77,7 @@ public function defendDispute(\Adyen\Model\Disputes\DefendDisputeRequest $defend * @return \Adyen\Model\Disputes\DeleteDefenseDocumentResponse * @throws AdyenException */ - public function deleteDisputeDefenseDocument(\Adyen\Model\Disputes\DeleteDefenseDocumentRequest $deleteDefenseDocumentRequest, array $requestOptions = null): \Adyen\Model\Disputes\DeleteDefenseDocumentResponse + public function deleteDisputeDefenseDocument(\Adyen\Model\Disputes\DeleteDefenseDocumentRequest $deleteDefenseDocumentRequest, ?array $requestOptions = null): \Adyen\Model\Disputes\DeleteDefenseDocumentResponse { $endpoint = $this->baseURL . "/deleteDisputeDefenseDocument"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $deleteDefenseDocumentRequest->jsonSerialize(), $requestOptions); @@ -92,7 +92,7 @@ public function deleteDisputeDefenseDocument(\Adyen\Model\Disputes\DeleteDefense * @return \Adyen\Model\Disputes\DefenseReasonsResponse * @throws AdyenException */ - public function retrieveApplicableDefenseReasons(\Adyen\Model\Disputes\DefenseReasonsRequest $defenseReasonsRequest, array $requestOptions = null): \Adyen\Model\Disputes\DefenseReasonsResponse + public function retrieveApplicableDefenseReasons(\Adyen\Model\Disputes\DefenseReasonsRequest $defenseReasonsRequest, ?array $requestOptions = null): \Adyen\Model\Disputes\DefenseReasonsResponse { $endpoint = $this->baseURL . "/retrieveApplicableDefenseReasons"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $defenseReasonsRequest->jsonSerialize(), $requestOptions); @@ -107,7 +107,7 @@ public function retrieveApplicableDefenseReasons(\Adyen\Model\Disputes\DefenseRe * @return \Adyen\Model\Disputes\SupplyDefenseDocumentResponse * @throws AdyenException */ - public function supplyDefenseDocument(\Adyen\Model\Disputes\SupplyDefenseDocumentRequest $supplyDefenseDocumentRequest, array $requestOptions = null): \Adyen\Model\Disputes\SupplyDefenseDocumentResponse + public function supplyDefenseDocument(\Adyen\Model\Disputes\SupplyDefenseDocumentRequest $supplyDefenseDocumentRequest, ?array $requestOptions = null): \Adyen\Model\Disputes\SupplyDefenseDocumentResponse { $endpoint = $this->baseURL . "/supplyDefenseDocument"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $supplyDefenseDocumentRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/LegalEntityManagement/BusinessLinesApi.php b/src/Adyen/Service/LegalEntityManagement/BusinessLinesApi.php index f94b39ed9..4bf8be260 100644 --- a/src/Adyen/Service/LegalEntityManagement/BusinessLinesApi.php +++ b/src/Adyen/Service/LegalEntityManagement/BusinessLinesApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\LegalEntityManagement\BusinessLine * @throws AdyenException */ - public function createBusinessLine(\Adyen\Model\LegalEntityManagement\BusinessLineInfo $businessLineInfo, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\BusinessLine + public function createBusinessLine(\Adyen\Model\LegalEntityManagement\BusinessLineInfo $businessLineInfo, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\BusinessLine { $endpoint = $this->baseURL . "/businessLines"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $businessLineInfo->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function createBusinessLine(\Adyen\Model\LegalEntityManagement\BusinessLi * @throws AdyenException */ - public function deleteBusinessLine(string $id, array $requestOptions = null) + public function deleteBusinessLine(string $id, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/businessLines/{id}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); @@ -76,7 +76,7 @@ public function deleteBusinessLine(string $id, array $requestOptions = null) * @return \Adyen\Model\LegalEntityManagement\BusinessLine * @throws AdyenException */ - public function getBusinessLine(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\BusinessLine + public function getBusinessLine(string $id, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\BusinessLine { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/businessLines/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -92,7 +92,7 @@ public function getBusinessLine(string $id, array $requestOptions = null): \Adye * @return \Adyen\Model\LegalEntityManagement\BusinessLine * @throws AdyenException */ - public function updateBusinessLine(string $id, \Adyen\Model\LegalEntityManagement\BusinessLineInfoUpdate $businessLineInfoUpdate, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\BusinessLine + public function updateBusinessLine(string $id, \Adyen\Model\LegalEntityManagement\BusinessLineInfoUpdate $businessLineInfoUpdate, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\BusinessLine { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/businessLines/{id}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $businessLineInfoUpdate->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/LegalEntityManagement/DocumentsApi.php b/src/Adyen/Service/LegalEntityManagement/DocumentsApi.php index d834bf550..5afdb749a 100644 --- a/src/Adyen/Service/LegalEntityManagement/DocumentsApi.php +++ b/src/Adyen/Service/LegalEntityManagement/DocumentsApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @throws AdyenException */ - public function deleteDocument(string $id, array $requestOptions = null) + public function deleteDocument(string $id, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/documents/{id}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); @@ -61,7 +61,7 @@ public function deleteDocument(string $id, array $requestOptions = null) * @return \Adyen\Model\LegalEntityManagement\Document * @throws AdyenException */ - public function getDocument(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\Document + public function getDocument(string $id, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\Document { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/documents/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -77,7 +77,7 @@ public function getDocument(string $id, array $requestOptions = null): \Adyen\Mo * @return \Adyen\Model\LegalEntityManagement\Document * @throws AdyenException */ - public function updateDocument(string $id, \Adyen\Model\LegalEntityManagement\Document $document, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\Document + public function updateDocument(string $id, \Adyen\Model\LegalEntityManagement\Document $document, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\Document { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/documents/{id}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $document->jsonSerialize(), $requestOptions); @@ -92,7 +92,7 @@ public function updateDocument(string $id, \Adyen\Model\LegalEntityManagement\Do * @return \Adyen\Model\LegalEntityManagement\Document * @throws AdyenException */ - public function uploadDocumentForVerificationChecks(\Adyen\Model\LegalEntityManagement\Document $document, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\Document + public function uploadDocumentForVerificationChecks(\Adyen\Model\LegalEntityManagement\Document $document, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\Document { $endpoint = $this->baseURL . "/documents"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $document->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/LegalEntityManagement/HostedOnboardingApi.php b/src/Adyen/Service/LegalEntityManagement/HostedOnboardingApi.php index 49b1eace5..0b35bd272 100644 --- a/src/Adyen/Service/LegalEntityManagement/HostedOnboardingApi.php +++ b/src/Adyen/Service/LegalEntityManagement/HostedOnboardingApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\LegalEntityManagement\OnboardingLink * @throws AdyenException */ - public function getLinkToAdyenhostedOnboardingPage(string $id, \Adyen\Model\LegalEntityManagement\OnboardingLinkInfo $onboardingLinkInfo, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\OnboardingLink + public function getLinkToAdyenhostedOnboardingPage(string $id, \Adyen\Model\LegalEntityManagement\OnboardingLinkInfo $onboardingLinkInfo, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\OnboardingLink { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/onboardingLinks"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $onboardingLinkInfo->jsonSerialize(), $requestOptions); @@ -63,7 +63,7 @@ public function getLinkToAdyenhostedOnboardingPage(string $id, \Adyen\Model\Lega * @return \Adyen\Model\LegalEntityManagement\OnboardingTheme * @throws AdyenException */ - public function getOnboardingLinkTheme(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\OnboardingTheme + public function getOnboardingLinkTheme(string $id, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\OnboardingTheme { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/themes/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -77,7 +77,7 @@ public function getOnboardingLinkTheme(string $id, array $requestOptions = null) * @return \Adyen\Model\LegalEntityManagement\OnboardingThemes * @throws AdyenException */ - public function listHostedOnboardingPageThemes(array $requestOptions = null): \Adyen\Model\LegalEntityManagement\OnboardingThemes + public function listHostedOnboardingPageThemes(?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\OnboardingThemes { $endpoint = $this->baseURL . "/themes"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); diff --git a/src/Adyen/Service/LegalEntityManagement/LegalEntitiesApi.php b/src/Adyen/Service/LegalEntityManagement/LegalEntitiesApi.php index 6a27b7ab8..bc6e2189c 100644 --- a/src/Adyen/Service/LegalEntityManagement/LegalEntitiesApi.php +++ b/src/Adyen/Service/LegalEntityManagement/LegalEntitiesApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\LegalEntityManagement\VerificationErrors * @throws AdyenException */ - public function checkLegalEntitysVerificationErrors(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\VerificationErrors + public function checkLegalEntitysVerificationErrors(string $id, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\VerificationErrors { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/checkVerificationErrors"); $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); @@ -62,7 +62,7 @@ public function checkLegalEntitysVerificationErrors(string $id, array $requestOp * @return \Adyen\Model\LegalEntityManagement\DataReviewConfirmationResponse * @throws AdyenException */ - public function confirmDataReview(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\DataReviewConfirmationResponse + public function confirmDataReview(string $id, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\DataReviewConfirmationResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/confirmDataReview"); $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); @@ -77,7 +77,7 @@ public function confirmDataReview(string $id, array $requestOptions = null): \Ad * @return \Adyen\Model\LegalEntityManagement\LegalEntity * @throws AdyenException */ - public function createLegalEntity(\Adyen\Model\LegalEntityManagement\LegalEntityInfoRequiredType $legalEntityInfoRequiredType, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\LegalEntity + public function createLegalEntity(\Adyen\Model\LegalEntityManagement\LegalEntityInfoRequiredType $legalEntityInfoRequiredType, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\LegalEntity { $endpoint = $this->baseURL . "/legalEntities"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $legalEntityInfoRequiredType->jsonSerialize(), $requestOptions); @@ -92,7 +92,7 @@ public function createLegalEntity(\Adyen\Model\LegalEntityManagement\LegalEntity * @return \Adyen\Model\LegalEntityManagement\BusinessLines * @throws AdyenException */ - public function getAllBusinessLinesUnderLegalEntity(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\BusinessLines + public function getAllBusinessLinesUnderLegalEntity(string $id, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\BusinessLines { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/businessLines"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -107,7 +107,7 @@ public function getAllBusinessLinesUnderLegalEntity(string $id, array $requestOp * @return \Adyen\Model\LegalEntityManagement\LegalEntity * @throws AdyenException */ - public function getLegalEntity(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\LegalEntity + public function getLegalEntity(string $id, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\LegalEntity { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -123,7 +123,7 @@ public function getLegalEntity(string $id, array $requestOptions = null): \Adyen * @return \Adyen\Model\LegalEntityManagement\LegalEntity * @throws AdyenException */ - public function updateLegalEntity(string $id, \Adyen\Model\LegalEntityManagement\LegalEntityInfo $legalEntityInfo, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\LegalEntity + public function updateLegalEntity(string $id, \Adyen\Model\LegalEntityManagement\LegalEntityInfo $legalEntityInfo, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\LegalEntity { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $legalEntityInfo->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/LegalEntityManagement/PCIQuestionnairesApi.php b/src/Adyen/Service/LegalEntityManagement/PCIQuestionnairesApi.php index b8619965e..031e14f90 100644 --- a/src/Adyen/Service/LegalEntityManagement/PCIQuestionnairesApi.php +++ b/src/Adyen/Service/LegalEntityManagement/PCIQuestionnairesApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\LegalEntityManagement\CalculatePciStatusResponse * @throws AdyenException */ - public function calculatePciStatusOfLegalEntity(string $id, \Adyen\Model\LegalEntityManagement\CalculatePciStatusRequest $calculatePciStatusRequest, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\CalculatePciStatusResponse + public function calculatePciStatusOfLegalEntity(string $id, \Adyen\Model\LegalEntityManagement\CalculatePciStatusRequest $calculatePciStatusRequest, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\CalculatePciStatusResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/pciQuestionnaires/signingRequired"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $calculatePciStatusRequest->jsonSerialize(), $requestOptions); @@ -64,7 +64,7 @@ public function calculatePciStatusOfLegalEntity(string $id, \Adyen\Model\LegalEn * @return \Adyen\Model\LegalEntityManagement\GeneratePciDescriptionResponse * @throws AdyenException */ - public function generatePciQuestionnaire(string $id, \Adyen\Model\LegalEntityManagement\GeneratePciDescriptionRequest $generatePciDescriptionRequest, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GeneratePciDescriptionResponse + public function generatePciQuestionnaire(string $id, \Adyen\Model\LegalEntityManagement\GeneratePciDescriptionRequest $generatePciDescriptionRequest, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GeneratePciDescriptionResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/pciQuestionnaires/generatePciTemplates"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $generatePciDescriptionRequest->jsonSerialize(), $requestOptions); @@ -80,7 +80,7 @@ public function generatePciQuestionnaire(string $id, \Adyen\Model\LegalEntityMan * @return \Adyen\Model\LegalEntityManagement\GetPciQuestionnaireResponse * @throws AdyenException */ - public function getPciQuestionnaire(string $id, string $pciid, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GetPciQuestionnaireResponse + public function getPciQuestionnaire(string $id, string $pciid, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GetPciQuestionnaireResponse { $endpoint = $this->baseURL . str_replace(['{id}', '{pciid}'], [$id, $pciid], "/legalEntities/{id}/pciQuestionnaires/{pciid}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -95,7 +95,7 @@ public function getPciQuestionnaire(string $id, string $pciid, array $requestOpt * @return \Adyen\Model\LegalEntityManagement\GetPciQuestionnaireInfosResponse * @throws AdyenException */ - public function getPciQuestionnaireDetails(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GetPciQuestionnaireInfosResponse + public function getPciQuestionnaireDetails(string $id, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GetPciQuestionnaireInfosResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/pciQuestionnaires"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -111,7 +111,7 @@ public function getPciQuestionnaireDetails(string $id, array $requestOptions = n * @return \Adyen\Model\LegalEntityManagement\PciSigningResponse * @throws AdyenException */ - public function signPciQuestionnaire(string $id, \Adyen\Model\LegalEntityManagement\PciSigningRequest $pciSigningRequest, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\PciSigningResponse + public function signPciQuestionnaire(string $id, \Adyen\Model\LegalEntityManagement\PciSigningRequest $pciSigningRequest, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\PciSigningResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/pciQuestionnaires/signPciTemplates"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $pciSigningRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/LegalEntityManagement/TaxEDeliveryConsentApi.php b/src/Adyen/Service/LegalEntityManagement/TaxEDeliveryConsentApi.php index b61d2b239..6cea6b06a 100644 --- a/src/Adyen/Service/LegalEntityManagement/TaxEDeliveryConsentApi.php +++ b/src/Adyen/Service/LegalEntityManagement/TaxEDeliveryConsentApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\LegalEntityManagement\CheckTaxElectronicDeliveryConsentResponse * @throws AdyenException */ - public function checkStatusOfConsentForElectronicDeliveryOfTaxForms(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\CheckTaxElectronicDeliveryConsentResponse + public function checkStatusOfConsentForElectronicDeliveryOfTaxForms(string $id, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\CheckTaxElectronicDeliveryConsentResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/checkTaxElectronicDeliveryConsent"); $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); @@ -63,7 +63,7 @@ public function checkStatusOfConsentForElectronicDeliveryOfTaxForms(string $id, * @throws AdyenException */ - public function setConsentStatusForElectronicDeliveryOfTaxForms(string $id, \Adyen\Model\LegalEntityManagement\SetTaxElectronicDeliveryConsentRequest $setTaxElectronicDeliveryConsentRequest, array $requestOptions = null) + public function setConsentStatusForElectronicDeliveryOfTaxForms(string $id, \Adyen\Model\LegalEntityManagement\SetTaxElectronicDeliveryConsentRequest $setTaxElectronicDeliveryConsentRequest, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/setTaxElectronicDeliveryConsent"); $this->requestHttp($endpoint, strtolower('POST'), (array) $setTaxElectronicDeliveryConsentRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/LegalEntityManagement/TermsOfServiceApi.php b/src/Adyen/Service/LegalEntityManagement/TermsOfServiceApi.php index f3ccef0bc..39919896c 100644 --- a/src/Adyen/Service/LegalEntityManagement/TermsOfServiceApi.php +++ b/src/Adyen/Service/LegalEntityManagement/TermsOfServiceApi.php @@ -49,7 +49,7 @@ public function __construct(Client $client) * @return \Adyen\Model\LegalEntityManagement\AcceptTermsOfServiceResponse * @throws AdyenException */ - public function acceptTermsOfService(string $id, string $termsofservicedocumentid, \Adyen\Model\LegalEntityManagement\AcceptTermsOfServiceRequest $acceptTermsOfServiceRequest, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\AcceptTermsOfServiceResponse + public function acceptTermsOfService(string $id, string $termsofservicedocumentid, \Adyen\Model\LegalEntityManagement\AcceptTermsOfServiceRequest $acceptTermsOfServiceRequest, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\AcceptTermsOfServiceResponse { $endpoint = $this->baseURL . str_replace(['{id}', '{termsofservicedocumentid}'], [$id, $termsofservicedocumentid], "/legalEntities/{id}/termsOfService/{termsofservicedocumentid}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $acceptTermsOfServiceRequest->jsonSerialize(), $requestOptions); @@ -65,7 +65,7 @@ public function acceptTermsOfService(string $id, string $termsofservicedocumenti * @return \Adyen\Model\LegalEntityManagement\GetAcceptedTermsOfServiceDocumentResponse * @throws AdyenException */ - public function getAcceptedTermsOfServiceDocument(string $id, string $termsofserviceacceptancereference, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GetAcceptedTermsOfServiceDocumentResponse + public function getAcceptedTermsOfServiceDocument(string $id, string $termsofserviceacceptancereference, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GetAcceptedTermsOfServiceDocumentResponse { $endpoint = $this->baseURL . str_replace(['{id}', '{termsofserviceacceptancereference}'], [$id, $termsofserviceacceptancereference], "/legalEntities/{id}/acceptedTermsOfServiceDocument/{termsofserviceacceptancereference}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -81,7 +81,7 @@ public function getAcceptedTermsOfServiceDocument(string $id, string $termsofser * @return \Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentResponse * @throws AdyenException */ - public function getTermsOfServiceDocument(string $id, \Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentRequest $getTermsOfServiceDocumentRequest, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentResponse + public function getTermsOfServiceDocument(string $id, \Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentRequest $getTermsOfServiceDocumentRequest, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/termsOfService"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $getTermsOfServiceDocumentRequest->jsonSerialize(), $requestOptions); @@ -96,7 +96,7 @@ public function getTermsOfServiceDocument(string $id, \Adyen\Model\LegalEntityMa * @return \Adyen\Model\LegalEntityManagement\GetTermsOfServiceAcceptanceInfosResponse * @throws AdyenException */ - public function getTermsOfServiceInformationForLegalEntity(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GetTermsOfServiceAcceptanceInfosResponse + public function getTermsOfServiceInformationForLegalEntity(string $id, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\GetTermsOfServiceAcceptanceInfosResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/termsOfServiceAcceptanceInfos"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -111,7 +111,7 @@ public function getTermsOfServiceInformationForLegalEntity(string $id, array $re * @return \Adyen\Model\LegalEntityManagement\CalculateTermsOfServiceStatusResponse * @throws AdyenException */ - public function getTermsOfServiceStatus(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\CalculateTermsOfServiceStatusResponse + public function getTermsOfServiceStatus(string $id, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\CalculateTermsOfServiceStatusResponse { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/legalEntities/{id}/termsOfServiceStatus"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); diff --git a/src/Adyen/Service/LegalEntityManagement/TransferInstrumentsApi.php b/src/Adyen/Service/LegalEntityManagement/TransferInstrumentsApi.php index 70c2e0769..5a34cccc2 100644 --- a/src/Adyen/Service/LegalEntityManagement/TransferInstrumentsApi.php +++ b/src/Adyen/Service/LegalEntityManagement/TransferInstrumentsApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\LegalEntityManagement\TransferInstrument * @throws AdyenException */ - public function createTransferInstrument(\Adyen\Model\LegalEntityManagement\TransferInstrumentInfo $transferInstrumentInfo, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\TransferInstrument + public function createTransferInstrument(\Adyen\Model\LegalEntityManagement\TransferInstrumentInfo $transferInstrumentInfo, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\TransferInstrument { $endpoint = $this->baseURL . "/transferInstruments"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $transferInstrumentInfo->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function createTransferInstrument(\Adyen\Model\LegalEntityManagement\Tran * @throws AdyenException */ - public function deleteTransferInstrument(string $id, array $requestOptions = null) + public function deleteTransferInstrument(string $id, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/transferInstruments/{id}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); @@ -76,7 +76,7 @@ public function deleteTransferInstrument(string $id, array $requestOptions = nul * @return \Adyen\Model\LegalEntityManagement\TransferInstrument * @throws AdyenException */ - public function getTransferInstrument(string $id, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\TransferInstrument + public function getTransferInstrument(string $id, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\TransferInstrument { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/transferInstruments/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -92,7 +92,7 @@ public function getTransferInstrument(string $id, array $requestOptions = null): * @return \Adyen\Model\LegalEntityManagement\TransferInstrument * @throws AdyenException */ - public function updateTransferInstrument(string $id, \Adyen\Model\LegalEntityManagement\TransferInstrumentInfo $transferInstrumentInfo, array $requestOptions = null): \Adyen\Model\LegalEntityManagement\TransferInstrument + public function updateTransferInstrument(string $id, \Adyen\Model\LegalEntityManagement\TransferInstrumentInfo $transferInstrumentInfo, ?array $requestOptions = null): \Adyen\Model\LegalEntityManagement\TransferInstrument { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/transferInstruments/{id}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $transferInstrumentInfo->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/APICredentialsCompanyLevelApi.php b/src/Adyen/Service/Management/APICredentialsCompanyLevelApi.php index 763e340b6..cbb6b7dc9 100644 --- a/src/Adyen/Service/Management/APICredentialsCompanyLevelApi.php +++ b/src/Adyen/Service/Management/APICredentialsCompanyLevelApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\CreateCompanyApiCredentialResponse * @throws AdyenException */ - public function createApiCredential(string $companyId, \Adyen\Model\Management\CreateCompanyApiCredentialRequest $createCompanyApiCredentialRequest, array $requestOptions = null): \Adyen\Model\Management\CreateCompanyApiCredentialResponse + public function createApiCredential(string $companyId, \Adyen\Model\Management\CreateCompanyApiCredentialRequest $createCompanyApiCredentialRequest, ?array $requestOptions = null): \Adyen\Model\Management\CreateCompanyApiCredentialResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/apiCredentials"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createCompanyApiCredentialRequest->jsonSerialize(), $requestOptions); @@ -64,7 +64,7 @@ public function createApiCredential(string $companyId, \Adyen\Model\Management\C * @return \Adyen\Model\Management\CompanyApiCredential * @throws AdyenException */ - public function getApiCredential(string $companyId, string $apiCredentialId, array $requestOptions = null): \Adyen\Model\Management\CompanyApiCredential + public function getApiCredential(string $companyId, string $apiCredentialId, ?array $requestOptions = null): \Adyen\Model\Management\CompanyApiCredential { $endpoint = $this->baseURL . str_replace(['{companyId}', '{apiCredentialId}'], [$companyId, $apiCredentialId], "/companies/{companyId}/apiCredentials/{apiCredentialId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -79,7 +79,7 @@ public function getApiCredential(string $companyId, string $apiCredentialId, arr * @return \Adyen\Model\Management\ListCompanyApiCredentialsResponse * @throws AdyenException */ - public function listApiCredentials(string $companyId, array $requestOptions = null): \Adyen\Model\Management\ListCompanyApiCredentialsResponse + public function listApiCredentials(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\ListCompanyApiCredentialsResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/apiCredentials"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -96,7 +96,7 @@ public function listApiCredentials(string $companyId, array $requestOptions = nu * @return \Adyen\Model\Management\CompanyApiCredential * @throws AdyenException */ - public function updateApiCredential(string $companyId, string $apiCredentialId, \Adyen\Model\Management\UpdateCompanyApiCredentialRequest $updateCompanyApiCredentialRequest, array $requestOptions = null): \Adyen\Model\Management\CompanyApiCredential + public function updateApiCredential(string $companyId, string $apiCredentialId, \Adyen\Model\Management\UpdateCompanyApiCredentialRequest $updateCompanyApiCredentialRequest, ?array $requestOptions = null): \Adyen\Model\Management\CompanyApiCredential { $endpoint = $this->baseURL . str_replace(['{companyId}', '{apiCredentialId}'], [$companyId, $apiCredentialId], "/companies/{companyId}/apiCredentials/{apiCredentialId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateCompanyApiCredentialRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/APICredentialsMerchantLevelApi.php b/src/Adyen/Service/Management/APICredentialsMerchantLevelApi.php index a8b842fba..fed7f8c5e 100644 --- a/src/Adyen/Service/Management/APICredentialsMerchantLevelApi.php +++ b/src/Adyen/Service/Management/APICredentialsMerchantLevelApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\CreateApiCredentialResponse * @throws AdyenException */ - public function createApiCredential(string $merchantId, \Adyen\Model\Management\CreateMerchantApiCredentialRequest $createMerchantApiCredentialRequest, array $requestOptions = null): \Adyen\Model\Management\CreateApiCredentialResponse + public function createApiCredential(string $merchantId, \Adyen\Model\Management\CreateMerchantApiCredentialRequest $createMerchantApiCredentialRequest, ?array $requestOptions = null): \Adyen\Model\Management\CreateApiCredentialResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/apiCredentials"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createMerchantApiCredentialRequest->jsonSerialize(), $requestOptions); @@ -64,7 +64,7 @@ public function createApiCredential(string $merchantId, \Adyen\Model\Management\ * @return \Adyen\Model\Management\ApiCredential * @throws AdyenException */ - public function getApiCredential(string $merchantId, string $apiCredentialId, array $requestOptions = null): \Adyen\Model\Management\ApiCredential + public function getApiCredential(string $merchantId, string $apiCredentialId, ?array $requestOptions = null): \Adyen\Model\Management\ApiCredential { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{apiCredentialId}'], [$merchantId, $apiCredentialId], "/merchants/{merchantId}/apiCredentials/{apiCredentialId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -79,7 +79,7 @@ public function getApiCredential(string $merchantId, string $apiCredentialId, ar * @return \Adyen\Model\Management\ListMerchantApiCredentialsResponse * @throws AdyenException */ - public function listApiCredentials(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\ListMerchantApiCredentialsResponse + public function listApiCredentials(string $merchantId, ?array $requestOptions = null): \Adyen\Model\Management\ListMerchantApiCredentialsResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/apiCredentials"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -96,7 +96,7 @@ public function listApiCredentials(string $merchantId, array $requestOptions = n * @return \Adyen\Model\Management\ApiCredential * @throws AdyenException */ - public function updateApiCredential(string $merchantId, string $apiCredentialId, \Adyen\Model\Management\UpdateMerchantApiCredentialRequest $updateMerchantApiCredentialRequest, array $requestOptions = null): \Adyen\Model\Management\ApiCredential + public function updateApiCredential(string $merchantId, string $apiCredentialId, \Adyen\Model\Management\UpdateMerchantApiCredentialRequest $updateMerchantApiCredentialRequest, ?array $requestOptions = null): \Adyen\Model\Management\ApiCredential { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{apiCredentialId}'], [$merchantId, $apiCredentialId], "/merchants/{merchantId}/apiCredentials/{apiCredentialId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateMerchantApiCredentialRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/APIKeyCompanyLevelApi.php b/src/Adyen/Service/Management/APIKeyCompanyLevelApi.php index 5c987b29f..c39ee3dca 100644 --- a/src/Adyen/Service/Management/APIKeyCompanyLevelApi.php +++ b/src/Adyen/Service/Management/APIKeyCompanyLevelApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\GenerateApiKeyResponse * @throws AdyenException */ - public function generateNewApiKey(string $companyId, string $apiCredentialId, array $requestOptions = null): \Adyen\Model\Management\GenerateApiKeyResponse + public function generateNewApiKey(string $companyId, string $apiCredentialId, ?array $requestOptions = null): \Adyen\Model\Management\GenerateApiKeyResponse { $endpoint = $this->baseURL . str_replace(['{companyId}', '{apiCredentialId}'], [$companyId, $apiCredentialId], "/companies/{companyId}/apiCredentials/{apiCredentialId}/generateApiKey"); $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); diff --git a/src/Adyen/Service/Management/APIKeyMerchantLevelApi.php b/src/Adyen/Service/Management/APIKeyMerchantLevelApi.php index 20cdd603f..09e1f57f5 100644 --- a/src/Adyen/Service/Management/APIKeyMerchantLevelApi.php +++ b/src/Adyen/Service/Management/APIKeyMerchantLevelApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\GenerateApiKeyResponse * @throws AdyenException */ - public function generateNewApiKey(string $merchantId, string $apiCredentialId, array $requestOptions = null): \Adyen\Model\Management\GenerateApiKeyResponse + public function generateNewApiKey(string $merchantId, string $apiCredentialId, ?array $requestOptions = null): \Adyen\Model\Management\GenerateApiKeyResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{apiCredentialId}'], [$merchantId, $apiCredentialId], "/merchants/{merchantId}/apiCredentials/{apiCredentialId}/generateApiKey"); $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); diff --git a/src/Adyen/Service/Management/AccountCompanyLevelApi.php b/src/Adyen/Service/Management/AccountCompanyLevelApi.php index 1dae51330..41e3aa083 100644 --- a/src/Adyen/Service/Management/AccountCompanyLevelApi.php +++ b/src/Adyen/Service/Management/AccountCompanyLevelApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\Company * @throws AdyenException */ - public function getCompanyAccount(string $companyId, array $requestOptions = null): \Adyen\Model\Management\Company + public function getCompanyAccount(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\Company { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -61,7 +61,7 @@ public function getCompanyAccount(string $companyId, array $requestOptions = nul * @return \Adyen\Model\Management\ListCompanyResponse * @throws AdyenException */ - public function listCompanyAccounts(array $requestOptions = null): \Adyen\Model\Management\ListCompanyResponse + public function listCompanyAccounts(?array $requestOptions = null): \Adyen\Model\Management\ListCompanyResponse { $endpoint = $this->baseURL . "/companies"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -76,7 +76,7 @@ public function listCompanyAccounts(array $requestOptions = null): \Adyen\Model\ * @return \Adyen\Model\Management\ListMerchantResponse * @throws AdyenException */ - public function listMerchantAccounts(string $companyId, array $requestOptions = null): \Adyen\Model\Management\ListMerchantResponse + public function listMerchantAccounts(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\ListMerchantResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/merchants"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); diff --git a/src/Adyen/Service/Management/AccountMerchantLevelApi.php b/src/Adyen/Service/Management/AccountMerchantLevelApi.php index 7a33eed88..21644ece2 100644 --- a/src/Adyen/Service/Management/AccountMerchantLevelApi.php +++ b/src/Adyen/Service/Management/AccountMerchantLevelApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\CreateMerchantResponse * @throws AdyenException */ - public function createMerchantAccount(\Adyen\Model\Management\CreateMerchantRequest $createMerchantRequest, array $requestOptions = null): \Adyen\Model\Management\CreateMerchantResponse + public function createMerchantAccount(\Adyen\Model\Management\CreateMerchantRequest $createMerchantRequest, ?array $requestOptions = null): \Adyen\Model\Management\CreateMerchantResponse { $endpoint = $this->baseURL . "/merchants"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createMerchantRequest->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function createMerchantAccount(\Adyen\Model\Management\CreateMerchantRequ * @return \Adyen\Model\Management\Merchant * @throws AdyenException */ - public function getMerchantAccount(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\Merchant + public function getMerchantAccount(string $merchantId, ?array $requestOptions = null): \Adyen\Model\Management\Merchant { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -76,7 +76,7 @@ public function getMerchantAccount(string $merchantId, array $requestOptions = n * @return \Adyen\Model\Management\ListMerchantResponse * @throws AdyenException */ - public function listMerchantAccounts(array $requestOptions = null): \Adyen\Model\Management\ListMerchantResponse + public function listMerchantAccounts(?array $requestOptions = null): \Adyen\Model\Management\ListMerchantResponse { $endpoint = $this->baseURL . "/merchants"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -91,7 +91,7 @@ public function listMerchantAccounts(array $requestOptions = null): \Adyen\Model * @return \Adyen\Model\Management\RequestActivationResponse * @throws AdyenException */ - public function requestToActivateMerchantAccount(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\RequestActivationResponse + public function requestToActivateMerchantAccount(string $merchantId, ?array $requestOptions = null): \Adyen\Model\Management\RequestActivationResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/activate"); $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); diff --git a/src/Adyen/Service/Management/AccountStoreLevelApi.php b/src/Adyen/Service/Management/AccountStoreLevelApi.php index d845e9ee1..1cdf5a28c 100644 --- a/src/Adyen/Service/Management/AccountStoreLevelApi.php +++ b/src/Adyen/Service/Management/AccountStoreLevelApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\Store * @throws AdyenException */ - public function createStore(\Adyen\Model\Management\StoreCreationWithMerchantCodeRequest $storeCreationWithMerchantCodeRequest, array $requestOptions = null): \Adyen\Model\Management\Store + public function createStore(\Adyen\Model\Management\StoreCreationWithMerchantCodeRequest $storeCreationWithMerchantCodeRequest, ?array $requestOptions = null): \Adyen\Model\Management\Store { $endpoint = $this->baseURL . "/stores"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $storeCreationWithMerchantCodeRequest->jsonSerialize(), $requestOptions); @@ -63,7 +63,7 @@ public function createStore(\Adyen\Model\Management\StoreCreationWithMerchantCod * @return \Adyen\Model\Management\Store * @throws AdyenException */ - public function createStoreByMerchantId(string $merchantId, \Adyen\Model\Management\StoreCreationRequest $storeCreationRequest, array $requestOptions = null): \Adyen\Model\Management\Store + public function createStoreByMerchantId(string $merchantId, \Adyen\Model\Management\StoreCreationRequest $storeCreationRequest, ?array $requestOptions = null): \Adyen\Model\Management\Store { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/stores"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $storeCreationRequest->jsonSerialize(), $requestOptions); @@ -79,7 +79,7 @@ public function createStoreByMerchantId(string $merchantId, \Adyen\Model\Managem * @return \Adyen\Model\Management\Store * @throws AdyenException */ - public function getStore(string $merchantId, string $storeId, array $requestOptions = null): \Adyen\Model\Management\Store + public function getStore(string $merchantId, string $storeId, ?array $requestOptions = null): \Adyen\Model\Management\Store { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{storeId}'], [$merchantId, $storeId], "/merchants/{merchantId}/stores/{storeId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -94,7 +94,7 @@ public function getStore(string $merchantId, string $storeId, array $requestOpti * @return \Adyen\Model\Management\Store * @throws AdyenException */ - public function getStoreById(string $storeId, array $requestOptions = null): \Adyen\Model\Management\Store + public function getStoreById(string $storeId, ?array $requestOptions = null): \Adyen\Model\Management\Store { $endpoint = $this->baseURL . str_replace(['{storeId}'], [$storeId], "/stores/{storeId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -108,7 +108,7 @@ public function getStoreById(string $storeId, array $requestOptions = null): \Ad * @return \Adyen\Model\Management\ListStoresResponse * @throws AdyenException */ - public function listStores(array $requestOptions = null): \Adyen\Model\Management\ListStoresResponse + public function listStores(?array $requestOptions = null): \Adyen\Model\Management\ListStoresResponse { $endpoint = $this->baseURL . "/stores"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -123,7 +123,7 @@ public function listStores(array $requestOptions = null): \Adyen\Model\Managemen * @return \Adyen\Model\Management\ListStoresResponse * @throws AdyenException */ - public function listStoresByMerchantId(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\ListStoresResponse + public function listStoresByMerchantId(string $merchantId, ?array $requestOptions = null): \Adyen\Model\Management\ListStoresResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/stores"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -140,7 +140,7 @@ public function listStoresByMerchantId(string $merchantId, array $requestOptions * @return \Adyen\Model\Management\Store * @throws AdyenException */ - public function updateStore(string $merchantId, string $storeId, \Adyen\Model\Management\UpdateStoreRequest $updateStoreRequest, array $requestOptions = null): \Adyen\Model\Management\Store + public function updateStore(string $merchantId, string $storeId, \Adyen\Model\Management\UpdateStoreRequest $updateStoreRequest, ?array $requestOptions = null): \Adyen\Model\Management\Store { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{storeId}'], [$merchantId, $storeId], "/merchants/{merchantId}/stores/{storeId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateStoreRequest->jsonSerialize(), $requestOptions); @@ -156,7 +156,7 @@ public function updateStore(string $merchantId, string $storeId, \Adyen\Model\Ma * @return \Adyen\Model\Management\Store * @throws AdyenException */ - public function updateStoreById(string $storeId, \Adyen\Model\Management\UpdateStoreRequest $updateStoreRequest, array $requestOptions = null): \Adyen\Model\Management\Store + public function updateStoreById(string $storeId, \Adyen\Model\Management\UpdateStoreRequest $updateStoreRequest, ?array $requestOptions = null): \Adyen\Model\Management\Store { $endpoint = $this->baseURL . str_replace(['{storeId}'], [$storeId], "/stores/{storeId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateStoreRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/AllowedOriginsCompanyLevelApi.php b/src/Adyen/Service/Management/AllowedOriginsCompanyLevelApi.php index c2557d39d..b5bcb0363 100644 --- a/src/Adyen/Service/Management/AllowedOriginsCompanyLevelApi.php +++ b/src/Adyen/Service/Management/AllowedOriginsCompanyLevelApi.php @@ -49,7 +49,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\AllowedOrigin * @throws AdyenException */ - public function createAllowedOrigin(string $companyId, string $apiCredentialId, \Adyen\Model\Management\AllowedOrigin $allowedOrigin, array $requestOptions = null): \Adyen\Model\Management\AllowedOrigin + public function createAllowedOrigin(string $companyId, string $apiCredentialId, \Adyen\Model\Management\AllowedOrigin $allowedOrigin, ?array $requestOptions = null): \Adyen\Model\Management\AllowedOrigin { $endpoint = $this->baseURL . str_replace(['{companyId}', '{apiCredentialId}'], [$companyId, $apiCredentialId], "/companies/{companyId}/apiCredentials/{apiCredentialId}/allowedOrigins"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $allowedOrigin->jsonSerialize(), $requestOptions); @@ -66,7 +66,7 @@ public function createAllowedOrigin(string $companyId, string $apiCredentialId, * @throws AdyenException */ - public function deleteAllowedOrigin(string $companyId, string $apiCredentialId, string $originId, array $requestOptions = null) + public function deleteAllowedOrigin(string $companyId, string $apiCredentialId, string $originId, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{companyId}', '{apiCredentialId}', '{originId}'], [$companyId, $apiCredentialId, $originId], "/companies/{companyId}/apiCredentials/{apiCredentialId}/allowedOrigins/{originId}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); @@ -82,7 +82,7 @@ public function deleteAllowedOrigin(string $companyId, string $apiCredentialId, * @return \Adyen\Model\Management\AllowedOrigin * @throws AdyenException */ - public function getAllowedOrigin(string $companyId, string $apiCredentialId, string $originId, array $requestOptions = null): \Adyen\Model\Management\AllowedOrigin + public function getAllowedOrigin(string $companyId, string $apiCredentialId, string $originId, ?array $requestOptions = null): \Adyen\Model\Management\AllowedOrigin { $endpoint = $this->baseURL . str_replace(['{companyId}', '{apiCredentialId}', '{originId}'], [$companyId, $apiCredentialId, $originId], "/companies/{companyId}/apiCredentials/{apiCredentialId}/allowedOrigins/{originId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -98,7 +98,7 @@ public function getAllowedOrigin(string $companyId, string $apiCredentialId, str * @return \Adyen\Model\Management\AllowedOriginsResponse * @throws AdyenException */ - public function listAllowedOrigins(string $companyId, string $apiCredentialId, array $requestOptions = null): \Adyen\Model\Management\AllowedOriginsResponse + public function listAllowedOrigins(string $companyId, string $apiCredentialId, ?array $requestOptions = null): \Adyen\Model\Management\AllowedOriginsResponse { $endpoint = $this->baseURL . str_replace(['{companyId}', '{apiCredentialId}'], [$companyId, $apiCredentialId], "/companies/{companyId}/apiCredentials/{apiCredentialId}/allowedOrigins"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); diff --git a/src/Adyen/Service/Management/AllowedOriginsMerchantLevelApi.php b/src/Adyen/Service/Management/AllowedOriginsMerchantLevelApi.php index 1b40d271f..153d3c872 100644 --- a/src/Adyen/Service/Management/AllowedOriginsMerchantLevelApi.php +++ b/src/Adyen/Service/Management/AllowedOriginsMerchantLevelApi.php @@ -49,7 +49,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\AllowedOrigin * @throws AdyenException */ - public function createAllowedOrigin(string $merchantId, string $apiCredentialId, \Adyen\Model\Management\AllowedOrigin $allowedOrigin, array $requestOptions = null): \Adyen\Model\Management\AllowedOrigin + public function createAllowedOrigin(string $merchantId, string $apiCredentialId, \Adyen\Model\Management\AllowedOrigin $allowedOrigin, ?array $requestOptions = null): \Adyen\Model\Management\AllowedOrigin { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{apiCredentialId}'], [$merchantId, $apiCredentialId], "/merchants/{merchantId}/apiCredentials/{apiCredentialId}/allowedOrigins"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $allowedOrigin->jsonSerialize(), $requestOptions); @@ -66,7 +66,7 @@ public function createAllowedOrigin(string $merchantId, string $apiCredentialId, * @throws AdyenException */ - public function deleteAllowedOrigin(string $merchantId, string $apiCredentialId, string $originId, array $requestOptions = null) + public function deleteAllowedOrigin(string $merchantId, string $apiCredentialId, string $originId, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{apiCredentialId}', '{originId}'], [$merchantId, $apiCredentialId, $originId], "/merchants/{merchantId}/apiCredentials/{apiCredentialId}/allowedOrigins/{originId}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); @@ -82,7 +82,7 @@ public function deleteAllowedOrigin(string $merchantId, string $apiCredentialId, * @return \Adyen\Model\Management\AllowedOrigin * @throws AdyenException */ - public function getAllowedOrigin(string $merchantId, string $apiCredentialId, string $originId, array $requestOptions = null): \Adyen\Model\Management\AllowedOrigin + public function getAllowedOrigin(string $merchantId, string $apiCredentialId, string $originId, ?array $requestOptions = null): \Adyen\Model\Management\AllowedOrigin { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{apiCredentialId}', '{originId}'], [$merchantId, $apiCredentialId, $originId], "/merchants/{merchantId}/apiCredentials/{apiCredentialId}/allowedOrigins/{originId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -98,7 +98,7 @@ public function getAllowedOrigin(string $merchantId, string $apiCredentialId, st * @return \Adyen\Model\Management\AllowedOriginsResponse * @throws AdyenException */ - public function listAllowedOrigins(string $merchantId, string $apiCredentialId, array $requestOptions = null): \Adyen\Model\Management\AllowedOriginsResponse + public function listAllowedOrigins(string $merchantId, string $apiCredentialId, ?array $requestOptions = null): \Adyen\Model\Management\AllowedOriginsResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{apiCredentialId}'], [$merchantId, $apiCredentialId], "/merchants/{merchantId}/apiCredentials/{apiCredentialId}/allowedOrigins"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); diff --git a/src/Adyen/Service/Management/AndroidFilesCompanyLevelApi.php b/src/Adyen/Service/Management/AndroidFilesCompanyLevelApi.php index c93d735d2..f62216474 100644 --- a/src/Adyen/Service/Management/AndroidFilesCompanyLevelApi.php +++ b/src/Adyen/Service/Management/AndroidFilesCompanyLevelApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\AndroidApp * @throws AdyenException */ - public function getAndroidApp(string $companyId, string $id, array $requestOptions = null): \Adyen\Model\Management\AndroidApp + public function getAndroidApp(string $companyId, string $id, ?array $requestOptions = null): \Adyen\Model\Management\AndroidApp { $endpoint = $this->baseURL . str_replace(['{companyId}', '{id}'], [$companyId, $id], "/companies/{companyId}/androidApps/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -63,7 +63,7 @@ public function getAndroidApp(string $companyId, string $id, array $requestOptio * @return \Adyen\Model\Management\AndroidAppsResponse * @throws AdyenException */ - public function listAndroidApps(string $companyId, array $requestOptions = null): \Adyen\Model\Management\AndroidAppsResponse + public function listAndroidApps(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\AndroidAppsResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/androidApps"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -78,7 +78,7 @@ public function listAndroidApps(string $companyId, array $requestOptions = null) * @return \Adyen\Model\Management\AndroidCertificatesResponse * @throws AdyenException */ - public function listAndroidCertificates(string $companyId, array $requestOptions = null): \Adyen\Model\Management\AndroidCertificatesResponse + public function listAndroidCertificates(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\AndroidCertificatesResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/androidCertificates"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -94,7 +94,7 @@ public function listAndroidCertificates(string $companyId, array $requestOptions * @return \Adyen\Model\Management\ReprocessAndroidAppResponse * @throws AdyenException */ - public function reprocessAndroidApp(string $companyId, string $id, array $requestOptions = null): \Adyen\Model\Management\ReprocessAndroidAppResponse + public function reprocessAndroidApp(string $companyId, string $id, ?array $requestOptions = null): \Adyen\Model\Management\ReprocessAndroidAppResponse { $endpoint = $this->baseURL . str_replace(['{companyId}', '{id}'], [$companyId, $id], "/companies/{companyId}/androidApps/{id}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), null, $requestOptions); @@ -109,7 +109,7 @@ public function reprocessAndroidApp(string $companyId, string $id, array $reques * @return \Adyen\Model\Management\UploadAndroidAppResponse * @throws AdyenException */ - public function uploadAndroidApp(string $companyId, array $requestOptions = null): \Adyen\Model\Management\UploadAndroidAppResponse + public function uploadAndroidApp(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\UploadAndroidAppResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/androidApps"); $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); @@ -124,7 +124,7 @@ public function uploadAndroidApp(string $companyId, array $requestOptions = null * @return \Adyen\Model\Management\UploadAndroidCertificateResponse * @throws AdyenException */ - public function uploadAndroidCertificate(string $companyId, array $requestOptions = null): \Adyen\Model\Management\UploadAndroidCertificateResponse + public function uploadAndroidCertificate(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\UploadAndroidCertificateResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/androidCertificates"); $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); diff --git a/src/Adyen/Service/Management/ClientKeyCompanyLevelApi.php b/src/Adyen/Service/Management/ClientKeyCompanyLevelApi.php index 57dab370c..95e19ee18 100644 --- a/src/Adyen/Service/Management/ClientKeyCompanyLevelApi.php +++ b/src/Adyen/Service/Management/ClientKeyCompanyLevelApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\GenerateClientKeyResponse * @throws AdyenException */ - public function generateNewClientKey(string $companyId, string $apiCredentialId, array $requestOptions = null): \Adyen\Model\Management\GenerateClientKeyResponse + public function generateNewClientKey(string $companyId, string $apiCredentialId, ?array $requestOptions = null): \Adyen\Model\Management\GenerateClientKeyResponse { $endpoint = $this->baseURL . str_replace(['{companyId}', '{apiCredentialId}'], [$companyId, $apiCredentialId], "/companies/{companyId}/apiCredentials/{apiCredentialId}/generateClientKey"); $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); diff --git a/src/Adyen/Service/Management/ClientKeyMerchantLevelApi.php b/src/Adyen/Service/Management/ClientKeyMerchantLevelApi.php index 4b7df1280..3f8f9fc9b 100644 --- a/src/Adyen/Service/Management/ClientKeyMerchantLevelApi.php +++ b/src/Adyen/Service/Management/ClientKeyMerchantLevelApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\GenerateClientKeyResponse * @throws AdyenException */ - public function generateNewClientKey(string $merchantId, string $apiCredentialId, array $requestOptions = null): \Adyen\Model\Management\GenerateClientKeyResponse + public function generateNewClientKey(string $merchantId, string $apiCredentialId, ?array $requestOptions = null): \Adyen\Model\Management\GenerateClientKeyResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{apiCredentialId}'], [$merchantId, $apiCredentialId], "/merchants/{merchantId}/apiCredentials/{apiCredentialId}/generateClientKey"); $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); diff --git a/src/Adyen/Service/Management/MyAPICredentialApi.php b/src/Adyen/Service/Management/MyAPICredentialApi.php index 54005b35b..7300d12ce 100644 --- a/src/Adyen/Service/Management/MyAPICredentialApi.php +++ b/src/Adyen/Service/Management/MyAPICredentialApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\AllowedOrigin * @throws AdyenException */ - public function addAllowedOrigin(\Adyen\Model\Management\CreateAllowedOriginRequest $createAllowedOriginRequest, array $requestOptions = null): \Adyen\Model\Management\AllowedOrigin + public function addAllowedOrigin(\Adyen\Model\Management\CreateAllowedOriginRequest $createAllowedOriginRequest, ?array $requestOptions = null): \Adyen\Model\Management\AllowedOrigin { $endpoint = $this->baseURL . "/me/allowedOrigins"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createAllowedOriginRequest->jsonSerialize(), $requestOptions); @@ -61,7 +61,7 @@ public function addAllowedOrigin(\Adyen\Model\Management\CreateAllowedOriginRequ * @return \Adyen\Model\Management\GenerateClientKeyResponse * @throws AdyenException */ - public function generateClientKey(array $requestOptions = null): \Adyen\Model\Management\GenerateClientKeyResponse + public function generateClientKey(?array $requestOptions = null): \Adyen\Model\Management\GenerateClientKeyResponse { $endpoint = $this->baseURL . "/me/generateClientKey"; $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); @@ -76,7 +76,7 @@ public function generateClientKey(array $requestOptions = null): \Adyen\Model\Ma * @return \Adyen\Model\Management\AllowedOrigin * @throws AdyenException */ - public function getAllowedOriginDetails(string $originId, array $requestOptions = null): \Adyen\Model\Management\AllowedOrigin + public function getAllowedOriginDetails(string $originId, ?array $requestOptions = null): \Adyen\Model\Management\AllowedOrigin { $endpoint = $this->baseURL . str_replace(['{originId}'], [$originId], "/me/allowedOrigins/{originId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -90,7 +90,7 @@ public function getAllowedOriginDetails(string $originId, array $requestOptions * @return \Adyen\Model\Management\AllowedOriginsResponse * @throws AdyenException */ - public function getAllowedOrigins(array $requestOptions = null): \Adyen\Model\Management\AllowedOriginsResponse + public function getAllowedOrigins(?array $requestOptions = null): \Adyen\Model\Management\AllowedOriginsResponse { $endpoint = $this->baseURL . "/me/allowedOrigins"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -104,7 +104,7 @@ public function getAllowedOrigins(array $requestOptions = null): \Adyen\Model\Ma * @return \Adyen\Model\Management\MeApiCredential * @throws AdyenException */ - public function getApiCredentialDetails(array $requestOptions = null): \Adyen\Model\Management\MeApiCredential + public function getApiCredentialDetails(?array $requestOptions = null): \Adyen\Model\Management\MeApiCredential { $endpoint = $this->baseURL . "/me"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -119,7 +119,7 @@ public function getApiCredentialDetails(array $requestOptions = null): \Adyen\Mo * @throws AdyenException */ - public function removeAllowedOrigin(string $originId, array $requestOptions = null) + public function removeAllowedOrigin(string $originId, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{originId}'], [$originId], "/me/allowedOrigins/{originId}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); diff --git a/src/Adyen/Service/Management/PaymentMethodsMerchantLevelApi.php b/src/Adyen/Service/Management/PaymentMethodsMerchantLevelApi.php index f8b7cc0b0..5c57f0e10 100644 --- a/src/Adyen/Service/Management/PaymentMethodsMerchantLevelApi.php +++ b/src/Adyen/Service/Management/PaymentMethodsMerchantLevelApi.php @@ -49,7 +49,7 @@ public function __construct(Client $client) * @throws AdyenException */ - public function addApplePayDomain(string $merchantId, string $paymentMethodId, \Adyen\Model\Management\ApplePayInfo $applePayInfo, array $requestOptions = null) + public function addApplePayDomain(string $merchantId, string $paymentMethodId, \Adyen\Model\Management\ApplePayInfo $applePayInfo, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{paymentMethodId}'], [$merchantId, $paymentMethodId], "/merchants/{merchantId}/paymentMethodSettings/{paymentMethodId}/addApplePayDomains"); $this->requestHttp($endpoint, strtolower('POST'), (array) $applePayInfo->jsonSerialize(), $requestOptions); @@ -63,7 +63,7 @@ public function addApplePayDomain(string $merchantId, string $paymentMethodId, \ * @return \Adyen\Model\Management\PaymentMethodResponse * @throws AdyenException */ - public function getAllPaymentMethods(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\PaymentMethodResponse + public function getAllPaymentMethods(string $merchantId, ?array $requestOptions = null): \Adyen\Model\Management\PaymentMethodResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/paymentMethodSettings"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -79,7 +79,7 @@ public function getAllPaymentMethods(string $merchantId, array $requestOptions = * @return \Adyen\Model\Management\ApplePayInfo * @throws AdyenException */ - public function getApplePayDomains(string $merchantId, string $paymentMethodId, array $requestOptions = null): \Adyen\Model\Management\ApplePayInfo + public function getApplePayDomains(string $merchantId, string $paymentMethodId, ?array $requestOptions = null): \Adyen\Model\Management\ApplePayInfo { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{paymentMethodId}'], [$merchantId, $paymentMethodId], "/merchants/{merchantId}/paymentMethodSettings/{paymentMethodId}/getApplePayDomains"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -95,7 +95,7 @@ public function getApplePayDomains(string $merchantId, string $paymentMethodId, * @return \Adyen\Model\Management\PaymentMethod * @throws AdyenException */ - public function getPaymentMethodDetails(string $merchantId, string $paymentMethodId, array $requestOptions = null): \Adyen\Model\Management\PaymentMethod + public function getPaymentMethodDetails(string $merchantId, string $paymentMethodId, ?array $requestOptions = null): \Adyen\Model\Management\PaymentMethod { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{paymentMethodId}'], [$merchantId, $paymentMethodId], "/merchants/{merchantId}/paymentMethodSettings/{paymentMethodId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -111,7 +111,7 @@ public function getPaymentMethodDetails(string $merchantId, string $paymentMetho * @return \Adyen\Model\Management\PaymentMethod * @throws AdyenException */ - public function requestPaymentMethod(string $merchantId, \Adyen\Model\Management\PaymentMethodSetupInfo $paymentMethodSetupInfo, array $requestOptions = null): \Adyen\Model\Management\PaymentMethod + public function requestPaymentMethod(string $merchantId, \Adyen\Model\Management\PaymentMethodSetupInfo $paymentMethodSetupInfo, ?array $requestOptions = null): \Adyen\Model\Management\PaymentMethod { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/paymentMethodSettings"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentMethodSetupInfo->jsonSerialize(), $requestOptions); @@ -128,7 +128,7 @@ public function requestPaymentMethod(string $merchantId, \Adyen\Model\Management * @return \Adyen\Model\Management\PaymentMethod * @throws AdyenException */ - public function updatePaymentMethod(string $merchantId, string $paymentMethodId, \Adyen\Model\Management\UpdatePaymentMethodInfo $updatePaymentMethodInfo, array $requestOptions = null): \Adyen\Model\Management\PaymentMethod + public function updatePaymentMethod(string $merchantId, string $paymentMethodId, \Adyen\Model\Management\UpdatePaymentMethodInfo $updatePaymentMethodInfo, ?array $requestOptions = null): \Adyen\Model\Management\PaymentMethod { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{paymentMethodId}'], [$merchantId, $paymentMethodId], "/merchants/{merchantId}/paymentMethodSettings/{paymentMethodId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updatePaymentMethodInfo->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/PayoutSettingsMerchantLevelApi.php b/src/Adyen/Service/Management/PayoutSettingsMerchantLevelApi.php index efff80b67..cd2c7a681 100644 --- a/src/Adyen/Service/Management/PayoutSettingsMerchantLevelApi.php +++ b/src/Adyen/Service/Management/PayoutSettingsMerchantLevelApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\PayoutSettings * @throws AdyenException */ - public function addPayoutSetting(string $merchantId, \Adyen\Model\Management\PayoutSettingsRequest $payoutSettingsRequest, array $requestOptions = null): \Adyen\Model\Management\PayoutSettings + public function addPayoutSetting(string $merchantId, \Adyen\Model\Management\PayoutSettingsRequest $payoutSettingsRequest, ?array $requestOptions = null): \Adyen\Model\Management\PayoutSettings { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/payoutSettings"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $payoutSettingsRequest->jsonSerialize(), $requestOptions); @@ -64,7 +64,7 @@ public function addPayoutSetting(string $merchantId, \Adyen\Model\Management\Pay * @throws AdyenException */ - public function deletePayoutSetting(string $merchantId, string $payoutSettingsId, array $requestOptions = null) + public function deletePayoutSetting(string $merchantId, string $payoutSettingsId, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{payoutSettingsId}'], [$merchantId, $payoutSettingsId], "/merchants/{merchantId}/payoutSettings/{payoutSettingsId}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); @@ -79,7 +79,7 @@ public function deletePayoutSetting(string $merchantId, string $payoutSettingsId * @return \Adyen\Model\Management\PayoutSettings * @throws AdyenException */ - public function getPayoutSetting(string $merchantId, string $payoutSettingsId, array $requestOptions = null): \Adyen\Model\Management\PayoutSettings + public function getPayoutSetting(string $merchantId, string $payoutSettingsId, ?array $requestOptions = null): \Adyen\Model\Management\PayoutSettings { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{payoutSettingsId}'], [$merchantId, $payoutSettingsId], "/merchants/{merchantId}/payoutSettings/{payoutSettingsId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -94,7 +94,7 @@ public function getPayoutSetting(string $merchantId, string $payoutSettingsId, a * @return \Adyen\Model\Management\PayoutSettingsResponse * @throws AdyenException */ - public function listPayoutSettings(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\PayoutSettingsResponse + public function listPayoutSettings(string $merchantId, ?array $requestOptions = null): \Adyen\Model\Management\PayoutSettingsResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/payoutSettings"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -111,7 +111,7 @@ public function listPayoutSettings(string $merchantId, array $requestOptions = n * @return \Adyen\Model\Management\PayoutSettings * @throws AdyenException */ - public function updatePayoutSetting(string $merchantId, string $payoutSettingsId, \Adyen\Model\Management\UpdatePayoutSettingsRequest $updatePayoutSettingsRequest, array $requestOptions = null): \Adyen\Model\Management\PayoutSettings + public function updatePayoutSetting(string $merchantId, string $payoutSettingsId, \Adyen\Model\Management\UpdatePayoutSettingsRequest $updatePayoutSettingsRequest, ?array $requestOptions = null): \Adyen\Model\Management\PayoutSettings { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{payoutSettingsId}'], [$merchantId, $payoutSettingsId], "/merchants/{merchantId}/payoutSettings/{payoutSettingsId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updatePayoutSettingsRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/SplitConfigurationMerchantLevelApi.php b/src/Adyen/Service/Management/SplitConfigurationMerchantLevelApi.php index 6f9355462..c9cd480f8 100644 --- a/src/Adyen/Service/Management/SplitConfigurationMerchantLevelApi.php +++ b/src/Adyen/Service/Management/SplitConfigurationMerchantLevelApi.php @@ -49,7 +49,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\SplitConfiguration * @throws AdyenException */ - public function createRule(string $merchantId, string $splitConfigurationId, \Adyen\Model\Management\SplitConfigurationRule $splitConfigurationRule, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration + public function createRule(string $merchantId, string $splitConfigurationId, \Adyen\Model\Management\SplitConfigurationRule $splitConfigurationRule, ?array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}'], [$merchantId, $splitConfigurationId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $splitConfigurationRule->jsonSerialize(), $requestOptions); @@ -65,7 +65,7 @@ public function createRule(string $merchantId, string $splitConfigurationId, \Ad * @return \Adyen\Model\Management\SplitConfiguration * @throws AdyenException */ - public function createSplitConfiguration(string $merchantId, \Adyen\Model\Management\SplitConfiguration $splitConfiguration, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration + public function createSplitConfiguration(string $merchantId, \Adyen\Model\Management\SplitConfiguration $splitConfiguration, ?array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/splitConfigurations"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $splitConfiguration->jsonSerialize(), $requestOptions); @@ -81,7 +81,7 @@ public function createSplitConfiguration(string $merchantId, \Adyen\Model\Manage * @return \Adyen\Model\Management\SplitConfiguration * @throws AdyenException */ - public function deleteSplitConfiguration(string $merchantId, string $splitConfigurationId, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration + public function deleteSplitConfiguration(string $merchantId, string $splitConfigurationId, ?array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}'], [$merchantId, $splitConfigurationId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}"); $response = $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); @@ -98,7 +98,7 @@ public function deleteSplitConfiguration(string $merchantId, string $splitConfig * @return \Adyen\Model\Management\SplitConfiguration * @throws AdyenException */ - public function deleteSplitConfigurationRule(string $merchantId, string $splitConfigurationId, string $ruleId, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration + public function deleteSplitConfigurationRule(string $merchantId, string $splitConfigurationId, string $ruleId, ?array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}', '{ruleId}'], [$merchantId, $splitConfigurationId, $ruleId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}/rules/{ruleId}"); $response = $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); @@ -114,7 +114,7 @@ public function deleteSplitConfigurationRule(string $merchantId, string $splitCo * @return \Adyen\Model\Management\SplitConfiguration * @throws AdyenException */ - public function getSplitConfiguration(string $merchantId, string $splitConfigurationId, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration + public function getSplitConfiguration(string $merchantId, string $splitConfigurationId, ?array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}'], [$merchantId, $splitConfigurationId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -129,7 +129,7 @@ public function getSplitConfiguration(string $merchantId, string $splitConfigura * @return \Adyen\Model\Management\SplitConfigurationList * @throws AdyenException */ - public function listSplitConfigurations(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\SplitConfigurationList + public function listSplitConfigurations(string $merchantId, ?array $requestOptions = null): \Adyen\Model\Management\SplitConfigurationList { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/splitConfigurations"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -147,7 +147,7 @@ public function listSplitConfigurations(string $merchantId, array $requestOption * @return \Adyen\Model\Management\SplitConfiguration * @throws AdyenException */ - public function updateSplitConditions(string $merchantId, string $splitConfigurationId, string $ruleId, \Adyen\Model\Management\UpdateSplitConfigurationRuleRequest $updateSplitConfigurationRuleRequest, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration + public function updateSplitConditions(string $merchantId, string $splitConfigurationId, string $ruleId, \Adyen\Model\Management\UpdateSplitConfigurationRuleRequest $updateSplitConfigurationRuleRequest, ?array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}', '{ruleId}'], [$merchantId, $splitConfigurationId, $ruleId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}/rules/{ruleId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateSplitConfigurationRuleRequest->jsonSerialize(), $requestOptions); @@ -164,7 +164,7 @@ public function updateSplitConditions(string $merchantId, string $splitConfigura * @return \Adyen\Model\Management\SplitConfiguration * @throws AdyenException */ - public function updateSplitConfigurationDescription(string $merchantId, string $splitConfigurationId, \Adyen\Model\Management\UpdateSplitConfigurationRequest $updateSplitConfigurationRequest, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration + public function updateSplitConfigurationDescription(string $merchantId, string $splitConfigurationId, \Adyen\Model\Management\UpdateSplitConfigurationRequest $updateSplitConfigurationRequest, ?array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}'], [$merchantId, $splitConfigurationId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateSplitConfigurationRequest->jsonSerialize(), $requestOptions); @@ -183,7 +183,7 @@ public function updateSplitConfigurationDescription(string $merchantId, string $ * @return \Adyen\Model\Management\SplitConfiguration * @throws AdyenException */ - public function updateSplitLogic(string $merchantId, string $splitConfigurationId, string $ruleId, string $splitLogicId, \Adyen\Model\Management\UpdateSplitConfigurationLogicRequest $updateSplitConfigurationLogicRequest, array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration + public function updateSplitLogic(string $merchantId, string $splitConfigurationId, string $ruleId, string $splitLogicId, \Adyen\Model\Management\UpdateSplitConfigurationLogicRequest $updateSplitConfigurationLogicRequest, ?array $requestOptions = null): \Adyen\Model\Management\SplitConfiguration { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{splitConfigurationId}', '{ruleId}', '{splitLogicId}'], [$merchantId, $splitConfigurationId, $ruleId, $splitLogicId], "/merchants/{merchantId}/splitConfigurations/{splitConfigurationId}/rules/{ruleId}/splitLogic/{splitLogicId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateSplitConfigurationLogicRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/TerminalActionsCompanyLevelApi.php b/src/Adyen/Service/Management/TerminalActionsCompanyLevelApi.php index 1d92adca3..9695c266e 100644 --- a/src/Adyen/Service/Management/TerminalActionsCompanyLevelApi.php +++ b/src/Adyen/Service/Management/TerminalActionsCompanyLevelApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\ExternalTerminalAction * @throws AdyenException */ - public function getTerminalAction(string $companyId, string $actionId, array $requestOptions = null): \Adyen\Model\Management\ExternalTerminalAction + public function getTerminalAction(string $companyId, string $actionId, ?array $requestOptions = null): \Adyen\Model\Management\ExternalTerminalAction { $endpoint = $this->baseURL . str_replace(['{companyId}', '{actionId}'], [$companyId, $actionId], "/companies/{companyId}/terminalActions/{actionId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -63,7 +63,7 @@ public function getTerminalAction(string $companyId, string $actionId, array $re * @return \Adyen\Model\Management\ListExternalTerminalActionsResponse * @throws AdyenException */ - public function listTerminalActions(string $companyId, array $requestOptions = null): \Adyen\Model\Management\ListExternalTerminalActionsResponse + public function listTerminalActions(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\ListExternalTerminalActionsResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalActions"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); diff --git a/src/Adyen/Service/Management/TerminalActionsTerminalLevelApi.php b/src/Adyen/Service/Management/TerminalActionsTerminalLevelApi.php index 7e3281cb1..5ed52d4fa 100644 --- a/src/Adyen/Service/Management/TerminalActionsTerminalLevelApi.php +++ b/src/Adyen/Service/Management/TerminalActionsTerminalLevelApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\ScheduleTerminalActionsResponse * @throws AdyenException */ - public function createTerminalAction(\Adyen\Model\Management\ScheduleTerminalActionsRequest $scheduleTerminalActionsRequest, array $requestOptions = null): \Adyen\Model\Management\ScheduleTerminalActionsResponse + public function createTerminalAction(\Adyen\Model\Management\ScheduleTerminalActionsRequest $scheduleTerminalActionsRequest, ?array $requestOptions = null): \Adyen\Model\Management\ScheduleTerminalActionsResponse { $endpoint = $this->baseURL . "/terminals/scheduleActions"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $scheduleTerminalActionsRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/TerminalOrdersCompanyLevelApi.php b/src/Adyen/Service/Management/TerminalOrdersCompanyLevelApi.php index 2906edbd0..766f59b86 100644 --- a/src/Adyen/Service/Management/TerminalOrdersCompanyLevelApi.php +++ b/src/Adyen/Service/Management/TerminalOrdersCompanyLevelApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\TerminalOrder * @throws AdyenException */ - public function cancelOrder(string $companyId, string $orderId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder + public function cancelOrder(string $companyId, string $orderId, ?array $requestOptions = null): \Adyen\Model\Management\TerminalOrder { $endpoint = $this->baseURL . str_replace(['{companyId}', '{orderId}'], [$companyId, $orderId], "/companies/{companyId}/terminalOrders/{orderId}/cancel"); $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); @@ -64,7 +64,7 @@ public function cancelOrder(string $companyId, string $orderId, array $requestOp * @return \Adyen\Model\Management\TerminalOrder * @throws AdyenException */ - public function createOrder(string $companyId, \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder + public function createOrder(string $companyId, \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest, ?array $requestOptions = null): \Adyen\Model\Management\TerminalOrder { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalOrders"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $terminalOrderRequest->jsonSerialize(), $requestOptions); @@ -80,7 +80,7 @@ public function createOrder(string $companyId, \Adyen\Model\Management\TerminalO * @return \Adyen\Model\Management\ShippingLocation * @throws AdyenException */ - public function createShippingLocation(string $companyId, \Adyen\Model\Management\ShippingLocation $shippingLocation, array $requestOptions = null): \Adyen\Model\Management\ShippingLocation + public function createShippingLocation(string $companyId, \Adyen\Model\Management\ShippingLocation $shippingLocation, ?array $requestOptions = null): \Adyen\Model\Management\ShippingLocation { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/shippingLocations"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $shippingLocation->jsonSerialize(), $requestOptions); @@ -96,7 +96,7 @@ public function createShippingLocation(string $companyId, \Adyen\Model\Managemen * @return \Adyen\Model\Management\TerminalOrder * @throws AdyenException */ - public function getOrder(string $companyId, string $orderId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder + public function getOrder(string $companyId, string $orderId, ?array $requestOptions = null): \Adyen\Model\Management\TerminalOrder { $endpoint = $this->baseURL . str_replace(['{companyId}', '{orderId}'], [$companyId, $orderId], "/companies/{companyId}/terminalOrders/{orderId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -111,7 +111,7 @@ public function getOrder(string $companyId, string $orderId, array $requestOptio * @return \Adyen\Model\Management\BillingEntitiesResponse * @throws AdyenException */ - public function listBillingEntities(string $companyId, array $requestOptions = null): \Adyen\Model\Management\BillingEntitiesResponse + public function listBillingEntities(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\BillingEntitiesResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/billingEntities"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -126,7 +126,7 @@ public function listBillingEntities(string $companyId, array $requestOptions = n * @return \Adyen\Model\Management\TerminalOrdersResponse * @throws AdyenException */ - public function listOrders(string $companyId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrdersResponse + public function listOrders(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\TerminalOrdersResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalOrders"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -141,7 +141,7 @@ public function listOrders(string $companyId, array $requestOptions = null): \Ad * @return \Adyen\Model\Management\ShippingLocationsResponse * @throws AdyenException */ - public function listShippingLocations(string $companyId, array $requestOptions = null): \Adyen\Model\Management\ShippingLocationsResponse + public function listShippingLocations(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\ShippingLocationsResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/shippingLocations"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -156,7 +156,7 @@ public function listShippingLocations(string $companyId, array $requestOptions = * @return \Adyen\Model\Management\TerminalModelsResponse * @throws AdyenException */ - public function listTerminalModels(string $companyId, array $requestOptions = null): \Adyen\Model\Management\TerminalModelsResponse + public function listTerminalModels(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\TerminalModelsResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalModels"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -171,7 +171,7 @@ public function listTerminalModels(string $companyId, array $requestOptions = nu * @return \Adyen\Model\Management\TerminalProductsResponse * @throws AdyenException */ - public function listTerminalProducts(string $companyId, array $requestOptions = null): \Adyen\Model\Management\TerminalProductsResponse + public function listTerminalProducts(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\TerminalProductsResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalProducts"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -188,7 +188,7 @@ public function listTerminalProducts(string $companyId, array $requestOptions = * @return \Adyen\Model\Management\TerminalOrder * @throws AdyenException */ - public function updateOrder(string $companyId, string $orderId, \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder + public function updateOrder(string $companyId, string $orderId, \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest, ?array $requestOptions = null): \Adyen\Model\Management\TerminalOrder { $endpoint = $this->baseURL . str_replace(['{companyId}', '{orderId}'], [$companyId, $orderId], "/companies/{companyId}/terminalOrders/{orderId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $terminalOrderRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/TerminalOrdersMerchantLevelApi.php b/src/Adyen/Service/Management/TerminalOrdersMerchantLevelApi.php index 40bc63cc9..fb8ec589f 100644 --- a/src/Adyen/Service/Management/TerminalOrdersMerchantLevelApi.php +++ b/src/Adyen/Service/Management/TerminalOrdersMerchantLevelApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\TerminalOrder * @throws AdyenException */ - public function cancelOrder(string $merchantId, string $orderId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder + public function cancelOrder(string $merchantId, string $orderId, ?array $requestOptions = null): \Adyen\Model\Management\TerminalOrder { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{orderId}'], [$merchantId, $orderId], "/merchants/{merchantId}/terminalOrders/{orderId}/cancel"); $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); @@ -64,7 +64,7 @@ public function cancelOrder(string $merchantId, string $orderId, array $requestO * @return \Adyen\Model\Management\TerminalOrder * @throws AdyenException */ - public function createOrder(string $merchantId, \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder + public function createOrder(string $merchantId, \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest, ?array $requestOptions = null): \Adyen\Model\Management\TerminalOrder { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/terminalOrders"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $terminalOrderRequest->jsonSerialize(), $requestOptions); @@ -80,7 +80,7 @@ public function createOrder(string $merchantId, \Adyen\Model\Management\Terminal * @return \Adyen\Model\Management\ShippingLocation * @throws AdyenException */ - public function createShippingLocation(string $merchantId, \Adyen\Model\Management\ShippingLocation $shippingLocation, array $requestOptions = null): \Adyen\Model\Management\ShippingLocation + public function createShippingLocation(string $merchantId, \Adyen\Model\Management\ShippingLocation $shippingLocation, ?array $requestOptions = null): \Adyen\Model\Management\ShippingLocation { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/shippingLocations"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $shippingLocation->jsonSerialize(), $requestOptions); @@ -96,7 +96,7 @@ public function createShippingLocation(string $merchantId, \Adyen\Model\Manageme * @return \Adyen\Model\Management\TerminalOrder * @throws AdyenException */ - public function getOrder(string $merchantId, string $orderId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder + public function getOrder(string $merchantId, string $orderId, ?array $requestOptions = null): \Adyen\Model\Management\TerminalOrder { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{orderId}'], [$merchantId, $orderId], "/merchants/{merchantId}/terminalOrders/{orderId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -111,7 +111,7 @@ public function getOrder(string $merchantId, string $orderId, array $requestOpti * @return \Adyen\Model\Management\BillingEntitiesResponse * @throws AdyenException */ - public function listBillingEntities(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\BillingEntitiesResponse + public function listBillingEntities(string $merchantId, ?array $requestOptions = null): \Adyen\Model\Management\BillingEntitiesResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/billingEntities"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -126,7 +126,7 @@ public function listBillingEntities(string $merchantId, array $requestOptions = * @return \Adyen\Model\Management\TerminalOrdersResponse * @throws AdyenException */ - public function listOrders(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\TerminalOrdersResponse + public function listOrders(string $merchantId, ?array $requestOptions = null): \Adyen\Model\Management\TerminalOrdersResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/terminalOrders"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -141,7 +141,7 @@ public function listOrders(string $merchantId, array $requestOptions = null): \A * @return \Adyen\Model\Management\ShippingLocationsResponse * @throws AdyenException */ - public function listShippingLocations(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\ShippingLocationsResponse + public function listShippingLocations(string $merchantId, ?array $requestOptions = null): \Adyen\Model\Management\ShippingLocationsResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/shippingLocations"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -156,7 +156,7 @@ public function listShippingLocations(string $merchantId, array $requestOptions * @return \Adyen\Model\Management\TerminalModelsResponse * @throws AdyenException */ - public function listTerminalModels(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\TerminalModelsResponse + public function listTerminalModels(string $merchantId, ?array $requestOptions = null): \Adyen\Model\Management\TerminalModelsResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/terminalModels"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -171,7 +171,7 @@ public function listTerminalModels(string $merchantId, array $requestOptions = n * @return \Adyen\Model\Management\TerminalProductsResponse * @throws AdyenException */ - public function listTerminalProducts(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\TerminalProductsResponse + public function listTerminalProducts(string $merchantId, ?array $requestOptions = null): \Adyen\Model\Management\TerminalProductsResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/terminalProducts"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -188,7 +188,7 @@ public function listTerminalProducts(string $merchantId, array $requestOptions = * @return \Adyen\Model\Management\TerminalOrder * @throws AdyenException */ - public function updateOrder(string $merchantId, string $orderId, \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest, array $requestOptions = null): \Adyen\Model\Management\TerminalOrder + public function updateOrder(string $merchantId, string $orderId, \Adyen\Model\Management\TerminalOrderRequest $terminalOrderRequest, ?array $requestOptions = null): \Adyen\Model\Management\TerminalOrder { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{orderId}'], [$merchantId, $orderId], "/merchants/{merchantId}/terminalOrders/{orderId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $terminalOrderRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/TerminalSettingsCompanyLevelApi.php b/src/Adyen/Service/Management/TerminalSettingsCompanyLevelApi.php index 19e08f853..f3541c33d 100644 --- a/src/Adyen/Service/Management/TerminalSettingsCompanyLevelApi.php +++ b/src/Adyen/Service/Management/TerminalSettingsCompanyLevelApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\Logo * @throws AdyenException */ - public function getTerminalLogo(string $companyId, array $requestOptions = null): \Adyen\Model\Management\Logo + public function getTerminalLogo(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\Logo { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalLogos"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -62,7 +62,7 @@ public function getTerminalLogo(string $companyId, array $requestOptions = null) * @return \Adyen\Model\Management\TerminalSettings * @throws AdyenException */ - public function getTerminalSettings(string $companyId, array $requestOptions = null): \Adyen\Model\Management\TerminalSettings + public function getTerminalSettings(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\TerminalSettings { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalSettings"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -78,7 +78,7 @@ public function getTerminalSettings(string $companyId, array $requestOptions = n * @return \Adyen\Model\Management\Logo * @throws AdyenException */ - public function updateTerminalLogo(string $companyId, \Adyen\Model\Management\Logo $logo, array $requestOptions = null): \Adyen\Model\Management\Logo + public function updateTerminalLogo(string $companyId, \Adyen\Model\Management\Logo $logo, ?array $requestOptions = null): \Adyen\Model\Management\Logo { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalLogos"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $logo->jsonSerialize(), $requestOptions); @@ -94,7 +94,7 @@ public function updateTerminalLogo(string $companyId, \Adyen\Model\Management\Lo * @return \Adyen\Model\Management\TerminalSettings * @throws AdyenException */ - public function updateTerminalSettings(string $companyId, \Adyen\Model\Management\TerminalSettings $terminalSettings, array $requestOptions = null): \Adyen\Model\Management\TerminalSettings + public function updateTerminalSettings(string $companyId, \Adyen\Model\Management\TerminalSettings $terminalSettings, ?array $requestOptions = null): \Adyen\Model\Management\TerminalSettings { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/terminalSettings"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $terminalSettings->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/TerminalSettingsMerchantLevelApi.php b/src/Adyen/Service/Management/TerminalSettingsMerchantLevelApi.php index d8b226de0..d0c4e6a27 100644 --- a/src/Adyen/Service/Management/TerminalSettingsMerchantLevelApi.php +++ b/src/Adyen/Service/Management/TerminalSettingsMerchantLevelApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\Logo * @throws AdyenException */ - public function getTerminalLogo(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\Logo + public function getTerminalLogo(string $merchantId, ?array $requestOptions = null): \Adyen\Model\Management\Logo { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/terminalLogos"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -62,7 +62,7 @@ public function getTerminalLogo(string $merchantId, array $requestOptions = null * @return \Adyen\Model\Management\TerminalSettings * @throws AdyenException */ - public function getTerminalSettings(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\TerminalSettings + public function getTerminalSettings(string $merchantId, ?array $requestOptions = null): \Adyen\Model\Management\TerminalSettings { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/terminalSettings"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -78,7 +78,7 @@ public function getTerminalSettings(string $merchantId, array $requestOptions = * @return \Adyen\Model\Management\Logo * @throws AdyenException */ - public function updateTerminalLogo(string $merchantId, \Adyen\Model\Management\Logo $logo, array $requestOptions = null): \Adyen\Model\Management\Logo + public function updateTerminalLogo(string $merchantId, \Adyen\Model\Management\Logo $logo, ?array $requestOptions = null): \Adyen\Model\Management\Logo { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/terminalLogos"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $logo->jsonSerialize(), $requestOptions); @@ -94,7 +94,7 @@ public function updateTerminalLogo(string $merchantId, \Adyen\Model\Management\L * @return \Adyen\Model\Management\TerminalSettings * @throws AdyenException */ - public function updateTerminalSettings(string $merchantId, \Adyen\Model\Management\TerminalSettings $terminalSettings, array $requestOptions = null): \Adyen\Model\Management\TerminalSettings + public function updateTerminalSettings(string $merchantId, \Adyen\Model\Management\TerminalSettings $terminalSettings, ?array $requestOptions = null): \Adyen\Model\Management\TerminalSettings { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/terminalSettings"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $terminalSettings->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/TerminalSettingsStoreLevelApi.php b/src/Adyen/Service/Management/TerminalSettingsStoreLevelApi.php index 536212718..635b9f297 100644 --- a/src/Adyen/Service/Management/TerminalSettingsStoreLevelApi.php +++ b/src/Adyen/Service/Management/TerminalSettingsStoreLevelApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\Logo * @throws AdyenException */ - public function getTerminalLogo(string $merchantId, string $reference, array $requestOptions = null): \Adyen\Model\Management\Logo + public function getTerminalLogo(string $merchantId, string $reference, ?array $requestOptions = null): \Adyen\Model\Management\Logo { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{reference}'], [$merchantId, $reference], "/merchants/{merchantId}/stores/{reference}/terminalLogos"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -63,7 +63,7 @@ public function getTerminalLogo(string $merchantId, string $reference, array $re * @return \Adyen\Model\Management\Logo * @throws AdyenException */ - public function getTerminalLogoByStoreId(string $storeId, array $requestOptions = null): \Adyen\Model\Management\Logo + public function getTerminalLogoByStoreId(string $storeId, ?array $requestOptions = null): \Adyen\Model\Management\Logo { $endpoint = $this->baseURL . str_replace(['{storeId}'], [$storeId], "/stores/{storeId}/terminalLogos"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -79,7 +79,7 @@ public function getTerminalLogoByStoreId(string $storeId, array $requestOptions * @return \Adyen\Model\Management\TerminalSettings * @throws AdyenException */ - public function getTerminalSettings(string $merchantId, string $reference, array $requestOptions = null): \Adyen\Model\Management\TerminalSettings + public function getTerminalSettings(string $merchantId, string $reference, ?array $requestOptions = null): \Adyen\Model\Management\TerminalSettings { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{reference}'], [$merchantId, $reference], "/merchants/{merchantId}/stores/{reference}/terminalSettings"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -94,7 +94,7 @@ public function getTerminalSettings(string $merchantId, string $reference, array * @return \Adyen\Model\Management\TerminalSettings * @throws AdyenException */ - public function getTerminalSettingsByStoreId(string $storeId, array $requestOptions = null): \Adyen\Model\Management\TerminalSettings + public function getTerminalSettingsByStoreId(string $storeId, ?array $requestOptions = null): \Adyen\Model\Management\TerminalSettings { $endpoint = $this->baseURL . str_replace(['{storeId}'], [$storeId], "/stores/{storeId}/terminalSettings"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -111,7 +111,7 @@ public function getTerminalSettingsByStoreId(string $storeId, array $requestOpti * @return \Adyen\Model\Management\Logo * @throws AdyenException */ - public function updateTerminalLogo(string $merchantId, string $reference, \Adyen\Model\Management\Logo $logo, array $requestOptions = null): \Adyen\Model\Management\Logo + public function updateTerminalLogo(string $merchantId, string $reference, \Adyen\Model\Management\Logo $logo, ?array $requestOptions = null): \Adyen\Model\Management\Logo { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{reference}'], [$merchantId, $reference], "/merchants/{merchantId}/stores/{reference}/terminalLogos"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $logo->jsonSerialize(), $requestOptions); @@ -127,7 +127,7 @@ public function updateTerminalLogo(string $merchantId, string $reference, \Adyen * @return \Adyen\Model\Management\Logo * @throws AdyenException */ - public function updateTerminalLogoByStoreId(string $storeId, \Adyen\Model\Management\Logo $logo, array $requestOptions = null): \Adyen\Model\Management\Logo + public function updateTerminalLogoByStoreId(string $storeId, \Adyen\Model\Management\Logo $logo, ?array $requestOptions = null): \Adyen\Model\Management\Logo { $endpoint = $this->baseURL . str_replace(['{storeId}'], [$storeId], "/stores/{storeId}/terminalLogos"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $logo->jsonSerialize(), $requestOptions); @@ -144,7 +144,7 @@ public function updateTerminalLogoByStoreId(string $storeId, \Adyen\Model\Manage * @return \Adyen\Model\Management\TerminalSettings * @throws AdyenException */ - public function updateTerminalSettings(string $merchantId, string $reference, \Adyen\Model\Management\TerminalSettings $terminalSettings, array $requestOptions = null): \Adyen\Model\Management\TerminalSettings + public function updateTerminalSettings(string $merchantId, string $reference, \Adyen\Model\Management\TerminalSettings $terminalSettings, ?array $requestOptions = null): \Adyen\Model\Management\TerminalSettings { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{reference}'], [$merchantId, $reference], "/merchants/{merchantId}/stores/{reference}/terminalSettings"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $terminalSettings->jsonSerialize(), $requestOptions); @@ -160,7 +160,7 @@ public function updateTerminalSettings(string $merchantId, string $reference, \A * @return \Adyen\Model\Management\TerminalSettings * @throws AdyenException */ - public function updateTerminalSettingsByStoreId(string $storeId, \Adyen\Model\Management\TerminalSettings $terminalSettings, array $requestOptions = null): \Adyen\Model\Management\TerminalSettings + public function updateTerminalSettingsByStoreId(string $storeId, \Adyen\Model\Management\TerminalSettings $terminalSettings, ?array $requestOptions = null): \Adyen\Model\Management\TerminalSettings { $endpoint = $this->baseURL . str_replace(['{storeId}'], [$storeId], "/stores/{storeId}/terminalSettings"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $terminalSettings->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/TerminalSettingsTerminalLevelApi.php b/src/Adyen/Service/Management/TerminalSettingsTerminalLevelApi.php index 9d6dd5881..27edbc7b1 100644 --- a/src/Adyen/Service/Management/TerminalSettingsTerminalLevelApi.php +++ b/src/Adyen/Service/Management/TerminalSettingsTerminalLevelApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\Logo * @throws AdyenException */ - public function getTerminalLogo(string $terminalId, array $requestOptions = null): \Adyen\Model\Management\Logo + public function getTerminalLogo(string $terminalId, ?array $requestOptions = null): \Adyen\Model\Management\Logo { $endpoint = $this->baseURL . str_replace(['{terminalId}'], [$terminalId], "/terminals/{terminalId}/terminalLogos"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -62,7 +62,7 @@ public function getTerminalLogo(string $terminalId, array $requestOptions = null * @return \Adyen\Model\Management\TerminalSettings * @throws AdyenException */ - public function getTerminalSettings(string $terminalId, array $requestOptions = null): \Adyen\Model\Management\TerminalSettings + public function getTerminalSettings(string $terminalId, ?array $requestOptions = null): \Adyen\Model\Management\TerminalSettings { $endpoint = $this->baseURL . str_replace(['{terminalId}'], [$terminalId], "/terminals/{terminalId}/terminalSettings"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -78,7 +78,7 @@ public function getTerminalSettings(string $terminalId, array $requestOptions = * @return \Adyen\Model\Management\Logo * @throws AdyenException */ - public function updateLogo(string $terminalId, \Adyen\Model\Management\Logo $logo, array $requestOptions = null): \Adyen\Model\Management\Logo + public function updateLogo(string $terminalId, \Adyen\Model\Management\Logo $logo, ?array $requestOptions = null): \Adyen\Model\Management\Logo { $endpoint = $this->baseURL . str_replace(['{terminalId}'], [$terminalId], "/terminals/{terminalId}/terminalLogos"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $logo->jsonSerialize(), $requestOptions); @@ -94,7 +94,7 @@ public function updateLogo(string $terminalId, \Adyen\Model\Management\Logo $log * @return \Adyen\Model\Management\TerminalSettings * @throws AdyenException */ - public function updateTerminalSettings(string $terminalId, \Adyen\Model\Management\TerminalSettings $terminalSettings, array $requestOptions = null): \Adyen\Model\Management\TerminalSettings + public function updateTerminalSettings(string $terminalId, \Adyen\Model\Management\TerminalSettings $terminalSettings, ?array $requestOptions = null): \Adyen\Model\Management\TerminalSettings { $endpoint = $this->baseURL . str_replace(['{terminalId}'], [$terminalId], "/terminals/{terminalId}/terminalSettings"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $terminalSettings->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/TerminalsTerminalLevelApi.php b/src/Adyen/Service/Management/TerminalsTerminalLevelApi.php index 8a7c5e731..66db0d719 100644 --- a/src/Adyen/Service/Management/TerminalsTerminalLevelApi.php +++ b/src/Adyen/Service/Management/TerminalsTerminalLevelApi.php @@ -46,7 +46,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\ListTerminalsResponse * @throws AdyenException */ - public function listTerminals(array $requestOptions = null): \Adyen\Model\Management\ListTerminalsResponse + public function listTerminals(?array $requestOptions = null): \Adyen\Model\Management\ListTerminalsResponse { $endpoint = $this->baseURL . "/terminals"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -62,7 +62,7 @@ public function listTerminals(array $requestOptions = null): \Adyen\Model\Manage * @throws AdyenException */ - public function reassignTerminal(string $terminalId, \Adyen\Model\Management\TerminalReassignmentRequest $terminalReassignmentRequest, array $requestOptions = null) + public function reassignTerminal(string $terminalId, \Adyen\Model\Management\TerminalReassignmentRequest $terminalReassignmentRequest, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{terminalId}'], [$terminalId], "/terminals/{terminalId}/reassign"); $this->requestHttp($endpoint, strtolower('POST'), (array) $terminalReassignmentRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/UsersCompanyLevelApi.php b/src/Adyen/Service/Management/UsersCompanyLevelApi.php index 30896eea8..3f3b184a8 100644 --- a/src/Adyen/Service/Management/UsersCompanyLevelApi.php +++ b/src/Adyen/Service/Management/UsersCompanyLevelApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\CreateCompanyUserResponse * @throws AdyenException */ - public function createNewUser(string $companyId, \Adyen\Model\Management\CreateCompanyUserRequest $createCompanyUserRequest, array $requestOptions = null): \Adyen\Model\Management\CreateCompanyUserResponse + public function createNewUser(string $companyId, \Adyen\Model\Management\CreateCompanyUserRequest $createCompanyUserRequest, ?array $requestOptions = null): \Adyen\Model\Management\CreateCompanyUserResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/users"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createCompanyUserRequest->jsonSerialize(), $requestOptions); @@ -64,7 +64,7 @@ public function createNewUser(string $companyId, \Adyen\Model\Management\CreateC * @return \Adyen\Model\Management\CompanyUser * @throws AdyenException */ - public function getUserDetails(string $companyId, string $userId, array $requestOptions = null): \Adyen\Model\Management\CompanyUser + public function getUserDetails(string $companyId, string $userId, ?array $requestOptions = null): \Adyen\Model\Management\CompanyUser { $endpoint = $this->baseURL . str_replace(['{companyId}', '{userId}'], [$companyId, $userId], "/companies/{companyId}/users/{userId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -79,7 +79,7 @@ public function getUserDetails(string $companyId, string $userId, array $request * @return \Adyen\Model\Management\ListCompanyUsersResponse * @throws AdyenException */ - public function listUsers(string $companyId, array $requestOptions = null): \Adyen\Model\Management\ListCompanyUsersResponse + public function listUsers(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\ListCompanyUsersResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/users"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -96,7 +96,7 @@ public function listUsers(string $companyId, array $requestOptions = null): \Ady * @return \Adyen\Model\Management\CompanyUser * @throws AdyenException */ - public function updateUserDetails(string $companyId, string $userId, \Adyen\Model\Management\UpdateCompanyUserRequest $updateCompanyUserRequest, array $requestOptions = null): \Adyen\Model\Management\CompanyUser + public function updateUserDetails(string $companyId, string $userId, \Adyen\Model\Management\UpdateCompanyUserRequest $updateCompanyUserRequest, ?array $requestOptions = null): \Adyen\Model\Management\CompanyUser { $endpoint = $this->baseURL . str_replace(['{companyId}', '{userId}'], [$companyId, $userId], "/companies/{companyId}/users/{userId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateCompanyUserRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/UsersMerchantLevelApi.php b/src/Adyen/Service/Management/UsersMerchantLevelApi.php index ec10a6f75..c420776fd 100644 --- a/src/Adyen/Service/Management/UsersMerchantLevelApi.php +++ b/src/Adyen/Service/Management/UsersMerchantLevelApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\CreateUserResponse * @throws AdyenException */ - public function createNewUser(string $merchantId, \Adyen\Model\Management\CreateMerchantUserRequest $createMerchantUserRequest, array $requestOptions = null): \Adyen\Model\Management\CreateUserResponse + public function createNewUser(string $merchantId, \Adyen\Model\Management\CreateMerchantUserRequest $createMerchantUserRequest, ?array $requestOptions = null): \Adyen\Model\Management\CreateUserResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/users"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createMerchantUserRequest->jsonSerialize(), $requestOptions); @@ -64,7 +64,7 @@ public function createNewUser(string $merchantId, \Adyen\Model\Management\Create * @return \Adyen\Model\Management\User * @throws AdyenException */ - public function getUserDetails(string $merchantId, string $userId, array $requestOptions = null): \Adyen\Model\Management\User + public function getUserDetails(string $merchantId, string $userId, ?array $requestOptions = null): \Adyen\Model\Management\User { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{userId}'], [$merchantId, $userId], "/merchants/{merchantId}/users/{userId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -79,7 +79,7 @@ public function getUserDetails(string $merchantId, string $userId, array $reques * @return \Adyen\Model\Management\ListMerchantUsersResponse * @throws AdyenException */ - public function listUsers(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\ListMerchantUsersResponse + public function listUsers(string $merchantId, ?array $requestOptions = null): \Adyen\Model\Management\ListMerchantUsersResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/users"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -96,7 +96,7 @@ public function listUsers(string $merchantId, array $requestOptions = null): \Ad * @return \Adyen\Model\Management\User * @throws AdyenException */ - public function updateUser(string $merchantId, string $userId, \Adyen\Model\Management\UpdateMerchantUserRequest $updateMerchantUserRequest, array $requestOptions = null): \Adyen\Model\Management\User + public function updateUser(string $merchantId, string $userId, \Adyen\Model\Management\UpdateMerchantUserRequest $updateMerchantUserRequest, ?array $requestOptions = null): \Adyen\Model\Management\User { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{userId}'], [$merchantId, $userId], "/merchants/{merchantId}/users/{userId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateMerchantUserRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/WebhooksCompanyLevelApi.php b/src/Adyen/Service/Management/WebhooksCompanyLevelApi.php index cfe85a383..5453bff02 100644 --- a/src/Adyen/Service/Management/WebhooksCompanyLevelApi.php +++ b/src/Adyen/Service/Management/WebhooksCompanyLevelApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\GenerateHmacKeyResponse * @throws AdyenException */ - public function generateHmacKey(string $companyId, string $webhookId, array $requestOptions = null): \Adyen\Model\Management\GenerateHmacKeyResponse + public function generateHmacKey(string $companyId, string $webhookId, ?array $requestOptions = null): \Adyen\Model\Management\GenerateHmacKeyResponse { $endpoint = $this->baseURL . str_replace(['{companyId}', '{webhookId}'], [$companyId, $webhookId], "/companies/{companyId}/webhooks/{webhookId}/generateHmac"); $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); @@ -64,7 +64,7 @@ public function generateHmacKey(string $companyId, string $webhookId, array $req * @return \Adyen\Model\Management\Webhook * @throws AdyenException */ - public function getWebhook(string $companyId, string $webhookId, array $requestOptions = null): \Adyen\Model\Management\Webhook + public function getWebhook(string $companyId, string $webhookId, ?array $requestOptions = null): \Adyen\Model\Management\Webhook { $endpoint = $this->baseURL . str_replace(['{companyId}', '{webhookId}'], [$companyId, $webhookId], "/companies/{companyId}/webhooks/{webhookId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -79,7 +79,7 @@ public function getWebhook(string $companyId, string $webhookId, array $requestO * @return \Adyen\Model\Management\ListWebhooksResponse * @throws AdyenException */ - public function listAllWebhooks(string $companyId, array $requestOptions = null): \Adyen\Model\Management\ListWebhooksResponse + public function listAllWebhooks(string $companyId, ?array $requestOptions = null): \Adyen\Model\Management\ListWebhooksResponse { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/webhooks"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -95,7 +95,7 @@ public function listAllWebhooks(string $companyId, array $requestOptions = null) * @throws AdyenException */ - public function removeWebhook(string $companyId, string $webhookId, array $requestOptions = null) + public function removeWebhook(string $companyId, string $webhookId, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{companyId}', '{webhookId}'], [$companyId, $webhookId], "/companies/{companyId}/webhooks/{webhookId}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); @@ -110,7 +110,7 @@ public function removeWebhook(string $companyId, string $webhookId, array $reque * @return \Adyen\Model\Management\Webhook * @throws AdyenException */ - public function setUpWebhook(string $companyId, \Adyen\Model\Management\CreateCompanyWebhookRequest $createCompanyWebhookRequest, array $requestOptions = null): \Adyen\Model\Management\Webhook + public function setUpWebhook(string $companyId, \Adyen\Model\Management\CreateCompanyWebhookRequest $createCompanyWebhookRequest, ?array $requestOptions = null): \Adyen\Model\Management\Webhook { $endpoint = $this->baseURL . str_replace(['{companyId}'], [$companyId], "/companies/{companyId}/webhooks"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createCompanyWebhookRequest->jsonSerialize(), $requestOptions); @@ -127,7 +127,7 @@ public function setUpWebhook(string $companyId, \Adyen\Model\Management\CreateCo * @return \Adyen\Model\Management\TestWebhookResponse * @throws AdyenException */ - public function testWebhook(string $companyId, string $webhookId, \Adyen\Model\Management\TestCompanyWebhookRequest $testCompanyWebhookRequest, array $requestOptions = null): \Adyen\Model\Management\TestWebhookResponse + public function testWebhook(string $companyId, string $webhookId, \Adyen\Model\Management\TestCompanyWebhookRequest $testCompanyWebhookRequest, ?array $requestOptions = null): \Adyen\Model\Management\TestWebhookResponse { $endpoint = $this->baseURL . str_replace(['{companyId}', '{webhookId}'], [$companyId, $webhookId], "/companies/{companyId}/webhooks/{webhookId}/test"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $testCompanyWebhookRequest->jsonSerialize(), $requestOptions); @@ -144,7 +144,7 @@ public function testWebhook(string $companyId, string $webhookId, \Adyen\Model\M * @return \Adyen\Model\Management\Webhook * @throws AdyenException */ - public function updateWebhook(string $companyId, string $webhookId, \Adyen\Model\Management\UpdateCompanyWebhookRequest $updateCompanyWebhookRequest, array $requestOptions = null): \Adyen\Model\Management\Webhook + public function updateWebhook(string $companyId, string $webhookId, \Adyen\Model\Management\UpdateCompanyWebhookRequest $updateCompanyWebhookRequest, ?array $requestOptions = null): \Adyen\Model\Management\Webhook { $endpoint = $this->baseURL . str_replace(['{companyId}', '{webhookId}'], [$companyId, $webhookId], "/companies/{companyId}/webhooks/{webhookId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateCompanyWebhookRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Management/WebhooksMerchantLevelApi.php b/src/Adyen/Service/Management/WebhooksMerchantLevelApi.php index 968e9c614..fb166e203 100644 --- a/src/Adyen/Service/Management/WebhooksMerchantLevelApi.php +++ b/src/Adyen/Service/Management/WebhooksMerchantLevelApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Management\GenerateHmacKeyResponse * @throws AdyenException */ - public function generateHmacKey(string $merchantId, string $webhookId, array $requestOptions = null): \Adyen\Model\Management\GenerateHmacKeyResponse + public function generateHmacKey(string $merchantId, string $webhookId, ?array $requestOptions = null): \Adyen\Model\Management\GenerateHmacKeyResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{webhookId}'], [$merchantId, $webhookId], "/merchants/{merchantId}/webhooks/{webhookId}/generateHmac"); $response = $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); @@ -64,7 +64,7 @@ public function generateHmacKey(string $merchantId, string $webhookId, array $re * @return \Adyen\Model\Management\Webhook * @throws AdyenException */ - public function getWebhook(string $merchantId, string $webhookId, array $requestOptions = null): \Adyen\Model\Management\Webhook + public function getWebhook(string $merchantId, string $webhookId, ?array $requestOptions = null): \Adyen\Model\Management\Webhook { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{webhookId}'], [$merchantId, $webhookId], "/merchants/{merchantId}/webhooks/{webhookId}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -79,7 +79,7 @@ public function getWebhook(string $merchantId, string $webhookId, array $request * @return \Adyen\Model\Management\ListWebhooksResponse * @throws AdyenException */ - public function listAllWebhooks(string $merchantId, array $requestOptions = null): \Adyen\Model\Management\ListWebhooksResponse + public function listAllWebhooks(string $merchantId, ?array $requestOptions = null): \Adyen\Model\Management\ListWebhooksResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/webhooks"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -95,7 +95,7 @@ public function listAllWebhooks(string $merchantId, array $requestOptions = null * @throws AdyenException */ - public function removeWebhook(string $merchantId, string $webhookId, array $requestOptions = null) + public function removeWebhook(string $merchantId, string $webhookId, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{webhookId}'], [$merchantId, $webhookId], "/merchants/{merchantId}/webhooks/{webhookId}"); $this->requestHttp($endpoint, strtolower('DELETE'), null, $requestOptions); @@ -110,7 +110,7 @@ public function removeWebhook(string $merchantId, string $webhookId, array $requ * @return \Adyen\Model\Management\Webhook * @throws AdyenException */ - public function setUpWebhook(string $merchantId, \Adyen\Model\Management\CreateMerchantWebhookRequest $createMerchantWebhookRequest, array $requestOptions = null): \Adyen\Model\Management\Webhook + public function setUpWebhook(string $merchantId, \Adyen\Model\Management\CreateMerchantWebhookRequest $createMerchantWebhookRequest, ?array $requestOptions = null): \Adyen\Model\Management\Webhook { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/webhooks"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createMerchantWebhookRequest->jsonSerialize(), $requestOptions); @@ -127,7 +127,7 @@ public function setUpWebhook(string $merchantId, \Adyen\Model\Management\CreateM * @return \Adyen\Model\Management\TestWebhookResponse * @throws AdyenException */ - public function testWebhook(string $merchantId, string $webhookId, \Adyen\Model\Management\TestWebhookRequest $testWebhookRequest, array $requestOptions = null): \Adyen\Model\Management\TestWebhookResponse + public function testWebhook(string $merchantId, string $webhookId, \Adyen\Model\Management\TestWebhookRequest $testWebhookRequest, ?array $requestOptions = null): \Adyen\Model\Management\TestWebhookResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{webhookId}'], [$merchantId, $webhookId], "/merchants/{merchantId}/webhooks/{webhookId}/test"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $testWebhookRequest->jsonSerialize(), $requestOptions); @@ -144,7 +144,7 @@ public function testWebhook(string $merchantId, string $webhookId, \Adyen\Model\ * @return \Adyen\Model\Management\Webhook * @throws AdyenException */ - public function updateWebhook(string $merchantId, string $webhookId, \Adyen\Model\Management\UpdateMerchantWebhookRequest $updateMerchantWebhookRequest, array $requestOptions = null): \Adyen\Model\Management\Webhook + public function updateWebhook(string $merchantId, string $webhookId, \Adyen\Model\Management\UpdateMerchantWebhookRequest $updateMerchantWebhookRequest, ?array $requestOptions = null): \Adyen\Model\Management\Webhook { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{webhookId}'], [$merchantId, $webhookId], "/merchants/{merchantId}/webhooks/{webhookId}"); $response = $this->requestHttp($endpoint, strtolower('PATCH'), (array) $updateMerchantWebhookRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/POSTerminalManagementApi.php b/src/Adyen/Service/POSTerminalManagementApi.php index 01918762b..8e8d8c25d 100644 --- a/src/Adyen/Service/POSTerminalManagementApi.php +++ b/src/Adyen/Service/POSTerminalManagementApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\POSTerminalManagement\AssignTerminalsResponse * @throws AdyenException */ - public function assignTerminals(\Adyen\Model\POSTerminalManagement\AssignTerminalsRequest $assignTerminalsRequest, array $requestOptions = null): \Adyen\Model\POSTerminalManagement\AssignTerminalsResponse + public function assignTerminals(\Adyen\Model\POSTerminalManagement\AssignTerminalsRequest $assignTerminalsRequest, ?array $requestOptions = null): \Adyen\Model\POSTerminalManagement\AssignTerminalsResponse { $endpoint = $this->baseURL . "/assignTerminals"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $assignTerminalsRequest->jsonSerialize(), $requestOptions); @@ -64,7 +64,7 @@ public function assignTerminals(\Adyen\Model\POSTerminalManagement\AssignTermina * @return \Adyen\Model\POSTerminalManagement\FindTerminalResponse * @throws AdyenException */ - public function findTerminal(\Adyen\Model\POSTerminalManagement\FindTerminalRequest $findTerminalRequest, array $requestOptions = null): \Adyen\Model\POSTerminalManagement\FindTerminalResponse + public function findTerminal(\Adyen\Model\POSTerminalManagement\FindTerminalRequest $findTerminalRequest, ?array $requestOptions = null): \Adyen\Model\POSTerminalManagement\FindTerminalResponse { $endpoint = $this->baseURL . "/findTerminal"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $findTerminalRequest->jsonSerialize(), $requestOptions); @@ -80,7 +80,7 @@ public function findTerminal(\Adyen\Model\POSTerminalManagement\FindTerminalRequ * @return \Adyen\Model\POSTerminalManagement\GetStoresUnderAccountResponse * @throws AdyenException */ - public function getStoresUnderAccount(\Adyen\Model\POSTerminalManagement\GetStoresUnderAccountRequest $getStoresUnderAccountRequest, array $requestOptions = null): \Adyen\Model\POSTerminalManagement\GetStoresUnderAccountResponse + public function getStoresUnderAccount(\Adyen\Model\POSTerminalManagement\GetStoresUnderAccountRequest $getStoresUnderAccountRequest, ?array $requestOptions = null): \Adyen\Model\POSTerminalManagement\GetStoresUnderAccountResponse { $endpoint = $this->baseURL . "/getStoresUnderAccount"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $getStoresUnderAccountRequest->jsonSerialize(), $requestOptions); @@ -96,7 +96,7 @@ public function getStoresUnderAccount(\Adyen\Model\POSTerminalManagement\GetStor * @return \Adyen\Model\POSTerminalManagement\GetTerminalDetailsResponse * @throws AdyenException */ - public function getTerminalDetails(\Adyen\Model\POSTerminalManagement\GetTerminalDetailsRequest $getTerminalDetailsRequest, array $requestOptions = null): \Adyen\Model\POSTerminalManagement\GetTerminalDetailsResponse + public function getTerminalDetails(\Adyen\Model\POSTerminalManagement\GetTerminalDetailsRequest $getTerminalDetailsRequest, ?array $requestOptions = null): \Adyen\Model\POSTerminalManagement\GetTerminalDetailsResponse { $endpoint = $this->baseURL . "/getTerminalDetails"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $getTerminalDetailsRequest->jsonSerialize(), $requestOptions); @@ -112,7 +112,7 @@ public function getTerminalDetails(\Adyen\Model\POSTerminalManagement\GetTermina * @return \Adyen\Model\POSTerminalManagement\GetTerminalsUnderAccountResponse * @throws AdyenException */ - public function getTerminalsUnderAccount(\Adyen\Model\POSTerminalManagement\GetTerminalsUnderAccountRequest $getTerminalsUnderAccountRequest, array $requestOptions = null): \Adyen\Model\POSTerminalManagement\GetTerminalsUnderAccountResponse + public function getTerminalsUnderAccount(\Adyen\Model\POSTerminalManagement\GetTerminalsUnderAccountRequest $getTerminalsUnderAccountRequest, ?array $requestOptions = null): \Adyen\Model\POSTerminalManagement\GetTerminalsUnderAccountResponse { $endpoint = $this->baseURL . "/getTerminalsUnderAccount"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $getTerminalsUnderAccountRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Payments/ModificationsApi.php b/src/Adyen/Service/Payments/ModificationsApi.php index 46b22b29c..61fc2e3da 100644 --- a/src/Adyen/Service/Payments/ModificationsApi.php +++ b/src/Adyen/Service/Payments/ModificationsApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Payments\ModificationResult * @throws AdyenException */ - public function adjustAuthorisation(\Adyen\Model\Payments\AdjustAuthorisationRequest $adjustAuthorisationRequest, array $requestOptions = null): \Adyen\Model\Payments\ModificationResult + public function adjustAuthorisation(\Adyen\Model\Payments\AdjustAuthorisationRequest $adjustAuthorisationRequest, ?array $requestOptions = null): \Adyen\Model\Payments\ModificationResult { $endpoint = $this->baseURL . "/adjustAuthorisation"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $adjustAuthorisationRequest->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function adjustAuthorisation(\Adyen\Model\Payments\AdjustAuthorisationReq * @return \Adyen\Model\Payments\ModificationResult * @throws AdyenException */ - public function cancel(\Adyen\Model\Payments\CancelRequest $cancelRequest, array $requestOptions = null): \Adyen\Model\Payments\ModificationResult + public function cancel(\Adyen\Model\Payments\CancelRequest $cancelRequest, ?array $requestOptions = null): \Adyen\Model\Payments\ModificationResult { $endpoint = $this->baseURL . "/cancel"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $cancelRequest->jsonSerialize(), $requestOptions); @@ -77,7 +77,7 @@ public function cancel(\Adyen\Model\Payments\CancelRequest $cancelRequest, array * @return \Adyen\Model\Payments\ModificationResult * @throws AdyenException */ - public function cancelOrRefund(\Adyen\Model\Payments\CancelOrRefundRequest $cancelOrRefundRequest, array $requestOptions = null): \Adyen\Model\Payments\ModificationResult + public function cancelOrRefund(\Adyen\Model\Payments\CancelOrRefundRequest $cancelOrRefundRequest, ?array $requestOptions = null): \Adyen\Model\Payments\ModificationResult { $endpoint = $this->baseURL . "/cancelOrRefund"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $cancelOrRefundRequest->jsonSerialize(), $requestOptions); @@ -92,7 +92,7 @@ public function cancelOrRefund(\Adyen\Model\Payments\CancelOrRefundRequest $canc * @return \Adyen\Model\Payments\ModificationResult * @throws AdyenException */ - public function capture(\Adyen\Model\Payments\CaptureRequest $captureRequest, array $requestOptions = null): \Adyen\Model\Payments\ModificationResult + public function capture(\Adyen\Model\Payments\CaptureRequest $captureRequest, ?array $requestOptions = null): \Adyen\Model\Payments\ModificationResult { $endpoint = $this->baseURL . "/capture"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $captureRequest->jsonSerialize(), $requestOptions); @@ -107,7 +107,7 @@ public function capture(\Adyen\Model\Payments\CaptureRequest $captureRequest, ar * @return \Adyen\Model\Payments\ModificationResult * @throws AdyenException */ - public function donate(\Adyen\Model\Payments\DonationRequest $donationRequest, array $requestOptions = null): \Adyen\Model\Payments\ModificationResult + public function donate(\Adyen\Model\Payments\DonationRequest $donationRequest, ?array $requestOptions = null): \Adyen\Model\Payments\ModificationResult { $endpoint = $this->baseURL . "/donate"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $donationRequest->jsonSerialize(), $requestOptions); @@ -122,7 +122,7 @@ public function donate(\Adyen\Model\Payments\DonationRequest $donationRequest, a * @return \Adyen\Model\Payments\ModificationResult * @throws AdyenException */ - public function refund(\Adyen\Model\Payments\RefundRequest $refundRequest, array $requestOptions = null): \Adyen\Model\Payments\ModificationResult + public function refund(\Adyen\Model\Payments\RefundRequest $refundRequest, ?array $requestOptions = null): \Adyen\Model\Payments\ModificationResult { $endpoint = $this->baseURL . "/refund"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $refundRequest->jsonSerialize(), $requestOptions); @@ -137,7 +137,7 @@ public function refund(\Adyen\Model\Payments\RefundRequest $refundRequest, array * @return \Adyen\Model\Payments\ModificationResult * @throws AdyenException */ - public function technicalCancel(\Adyen\Model\Payments\TechnicalCancelRequest $technicalCancelRequest, array $requestOptions = null): \Adyen\Model\Payments\ModificationResult + public function technicalCancel(\Adyen\Model\Payments\TechnicalCancelRequest $technicalCancelRequest, ?array $requestOptions = null): \Adyen\Model\Payments\ModificationResult { $endpoint = $this->baseURL . "/technicalCancel"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $technicalCancelRequest->jsonSerialize(), $requestOptions); @@ -152,7 +152,7 @@ public function technicalCancel(\Adyen\Model\Payments\TechnicalCancelRequest $te * @return \Adyen\Model\Payments\ModificationResult * @throws AdyenException */ - public function voidPendingRefund(\Adyen\Model\Payments\VoidPendingRefundRequest $voidPendingRefundRequest, array $requestOptions = null): \Adyen\Model\Payments\ModificationResult + public function voidPendingRefund(\Adyen\Model\Payments\VoidPendingRefundRequest $voidPendingRefundRequest, ?array $requestOptions = null): \Adyen\Model\Payments\ModificationResult { $endpoint = $this->baseURL . "/voidPendingRefund"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $voidPendingRefundRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Payments/PaymentsApi.php b/src/Adyen/Service/Payments/PaymentsApi.php index dcc42cf29..8661607a8 100644 --- a/src/Adyen/Service/Payments/PaymentsApi.php +++ b/src/Adyen/Service/Payments/PaymentsApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Payments\PaymentResult * @throws AdyenException */ - public function authorise(\Adyen\Model\Payments\PaymentRequest $paymentRequest, array $requestOptions = null): \Adyen\Model\Payments\PaymentResult + public function authorise(\Adyen\Model\Payments\PaymentRequest $paymentRequest, ?array $requestOptions = null): \Adyen\Model\Payments\PaymentResult { $endpoint = $this->baseURL . "/authorise"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentRequest->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function authorise(\Adyen\Model\Payments\PaymentRequest $paymentRequest, * @return \Adyen\Model\Payments\PaymentResult * @throws AdyenException */ - public function authorise3d(\Adyen\Model\Payments\PaymentRequest3d $paymentRequest3d, array $requestOptions = null): \Adyen\Model\Payments\PaymentResult + public function authorise3d(\Adyen\Model\Payments\PaymentRequest3d $paymentRequest3d, ?array $requestOptions = null): \Adyen\Model\Payments\PaymentResult { $endpoint = $this->baseURL . "/authorise3d"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentRequest3d->jsonSerialize(), $requestOptions); @@ -77,7 +77,7 @@ public function authorise3d(\Adyen\Model\Payments\PaymentRequest3d $paymentReque * @return \Adyen\Model\Payments\PaymentResult * @throws AdyenException */ - public function authorise3ds2(\Adyen\Model\Payments\PaymentRequest3ds2 $paymentRequest3ds2, array $requestOptions = null): \Adyen\Model\Payments\PaymentResult + public function authorise3ds2(\Adyen\Model\Payments\PaymentRequest3ds2 $paymentRequest3ds2, ?array $requestOptions = null): \Adyen\Model\Payments\PaymentResult { $endpoint = $this->baseURL . "/authorise3ds2"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $paymentRequest3ds2->jsonSerialize(), $requestOptions); @@ -92,7 +92,7 @@ public function authorise3ds2(\Adyen\Model\Payments\PaymentRequest3ds2 $paymentR * @return \Adyen\Model\Payments\AuthenticationResultResponse * @throws AdyenException */ - public function getAuthenticationResult(\Adyen\Model\Payments\AuthenticationResultRequest $authenticationResultRequest, array $requestOptions = null): \Adyen\Model\Payments\AuthenticationResultResponse + public function getAuthenticationResult(\Adyen\Model\Payments\AuthenticationResultRequest $authenticationResultRequest, ?array $requestOptions = null): \Adyen\Model\Payments\AuthenticationResultResponse { $endpoint = $this->baseURL . "/getAuthenticationResult"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $authenticationResultRequest->jsonSerialize(), $requestOptions); @@ -107,7 +107,7 @@ public function getAuthenticationResult(\Adyen\Model\Payments\AuthenticationResu * @return \Adyen\Model\Payments\ThreeDS2ResultResponse * @throws AdyenException */ - public function retrieve3ds2Result(\Adyen\Model\Payments\ThreeDS2ResultRequest $threeDS2ResultRequest, array $requestOptions = null): \Adyen\Model\Payments\ThreeDS2ResultResponse + public function retrieve3ds2Result(\Adyen\Model\Payments\ThreeDS2ResultRequest $threeDS2ResultRequest, ?array $requestOptions = null): \Adyen\Model\Payments\ThreeDS2ResultResponse { $endpoint = $this->baseURL . "/retrieve3ds2Result"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $threeDS2ResultRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/PaymentsApp/PaymentsAppApi.php b/src/Adyen/Service/PaymentsApp/PaymentsAppApi.php index a8a29a919..aef3e738d 100644 --- a/src/Adyen/Service/PaymentsApp/PaymentsAppApi.php +++ b/src/Adyen/Service/PaymentsApp/PaymentsAppApi.php @@ -48,7 +48,7 @@ public function __construct(Client $client) * @return \Adyen\Model\PaymentsApp\BoardingTokenResponse * @throws AdyenException */ - public function generatePaymentsAppBoardingTokenForMerchant(string $merchantId, \Adyen\Model\PaymentsApp\BoardingTokenRequest $boardingTokenRequest, array $requestOptions = null): \Adyen\Model\PaymentsApp\BoardingTokenResponse + public function generatePaymentsAppBoardingTokenForMerchant(string $merchantId, \Adyen\Model\PaymentsApp\BoardingTokenRequest $boardingTokenRequest, ?array $requestOptions = null): \Adyen\Model\PaymentsApp\BoardingTokenResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/generatePaymentsAppBoardingToken"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $boardingTokenRequest->jsonSerialize(), $requestOptions); @@ -65,7 +65,7 @@ public function generatePaymentsAppBoardingTokenForMerchant(string $merchantId, * @return \Adyen\Model\PaymentsApp\BoardingTokenResponse * @throws AdyenException */ - public function generatePaymentsAppBoardingTokenForStore(string $merchantId, string $storeId, \Adyen\Model\PaymentsApp\BoardingTokenRequest $boardingTokenRequest, array $requestOptions = null): \Adyen\Model\PaymentsApp\BoardingTokenResponse + public function generatePaymentsAppBoardingTokenForStore(string $merchantId, string $storeId, \Adyen\Model\PaymentsApp\BoardingTokenRequest $boardingTokenRequest, ?array $requestOptions = null): \Adyen\Model\PaymentsApp\BoardingTokenResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{storeId}'], [$merchantId, $storeId], "/merchants/{merchantId}/stores/{storeId}/generatePaymentsAppBoardingToken"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $boardingTokenRequest->jsonSerialize(), $requestOptions); @@ -80,7 +80,7 @@ public function generatePaymentsAppBoardingTokenForStore(string $merchantId, str * @return \Adyen\Model\PaymentsApp\PaymentsAppResponse * @throws AdyenException */ - public function listPaymentsAppForMerchant(string $merchantId, array $requestOptions = null): \Adyen\Model\PaymentsApp\PaymentsAppResponse + public function listPaymentsAppForMerchant(string $merchantId, ?array $requestOptions = null): \Adyen\Model\PaymentsApp\PaymentsAppResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}'], [$merchantId], "/merchants/{merchantId}/paymentsApps"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -96,7 +96,7 @@ public function listPaymentsAppForMerchant(string $merchantId, array $requestOpt * @return \Adyen\Model\PaymentsApp\PaymentsAppResponse * @throws AdyenException */ - public function listPaymentsAppForStore(string $merchantId, string $storeId, array $requestOptions = null): \Adyen\Model\PaymentsApp\PaymentsAppResponse + public function listPaymentsAppForStore(string $merchantId, string $storeId, ?array $requestOptions = null): \Adyen\Model\PaymentsApp\PaymentsAppResponse { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{storeId}'], [$merchantId, $storeId], "/merchants/{merchantId}/stores/{storeId}/paymentsApps"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -112,7 +112,7 @@ public function listPaymentsAppForStore(string $merchantId, string $storeId, arr * @throws AdyenException */ - public function revokePaymentsApp(string $merchantId, string $installationId, array $requestOptions = null) + public function revokePaymentsApp(string $merchantId, string $installationId, ?array $requestOptions = null) { $endpoint = $this->baseURL . str_replace(['{merchantId}', '{installationId}'], [$merchantId, $installationId], "/merchants/{merchantId}/paymentsApps/{installationId}/revoke"); $this->requestHttp($endpoint, strtolower('POST'), null, $requestOptions); diff --git a/src/Adyen/Service/Payout/InitializationApi.php b/src/Adyen/Service/Payout/InitializationApi.php index 9674b5652..b1cd8267c 100644 --- a/src/Adyen/Service/Payout/InitializationApi.php +++ b/src/Adyen/Service/Payout/InitializationApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Payout\StoreDetailResponse * @throws AdyenException */ - public function storeDetail(\Adyen\Model\Payout\StoreDetailRequest $storeDetailRequest, array $requestOptions = null): \Adyen\Model\Payout\StoreDetailResponse + public function storeDetail(\Adyen\Model\Payout\StoreDetailRequest $storeDetailRequest, ?array $requestOptions = null): \Adyen\Model\Payout\StoreDetailResponse { $endpoint = $this->baseURL . "/storeDetail"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $storeDetailRequest->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function storeDetail(\Adyen\Model\Payout\StoreDetailRequest $storeDetailR * @return \Adyen\Model\Payout\StoreDetailAndSubmitResponse * @throws AdyenException */ - public function storeDetailAndSubmitThirdParty(\Adyen\Model\Payout\StoreDetailAndSubmitRequest $storeDetailAndSubmitRequest, array $requestOptions = null): \Adyen\Model\Payout\StoreDetailAndSubmitResponse + public function storeDetailAndSubmitThirdParty(\Adyen\Model\Payout\StoreDetailAndSubmitRequest $storeDetailAndSubmitRequest, ?array $requestOptions = null): \Adyen\Model\Payout\StoreDetailAndSubmitResponse { $endpoint = $this->baseURL . "/storeDetailAndSubmitThirdParty"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $storeDetailAndSubmitRequest->jsonSerialize(), $requestOptions); @@ -77,7 +77,7 @@ public function storeDetailAndSubmitThirdParty(\Adyen\Model\Payout\StoreDetailAn * @return \Adyen\Model\Payout\SubmitResponse * @throws AdyenException */ - public function submitThirdParty(\Adyen\Model\Payout\SubmitRequest $submitRequest, array $requestOptions = null): \Adyen\Model\Payout\SubmitResponse + public function submitThirdParty(\Adyen\Model\Payout\SubmitRequest $submitRequest, ?array $requestOptions = null): \Adyen\Model\Payout\SubmitResponse { $endpoint = $this->baseURL . "/submitThirdParty"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $submitRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Payout/InstantPayoutsApi.php b/src/Adyen/Service/Payout/InstantPayoutsApi.php index 2342a45ab..c0169cdda 100644 --- a/src/Adyen/Service/Payout/InstantPayoutsApi.php +++ b/src/Adyen/Service/Payout/InstantPayoutsApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Payout\PayoutResponse * @throws AdyenException */ - public function payout(\Adyen\Model\Payout\PayoutRequest $payoutRequest, array $requestOptions = null): \Adyen\Model\Payout\PayoutResponse + public function payout(\Adyen\Model\Payout\PayoutRequest $payoutRequest, ?array $requestOptions = null): \Adyen\Model\Payout\PayoutResponse { $endpoint = $this->baseURL . "/payout"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $payoutRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Payout/ReviewingApi.php b/src/Adyen/Service/Payout/ReviewingApi.php index bcff3dd36..88db9e54c 100644 --- a/src/Adyen/Service/Payout/ReviewingApi.php +++ b/src/Adyen/Service/Payout/ReviewingApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Payout\ModifyResponse * @throws AdyenException */ - public function confirmThirdParty(\Adyen\Model\Payout\ModifyRequest $modifyRequest, array $requestOptions = null): \Adyen\Model\Payout\ModifyResponse + public function confirmThirdParty(\Adyen\Model\Payout\ModifyRequest $modifyRequest, ?array $requestOptions = null): \Adyen\Model\Payout\ModifyResponse { $endpoint = $this->baseURL . "/confirmThirdParty"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $modifyRequest->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function confirmThirdParty(\Adyen\Model\Payout\ModifyRequest $modifyReque * @return \Adyen\Model\Payout\ModifyResponse * @throws AdyenException */ - public function declineThirdParty(\Adyen\Model\Payout\ModifyRequest $modifyRequest, array $requestOptions = null): \Adyen\Model\Payout\ModifyResponse + public function declineThirdParty(\Adyen\Model\Payout\ModifyRequest $modifyRequest, ?array $requestOptions = null): \Adyen\Model\Payout\ModifyResponse { $endpoint = $this->baseURL . "/declineThirdParty"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $modifyRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/PosMobileApi.php b/src/Adyen/Service/PosMobileApi.php index 6e794d20c..2b89881aa 100644 --- a/src/Adyen/Service/PosMobileApi.php +++ b/src/Adyen/Service/PosMobileApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\PosMobile\CreateSessionResponse * @throws AdyenException */ - public function createCommunicationSession(\Adyen\Model\PosMobile\CreateSessionRequest $createSessionRequest, array $requestOptions = null): \Adyen\Model\PosMobile\CreateSessionResponse + public function createCommunicationSession(\Adyen\Model\PosMobile\CreateSessionRequest $createSessionRequest, ?array $requestOptions = null): \Adyen\Model\PosMobile\CreateSessionResponse { $endpoint = $this->baseURL . "/sessions"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createSessionRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/RecurringApi.php b/src/Adyen/Service/RecurringApi.php index 2407c30cc..f1e403c7d 100644 --- a/src/Adyen/Service/RecurringApi.php +++ b/src/Adyen/Service/RecurringApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Recurring\CreatePermitResult * @throws AdyenException */ - public function createPermit(\Adyen\Model\Recurring\CreatePermitRequest $createPermitRequest, array $requestOptions = null): \Adyen\Model\Recurring\CreatePermitResult + public function createPermit(\Adyen\Model\Recurring\CreatePermitRequest $createPermitRequest, ?array $requestOptions = null): \Adyen\Model\Recurring\CreatePermitResult { $endpoint = $this->baseURL . "/createPermit"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $createPermitRequest->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function createPermit(\Adyen\Model\Recurring\CreatePermitRequest $createP * @return \Adyen\Model\Recurring\DisableResult * @throws AdyenException */ - public function disable(\Adyen\Model\Recurring\DisableRequest $disableRequest, array $requestOptions = null): \Adyen\Model\Recurring\DisableResult + public function disable(\Adyen\Model\Recurring\DisableRequest $disableRequest, ?array $requestOptions = null): \Adyen\Model\Recurring\DisableResult { $endpoint = $this->baseURL . "/disable"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $disableRequest->jsonSerialize(), $requestOptions); @@ -77,7 +77,7 @@ public function disable(\Adyen\Model\Recurring\DisableRequest $disableRequest, a * @return \Adyen\Model\Recurring\DisablePermitResult * @throws AdyenException */ - public function disablePermit(\Adyen\Model\Recurring\DisablePermitRequest $disablePermitRequest, array $requestOptions = null): \Adyen\Model\Recurring\DisablePermitResult + public function disablePermit(\Adyen\Model\Recurring\DisablePermitRequest $disablePermitRequest, ?array $requestOptions = null): \Adyen\Model\Recurring\DisablePermitResult { $endpoint = $this->baseURL . "/disablePermit"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $disablePermitRequest->jsonSerialize(), $requestOptions); @@ -92,7 +92,7 @@ public function disablePermit(\Adyen\Model\Recurring\DisablePermitRequest $disab * @return \Adyen\Model\Recurring\RecurringDetailsResult * @throws AdyenException */ - public function listRecurringDetails(\Adyen\Model\Recurring\RecurringDetailsRequest $recurringDetailsRequest, array $requestOptions = null): \Adyen\Model\Recurring\RecurringDetailsResult + public function listRecurringDetails(\Adyen\Model\Recurring\RecurringDetailsRequest $recurringDetailsRequest, ?array $requestOptions = null): \Adyen\Model\Recurring\RecurringDetailsResult { $endpoint = $this->baseURL . "/listRecurringDetails"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $recurringDetailsRequest->jsonSerialize(), $requestOptions); @@ -107,7 +107,7 @@ public function listRecurringDetails(\Adyen\Model\Recurring\RecurringDetailsRequ * @return \Adyen\Model\Recurring\NotifyShopperResult * @throws AdyenException */ - public function notifyShopper(\Adyen\Model\Recurring\NotifyShopperRequest $notifyShopperRequest, array $requestOptions = null): \Adyen\Model\Recurring\NotifyShopperResult + public function notifyShopper(\Adyen\Model\Recurring\NotifyShopperRequest $notifyShopperRequest, ?array $requestOptions = null): \Adyen\Model\Recurring\NotifyShopperResult { $endpoint = $this->baseURL . "/notifyShopper"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $notifyShopperRequest->jsonSerialize(), $requestOptions); @@ -122,7 +122,7 @@ public function notifyShopper(\Adyen\Model\Recurring\NotifyShopperRequest $notif * @return \Adyen\Model\Recurring\ScheduleAccountUpdaterResult * @throws AdyenException */ - public function scheduleAccountUpdater(\Adyen\Model\Recurring\ScheduleAccountUpdaterRequest $scheduleAccountUpdaterRequest, array $requestOptions = null): \Adyen\Model\Recurring\ScheduleAccountUpdaterResult + public function scheduleAccountUpdater(\Adyen\Model\Recurring\ScheduleAccountUpdaterRequest $scheduleAccountUpdaterRequest, ?array $requestOptions = null): \Adyen\Model\Recurring\ScheduleAccountUpdaterResult { $endpoint = $this->baseURL . "/scheduleAccountUpdater"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $scheduleAccountUpdaterRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/StoredValueApi.php b/src/Adyen/Service/StoredValueApi.php index aa4b10d05..6ee1f4bf2 100644 --- a/src/Adyen/Service/StoredValueApi.php +++ b/src/Adyen/Service/StoredValueApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\StoredValue\StoredValueStatusChangeResponse * @throws AdyenException */ - public function changeStatus(\Adyen\Model\StoredValue\StoredValueStatusChangeRequest $storedValueStatusChangeRequest, array $requestOptions = null): \Adyen\Model\StoredValue\StoredValueStatusChangeResponse + public function changeStatus(\Adyen\Model\StoredValue\StoredValueStatusChangeRequest $storedValueStatusChangeRequest, ?array $requestOptions = null): \Adyen\Model\StoredValue\StoredValueStatusChangeResponse { $endpoint = $this->baseURL . "/changeStatus"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $storedValueStatusChangeRequest->jsonSerialize(), $requestOptions); @@ -62,7 +62,7 @@ public function changeStatus(\Adyen\Model\StoredValue\StoredValueStatusChangeReq * @return \Adyen\Model\StoredValue\StoredValueBalanceCheckResponse * @throws AdyenException */ - public function checkBalance(\Adyen\Model\StoredValue\StoredValueBalanceCheckRequest $storedValueBalanceCheckRequest, array $requestOptions = null): \Adyen\Model\StoredValue\StoredValueBalanceCheckResponse + public function checkBalance(\Adyen\Model\StoredValue\StoredValueBalanceCheckRequest $storedValueBalanceCheckRequest, ?array $requestOptions = null): \Adyen\Model\StoredValue\StoredValueBalanceCheckResponse { $endpoint = $this->baseURL . "/checkBalance"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $storedValueBalanceCheckRequest->jsonSerialize(), $requestOptions); @@ -77,7 +77,7 @@ public function checkBalance(\Adyen\Model\StoredValue\StoredValueBalanceCheckReq * @return \Adyen\Model\StoredValue\StoredValueIssueResponse * @throws AdyenException */ - public function issue(\Adyen\Model\StoredValue\StoredValueIssueRequest $storedValueIssueRequest, array $requestOptions = null): \Adyen\Model\StoredValue\StoredValueIssueResponse + public function issue(\Adyen\Model\StoredValue\StoredValueIssueRequest $storedValueIssueRequest, ?array $requestOptions = null): \Adyen\Model\StoredValue\StoredValueIssueResponse { $endpoint = $this->baseURL . "/issue"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $storedValueIssueRequest->jsonSerialize(), $requestOptions); @@ -92,7 +92,7 @@ public function issue(\Adyen\Model\StoredValue\StoredValueIssueRequest $storedVa * @return \Adyen\Model\StoredValue\StoredValueLoadResponse * @throws AdyenException */ - public function load(\Adyen\Model\StoredValue\StoredValueLoadRequest $storedValueLoadRequest, array $requestOptions = null): \Adyen\Model\StoredValue\StoredValueLoadResponse + public function load(\Adyen\Model\StoredValue\StoredValueLoadRequest $storedValueLoadRequest, ?array $requestOptions = null): \Adyen\Model\StoredValue\StoredValueLoadResponse { $endpoint = $this->baseURL . "/load"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $storedValueLoadRequest->jsonSerialize(), $requestOptions); @@ -107,7 +107,7 @@ public function load(\Adyen\Model\StoredValue\StoredValueLoadRequest $storedValu * @return \Adyen\Model\StoredValue\StoredValueBalanceMergeResponse * @throws AdyenException */ - public function mergeBalance(\Adyen\Model\StoredValue\StoredValueBalanceMergeRequest $storedValueBalanceMergeRequest, array $requestOptions = null): \Adyen\Model\StoredValue\StoredValueBalanceMergeResponse + public function mergeBalance(\Adyen\Model\StoredValue\StoredValueBalanceMergeRequest $storedValueBalanceMergeRequest, ?array $requestOptions = null): \Adyen\Model\StoredValue\StoredValueBalanceMergeResponse { $endpoint = $this->baseURL . "/mergeBalance"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $storedValueBalanceMergeRequest->jsonSerialize(), $requestOptions); @@ -122,7 +122,7 @@ public function mergeBalance(\Adyen\Model\StoredValue\StoredValueBalanceMergeReq * @return \Adyen\Model\StoredValue\StoredValueVoidResponse * @throws AdyenException */ - public function voidTransaction(\Adyen\Model\StoredValue\StoredValueVoidRequest $storedValueVoidRequest, array $requestOptions = null): \Adyen\Model\StoredValue\StoredValueVoidResponse + public function voidTransaction(\Adyen\Model\StoredValue\StoredValueVoidRequest $storedValueVoidRequest, ?array $requestOptions = null): \Adyen\Model\StoredValue\StoredValueVoidResponse { $endpoint = $this->baseURL . "/voidTransaction"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $storedValueVoidRequest->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Transfers/CapitalApi.php b/src/Adyen/Service/Transfers/CapitalApi.php index 967dc7f76..63bc28da7 100644 --- a/src/Adyen/Service/Transfers/CapitalApi.php +++ b/src/Adyen/Service/Transfers/CapitalApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Transfers\CapitalGrants * @throws AdyenException */ - public function getCapitalAccount(array $requestOptions = null): \Adyen\Model\Transfers\CapitalGrants + public function getCapitalAccount(?array $requestOptions = null): \Adyen\Model\Transfers\CapitalGrants { $endpoint = $this->baseURL . "/grants"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -63,7 +63,7 @@ public function getCapitalAccount(array $requestOptions = null): \Adyen\Model\Tr * @return \Adyen\Model\Transfers\CapitalGrant * @throws AdyenException */ - public function getGrantReferenceDetails(string $id, array $requestOptions = null): \Adyen\Model\Transfers\CapitalGrant + public function getGrantReferenceDetails(string $id, ?array $requestOptions = null): \Adyen\Model\Transfers\CapitalGrant { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/grants/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -79,7 +79,7 @@ public function getGrantReferenceDetails(string $id, array $requestOptions = nul * @return \Adyen\Model\Transfers\CapitalGrant * @throws AdyenException */ - public function requestGrantPayout(\Adyen\Model\Transfers\CapitalGrantInfo $capitalGrantInfo, array $requestOptions = null): \Adyen\Model\Transfers\CapitalGrant + public function requestGrantPayout(\Adyen\Model\Transfers\CapitalGrantInfo $capitalGrantInfo, ?array $requestOptions = null): \Adyen\Model\Transfers\CapitalGrant { $endpoint = $this->baseURL . "/grants"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $capitalGrantInfo->jsonSerialize(), $requestOptions); diff --git a/src/Adyen/Service/Transfers/TransactionsApi.php b/src/Adyen/Service/Transfers/TransactionsApi.php index a09ac4ebe..3e1c89996 100644 --- a/src/Adyen/Service/Transfers/TransactionsApi.php +++ b/src/Adyen/Service/Transfers/TransactionsApi.php @@ -46,7 +46,7 @@ public function __construct(Client $client) * @return \Adyen\Model\Transfers\TransactionSearchResponse * @throws AdyenException */ - public function getAllTransactions(array $requestOptions = null): \Adyen\Model\Transfers\TransactionSearchResponse + public function getAllTransactions(?array $requestOptions = null): \Adyen\Model\Transfers\TransactionSearchResponse { $endpoint = $this->baseURL . "/transactions"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -61,7 +61,7 @@ public function getAllTransactions(array $requestOptions = null): \Adyen\Model\T * @return \Adyen\Model\Transfers\Transaction * @throws AdyenException */ - public function getTransaction(string $id, array $requestOptions = null): \Adyen\Model\Transfers\Transaction + public function getTransaction(string $id, ?array $requestOptions = null): \Adyen\Model\Transfers\Transaction { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/transactions/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); diff --git a/src/Adyen/Service/Transfers/TransfersApi.php b/src/Adyen/Service/Transfers/TransfersApi.php index 869e9d604..aeda3ef5f 100644 --- a/src/Adyen/Service/Transfers/TransfersApi.php +++ b/src/Adyen/Service/Transfers/TransfersApi.php @@ -47,7 +47,7 @@ public function __construct(Client $client) * @throws AdyenException */ - public function approveInitiatedTransfers(\Adyen\Model\Transfers\ApproveTransfersRequest $approveTransfersRequest, array $requestOptions = null) + public function approveInitiatedTransfers(\Adyen\Model\Transfers\ApproveTransfersRequest $approveTransfersRequest, ?array $requestOptions = null) { $endpoint = $this->baseURL . "/transfers/approve"; $this->requestHttp($endpoint, strtolower('POST'), (array) $approveTransfersRequest->jsonSerialize(), $requestOptions); @@ -61,7 +61,7 @@ public function approveInitiatedTransfers(\Adyen\Model\Transfers\ApproveTransfer * @throws AdyenException */ - public function cancelInitiatedTransfers(\Adyen\Model\Transfers\CancelTransfersRequest $cancelTransfersRequest, array $requestOptions = null) + public function cancelInitiatedTransfers(\Adyen\Model\Transfers\CancelTransfersRequest $cancelTransfersRequest, ?array $requestOptions = null) { $endpoint = $this->baseURL . "/transfers/cancel"; $this->requestHttp($endpoint, strtolower('POST'), (array) $cancelTransfersRequest->jsonSerialize(), $requestOptions); @@ -74,7 +74,7 @@ public function cancelInitiatedTransfers(\Adyen\Model\Transfers\CancelTransfersR * @return \Adyen\Model\Transfers\FindTransfersResponse * @throws AdyenException */ - public function getAllTransfers(array $requestOptions = null): \Adyen\Model\Transfers\FindTransfersResponse + public function getAllTransfers(?array $requestOptions = null): \Adyen\Model\Transfers\FindTransfersResponse { $endpoint = $this->baseURL . "/transfers"; $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -89,7 +89,7 @@ public function getAllTransfers(array $requestOptions = null): \Adyen\Model\Tran * @return \Adyen\Model\Transfers\TransferData * @throws AdyenException */ - public function getTransfer(string $id, array $requestOptions = null): \Adyen\Model\Transfers\TransferData + public function getTransfer(string $id, ?array $requestOptions = null): \Adyen\Model\Transfers\TransferData { $endpoint = $this->baseURL . str_replace(['{id}'], [$id], "/transfers/{id}"); $response = $this->requestHttp($endpoint, strtolower('GET'), null, $requestOptions); @@ -105,7 +105,7 @@ public function getTransfer(string $id, array $requestOptions = null): \Adyen\Mo * @return \Adyen\Model\Transfers\ReturnTransferResponse * @throws AdyenException */ - public function returnTransfer(string $transferId, \Adyen\Model\Transfers\ReturnTransferRequest $returnTransferRequest, array $requestOptions = null): \Adyen\Model\Transfers\ReturnTransferResponse + public function returnTransfer(string $transferId, \Adyen\Model\Transfers\ReturnTransferRequest $returnTransferRequest, ?array $requestOptions = null): \Adyen\Model\Transfers\ReturnTransferResponse { $endpoint = $this->baseURL . str_replace(['{transferId}'], [$transferId], "/transfers/{transferId}/returns"); $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $returnTransferRequest->jsonSerialize(), $requestOptions); @@ -120,7 +120,7 @@ public function returnTransfer(string $transferId, \Adyen\Model\Transfers\Return * @return \Adyen\Model\Transfers\Transfer * @throws AdyenException */ - public function transferFunds(\Adyen\Model\Transfers\TransferInfo $transferInfo, array $requestOptions = null): \Adyen\Model\Transfers\Transfer + public function transferFunds(\Adyen\Model\Transfers\TransferInfo $transferInfo, ?array $requestOptions = null): \Adyen\Model\Transfers\Transfer { $endpoint = $this->baseURL . "/transfers"; $response = $this->requestHttp($endpoint, strtolower('POST'), (array) $transferInfo->jsonSerialize(), $requestOptions);