В объект платежа добавлен объект payment_order с типом utilities (оплата жилищно-коммунальных услуг). Для платежей Сбербанк Бизнес Онлайн (СББОЛ) добавлена ставка НДС 5%, а ставка 18% отмечена как deprecated

Добавлено новое значение `PayoutCancellationDetails.reason=self_employed_annual_limit_exceeded` - текущая выплата превысит лимит разрешенного годового дохода самозанятого
В поле `SbpPayerBankDetails.bank_id` изменён паттерн валидации значения
Добавлена поддержка работы со способами оплаты
В объект возврата добавлен объект `refund_authorization_details` - детали авторизации возврата
Обновлен Copyright
Для чеков от ЮKassa (ЮЧеки), параметр `items`: изменено максимальное допустимо количество товаров в чеке (было 100, стало 80)
В номере банковской карты разрешено указывать Diners Club (14 знаков) и American Express (15 знаков)
This commit is contained in:
Антон Н. Николаев
2025-07-24 14:13:44 +03:00
parent 76f5f72dce
commit b6bf136dc6
659 changed files with 22378 additions and 1083 deletions
@@ -0,0 +1,44 @@
<?php
/*
* The MIT License
*
* Copyright (c) 2025 "YooMoney", NBСO LLC
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
namespace YooKassa\Request\PaymentMethods;
use YooKassa\Model\SavePaymentMethod\SavePaymentMethod;
/**
* Класс, представляющий модель PaymentMethodResponse.
*
* Объект ответа от API, возвращающего информацию о способе оплаты.
*
* @category Class
* @package YooKassa\Model
* @author cms@yoomoney.ru
* @link https://yookassa.ru/developers/api
*/
class PaymentMethodResponse extends SavePaymentMethod
{
}