From 5762d7e496a1c625bf67c7fd09e3b016ba3d41b0 Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Mon, 30 Sep 2024 14:55:56 +0200 Subject: [PATCH] Update all services (#695) * [reformat][adyen-sdk-automation] automated change * style(fmt): code formatted --------- Co-authored-by: AdyenAutomationBot --- .../Checkout/CreateCheckoutSessionRequest.php | 4 +-- .../CreateCheckoutSessionResponse.php | 4 +-- .../Model/Checkout/DonationPaymentRequest.php | 4 +-- src/Adyen/Model/Checkout/FundRecipient.php | 2 +- src/Adyen/Model/Checkout/Mandate.php | 31 +++++++++++++++++++ src/Adyen/Model/Checkout/PaymentDetails.php | 2 ++ .../Model/Checkout/PaymentLinkRequest.php | 2 +- .../Model/Checkout/PaymentLinkResponse.php | 2 +- src/Adyen/Model/Checkout/PaymentRequest.php | 4 +-- .../Model/Checkout/PaymentSetupRequest.php | 2 +- .../AcceptTermsOfServiceRequest.php | 2 +- .../OnboardingLinkSettings.php | 31 +++++++++++++++++++ .../Model/Management/AdditionalSettings.php | 2 +- .../Management/AdditionalSettingsResponse.php | 4 +-- .../Model/Management/CustomNotification.php | 2 +- src/Adyen/Model/Payments/Mandate.php | 31 +++++++++++++++++++ 16 files changed, 112 insertions(+), 17 deletions(-) diff --git a/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php b/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php index 89d2f81a..f9c97f1a 100644 --- a/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php +++ b/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php @@ -1433,7 +1433,7 @@ public function getLineItems() /** * Sets lineItems * - * @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. + * @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. * * @return self */ @@ -1813,7 +1813,7 @@ public function getReturnUrl() /** * Sets returnUrl * - * @param string $returnUrl The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * @param string $returnUrl The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. * * @return self */ diff --git a/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php b/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php index f33028ed..9014160f 100644 --- a/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php +++ b/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php @@ -1484,7 +1484,7 @@ public function getLineItems() /** * Sets lineItems * - * @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. + * @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. * * @return self */ @@ -1864,7 +1864,7 @@ public function getReturnUrl() /** * Sets returnUrl * - * @param string $returnUrl The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * @param string $returnUrl The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. * * @return self */ diff --git a/src/Adyen/Model/Checkout/DonationPaymentRequest.php b/src/Adyen/Model/Checkout/DonationPaymentRequest.php index c211d65f..dadd8261 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentRequest.php +++ b/src/Adyen/Model/Checkout/DonationPaymentRequest.php @@ -1136,7 +1136,7 @@ public function getLineItems() /** * Sets lineItems * - * @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. + * @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. * * @return self */ @@ -1410,7 +1410,7 @@ public function getReturnUrl() /** * Sets returnUrl * - * @param string $returnUrl The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * @param string $returnUrl The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. * * @return self */ diff --git a/src/Adyen/Model/Checkout/FundRecipient.php b/src/Adyen/Model/Checkout/FundRecipient.php index 8e4eb111..8856a7e2 100644 --- a/src/Adyen/Model/Checkout/FundRecipient.php +++ b/src/Adyen/Model/Checkout/FundRecipient.php @@ -599,7 +599,7 @@ public function getWalletOwnerTaxId() /** * Sets walletOwnerTaxId * - * @param string|null $walletOwnerTaxId Indicates the tax identifier of the fund recepient + * @param string|null $walletOwnerTaxId Indicates the tax identifier of the fund recipient * * @return self */ diff --git a/src/Adyen/Model/Checkout/Mandate.php b/src/Adyen/Model/Checkout/Mandate.php index 3dafe749..5d840846 100644 --- a/src/Adyen/Model/Checkout/Mandate.php +++ b/src/Adyen/Model/Checkout/Mandate.php @@ -48,6 +48,7 @@ class Mandate implements ModelInterface, ArrayAccess, \JsonSerializable 'amountRule' => 'string', 'billingAttemptsRule' => 'string', 'billingDay' => 'string', + 'count' => 'string', 'endsAt' => 'string', 'frequency' => 'string', 'remarks' => 'string', @@ -66,6 +67,7 @@ class Mandate implements ModelInterface, ArrayAccess, \JsonSerializable 'amountRule' => null, 'billingAttemptsRule' => null, 'billingDay' => null, + 'count' => null, 'endsAt' => null, 'frequency' => null, 'remarks' => null, @@ -82,6 +84,7 @@ class Mandate implements ModelInterface, ArrayAccess, \JsonSerializable 'amountRule' => false, 'billingAttemptsRule' => false, 'billingDay' => false, + 'count' => false, 'endsAt' => false, 'frequency' => false, 'remarks' => false, @@ -178,6 +181,7 @@ public function isNullableSetToNull(string $property): bool 'amountRule' => 'amountRule', 'billingAttemptsRule' => 'billingAttemptsRule', 'billingDay' => 'billingDay', + 'count' => 'count', 'endsAt' => 'endsAt', 'frequency' => 'frequency', 'remarks' => 'remarks', @@ -194,6 +198,7 @@ public function isNullableSetToNull(string $property): bool 'amountRule' => 'setAmountRule', 'billingAttemptsRule' => 'setBillingAttemptsRule', 'billingDay' => 'setBillingDay', + 'count' => 'setCount', 'endsAt' => 'setEndsAt', 'frequency' => 'setFrequency', 'remarks' => 'setRemarks', @@ -210,6 +215,7 @@ public function isNullableSetToNull(string $property): bool 'amountRule' => 'getAmountRule', 'billingAttemptsRule' => 'getBillingAttemptsRule', 'billingDay' => 'getBillingDay', + 'count' => 'getCount', 'endsAt' => 'getEndsAt', 'frequency' => 'getFrequency', 'remarks' => 'getRemarks', @@ -333,6 +339,7 @@ public function __construct(array $data = null) $this->setIfExists('amountRule', $data ?? [], null); $this->setIfExists('billingAttemptsRule', $data ?? [], null); $this->setIfExists('billingDay', $data ?? [], null); + $this->setIfExists('count', $data ?? [], null); $this->setIfExists('endsAt', $data ?? [], null); $this->setIfExists('frequency', $data ?? [], null); $this->setIfExists('remarks', $data ?? [], null); @@ -533,6 +540,30 @@ public function setBillingDay($billingDay) return $this; } + /** + * Gets count + * + * @return string|null + */ + public function getCount() + { + return $this->container['count']; + } + + /** + * Sets count + * + * @param string|null $count The number of transactions that can be performed within the given frequency. + * + * @return self + */ + public function setCount($count) + { + $this->container['count'] = $count; + + return $this; + } + /** * Gets endsAt * diff --git a/src/Adyen/Model/Checkout/PaymentDetails.php b/src/Adyen/Model/Checkout/PaymentDetails.php index 7c05dc23..553c4914 100644 --- a/src/Adyen/Model/Checkout/PaymentDetails.php +++ b/src/Adyen/Model/Checkout/PaymentDetails.php @@ -256,6 +256,7 @@ public function getModelName() public const TYPE_MOLPAY_EBANKING_DIRECT_MY = 'molpay_ebanking_direct_MY'; public const TYPE_SWISH = 'swish'; public const TYPE_PIX = 'pix'; + public const TYPE_BIZUM = 'bizum'; public const TYPE_WALLEY = 'walley'; public const TYPE_WALLEY_B2B = 'walley_b2b'; public const TYPE_ALMA = 'alma'; @@ -355,6 +356,7 @@ public function getTypeAllowableValues() self::TYPE_MOLPAY_EBANKING_DIRECT_MY, self::TYPE_SWISH, self::TYPE_PIX, + self::TYPE_BIZUM, self::TYPE_WALLEY, self::TYPE_WALLEY_B2B, self::TYPE_ALMA, diff --git a/src/Adyen/Model/Checkout/PaymentLinkRequest.php b/src/Adyen/Model/Checkout/PaymentLinkRequest.php index 0ff3f825..97567b6b 100644 --- a/src/Adyen/Model/Checkout/PaymentLinkRequest.php +++ b/src/Adyen/Model/Checkout/PaymentLinkRequest.php @@ -1015,7 +1015,7 @@ public function getLineItems() /** * Sets lineItems * - * @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, and Zip. + * @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. * * @return self */ diff --git a/src/Adyen/Model/Checkout/PaymentLinkResponse.php b/src/Adyen/Model/Checkout/PaymentLinkResponse.php index 23d98847..9b45c173 100644 --- a/src/Adyen/Model/Checkout/PaymentLinkResponse.php +++ b/src/Adyen/Model/Checkout/PaymentLinkResponse.php @@ -1105,7 +1105,7 @@ public function getLineItems() /** * Sets lineItems * - * @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, and Zip. + * @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, Riverty, and Zip. * * @return self */ diff --git a/src/Adyen/Model/Checkout/PaymentRequest.php b/src/Adyen/Model/Checkout/PaymentRequest.php index a9512f29..aab20b5c 100644 --- a/src/Adyen/Model/Checkout/PaymentRequest.php +++ b/src/Adyen/Model/Checkout/PaymentRequest.php @@ -1628,7 +1628,7 @@ public function getLineItems() /** * Sets lineItems * - * @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. + * @param \Adyen\Model\Checkout\LineItem[]|null $lineItems Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Riverty, and Zip. * * @return self */ @@ -2118,7 +2118,7 @@ public function getReturnUrl() /** * Sets returnUrl * - * @param string $returnUrl The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * @param string $returnUrl The URL to return to in case of a redirection. The format depends on the channel. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. * * @return self */ diff --git a/src/Adyen/Model/Checkout/PaymentSetupRequest.php b/src/Adyen/Model/Checkout/PaymentSetupRequest.php index 5aa3923b..bba2b04c 100644 --- a/src/Adyen/Model/Checkout/PaymentSetupRequest.php +++ b/src/Adyen/Model/Checkout/PaymentSetupRequest.php @@ -1681,7 +1681,7 @@ public function getReturnUrl() /** * Sets returnUrl * - * @param string $returnUrl The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * @param string $returnUrl The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. * * @return self */ diff --git a/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.php b/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.php index ce6f306e..12c39240 100644 --- a/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.php +++ b/src/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.php @@ -299,7 +299,7 @@ public function getAcceptedBy() /** * Sets acceptedBy * - * @param string $acceptedBy The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. + * @param string $acceptedBy The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. For individuals, this must be the individual legal entity id of either the individual, parent, or guardian. * * @return self */ diff --git a/src/Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.php b/src/Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.php index 23fcae75..1c137ef4 100644 --- a/src/Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.php +++ b/src/Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.php @@ -46,6 +46,7 @@ class OnboardingLinkSettings implements ModelInterface, ArrayAccess, \JsonSerial protected static $openAPITypes = [ 'acceptedCountries' => 'string[]', 'allowBankAccountFormatSelection' => 'bool', + 'allowDebugUi' => 'bool', 'allowIntraRegionCrossBorderPayout' => 'bool', 'changeLegalEntityType' => 'bool', 'editPrefilledCountry' => 'bool', @@ -71,6 +72,7 @@ class OnboardingLinkSettings implements ModelInterface, ArrayAccess, \JsonSerial protected static $openAPIFormats = [ 'acceptedCountries' => null, 'allowBankAccountFormatSelection' => null, + 'allowDebugUi' => null, 'allowIntraRegionCrossBorderPayout' => null, 'changeLegalEntityType' => null, 'editPrefilledCountry' => null, @@ -94,6 +96,7 @@ class OnboardingLinkSettings implements ModelInterface, ArrayAccess, \JsonSerial protected static $openAPINullables = [ 'acceptedCountries' => false, 'allowBankAccountFormatSelection' => false, + 'allowDebugUi' => false, 'allowIntraRegionCrossBorderPayout' => false, 'changeLegalEntityType' => false, 'editPrefilledCountry' => false, @@ -197,6 +200,7 @@ public function isNullableSetToNull(string $property): bool protected static $attributeMap = [ 'acceptedCountries' => 'acceptedCountries', 'allowBankAccountFormatSelection' => 'allowBankAccountFormatSelection', + 'allowDebugUi' => 'allowDebugUi', 'allowIntraRegionCrossBorderPayout' => 'allowIntraRegionCrossBorderPayout', 'changeLegalEntityType' => 'changeLegalEntityType', 'editPrefilledCountry' => 'editPrefilledCountry', @@ -220,6 +224,7 @@ public function isNullableSetToNull(string $property): bool protected static $setters = [ 'acceptedCountries' => 'setAcceptedCountries', 'allowBankAccountFormatSelection' => 'setAllowBankAccountFormatSelection', + 'allowDebugUi' => 'setAllowDebugUi', 'allowIntraRegionCrossBorderPayout' => 'setAllowIntraRegionCrossBorderPayout', 'changeLegalEntityType' => 'setChangeLegalEntityType', 'editPrefilledCountry' => 'setEditPrefilledCountry', @@ -243,6 +248,7 @@ public function isNullableSetToNull(string $property): bool protected static $getters = [ 'acceptedCountries' => 'getAcceptedCountries', 'allowBankAccountFormatSelection' => 'getAllowBankAccountFormatSelection', + 'allowDebugUi' => 'getAllowDebugUi', 'allowIntraRegionCrossBorderPayout' => 'getAllowIntraRegionCrossBorderPayout', 'changeLegalEntityType' => 'getChangeLegalEntityType', 'editPrefilledCountry' => 'getEditPrefilledCountry', @@ -317,6 +323,7 @@ public function __construct(array $data = null) { $this->setIfExists('acceptedCountries', $data ?? [], null); $this->setIfExists('allowBankAccountFormatSelection', $data ?? [], null); + $this->setIfExists('allowDebugUi', $data ?? [], null); $this->setIfExists('allowIntraRegionCrossBorderPayout', $data ?? [], null); $this->setIfExists('changeLegalEntityType', $data ?? [], null); $this->setIfExists('editPrefilledCountry', $data ?? [], null); @@ -422,6 +429,30 @@ public function setAllowBankAccountFormatSelection($allowBankAccountFormatSelect return $this; } + /** + * Gets allowDebugUi + * + * @return bool|null + */ + public function getAllowDebugUi() + { + return $this->container['allowDebugUi']; + } + + /** + * Sets allowDebugUi + * + * @param bool|null $allowDebugUi Default value: **true** Indicates if the user may press a hidden key combination to open the HO debugging UI. + * + * @return self + */ + public function setAllowDebugUi($allowDebugUi) + { + $this->container['allowDebugUi'] = $allowDebugUi; + + return $this; + } + /** * Gets allowIntraRegionCrossBorderPayout * diff --git a/src/Adyen/Model/Management/AdditionalSettings.php b/src/Adyen/Model/Management/AdditionalSettings.php index e661b66e..93c1b5b8 100644 --- a/src/Adyen/Model/Management/AdditionalSettings.php +++ b/src/Adyen/Model/Management/AdditionalSettings.php @@ -296,7 +296,7 @@ public function getIncludeEventCodes() /** * Sets includeEventCodes * - * @param string[]|null $includeEventCodes Object containing list of event codes for which the notifcation will be sent. + * @param string[]|null $includeEventCodes Object containing list of event codes for which the notification will be sent. * * @return self */ diff --git a/src/Adyen/Model/Management/AdditionalSettingsResponse.php b/src/Adyen/Model/Management/AdditionalSettingsResponse.php index 1a53d005..1a2e38a7 100644 --- a/src/Adyen/Model/Management/AdditionalSettingsResponse.php +++ b/src/Adyen/Model/Management/AdditionalSettingsResponse.php @@ -303,7 +303,7 @@ public function getExcludeEventCodes() /** * Sets excludeEventCodes * - * @param string[]|null $excludeEventCodes Object containing list of event codes for which the notifcation will not be sent. + * @param string[]|null $excludeEventCodes Object containing list of event codes for which the notification will not be sent. * * @return self */ @@ -327,7 +327,7 @@ public function getIncludeEventCodes() /** * Sets includeEventCodes * - * @param string[]|null $includeEventCodes Object containing list of event codes for which the notifcation will be sent. + * @param string[]|null $includeEventCodes Object containing list of event codes for which the notification will be sent. * * @return self */ diff --git a/src/Adyen/Model/Management/CustomNotification.php b/src/Adyen/Model/Management/CustomNotification.php index 59220592..b8eb76cf 100644 --- a/src/Adyen/Model/Management/CustomNotification.php +++ b/src/Adyen/Model/Management/CustomNotification.php @@ -451,7 +451,7 @@ public function getReason() /** * Sets reason * - * @param string|null $reason A descripton of what caused the notification. + * @param string|null $reason A description of what caused the notification. * * @return self */ diff --git a/src/Adyen/Model/Payments/Mandate.php b/src/Adyen/Model/Payments/Mandate.php index 4e735cb3..7d000ddd 100644 --- a/src/Adyen/Model/Payments/Mandate.php +++ b/src/Adyen/Model/Payments/Mandate.php @@ -48,6 +48,7 @@ class Mandate implements ModelInterface, ArrayAccess, \JsonSerializable 'amountRule' => 'string', 'billingAttemptsRule' => 'string', 'billingDay' => 'string', + 'count' => 'string', 'endsAt' => 'string', 'frequency' => 'string', 'remarks' => 'string', @@ -66,6 +67,7 @@ class Mandate implements ModelInterface, ArrayAccess, \JsonSerializable 'amountRule' => null, 'billingAttemptsRule' => null, 'billingDay' => null, + 'count' => null, 'endsAt' => null, 'frequency' => null, 'remarks' => null, @@ -82,6 +84,7 @@ class Mandate implements ModelInterface, ArrayAccess, \JsonSerializable 'amountRule' => false, 'billingAttemptsRule' => false, 'billingDay' => false, + 'count' => false, 'endsAt' => false, 'frequency' => false, 'remarks' => false, @@ -178,6 +181,7 @@ public function isNullableSetToNull(string $property): bool 'amountRule' => 'amountRule', 'billingAttemptsRule' => 'billingAttemptsRule', 'billingDay' => 'billingDay', + 'count' => 'count', 'endsAt' => 'endsAt', 'frequency' => 'frequency', 'remarks' => 'remarks', @@ -194,6 +198,7 @@ public function isNullableSetToNull(string $property): bool 'amountRule' => 'setAmountRule', 'billingAttemptsRule' => 'setBillingAttemptsRule', 'billingDay' => 'setBillingDay', + 'count' => 'setCount', 'endsAt' => 'setEndsAt', 'frequency' => 'setFrequency', 'remarks' => 'setRemarks', @@ -210,6 +215,7 @@ public function isNullableSetToNull(string $property): bool 'amountRule' => 'getAmountRule', 'billingAttemptsRule' => 'getBillingAttemptsRule', 'billingDay' => 'getBillingDay', + 'count' => 'getCount', 'endsAt' => 'getEndsAt', 'frequency' => 'getFrequency', 'remarks' => 'getRemarks', @@ -333,6 +339,7 @@ public function __construct(array $data = null) $this->setIfExists('amountRule', $data ?? [], null); $this->setIfExists('billingAttemptsRule', $data ?? [], null); $this->setIfExists('billingDay', $data ?? [], null); + $this->setIfExists('count', $data ?? [], null); $this->setIfExists('endsAt', $data ?? [], null); $this->setIfExists('frequency', $data ?? [], null); $this->setIfExists('remarks', $data ?? [], null); @@ -533,6 +540,30 @@ public function setBillingDay($billingDay) return $this; } + /** + * Gets count + * + * @return string|null + */ + public function getCount() + { + return $this->container['count']; + } + + /** + * Sets count + * + * @param string|null $count The number of transactions that can be performed within the given frequency. + * + * @return self + */ + public function setCount($count) + { + $this->container['count'] = $count; + + return $this; + } + /** * Gets endsAt *