Bitrix API

CashboxCheckbox extends Cashbox implements IPrintImmediately, ICheckable

Class CashboxCheckbox

Table of Contents

Interfaces

IPrintImmediately
ICheckable

Constants

EVENT_ON_GET_CUSTOM_CASHBOX_HANDLERS  = 'OnGetCustomCashboxHandlers'
UUID_DELIMITER  = '|'
UUID_TYPE_CHECK  = 'check'
UUID_TYPE_REPORT  = 'report'

Methods

applyCheckResult()  : Result
applyZReportResult()  : Result
buildCheckQuery()  : array<string|int, mixed>
buildZReportQuery()  : array<string|int, mixed>
check()  : Result
closeShiftAgent()  : mixed
create()  : Cashbox|null
extractSettingsFromRequest()  : array<string|int, mixed>
getCheckLink()  : string
getCode()  : mixed
getFfdVersion()  : float|null
getField()  : mixed
getGeneralRequiredFields()  : array<string|int, mixed>
getHandlerList()  : array<string|int, mixed>
getName()  : string
getOfd()  : Ofd|null
getSettings()  : array<string|int, mixed>
getSupportedKkmModels()  : array<string|int, mixed>
getValueFromSettings()  : mixed
init()  : void
isCheckable()  : bool
isCorrection()  : bool
isCorrectionOn()  : bool
isOfdSettingsNeeded()  : bool
isSupportedFFD105()  : bool
printImmediately()  : Result
validate()  : Result

Constants

EVENT_ON_GET_CUSTOM_CASHBOX_HANDLERS

public mixed EVENT_ON_GET_CUSTOM_CASHBOX_HANDLERS = 'OnGetCustomCashboxHandlers'

UUID_DELIMITER

public mixed UUID_DELIMITER = '|'

UUID_TYPE_CHECK

public mixed UUID_TYPE_CHECK = 'check'

UUID_TYPE_REPORT

public mixed UUID_TYPE_REPORT = 'report'

Methods

applyCheckResult()

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

applyZReportResult()

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

buildCheckQuery()

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

buildZReportQuery()

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

closeShiftAgent()

public static closeShiftAgent(mixed $cashboxId) : mixed
Parameters
$cashboxId : mixed
Tags
throws
ArgumentNullException
throws
ArgumentOutOfRangeException
throws
ObjectException

create()

public static create(array<string|int, mixed> $settings) : Cashbox|null
Parameters
$settings : array<string|int, mixed>
Tags
throws
LoaderException
Return values
Cashbox|null

extractSettingsFromRequest()

public static extractSettingsFromRequest(HttpRequest $request) : array<string|int, mixed>
Parameters
$request : HttpRequest
Return values
array<string|int, mixed>
public getCheckLink(array<string|int, mixed> $linkParams) : string
Parameters
$linkParams : array<string|int, mixed>
Tags
inheritDoc
Return values
string

getCode()

public static getCode() : mixed

getFfdVersion()

public static getFfdVersion() : float|null
Return values
float|null

getField()

public getField(mixed $name) : mixed
Parameters
$name : mixed

getGeneralRequiredFields()

public static getGeneralRequiredFields() : array<string|int, mixed>
Return values
array<string|int, mixed>

getHandlerList()

public static getHandlerList() : array<string|int, mixed>
Return values
array<string|int, mixed>

getSettings()

public static getSettings([mixed $modelId = 0 ]) : array<string|int, mixed>
Parameters
$modelId : mixed = 0
Tags
inheritDoc
Return values
array<string|int, mixed>

getSupportedKkmModels()

public static getSupportedKkmModels() : array<string|int, mixed>
Return values
array<string|int, mixed>

getValueFromSettings()

public getValueFromSettings(mixed $name, mixed $code) : mixed
Parameters
$name : mixed
$code : mixed

init()

public static init() : void
Tags
throws
LoaderException

isCheckable()

public isCheckable() : bool
Return values
bool

isCorrection()

public isCorrection() : bool
Return values
bool

isCorrectionOn()

public static isCorrectionOn() : bool
Return values
bool

isOfdSettingsNeeded()

public static isOfdSettingsNeeded() : bool
Return values
bool

isSupportedFFD105()

public static isSupportedFFD105() : bool

Use \Bitrix\Sale\Cashbox\Cashbox::getFfdVersion instead

Return values
bool

printImmediately()

public printImmediately(Check $check) : Result
Parameters
$check : Check
Tags
inheritDoc
Return values
Result

validate()

public validate() : Result
Return values
Result

        
On this page

Search results