Bitrix API

Manager

FinalYes

Class Manager

Table of Contents

Constants

CACHE_ID  = 'BITRIX_CASHBOX_LIST'
CHECK_STATUS_AGENT  = '\Bitrix\Sale\Cashbox\Manager::updateChecksStatus();'
DEBUG_MODE  = false
LEVEL_TRACE_E_ERROR  = \Bitrix\Sale\Cashbox\Errors\Error::LEVEL_TRACE
LEVEL_TRACE_E_IGNORED  = 0
LEVEL_TRACE_E_WARNING  = \Bitrix\Sale\Cashbox\Errors\Warning::LEVEL_TRACE
TTL  = 31536000

Methods

add()  : AddResult
buildChecksQuery()  : array<string|int, mixed>
buildConcreteCheckQuery()  : array<string|int, mixed>
buildZReportQuery()  : array<string|int, mixed>
canPaySystemPrint()  : bool
chooseCashbox()  : mixed
deactivateCashbox()  : UpdateResult
delete()  : DeleteResult
getAvailableCashboxList()  : array<string|int, mixed>
getCashboxFromCache()  : array<string|int, mixed>
getConnectionLink()  : string
getList()  : Result
getListFromCache()  : mixed
getListWithRestrictions()  : array<string|int, mixed>
getObjectById()  : Cashbox|ICheckable|null
getRestHandlersList()  : array<string|int, mixed>
Returns a list of all the registered rest cashbox handlers Structure: handler code => handler data
isCashboxChecksExist()  : bool
isEnabledPaySystemPrint()  : bool
isPaySystemCashbox()  : bool
isSupportedFFD105()  : bool
update()  : UpdateResult
updateChecksStatus()  : string
writeToLog()  : mixed

Constants

CACHE_ID

public mixed CACHE_ID = 'BITRIX_CASHBOX_LIST'

CHECK_STATUS_AGENT

public mixed CHECK_STATUS_AGENT = '\Bitrix\Sale\Cashbox\Manager::updateChecksStatus();'

DEBUG_MODE

public mixed DEBUG_MODE = false

LEVEL_TRACE_E_ERROR

public mixed LEVEL_TRACE_E_ERROR = \Bitrix\Sale\Cashbox\Errors\Error::LEVEL_TRACE

LEVEL_TRACE_E_IGNORED

public mixed LEVEL_TRACE_E_IGNORED = 0

LEVEL_TRACE_E_WARNING

public mixed LEVEL_TRACE_E_WARNING = \Bitrix\Sale\Cashbox\Errors\Warning::LEVEL_TRACE

Methods

add()

public static add(array<string|int, mixed> $data) : AddResult
Parameters
$data : array<string|int, mixed>
Return values
AddResult

buildChecksQuery()

public static buildChecksQuery(mixed $cashboxIds) : array<string|int, mixed>
Parameters
$cashboxIds : mixed
Return values
array<string|int, mixed>

buildConcreteCheckQuery()

public static buildConcreteCheckQuery(mixed $cashboxId, Check $check) : array<string|int, mixed>
Parameters
$cashboxId : mixed
$check : Check
Return values
array<string|int, mixed>

buildZReportQuery()

public static buildZReportQuery(mixed $cashboxId, mixed $id) : array<string|int, mixed>
Parameters
$cashboxId : mixed
$id : mixed
Return values
array<string|int, mixed>

canPaySystemPrint()

public static canPaySystemPrint(Payment $payment) : bool
Parameters
$payment : Payment
Return values
bool

chooseCashbox()

public static chooseCashbox(mixed $cashboxList) : mixed
Parameters
$cashboxList : mixed
Tags
throws
SystemException

delete()

public static delete(mixed $primary) : DeleteResult
Parameters
$primary : mixed
Return values
DeleteResult

getAvailableCashboxList()

public static getAvailableCashboxList(Check $check) : array<string|int, mixed>
Parameters
$check : Check
Return values
array<string|int, mixed>

getCashboxFromCache()

public static getCashboxFromCache(mixed $cashboxId) : array<string|int, mixed>
Parameters
$cashboxId : mixed
Return values
array<string|int, mixed>
public static getConnectionLink() : string
Return values
string

getList()

public static getList([array<string|int, mixed> $parameters = [] ]) : Result
Parameters
$parameters : array<string|int, mixed> = []
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
Result

getListFromCache()

public static getListFromCache() : mixed

getRestHandlersList()

Returns a list of all the registered rest cashbox handlers Structure: handler code => handler data

public static getRestHandlersList() : array<string|int, mixed>
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
array<string|int, mixed>

isCashboxChecksExist()

public static isCashboxChecksExist(mixed $cashboxId) : bool
Parameters
$cashboxId : mixed
Return values
bool

isEnabledPaySystemPrint()

public static isEnabledPaySystemPrint() : bool
Return values
bool

isPaySystemCashbox()

public static isPaySystemCashbox(string $cashboxClassName) : bool
Parameters
$cashboxClassName : string
Return values
bool

isSupportedFFD105()

public static isSupportedFFD105() : bool
Return values
bool

update()

public static update(mixed $primary, array<string|int, mixed> $data) : UpdateResult
Parameters
$primary : mixed
$data : array<string|int, mixed>
Return values
UpdateResult

updateChecksStatus()

public static updateChecksStatus() : string
Tags
throws
ArgumentException
Return values
string

writeToLog()

public static writeToLog(mixed $cashboxId, Error $error) : mixed

Use \Bitrix\Sale\Cashbox\Logger instead

Parameters
$cashboxId : mixed
$error : Error
Tags
throws
ArgumentNullException
throws
ArgumentOutOfRangeException
throws
ArgumentTypeException
throws
ObjectException

        
On this page

Search results