atol-online/src/Enums/AgentType.php

57 lines
1.2 KiB
PHP
Raw Normal View History

2021-11-22 06:53:10 +00:00
<?php
2021-11-22 06:53:10 +00:00
/*
* Copyright (c) 2020-2021 Антон Аксенов (Anthony Axenov)
*
* This code is licensed under MIT.
* Этот код распространяется по лицензии MIT.
* https://github.com/anthonyaxenov/atol-online/blob/master/LICENSE
*/
declare(strict_types=1);
2021-11-22 06:53:10 +00:00
namespace AtolOnline\Enums;
/**
* Константы, определяющие типы агента
*
* @see https://online.atol.ru/files/API_atol_online_v4.pdf Документация, стр 18, 26
2021-11-22 06:53:10 +00:00
*/
enum AgentType: string
2021-11-22 06:53:10 +00:00
{
/**
* Банковский платёжный агент
2021-11-22 06:53:10 +00:00
*/
case BANK_PAYING_AGENT = 'bank_paying_agent';
2021-11-22 06:53:10 +00:00
/**
* Банковский платёжный субагент
2021-11-22 06:53:10 +00:00
*/
case BANK_PAYING_SUBAGENT = 'bank_paying_subagent';
2021-11-22 06:53:10 +00:00
/**
* Платёжный агент
2021-11-22 06:53:10 +00:00
*/
case PAYING_AGENT = 'payingAgent';
2021-11-22 06:53:10 +00:00
/**
* Платёжный субагент
2021-11-22 06:53:10 +00:00
*/
case PAYING_SUBAGENT = 'paying_subagent';
2021-11-22 06:53:10 +00:00
/**
* Поверенный
*/
case ATTRONEY = 'attorney';
2021-11-22 06:53:10 +00:00
/**
* Комиссионер
*/
case COMMISSION_AGENT = 'commission_agent';
2021-11-22 06:53:10 +00:00
/**
* Другой тип агента
*/
case ANOTHER = 'another';
2021-11-22 06:53:10 +00:00
}