Добавлен новый тип уведомления для webhook-ов payment_method.active

This commit is contained in:
Евгений Ю. Лозный
2026-03-13 11:10:01 +03:00
parent 145becef0b
commit 6c6cd693a4
504 changed files with 1567 additions and 508 deletions
@@ -30,6 +30,7 @@ use YooKassa\Model\Deal\DealInterface;
use YooKassa\Model\Payment\PaymentInterface;
use YooKassa\Model\Payout\PayoutInterface;
use YooKassa\Model\Refund\RefundInterface;
use YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface;
interface NotificationInterface
{
@@ -58,7 +59,7 @@ interface NotificationInterface
* получена на сайте, то опираться на статус пришедшего платежа не стоит, лучше запросить текущую информацию о
* платеже у API.
*
* @return PaymentInterface|RefundInterface|PayoutInterface|DealInterface|null Объект с информацией о платеже
* @return PaymentInterface|RefundInterface|PayoutInterface|DealInterface|SavePaymentMethodInterface|null Объект с информацией о платеже
*/
public function getObject(): RefundInterface|PaymentInterface|PayoutInterface|DealInterface|null;
public function getObject(): RefundInterface|PaymentInterface|PayoutInterface|DealInterface|SavePaymentMethodInterface|null;
}