feat: paygw_moneta 1.0.0, MONETA.Assistant payment gateway for Moodle

This commit is contained in:
2026-09-25 16:42:38 +03:00
parent 70464af858
commit 14b386a550
65 changed files with 5377 additions and 59 deletions
+32
View File
@@ -0,0 +1,32 @@
<?php
declare(strict_types=1);
namespace paygw_moneta\local\receipt;
/**
* Признак предмета расчёта (`po` / `paymentObject`), перечень из `cmsspecification.pdf`.
*
* @package paygw_moneta
* @copyright 2026 Moneta Labs {@link https://moneta.ru/}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
enum PaymentObject: string
{
case Commodity = 'commodity';
case Excise = 'excise';
case Job = 'job';
case Service = 'service';
case GamblingBet = 'gambling_bet';
case GamblingPrize = 'gambling_prize';
case Lottery = 'lottery';
case LotteryPrize = 'lottery_prize';
case IntellectualActivity = 'intellectual_activity';
case Payment = 'payment';
case AgentCommission = 'agent_commission';
case Composite = 'composite';
case Another = 'another';
case PropertyRight = 'property_right';
case SalesTax = 'sales_tax';
case ResortFee = 'resort_fee';
}