Skip to content

Commit

Permalink
Merge pull request #2848 from Adyen/ECP-8977
Browse files Browse the repository at this point in the history
[ECP-8977]Deprecating the class as it is no more used and referred.
  • Loading branch information
khushboo-singhvi authored Jan 15, 2025
2 parents d736b5d + eb733ea commit 8417b45
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Model/Api/PaymentRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
* See LICENSE.txt for license details.
*
* Author: Adyen <[email protected]>
* @deprecated This class is deprecated and will be removed in a future release.
* Use an alternative service or class for similar requests.
*/

namespace Adyen\Payment\Model\Api;
Expand Down Expand Up @@ -87,8 +89,10 @@ public function __construct(
}

/**
* @deprecated This method is deprecated and will be removed in a future release.
*
* @param Payment $payment
* @return mixed
* @return array
* @throws LocalizedException
* @throws NoSuchEntityException
*/
Expand Down Expand Up @@ -134,6 +138,7 @@ public function authorise3d(Payment $payment): array
}

/**
* @deprecated This method is redundant and no more used with the current flow. Will be deleted in the future releases.
* @param string $shopperReference
* @param int $storeId
* @return array
Expand Down Expand Up @@ -182,6 +187,7 @@ public function getRecurringContractsForShopper(string $shopperReference, int $s
}

/**
* @deprecated This method is a part of deprecated parent and will be removed in the future releases.
* @param string $shopperReference
* @param int $storeId
* @param string $recurringType
Expand All @@ -208,6 +214,7 @@ public function listRecurringContractByType(string $shopperReference, int $store
}

/**
* @deprecated This method is redundant and will be removed in the coming major release.
* @param string $recurringDetailReference
* @param string $shopperReference
* @param int $storeId
Expand Down

0 comments on commit 8417b45

Please sign in to comment.