diff --git a/src/Adyen/Model/Checkout/AuthenticationData.php b/src/Adyen/Model/Checkout/AuthenticationData.php index 74fe20241..b3068415f 100644 --- a/src/Adyen/Model/Checkout/AuthenticationData.php +++ b/src/Adyen/Model/Checkout/AuthenticationData.php @@ -357,7 +357,7 @@ public function getAuthenticationOnly() /** * Sets authenticationOnly * - * @param bool|null $authenticationOnly If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. Default: **false**. + * @param bool|null $authenticationOnly Required to trigger the [authentication-only flow](https://docs.adyen.com/online-payments/3d-secure/authentication-only/). If set to **true**, you will only perform the 3D Secure 2 authentication, and will not proceed to the payment authorization. Default: **false**. * * @return self */ diff --git a/src/Adyen/Model/Checkout/BalanceCheckRequest.php b/src/Adyen/Model/Checkout/BalanceCheckRequest.php index 27d48fb9a..e234624a7 100644 --- a/src/Adyen/Model/Checkout/BalanceCheckRequest.php +++ b/src/Adyen/Model/Checkout/BalanceCheckRequest.php @@ -1354,7 +1354,7 @@ public function getShopperEmail() /** * Sets shopperEmail * - * @param string|null $shopperEmail The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * @param string|null $shopperEmail The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > Required for Visa and JCB transactions that require 3D Secure 2 authentication if you did not include the `telephoneNumber`. * * @return self */ @@ -1378,7 +1378,7 @@ public function getShopperIP() /** * Sets shopperIP * - * @param string|null $shopperIP The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * @param string|null $shopperIP The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks).> Required for Visa and JCB transactions that require 3D Secure 2 authentication for all web and mobile integrations, if you did not include the `shopperEmail`. For native mobile integrations, the field is required to support cases where authentication is routed to the redirect flow. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * * @return self */ @@ -1604,7 +1604,7 @@ public function getTelephoneNumber() /** * Sets telephoneNumber * - * @param string|null $telephoneNumber The shopper's telephone number. + * @param string|null $telephoneNumber The shopper's telephone number. > Required for Visa and JCB transactions that require 3D Secure 2 authentication, if you did not include the `shopperEmail`. The phone number must include a plus sign (+) and a country code (1-3 digits), followed by the number (4-15 digits). If the value you provide does not follow the guidelines, we drop the value and do not submit it for authentication. * * @return self */ @@ -1653,7 +1653,7 @@ public function getThreeDSAuthenticationOnly() /** * Sets threeDSAuthenticationOnly * - * @param bool|null $threeDSAuthenticationOnly If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * @param bool|null $threeDSAuthenticationOnly Required to trigger the [authentication-only flow](https://docs.adyen.com/online-payments/3d-secure/authentication-only/). If set to **true**, you will only perform the 3D Secure 2 authentication, and will not proceed to the payment authorization.Default: **false**. * * @return self * @deprecated since Adyen Checkout API v69. "Use `authenticationData.authenticationOnly` instead." diff --git a/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php b/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php index 47c5d9351..02306d624 100644 --- a/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php +++ b/src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php @@ -1810,7 +1810,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. We strongly recommend that you use a maximum of 1024 characters. > The URL must not include personally identifiable information (PII), for example name or email address. * * @return self */ @@ -1882,7 +1882,7 @@ public function getShopperIP() /** * Sets shopperIP * - * @param string|null $shopperIP The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * @param string|null $shopperIP The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks).> Required for Visa and JCB transactions that require 3D Secure 2 authentication for all web and mobile integrations, if you did not include the `shopperEmail`. For native mobile integrations, the field is required to support cases where authentication is routed to the redirect flow. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * * @return self */ @@ -2272,7 +2272,7 @@ public function getTelephoneNumber() /** * Sets telephoneNumber * - * @param string|null $telephoneNumber The shopper's telephone number. + * @param string|null $telephoneNumber The shopper's telephone number. > Required for Visa and JCB transactions that require 3D Secure 2 authentication, if you did not include the `shopperEmail`. The phone number must include a plus sign (+) and a country code (1-3 digits), followed by the number (4-15 digits). If the value you provide does not follow the guidelines, we drop the value and do not submit it for authentication. * * @return self */ @@ -2345,7 +2345,7 @@ public function getThreeDSAuthenticationOnly() /** * Sets threeDSAuthenticationOnly * - * @param bool|null $threeDSAuthenticationOnly If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * @param bool|null $threeDSAuthenticationOnly Required to trigger the [authentication-only flow](https://docs.adyen.com/online-payments/3d-secure/authentication-only/). If set to **true**, you will only perform the 3D Secure 2 authentication, and will not proceed to the payment authorization.Default: **false**. * * @return self * @deprecated since Adyen Checkout API v69. "Use `authenticationData.authenticationOnly` instead." diff --git a/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php b/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php index 08ad36e27..b5eff3a79 100644 --- a/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php +++ b/src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php @@ -1861,7 +1861,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. We strongly recommend that you use a maximum of 1024 characters. > The URL must not include personally identifiable information (PII), for example name or email address. * * @return self */ @@ -1957,7 +1957,7 @@ public function getShopperIP() /** * Sets shopperIP * - * @param string|null $shopperIP The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * @param string|null $shopperIP The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks).> Required for Visa and JCB transactions that require 3D Secure 2 authentication for all web and mobile integrations, if you did not include the `shopperEmail`. For native mobile integrations, the field is required to support cases where authentication is routed to the redirect flow. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * * @return self */ @@ -2347,7 +2347,7 @@ public function getTelephoneNumber() /** * Sets telephoneNumber * - * @param string|null $telephoneNumber The shopper's telephone number. + * @param string|null $telephoneNumber The shopper's telephone number. > Required for Visa and JCB transactions that require 3D Secure 2 authentication, if you did not include the `shopperEmail`. The phone number must include a plus sign (+) and a country code (1-3 digits), followed by the number (4-15 digits). If the value you provide does not follow the guidelines, we drop the value and do not submit it for authentication. * * @return self */ @@ -2420,7 +2420,7 @@ public function getThreeDSAuthenticationOnly() /** * Sets threeDSAuthenticationOnly * - * @param bool|null $threeDSAuthenticationOnly If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * @param bool|null $threeDSAuthenticationOnly Required to trigger the [authentication-only flow](https://docs.adyen.com/online-payments/3d-secure/authentication-only/). If set to **true**, you will only perform the 3D Secure 2 authentication, and will not proceed to the payment authorization.Default: **false**. * * @return self * @deprecated since Adyen Checkout API v69. "Use `authenticationData.authenticationOnly` instead." diff --git a/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php b/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php index a0b9edf62..b2e4b1efc 100644 --- a/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php +++ b/src/Adyen/Model/Checkout/DetailsRequestAuthenticationData.php @@ -286,7 +286,7 @@ public function getAuthenticationOnly() /** * Sets authenticationOnly * - * @param bool|null $authenticationOnly If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. Default: *false**. + * @param bool|null $authenticationOnly Required to trigger the [authentication-only flow](https://docs.adyen.com/online-payments/3d-secure/authentication-only/). If set to **true**, you will only perform the 3D Secure 2 authentication, and will not proceed to the payment authorization.Default: **false**. * * @return self */ diff --git a/src/Adyen/Model/Checkout/DonationPaymentRequest.php b/src/Adyen/Model/Checkout/DonationPaymentRequest.php index 3103608f3..d67194aaa 100644 --- a/src/Adyen/Model/Checkout/DonationPaymentRequest.php +++ b/src/Adyen/Model/Checkout/DonationPaymentRequest.php @@ -1253,7 +1253,7 @@ public function getOrigin() /** * Sets origin * - * @param string|null $origin Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. + * @param string|null $origin > Required for browser-based (`channel` **Web**) 3D Secure 2 transactions.Set this to the origin URL of the page where you are rendering the Drop-in/Component. Do not include subdirectories and a trailing slash. * * @return self */ @@ -1407,7 +1407,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. * 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. We strongly recommend that you use a maximum of 1024 characters. > The URL must not include personally identifiable information (PII), for example name or email address. * * @return self */ @@ -1455,7 +1455,7 @@ public function getShopperEmail() /** * Sets shopperEmail * - * @param string|null $shopperEmail The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * @param string|null $shopperEmail The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > Required for Visa and JCB transactions that require 3D Secure 2 authentication if you did not include the `telephoneNumber`. * * @return self */ @@ -1479,7 +1479,7 @@ public function getShopperIP() /** * Sets shopperIP * - * @param string|null $shopperIP The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * @param string|null $shopperIP The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks).> Required for Visa and JCB transactions that require 3D Secure 2 authentication for all web and mobile integrations, if you did not include the `shopperEmail`. For native mobile integrations, the field is required to support cases where authentication is routed to the redirect flow. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * * @return self */ @@ -1503,7 +1503,7 @@ public function getShopperInteraction() /** * Sets shopperInteraction * - * @param string|null $shopperInteraction Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + * @param string|null $shopperInteraction Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorization rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorization (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. * * @return self */ @@ -1633,7 +1633,7 @@ public function getTelephoneNumber() /** * Sets telephoneNumber * - * @param string|null $telephoneNumber The shopper's telephone number. + * @param string|null $telephoneNumber The shopper's telephone number. > Required for Visa and JCB transactions that require 3D Secure 2 authentication, if you did not include the `shopperEmail`. The phone number must include a plus sign (+) and a country code (1-3 digits), followed by the number (4-15 digits). If the value you provide does not follow the guidelines, we drop the value and do not submit it for authentication. * * @return self */ @@ -1682,7 +1682,7 @@ public function getThreeDSAuthenticationOnly() /** * Sets threeDSAuthenticationOnly * - * @param bool|null $threeDSAuthenticationOnly If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * @param bool|null $threeDSAuthenticationOnly Required to trigger the [authentication-only flow](https://docs.adyen.com/online-payments/3d-secure/authentication-only/). If set to **true**, you will only perform the 3D Secure 2 authentication, and will not proceed to the payment authorization.Default: **false**. * * @return self * @deprecated since Adyen Checkout API v69. "Use `authenticationData.authenticationOnly` instead." diff --git a/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php b/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php index 523260c35..11e4e55a7 100644 --- a/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php +++ b/src/Adyen/Model/Checkout/PaymentAmountUpdateRequest.php @@ -43,6 +43,7 @@ class PaymentAmountUpdateRequest implements ModelInterface, ArrayAccess, \JsonSe protected static $openAPITypes = [ 'amount' => '\Adyen\Model\Checkout\Amount', 'applicationInfo' => '\Adyen\Model\Checkout\ApplicationInfo', + 'enhancedSchemeData' => '\Adyen\Model\Checkout\EnhancedSchemeData', 'industryUsage' => 'string', 'lineItems' => '\Adyen\Model\Checkout\LineItem[]', 'merchantAccount' => 'string', @@ -60,6 +61,7 @@ class PaymentAmountUpdateRequest implements ModelInterface, ArrayAccess, \JsonSe protected static $openAPIFormats = [ 'amount' => null, 'applicationInfo' => null, + 'enhancedSchemeData' => null, 'industryUsage' => null, 'lineItems' => null, 'merchantAccount' => null, @@ -75,6 +77,7 @@ class PaymentAmountUpdateRequest implements ModelInterface, ArrayAccess, \JsonSe protected static $openAPINullables = [ 'amount' => false, 'applicationInfo' => false, + 'enhancedSchemeData' => false, 'industryUsage' => false, 'lineItems' => false, 'merchantAccount' => false, @@ -170,6 +173,7 @@ public function isNullableSetToNull(string $property): bool protected static $attributeMap = [ 'amount' => 'amount', 'applicationInfo' => 'applicationInfo', + 'enhancedSchemeData' => 'enhancedSchemeData', 'industryUsage' => 'industryUsage', 'lineItems' => 'lineItems', 'merchantAccount' => 'merchantAccount', @@ -185,6 +189,7 @@ public function isNullableSetToNull(string $property): bool protected static $setters = [ 'amount' => 'setAmount', 'applicationInfo' => 'setApplicationInfo', + 'enhancedSchemeData' => 'setEnhancedSchemeData', 'industryUsage' => 'setIndustryUsage', 'lineItems' => 'setLineItems', 'merchantAccount' => 'setMerchantAccount', @@ -200,6 +205,7 @@ public function isNullableSetToNull(string $property): bool protected static $getters = [ 'amount' => 'getAmount', 'applicationInfo' => 'getApplicationInfo', + 'enhancedSchemeData' => 'getEnhancedSchemeData', 'industryUsage' => 'getIndustryUsage', 'lineItems' => 'getLineItems', 'merchantAccount' => 'getMerchantAccount', @@ -282,6 +288,7 @@ public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('applicationInfo', $data ?? [], null); + $this->setIfExists('enhancedSchemeData', $data ?? [], null); $this->setIfExists('industryUsage', $data ?? [], null); $this->setIfExists('lineItems', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); @@ -394,6 +401,30 @@ public function setApplicationInfo($applicationInfo) return $this; } + /** + * Gets enhancedSchemeData + * + * @return \Adyen\Model\Checkout\EnhancedSchemeData|null + */ + public function getEnhancedSchemeData() + { + return $this->container['enhancedSchemeData']; + } + + /** + * Sets enhancedSchemeData + * + * @param \Adyen\Model\Checkout\EnhancedSchemeData|null $enhancedSchemeData enhancedSchemeData + * + * @return self + */ + public function setEnhancedSchemeData($enhancedSchemeData) + { + $this->container['enhancedSchemeData'] = $enhancedSchemeData; + + return $this; + } + /** * Gets industryUsage * diff --git a/src/Adyen/Model/Checkout/PaymentCancelRequest.php b/src/Adyen/Model/Checkout/PaymentCancelRequest.php index 8618cedfc..a7ee13e72 100644 --- a/src/Adyen/Model/Checkout/PaymentCancelRequest.php +++ b/src/Adyen/Model/Checkout/PaymentCancelRequest.php @@ -42,6 +42,7 @@ class PaymentCancelRequest implements ModelInterface, ArrayAccess, \JsonSerializ */ protected static $openAPITypes = [ 'applicationInfo' => '\Adyen\Model\Checkout\ApplicationInfo', + 'enhancedSchemeData' => '\Adyen\Model\Checkout\EnhancedSchemeData', 'merchantAccount' => 'string', 'reference' => 'string' ]; @@ -55,6 +56,7 @@ class PaymentCancelRequest implements ModelInterface, ArrayAccess, \JsonSerializ */ protected static $openAPIFormats = [ 'applicationInfo' => null, + 'enhancedSchemeData' => null, 'merchantAccount' => null, 'reference' => null ]; @@ -66,6 +68,7 @@ class PaymentCancelRequest implements ModelInterface, ArrayAccess, \JsonSerializ */ protected static $openAPINullables = [ 'applicationInfo' => false, + 'enhancedSchemeData' => false, 'merchantAccount' => false, 'reference' => false ]; @@ -157,6 +160,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $attributeMap = [ 'applicationInfo' => 'applicationInfo', + 'enhancedSchemeData' => 'enhancedSchemeData', 'merchantAccount' => 'merchantAccount', 'reference' => 'reference' ]; @@ -168,6 +172,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $setters = [ 'applicationInfo' => 'setApplicationInfo', + 'enhancedSchemeData' => 'setEnhancedSchemeData', 'merchantAccount' => 'setMerchantAccount', 'reference' => 'setReference' ]; @@ -179,6 +184,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $getters = [ 'applicationInfo' => 'getApplicationInfo', + 'enhancedSchemeData' => 'getEnhancedSchemeData', 'merchantAccount' => 'getMerchantAccount', 'reference' => 'getReference' ]; @@ -241,6 +247,7 @@ public function getModelName() public function __construct(?array $data = null) { $this->setIfExists('applicationInfo', $data ?? [], null); + $this->setIfExists('enhancedSchemeData', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('reference', $data ?? [], null); } @@ -314,6 +321,30 @@ public function setApplicationInfo($applicationInfo) return $this; } + /** + * Gets enhancedSchemeData + * + * @return \Adyen\Model\Checkout\EnhancedSchemeData|null + */ + public function getEnhancedSchemeData() + { + return $this->container['enhancedSchemeData']; + } + + /** + * Sets enhancedSchemeData + * + * @param \Adyen\Model\Checkout\EnhancedSchemeData|null $enhancedSchemeData enhancedSchemeData + * + * @return self + */ + public function setEnhancedSchemeData($enhancedSchemeData) + { + $this->container['enhancedSchemeData'] = $enhancedSchemeData; + + return $this; + } + /** * Gets merchantAccount * diff --git a/src/Adyen/Model/Checkout/PaymentDetails.php b/src/Adyen/Model/Checkout/PaymentDetails.php index fa6a46e8f..0806c3733 100644 --- a/src/Adyen/Model/Checkout/PaymentDetails.php +++ b/src/Adyen/Model/Checkout/PaymentDetails.php @@ -259,6 +259,8 @@ public function getModelName() public const TYPE_SCALAPAY_3X = 'scalapay_3x'; public const TYPE_SCALAPAY_4X = 'scalapay_4x'; public const TYPE_MOLPAY_FPX = 'molpay_fpx'; + public const TYPE_PAYME = 'payme'; + public const TYPE_PAYME_POS = 'payme_pos'; public const TYPE_KONBINI = 'konbini'; public const TYPE_DIRECT_EBANKING = 'directEbanking'; public const TYPE_BOLETOBANCARIO = 'boletobancario'; @@ -355,6 +357,8 @@ public function getTypeAllowableValues() self::TYPE_SCALAPAY_3X, self::TYPE_SCALAPAY_4X, self::TYPE_MOLPAY_FPX, + self::TYPE_PAYME, + self::TYPE_PAYME_POS, self::TYPE_KONBINI, self::TYPE_DIRECT_EBANKING, self::TYPE_BOLETOBANCARIO, diff --git a/src/Adyen/Model/Checkout/PaymentLinkRequest.php b/src/Adyen/Model/Checkout/PaymentLinkRequest.php index 74fbb2e16..65ea44ff3 100644 --- a/src/Adyen/Model/Checkout/PaymentLinkRequest.php +++ b/src/Adyen/Model/Checkout/PaymentLinkRequest.php @@ -1617,7 +1617,7 @@ public function getTelephoneNumber() /** * Sets telephoneNumber * - * @param string|null $telephoneNumber The shopper's telephone number. + * @param string|null $telephoneNumber The shopper's telephone number. > Required for Visa and JCB transactions that require 3D Secure 2 authentication, if you did not include the `shopperEmail`. The phone number must include a plus sign (+) and a country code (1-3 digits), followed by the number (4-15 digits). If the value you provide does not follow the guidelines, we drop the value and do not submit it for authentication. * * @return self */ diff --git a/src/Adyen/Model/Checkout/PaymentLinkResponse.php b/src/Adyen/Model/Checkout/PaymentLinkResponse.php index e73d83556..40c08f2cd 100644 --- a/src/Adyen/Model/Checkout/PaymentLinkResponse.php +++ b/src/Adyen/Model/Checkout/PaymentLinkResponse.php @@ -1741,7 +1741,7 @@ public function getTelephoneNumber() /** * Sets telephoneNumber * - * @param string|null $telephoneNumber The shopper's telephone number. + * @param string|null $telephoneNumber The shopper's telephone number. > Required for Visa and JCB transactions that require 3D Secure 2 authentication, if you did not include the `shopperEmail`. The phone number must include a plus sign (+) and a country code (1-3 digits), followed by the number (4-15 digits). If the value you provide does not follow the guidelines, we drop the value and do not submit it for authentication. * * @return self */ diff --git a/src/Adyen/Model/Checkout/PaymentMethod.php b/src/Adyen/Model/Checkout/PaymentMethod.php index 4120e21c4..141a9b457 100644 --- a/src/Adyen/Model/Checkout/PaymentMethod.php +++ b/src/Adyen/Model/Checkout/PaymentMethod.php @@ -50,6 +50,7 @@ class PaymentMethod implements ModelInterface, ArrayAccess, \JsonSerializable 'inputDetails' => '\Adyen\Model\Checkout\InputDetail[]', 'issuers' => '\Adyen\Model\Checkout\PaymentMethodIssuer[]', 'name' => 'string', + 'promoted' => 'bool', 'type' => 'string' ]; @@ -70,6 +71,7 @@ class PaymentMethod implements ModelInterface, ArrayAccess, \JsonSerializable 'inputDetails' => null, 'issuers' => null, 'name' => null, + 'promoted' => null, 'type' => null ]; @@ -88,6 +90,7 @@ class PaymentMethod implements ModelInterface, ArrayAccess, \JsonSerializable 'inputDetails' => false, 'issuers' => false, 'name' => false, + 'promoted' => false, 'type' => false ]; @@ -186,6 +189,7 @@ public function isNullableSetToNull(string $property): bool 'inputDetails' => 'inputDetails', 'issuers' => 'issuers', 'name' => 'name', + 'promoted' => 'promoted', 'type' => 'type' ]; @@ -204,6 +208,7 @@ public function isNullableSetToNull(string $property): bool 'inputDetails' => 'setInputDetails', 'issuers' => 'setIssuers', 'name' => 'setName', + 'promoted' => 'setPromoted', 'type' => 'setType' ]; @@ -222,6 +227,7 @@ public function isNullableSetToNull(string $property): bool 'inputDetails' => 'getInputDetails', 'issuers' => 'getIssuers', 'name' => 'getName', + 'promoted' => 'getPromoted', 'type' => 'getType' ]; @@ -305,6 +311,7 @@ public function __construct(?array $data = null) $this->setIfExists('inputDetails', $data ?? [], null); $this->setIfExists('issuers', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); + $this->setIfExists('promoted', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); } @@ -587,6 +594,30 @@ public function setName($name) return $this; } + /** + * Gets promoted + * + * @return bool|null + */ + public function getPromoted() + { + return $this->container['promoted']; + } + + /** + * Sets promoted + * + * @param bool|null $promoted Indicates whether this payment method should be promoted or not. + * + * @return self + */ + public function setPromoted($promoted) + { + $this->container['promoted'] = $promoted; + + return $this; + } + /** * Gets type * diff --git a/src/Adyen/Model/Checkout/PaymentMethodsRequest.php b/src/Adyen/Model/Checkout/PaymentMethodsRequest.php index 49e4bfa2a..24579abf0 100644 --- a/src/Adyen/Model/Checkout/PaymentMethodsRequest.php +++ b/src/Adyen/Model/Checkout/PaymentMethodsRequest.php @@ -708,7 +708,7 @@ public function getShopperEmail() /** * Sets shopperEmail * - * @param string|null $shopperEmail The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * @param string|null $shopperEmail The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > Required for Visa and JCB transactions that require 3D Secure 2 authentication if you did not include the `telephoneNumber`. * * @return self */ @@ -732,7 +732,7 @@ public function getShopperIP() /** * Sets shopperIP * - * @param string|null $shopperIP The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * @param string|null $shopperIP The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks).> Required for Visa and JCB transactions that require 3D Secure 2 authentication for all web and mobile integrations, if you did not include the `shopperEmail`. For native mobile integrations, the field is required to support cases where authentication is routed to the redirect flow. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * * @return self */ @@ -886,7 +886,7 @@ public function getTelephoneNumber() /** * Sets telephoneNumber * - * @param string|null $telephoneNumber The shopper's telephone number. + * @param string|null $telephoneNumber The shopper's telephone number. > Required for Visa and JCB transactions that require 3D Secure 2 authentication, if you did not include the `shopperEmail`. The phone number must include a plus sign (+) and a country code (1-3 digits), followed by the number (4-15 digits). If the value you provide does not follow the guidelines, we drop the value and do not submit it for authentication. * * @return self */ diff --git a/src/Adyen/Model/Checkout/PaymentRefundRequest.php b/src/Adyen/Model/Checkout/PaymentRefundRequest.php index e4e9cd240..83001cd17 100644 --- a/src/Adyen/Model/Checkout/PaymentRefundRequest.php +++ b/src/Adyen/Model/Checkout/PaymentRefundRequest.php @@ -44,6 +44,7 @@ class PaymentRefundRequest implements ModelInterface, ArrayAccess, \JsonSerializ 'amount' => '\Adyen\Model\Checkout\Amount', 'applicationInfo' => '\Adyen\Model\Checkout\ApplicationInfo', 'capturePspReference' => 'string', + 'enhancedSchemeData' => '\Adyen\Model\Checkout\EnhancedSchemeData', 'lineItems' => '\Adyen\Model\Checkout\LineItem[]', 'merchantAccount' => 'string', 'merchantRefundReason' => 'string', @@ -63,6 +64,7 @@ class PaymentRefundRequest implements ModelInterface, ArrayAccess, \JsonSerializ 'amount' => null, 'applicationInfo' => null, 'capturePspReference' => null, + 'enhancedSchemeData' => null, 'lineItems' => null, 'merchantAccount' => null, 'merchantRefundReason' => null, @@ -80,6 +82,7 @@ class PaymentRefundRequest implements ModelInterface, ArrayAccess, \JsonSerializ 'amount' => false, 'applicationInfo' => false, 'capturePspReference' => false, + 'enhancedSchemeData' => false, 'lineItems' => false, 'merchantAccount' => false, 'merchantRefundReason' => true, @@ -177,6 +180,7 @@ public function isNullableSetToNull(string $property): bool 'amount' => 'amount', 'applicationInfo' => 'applicationInfo', 'capturePspReference' => 'capturePspReference', + 'enhancedSchemeData' => 'enhancedSchemeData', 'lineItems' => 'lineItems', 'merchantAccount' => 'merchantAccount', 'merchantRefundReason' => 'merchantRefundReason', @@ -194,6 +198,7 @@ public function isNullableSetToNull(string $property): bool 'amount' => 'setAmount', 'applicationInfo' => 'setApplicationInfo', 'capturePspReference' => 'setCapturePspReference', + 'enhancedSchemeData' => 'setEnhancedSchemeData', 'lineItems' => 'setLineItems', 'merchantAccount' => 'setMerchantAccount', 'merchantRefundReason' => 'setMerchantRefundReason', @@ -211,6 +216,7 @@ public function isNullableSetToNull(string $property): bool 'amount' => 'getAmount', 'applicationInfo' => 'getApplicationInfo', 'capturePspReference' => 'getCapturePspReference', + 'enhancedSchemeData' => 'getEnhancedSchemeData', 'lineItems' => 'getLineItems', 'merchantAccount' => 'getMerchantAccount', 'merchantRefundReason' => 'getMerchantRefundReason', @@ -299,6 +305,7 @@ public function __construct(?array $data = null) $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('applicationInfo', $data ?? [], null); $this->setIfExists('capturePspReference', $data ?? [], null); + $this->setIfExists('enhancedSchemeData', $data ?? [], null); $this->setIfExists('lineItems', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('merchantRefundReason', $data ?? [], null); @@ -436,6 +443,30 @@ public function setCapturePspReference($capturePspReference) return $this; } + /** + * Gets enhancedSchemeData + * + * @return \Adyen\Model\Checkout\EnhancedSchemeData|null + */ + public function getEnhancedSchemeData() + { + return $this->container['enhancedSchemeData']; + } + + /** + * Sets enhancedSchemeData + * + * @param \Adyen\Model\Checkout\EnhancedSchemeData|null $enhancedSchemeData enhancedSchemeData + * + * @return self + */ + public function setEnhancedSchemeData($enhancedSchemeData) + { + $this->container['enhancedSchemeData'] = $enhancedSchemeData; + + return $this; + } + /** * Gets lineItems * diff --git a/src/Adyen/Model/Checkout/PaymentRequest.php b/src/Adyen/Model/Checkout/PaymentRequest.php index 3b5bade58..ea67b1b4d 100644 --- a/src/Adyen/Model/Checkout/PaymentRequest.php +++ b/src/Adyen/Model/Checkout/PaymentRequest.php @@ -1965,7 +1965,7 @@ public function getOrigin() /** * Sets origin * - * @param string|null $origin Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. + * @param string|null $origin > Required for browser-based (`channel` **Web**) 3D Secure 2 transactions.Set this to the origin URL of the page where you are rendering the Drop-in/Component. Do not include subdirectories and a trailing slash. * * @return self */ @@ -2191,7 +2191,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.example.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. We strongly recommend that you use a maximum of 1024 characters. > The URL must not include personally identifiable information (PII), for example name or email address. * * @return self */ @@ -2287,7 +2287,7 @@ public function getShopperEmail() /** * Sets shopperEmail * - * @param string|null $shopperEmail The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require `shopperEmail` for all browser-based and mobile implementations. + * @param string|null $shopperEmail The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > Required for Visa and JCB transactions that require 3D Secure 2 authentication if you did not include the `telephoneNumber`. * * @return self */ @@ -2311,7 +2311,7 @@ public function getShopperIP() /** * Sets shopperIP * - * @param string|null $shopperIP The shopper's IP address. In general, we recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > For 3D Secure 2 transactions, schemes require `shopperIP` for all browser-based implementations. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). + * @param string|null $shopperIP The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks).> Required for Visa and JCB transactions that require 3D Secure 2 authentication for all web and mobile integrations, if you did not include the `shopperEmail`. For native mobile integrations, the field is required to support cases where authentication is routed to the redirect flow. This field is also mandatory for some merchants depending on your business model. For more information, [contact Support](https://www.adyen.help/hc/en-us/requests/new). * * @return self */ @@ -2609,7 +2609,7 @@ public function getTelephoneNumber() /** * Sets telephoneNumber * - * @param string|null $telephoneNumber The shopper's telephone number. + * @param string|null $telephoneNumber The shopper's telephone number. > Required for Visa and JCB transactions that require 3D Secure 2 authentication, if you did not include the `shopperEmail`. The phone number must include a plus sign (+) and a country code (1-3 digits), followed by the number (4-15 digits). If the value you provide does not follow the guidelines, we drop the value and do not submit it for authentication. * * @return self */ @@ -2658,7 +2658,7 @@ public function getThreeDSAuthenticationOnly() /** * Sets threeDSAuthenticationOnly * - * @param bool|null $threeDSAuthenticationOnly If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. + * @param bool|null $threeDSAuthenticationOnly Required to trigger the [authentication-only flow](https://docs.adyen.com/online-payments/3d-secure/authentication-only/). If set to **true**, you will only perform the 3D Secure 2 authentication, and will not proceed to the payment authorisation.Default: **false**. * * @return self * @deprecated since Adyen Checkout API v69. "Use `authenticationData.authenticationOnly` instead." diff --git a/src/Adyen/Model/Checkout/PaymentReversalRequest.php b/src/Adyen/Model/Checkout/PaymentReversalRequest.php index c3a83eaf4..9dcf16b0d 100644 --- a/src/Adyen/Model/Checkout/PaymentReversalRequest.php +++ b/src/Adyen/Model/Checkout/PaymentReversalRequest.php @@ -42,6 +42,7 @@ class PaymentReversalRequest implements ModelInterface, ArrayAccess, \JsonSerial */ protected static $openAPITypes = [ 'applicationInfo' => '\Adyen\Model\Checkout\ApplicationInfo', + 'enhancedSchemeData' => '\Adyen\Model\Checkout\EnhancedSchemeData', 'merchantAccount' => 'string', 'reference' => 'string' ]; @@ -55,6 +56,7 @@ class PaymentReversalRequest implements ModelInterface, ArrayAccess, \JsonSerial */ protected static $openAPIFormats = [ 'applicationInfo' => null, + 'enhancedSchemeData' => null, 'merchantAccount' => null, 'reference' => null ]; @@ -66,6 +68,7 @@ class PaymentReversalRequest implements ModelInterface, ArrayAccess, \JsonSerial */ protected static $openAPINullables = [ 'applicationInfo' => false, + 'enhancedSchemeData' => false, 'merchantAccount' => false, 'reference' => false ]; @@ -157,6 +160,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $attributeMap = [ 'applicationInfo' => 'applicationInfo', + 'enhancedSchemeData' => 'enhancedSchemeData', 'merchantAccount' => 'merchantAccount', 'reference' => 'reference' ]; @@ -168,6 +172,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $setters = [ 'applicationInfo' => 'setApplicationInfo', + 'enhancedSchemeData' => 'setEnhancedSchemeData', 'merchantAccount' => 'setMerchantAccount', 'reference' => 'setReference' ]; @@ -179,6 +184,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $getters = [ 'applicationInfo' => 'getApplicationInfo', + 'enhancedSchemeData' => 'getEnhancedSchemeData', 'merchantAccount' => 'getMerchantAccount', 'reference' => 'getReference' ]; @@ -241,6 +247,7 @@ public function getModelName() public function __construct(?array $data = null) { $this->setIfExists('applicationInfo', $data ?? [], null); + $this->setIfExists('enhancedSchemeData', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('reference', $data ?? [], null); } @@ -314,6 +321,30 @@ public function setApplicationInfo($applicationInfo) return $this; } + /** + * Gets enhancedSchemeData + * + * @return \Adyen\Model\Checkout\EnhancedSchemeData|null + */ + public function getEnhancedSchemeData() + { + return $this->container['enhancedSchemeData']; + } + + /** + * Sets enhancedSchemeData + * + * @param \Adyen\Model\Checkout\EnhancedSchemeData|null $enhancedSchemeData enhancedSchemeData + * + * @return self + */ + public function setEnhancedSchemeData($enhancedSchemeData) + { + $this->container['enhancedSchemeData'] = $enhancedSchemeData; + + return $this; + } + /** * Gets merchantAccount * diff --git a/src/Adyen/Model/Checkout/RivertyDetails.php b/src/Adyen/Model/Checkout/RivertyDetails.php index f600b1631..9da8343f0 100644 --- a/src/Adyen/Model/Checkout/RivertyDetails.php +++ b/src/Adyen/Model/Checkout/RivertyDetails.php @@ -49,6 +49,7 @@ class RivertyDetails implements ModelInterface, ArrayAccess, \JsonSerializable 'personalDetails' => 'string', 'recurringDetailReference' => 'string', 'storedPaymentMethodId' => 'string', + 'subtype' => 'string', 'type' => 'string' ]; @@ -68,6 +69,7 @@ class RivertyDetails implements ModelInterface, ArrayAccess, \JsonSerializable 'personalDetails' => null, 'recurringDetailReference' => null, 'storedPaymentMethodId' => null, + 'subtype' => null, 'type' => null ]; @@ -85,6 +87,7 @@ class RivertyDetails implements ModelInterface, ArrayAccess, \JsonSerializable 'personalDetails' => false, 'recurringDetailReference' => false, 'storedPaymentMethodId' => false, + 'subtype' => false, 'type' => false ]; @@ -182,6 +185,7 @@ public function isNullableSetToNull(string $property): bool 'personalDetails' => 'personalDetails', 'recurringDetailReference' => 'recurringDetailReference', 'storedPaymentMethodId' => 'storedPaymentMethodId', + 'subtype' => 'subtype', 'type' => 'type' ]; @@ -199,6 +203,7 @@ public function isNullableSetToNull(string $property): bool 'personalDetails' => 'setPersonalDetails', 'recurringDetailReference' => 'setRecurringDetailReference', 'storedPaymentMethodId' => 'setStoredPaymentMethodId', + 'subtype' => 'setSubtype', 'type' => 'setType' ]; @@ -216,6 +221,7 @@ public function isNullableSetToNull(string $property): bool 'personalDetails' => 'getPersonalDetails', 'recurringDetailReference' => 'getRecurringDetailReference', 'storedPaymentMethodId' => 'getStoredPaymentMethodId', + 'subtype' => 'getSubtype', 'type' => 'getType' ]; @@ -300,6 +306,7 @@ public function __construct(?array $data = null) $this->setIfExists('personalDetails', $data ?? [], null); $this->setIfExists('recurringDetailReference', $data ?? [], null); $this->setIfExists('storedPaymentMethodId', $data ?? [], null); + $this->setIfExists('subtype', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); } @@ -551,6 +558,30 @@ public function setStoredPaymentMethodId($storedPaymentMethodId) return $this; } + /** + * Gets subtype + * + * @return string|null + */ + public function getSubtype() + { + return $this->container['subtype']; + } + + /** + * Sets subtype + * + * @param string|null $subtype The payment method subtype. + * + * @return self + */ + public function setSubtype($subtype) + { + $this->container['subtype'] = $subtype; + + return $this; + } + /** * Gets type * diff --git a/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php b/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php index cc95bf6fc..d36d23216 100644 --- a/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php +++ b/src/Adyen/Model/Checkout/StandalonePaymentCancelRequest.php @@ -42,6 +42,7 @@ class StandalonePaymentCancelRequest implements ModelInterface, ArrayAccess, \Js */ protected static $openAPITypes = [ 'applicationInfo' => '\Adyen\Model\Checkout\ApplicationInfo', + 'enhancedSchemeData' => '\Adyen\Model\Checkout\EnhancedSchemeData', 'merchantAccount' => 'string', 'paymentReference' => 'string', 'reference' => 'string' @@ -56,6 +57,7 @@ class StandalonePaymentCancelRequest implements ModelInterface, ArrayAccess, \Js */ protected static $openAPIFormats = [ 'applicationInfo' => null, + 'enhancedSchemeData' => null, 'merchantAccount' => null, 'paymentReference' => null, 'reference' => null @@ -68,6 +70,7 @@ class StandalonePaymentCancelRequest implements ModelInterface, ArrayAccess, \Js */ protected static $openAPINullables = [ 'applicationInfo' => false, + 'enhancedSchemeData' => false, 'merchantAccount' => false, 'paymentReference' => false, 'reference' => false @@ -160,6 +163,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $attributeMap = [ 'applicationInfo' => 'applicationInfo', + 'enhancedSchemeData' => 'enhancedSchemeData', 'merchantAccount' => 'merchantAccount', 'paymentReference' => 'paymentReference', 'reference' => 'reference' @@ -172,6 +176,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $setters = [ 'applicationInfo' => 'setApplicationInfo', + 'enhancedSchemeData' => 'setEnhancedSchemeData', 'merchantAccount' => 'setMerchantAccount', 'paymentReference' => 'setPaymentReference', 'reference' => 'setReference' @@ -184,6 +189,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $getters = [ 'applicationInfo' => 'getApplicationInfo', + 'enhancedSchemeData' => 'getEnhancedSchemeData', 'merchantAccount' => 'getMerchantAccount', 'paymentReference' => 'getPaymentReference', 'reference' => 'getReference' @@ -247,6 +253,7 @@ public function getModelName() public function __construct(?array $data = null) { $this->setIfExists('applicationInfo', $data ?? [], null); + $this->setIfExists('enhancedSchemeData', $data ?? [], null); $this->setIfExists('merchantAccount', $data ?? [], null); $this->setIfExists('paymentReference', $data ?? [], null); $this->setIfExists('reference', $data ?? [], null); @@ -324,6 +331,30 @@ public function setApplicationInfo($applicationInfo) return $this; } + /** + * Gets enhancedSchemeData + * + * @return \Adyen\Model\Checkout\EnhancedSchemeData|null + */ + public function getEnhancedSchemeData() + { + return $this->container['enhancedSchemeData']; + } + + /** + * Sets enhancedSchemeData + * + * @param \Adyen\Model\Checkout\EnhancedSchemeData|null $enhancedSchemeData enhancedSchemeData + * + * @return self + */ + public function setEnhancedSchemeData($enhancedSchemeData) + { + $this->container['enhancedSchemeData'] = $enhancedSchemeData; + + return $this; + } + /** * Gets merchantAccount * diff --git a/src/Adyen/Model/Checkout/ThreeDS2RequestData.php b/src/Adyen/Model/Checkout/ThreeDS2RequestData.php index 780807821..7f2405a04 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2RequestData.php +++ b/src/Adyen/Model/Checkout/ThreeDS2RequestData.php @@ -825,7 +825,7 @@ public function getAddrMatch() /** * Sets addrMatch * - * @param string|null $addrMatch Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address. + * @param string|null $addrMatch Indicates whether the cardholder shipping address and cardholder billing address are the same. Allowed values: * **Y** — Shipping address matches billing address. * **N** — Shipping address does not match billing address. * * @return self */ diff --git a/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php b/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php index 06ae7dde3..e131cb7dc 100644 --- a/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php +++ b/src/Adyen/Model/Checkout/ThreeDS2RequestFields.php @@ -801,7 +801,7 @@ public function getAddrMatch() /** * Sets addrMatch * - * @param string|null $addrMatch Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address. + * @param string|null $addrMatch Indicates whether the cardholder shipping Address and cardholder billing address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address. * * @return self */ diff --git a/src/Adyen/Model/Checkout/ThreeDSRequestData.php b/src/Adyen/Model/Checkout/ThreeDSRequestData.php index f7e48303a..cbce79eb9 100644 --- a/src/Adyen/Model/Checkout/ThreeDSRequestData.php +++ b/src/Adyen/Model/Checkout/ThreeDSRequestData.php @@ -439,7 +439,7 @@ public function getDataOnly() /** * Sets dataOnly * - * @param string|null $dataOnly Flag for data only flow. + * @param string|null $dataOnly Required to trigger the [data-only flow](https://docs.adyen.com/online-payments/3d-secure/data-only/). When set to **true**, forces the 3D Secure 2 data-only flow for all transactions where it is possible. * * @return self */ @@ -473,7 +473,7 @@ public function getNativeThreeDS() /** * Sets nativeThreeDS * - * @param string|null $nativeThreeDS Indicates if [native 3D Secure authentication](https://docs.adyen.com/online-payments/3d-secure/native-3ds2) should be used when available. Possible values: * **preferred**: Use native 3D Secure authentication when available. * **disabled**: Only use the redirect 3D Secure authentication flow. + * @param string|null $nativeThreeDS Indicates if [native 3D Secure authentication](https://docs.adyen.com/online-payments/3d-secure/native-3ds2) should be triggered when available. Adyen can still select to fallback to the redirect flow to optimize authorization rates and improve the shopper's experience. Possible values: * **preferred**: Use native 3D Secure authentication when available. * **disabled**: Use the redirect 3D Secure authentication flow. * * @return self */