Bitrix-D7 22.6
 
Загрузка...
Поиск...
Не найдено
Класс CheckManager

Открытые статические члены

static isAvailableCorrection ()
 
static delete ($id)
 
static init ()
 
static getCheckList ()
 
static getSalesCheckList ()
 
static createByType ($type)
 
static create (array $settings)
 
static getCheckInfo (Sale\Internals\CollectableEntity $entity)
 
static getLastPrintableCheckInfo (Sale\Internals\CollectableEntity $entity)
 
static getCheckInfoByExternalUuid ($uuid)
 
static getObjectById ($id)
 
static getList (array $parameters=array())
 
static getPaymentByCheck (Check $check)
 

Открытые атрибуты

const EVENT_ON_GET_CUSTOM_CHECK = 'OnGetCustomCheckList'
 
const EVENT_ON_CHECK_PRINT_SEND = 'OnPrintableCheckSend'
 
const EVENT_ON_BEFORE_CHECK_ADD_VERIFY = 'OnBeforeCheckAddVerify'
 
const EVENT_ON_CHECK_PRINT_ERROR = 'OnCheckPrintError'
 
const EVENT_ON_CHECK_COLLATE_DOCUMENTS = 'OnCheckCollateDocuments'
 
const EVENT_ON_CHECK_VALIDATION_ERROR = 'OnCheckValidationError'
 
const MIN_TIME_FOR_SWITCH_CASHBOX = 240
 
const CHECK_RESENDING_TIME = 4
 
const CHECK_LIMIT_RECORDS = 5
 

Подробное описание

См. определение в файле checkmanager.php строка 23

Методы

◆ create()

static create ( array  $settings)
static
Аргументы
array$settings
Возвращает
Check|null

См. определение в файле checkmanager.php строка 1349

◆ createByType()

static createByType (   $type)
static
Аргументы
string$type
Возвращает
null|Check

См. определение в файле checkmanager.php строка 752

◆ delete()

static delete (   $id)
static
Аргументы
$id
Исключения
Main

ArgumentException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

См. определение в файле checkmanager.php строка 530

◆ getCheckInfo()

static getCheckInfo ( Sale\Internals\CollectableEntity  $entity)
static
Аргументы
CollectableEntity$entity
Возвращает
array
Исключения
Main

ArgumentException

Исключения
Main

NotImplementedException

См. определение в файле checkmanager.php строка 1364

◆ getCheckInfoByExternalUuid()

static getCheckInfoByExternalUuid (   $uuid)
static
Аргументы
$uuid
Возвращает
array|false
Исключения
Main

ArgumentException

См. определение в файле checkmanager.php строка 1487

◆ getCheckList()

static getCheckList ( )
static
Возвращает
array

См. определение в файле checkmanager.php строка 701

◆ getLastPrintableCheckInfo()

static getLastPrintableCheckInfo ( Sale\Internals\CollectableEntity  $entity)
static
Аргументы
CollectableEntity$entity
Возвращает
array|false
Исключения
Main

ArgumentException

См. определение в файле checkmanager.php строка 1391

◆ getList()

static getList ( array  $parameters = array())
static
Аргументы
array$parameters
Возвращает
Main\DB\Result
Исключения
Main

ArgumentException

См. определение в файле checkmanager.php строка 1524

◆ getObjectById()

static getObjectById (   $id)
static
Аргументы
$id
Возвращает
Check|null
Исключения
Main

ArgumentException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

См. определение в файле checkmanager.php строка 1500

◆ getPaymentByCheck()

static getPaymentByCheck ( Check  $check)
static

Returns payment by check

Аргументы
Check$check
Возвращает
Sale\Payment

См. определение в файле checkmanager.php строка 1712

◆ getSalesCheckList()

static getSalesCheckList ( )
static

См. определение в файле checkmanager.php строка 715

◆ init()

static init ( )
static
Возвращает
void

См. определение в файле checkmanager.php строка 686

◆ isAvailableCorrection()

static isAvailableCorrection ( )
static
Возвращает
bool

См. определение в файле checkmanager.php строка 188

Данные класса

◆ CHECK_LIMIT_RECORDS

const CHECK_LIMIT_RECORDS = 5

См. определение в файле checkmanager.php строка 35

◆ CHECK_RESENDING_TIME

const CHECK_RESENDING_TIME = 4

This is time re-sending a check print in minutes

См. определение в файле checkmanager.php строка 34

◆ EVENT_ON_BEFORE_CHECK_ADD_VERIFY

const EVENT_ON_BEFORE_CHECK_ADD_VERIFY = 'OnBeforeCheckAddVerify'

См. определение в файле checkmanager.php строка 27

◆ EVENT_ON_CHECK_COLLATE_DOCUMENTS

const EVENT_ON_CHECK_COLLATE_DOCUMENTS = 'OnCheckCollateDocuments'

См. определение в файле checkmanager.php строка 29

◆ EVENT_ON_CHECK_PRINT_ERROR

const EVENT_ON_CHECK_PRINT_ERROR = 'OnCheckPrintError'

См. определение в файле checkmanager.php строка 28

◆ EVENT_ON_CHECK_PRINT_SEND

const EVENT_ON_CHECK_PRINT_SEND = 'OnPrintableCheckSend'

См. определение в файле checkmanager.php строка 26

◆ EVENT_ON_CHECK_VALIDATION_ERROR

const EVENT_ON_CHECK_VALIDATION_ERROR = 'OnCheckValidationError'

См. определение в файле checkmanager.php строка 30

◆ EVENT_ON_GET_CUSTOM_CHECK

const EVENT_ON_GET_CUSTOM_CHECK = 'OnGetCustomCheckList'

См. определение в файле checkmanager.php строка 25

◆ MIN_TIME_FOR_SWITCH_CASHBOX

const MIN_TIME_FOR_SWITCH_CASHBOX = 240

См. определение в файле checkmanager.php строка 31