Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code generation: update services and models #734

Merged
merged 2 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Adyen/Model/BalancePlatform/PaymentInstrument.php
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ public function valid()
* Gets additionalBankAccountIdentifications
*
* @return \Adyen\Model\BalancePlatform\PaymentInstrumentAdditionalBankAccountIdentificationsInner[]|null
* @deprecated
* @deprecated since Configuration API v2. "Please use `bankAccount` object instead"
*/
public function getAdditionalBankAccountIdentifications()
{
Expand All @@ -476,7 +476,7 @@ public function getAdditionalBankAccountIdentifications()
* @param \Adyen\Model\BalancePlatform\PaymentInstrumentAdditionalBankAccountIdentificationsInner[]|null $additionalBankAccountIdentifications Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**.
*
* @return self
* @deprecated
* @deprecated since Configuration API v2. "Please use `bankAccount` object instead"
*/
public function setAdditionalBankAccountIdentifications($additionalBankAccountIdentifications)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/BalancePlatform/UpdatePaymentInstrument.php
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ public function valid()
* Gets additionalBankAccountIdentifications
*
* @return \Adyen\Model\BalancePlatform\PaymentInstrumentAdditionalBankAccountIdentificationsInner[]|null
* @deprecated
* @deprecated since Configuration API v2. "Please use `bankAccount` object instead"
*/
public function getAdditionalBankAccountIdentifications()
{
Expand All @@ -476,7 +476,7 @@ public function getAdditionalBankAccountIdentifications()
* @param \Adyen\Model\BalancePlatform\PaymentInstrumentAdditionalBankAccountIdentificationsInner[]|null $additionalBankAccountIdentifications Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**.
*
* @return self
* @deprecated
* @deprecated since Configuration API v2. "Please use `bankAccount` object instead"
*/
public function setAdditionalBankAccountIdentifications($additionalBankAccountIdentifications)
{
Expand Down
12 changes: 6 additions & 6 deletions src/Adyen/Model/Checkout/AccountInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ public function setDeliveryAddressUsageIndicator($deliveryAddressUsageIndicator)
* Gets homePhone
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v68. "Use `ThreeDS2RequestData.homePhone` instead."
*/
public function getHomePhone()
{
Expand All @@ -817,7 +817,7 @@ public function getHomePhone()
* @param string|null $homePhone Shopper's home phone number (including the country code).
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v68. "Use `ThreeDS2RequestData.homePhone` instead."
*/
public function setHomePhone($homePhone)
{
Expand All @@ -830,7 +830,7 @@ public function setHomePhone($homePhone)
* Gets mobilePhone
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v68. "Use `ThreeDS2RequestData.mobilePhone` instead."
*/
public function getMobilePhone()
{
Expand All @@ -843,7 +843,7 @@ public function getMobilePhone()
* @param string|null $mobilePhone Shopper's mobile phone number (including the country code).
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v68. "Use `ThreeDS2RequestData.mobilePhone` instead."
*/
public function setMobilePhone($mobilePhone)
{
Expand Down Expand Up @@ -1068,7 +1068,7 @@ public function setSuspiciousActivity($suspiciousActivity)
* Gets workPhone
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v68. "Use `ThreeDS2RequestData.workPhone` instead."
*/
public function getWorkPhone()
{
Expand All @@ -1081,7 +1081,7 @@ public function getWorkPhone()
* @param string|null $workPhone Shopper's work phone number (including the country code).
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v68. "Use `ThreeDS2RequestData.workPhone` instead."
*/
public function setWorkPhone($workPhone)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/AchDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ public function setOwnerName($ownerName)
* Gets recurringDetailReference
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function getRecurringDetailReference()
{
Expand All @@ -597,7 +597,7 @@ public function getRecurringDetailReference()
* @param string|null $recurringDetailReference This is the `recurringDetailReference` returned in the response when you created the token.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function setRecurringDetailReference($recurringDetailReference)
{
Expand Down
8 changes: 4 additions & 4 deletions src/Adyen/Model/Checkout/AdditionalData3DSecure.php
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ public function valid()
* Gets allow3DS2
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v69. "Use `authenticationData.threeDSRequestData.nativeThreeDS` instead."
*/
public function getAllow3DS2()
{
Expand All @@ -357,7 +357,7 @@ public function getAllow3DS2()
* @param string|null $allow3DS2 Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen selects redirect or native authentication based on your configuration to optimize authorization rates and improve the shopper's experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen offers redirect 3D Secure 2 authentication instead, based on your configuration.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v69. "Use `authenticationData.threeDSRequestData.nativeThreeDS` instead."
*/
public function setAllow3DS2($allow3DS2)
{
Expand Down Expand Up @@ -404,7 +404,7 @@ public function setChallengeWindowSize($challengeWindowSize)
* Gets executeThreeD
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v69. "Use [`authenticationData.attemptAuthentication`](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments?target=_blank#request-authenticationData-attemptAuthentication) instead"
*/
public function getExecuteThreeD()
{
Expand All @@ -417,7 +417,7 @@ public function getExecuteThreeD()
* @param string|null $executeThreeD Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don't perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v69. "Use [`authenticationData.attemptAuthentication`](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments?target=_blank#request-authenticationData-attemptAuthentication) instead"
*/
public function setExecuteThreeD($executeThreeD)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/AfterpayDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ public function setPersonalDetails($personalDetails)
* Gets recurringDetailReference
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function getRecurringDetailReference()
{
Expand All @@ -461,7 +461,7 @@ public function getRecurringDetailReference()
* @param string|null $recurringDetailReference This is the `recurringDetailReference` returned in the response when you created the token.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function setRecurringDetailReference($recurringDetailReference)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/AncvDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public function setCheckoutAttemptId($checkoutAttemptId)
* Gets recurringDetailReference
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function getRecurringDetailReference()
{
Expand All @@ -390,7 +390,7 @@ public function getRecurringDetailReference()
* @param string|null $recurringDetailReference This is the `recurringDetailReference` returned in the response when you created the token.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function setRecurringDetailReference($recurringDetailReference)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/ApplePayDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ public function setFundingSource($fundingSource)
* Gets recurringDetailReference
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function getRecurringDetailReference()
{
Expand All @@ -457,7 +457,7 @@ public function getRecurringDetailReference()
* @param string|null $recurringDetailReference This is the `recurringDetailReference` returned in the response when you created the token.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function setRecurringDetailReference($recurringDetailReference)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/ApplePayDonations.php
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ public function setFundingSource($fundingSource)
* Gets recurringDetailReference
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function getRecurringDetailReference()
{
Expand All @@ -457,7 +457,7 @@ public function getRecurringDetailReference()
* @param string|null $recurringDetailReference This is the `recurringDetailReference` returned in the response when you created the token.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function setRecurringDetailReference($recurringDetailReference)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/BacsDirectDebitDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ public function setHolderName($holderName)
* Gets recurringDetailReference
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function getRecurringDetailReference()
{
Expand All @@ -459,7 +459,7 @@ public function getRecurringDetailReference()
* @param string|null $recurringDetailReference This is the `recurringDetailReference` returned in the response when you created the token.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function setRecurringDetailReference($recurringDetailReference)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/BalanceCheckRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1646,7 +1646,7 @@ public function setThreeDS2RequestData($threeDS2RequestData)
* Gets threeDSAuthenticationOnly
*
* @return bool|null
* @deprecated
* @deprecated since Adyen Checkout API v69. "Use `authenticationData.authenticationOnly` instead."
*/
public function getThreeDSAuthenticationOnly()
{
Expand All @@ -1659,7 +1659,7 @@ public function getThreeDSAuthenticationOnly()
* @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.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v69. "Use `authenticationData.authenticationOnly` instead."
*/
public function setThreeDSAuthenticationOnly($threeDSAuthenticationOnly)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/BlikDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public function setCheckoutAttemptId($checkoutAttemptId)
* Gets recurringDetailReference
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function getRecurringDetailReference()
{
Expand All @@ -390,7 +390,7 @@ public function getRecurringDetailReference()
* @param string|null $recurringDetailReference This is the `recurringDetailReference` returned in the response when you created the token.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function setRecurringDetailReference($recurringDetailReference)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/CardDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ public function setNumber($number)
* Gets recurringDetailReference
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function getRecurringDetailReference()
{
Expand All @@ -880,7 +880,7 @@ public function getRecurringDetailReference()
* @param string|null $recurringDetailReference This is the `recurringDetailReference` returned in the response when you created the token.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function setRecurringDetailReference($recurringDetailReference)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/CardDonations.php
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ public function setNumber($number)
* Gets recurringDetailReference
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function getRecurringDetailReference()
{
Expand All @@ -880,7 +880,7 @@ public function getRecurringDetailReference()
* @param string|null $recurringDetailReference This is the `recurringDetailReference` returned in the response when you created the token.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function setRecurringDetailReference($recurringDetailReference)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/CashAppDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ public function setOnFileGrantId($onFileGrantId)
* Gets recurringDetailReference
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function getRecurringDetailReference()
{
Expand All @@ -497,7 +497,7 @@ public function getRecurringDetailReference()
* @param string|null $recurringDetailReference This is the `recurringDetailReference` returned in the response when you created the token.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function setRecurringDetailReference($recurringDetailReference)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/CheckoutPaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ public function setOwnerName($ownerName)
* Gets recurringDetailReference
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function getRecurringDetailReference()
{
Expand All @@ -1015,7 +1015,7 @@ public function getRecurringDetailReference()
* @param string|null $recurringDetailReference This is the `recurringDetailReference` returned in the response when you created the token.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function setRecurringDetailReference($recurringDetailReference)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/CreateCheckoutSessionRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2338,7 +2338,7 @@ public function setThreeDS2RequestData($threeDS2RequestData)
* Gets threeDSAuthenticationOnly
*
* @return bool|null
* @deprecated
* @deprecated since Adyen Checkout API v69. "Use `authenticationData.authenticationOnly` instead."
*/
public function getThreeDSAuthenticationOnly()
{
Expand All @@ -2351,7 +2351,7 @@ public function getThreeDSAuthenticationOnly()
* @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.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v69. "Use `authenticationData.authenticationOnly` instead."
*/
public function setThreeDSAuthenticationOnly($threeDSAuthenticationOnly)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/CreateCheckoutSessionResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -2413,7 +2413,7 @@ public function setThreeDS2RequestData($threeDS2RequestData)
* Gets threeDSAuthenticationOnly
*
* @return bool|null
* @deprecated
* @deprecated since Adyen Checkout API v69. "Use `authenticationData.authenticationOnly` instead."
*/
public function getThreeDSAuthenticationOnly()
{
Expand All @@ -2426,7 +2426,7 @@ public function getThreeDSAuthenticationOnly()
* @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.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v69. "Use `authenticationData.authenticationOnly` instead."
*/
public function setThreeDSAuthenticationOnly($threeDSAuthenticationOnly)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/DonationPaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ public function setFundingSource($fundingSource)
* Gets recurringDetailReference
*
* @return string|null
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function getRecurringDetailReference()
{
Expand All @@ -562,7 +562,7 @@ public function getRecurringDetailReference()
* @param string|null $recurringDetailReference This is the `recurringDetailReference` returned in the response when you created the token.
*
* @return self
* @deprecated
* @deprecated since Adyen Checkout API v49. "Use `storedPaymentMethodId` instead."
*/
public function setRecurringDetailReference($recurringDetailReference)
{
Expand Down
Loading