mirror of
https://git.yoomoney.ru/scm/sdk/yookassa-sdk-php.git
synced 2026-10-24 16:47:43 +00:00
Добавлен новый тип уведомления для webhook-ов payment_method.active
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user