AbstractCheck
AbstractYes
Class AbstractCheck
Table of Contents
Constants
- CALCULATED_SIGN_CONSUMPTION = 'consumption'
- CALCULATED_SIGN_INCOME = 'income'
- PARAM_CALCULATION_ATTR = 'calculation_attribute'
- PARAM_DOC_SUM = 'doc_sum'
- PARAM_DOC_TIME = 'doc_time'
- PARAM_FISCAL_DOC_ATTR = 'fiscal_doc_attribute'
- PARAM_FISCAL_DOC_NUMBER = 'fiscal_doc_number'
- PARAM_FISCAL_RECEIPT_NUMBER = 'fiscal_receipt_number'
- PARAM_FN_NUMBER = 'fn_number'
- PARAM_OFD_RECEIPT_URL = 'ofd_receipt_url'
- PARAM_REG_NUMBER_KKT = 'reg_number_kkt'
- PARAM_SHIFT_NUMBER = 'shift_number'
- PAYMENT_TYPE_ADVANCE = 'advance'
- PAYMENT_TYPE_CASH = 'cash'
- PAYMENT_TYPE_CASHLESS = 'cashless'
- PAYMENT_TYPE_CREDIT = 'credit'
- SHIPMENT_TYPE_NONE = ''
- SUPPORTED_ENTITY_TYPE_ALL = 'all'
- SUPPORTED_ENTITY_TYPE_NONE = 'none'
- SUPPORTED_ENTITY_TYPE_PAYMENT = 'payment'
- SUPPORTED_ENTITY_TYPE_SHIPMENT = 'shipment'
Methods
- create() : null|Check
- getCalculatedSign() : string
- getDataForCheck() : array<string|int, mixed>
- getEntities() : array<string|int, mixed>|array<string|int, CollectableEntity>
- getField() : mixed
- getName() : string
- getSupportedEntityType() : string
- getType() : string
- getUrl() : string
- init() : mixed
- linkCashbox() : mixed
- save() : AddResult|UpdateResult
- setAvailableCashbox() : mixed
- setEntities() : mixed
- setField() : mixed
- setFields() : mixed
Constants
CALCULATED_SIGN_CONSUMPTION
public
mixed
CALCULATED_SIGN_CONSUMPTION
= 'consumption'
CALCULATED_SIGN_INCOME
public
mixed
CALCULATED_SIGN_INCOME
= 'income'
PARAM_CALCULATION_ATTR
public
mixed
PARAM_CALCULATION_ATTR
= 'calculation_attribute'
PARAM_DOC_SUM
public
mixed
PARAM_DOC_SUM
= 'doc_sum'
PARAM_DOC_TIME
public
mixed
PARAM_DOC_TIME
= 'doc_time'
PARAM_FISCAL_DOC_ATTR
public
mixed
PARAM_FISCAL_DOC_ATTR
= 'fiscal_doc_attribute'
PARAM_FISCAL_DOC_NUMBER
public
mixed
PARAM_FISCAL_DOC_NUMBER
= 'fiscal_doc_number'
PARAM_FISCAL_RECEIPT_NUMBER
public
mixed
PARAM_FISCAL_RECEIPT_NUMBER
= 'fiscal_receipt_number'
PARAM_FN_NUMBER
public
mixed
PARAM_FN_NUMBER
= 'fn_number'
PARAM_OFD_RECEIPT_URL
public
mixed
PARAM_OFD_RECEIPT_URL
= 'ofd_receipt_url'
PARAM_REG_NUMBER_KKT
public
mixed
PARAM_REG_NUMBER_KKT
= 'reg_number_kkt'
PARAM_SHIFT_NUMBER
public
mixed
PARAM_SHIFT_NUMBER
= 'shift_number'
PAYMENT_TYPE_ADVANCE
public
mixed
PAYMENT_TYPE_ADVANCE
= 'advance'
PAYMENT_TYPE_CASH
public
mixed
PAYMENT_TYPE_CASH
= 'cash'
PAYMENT_TYPE_CASHLESS
public
mixed
PAYMENT_TYPE_CASHLESS
= 'cashless'
PAYMENT_TYPE_CREDIT
public
mixed
PAYMENT_TYPE_CREDIT
= 'credit'
SHIPMENT_TYPE_NONE
public
mixed
SHIPMENT_TYPE_NONE
= ''
SUPPORTED_ENTITY_TYPE_ALL
public
mixed
SUPPORTED_ENTITY_TYPE_ALL
= 'all'
SUPPORTED_ENTITY_TYPE_NONE
public
mixed
SUPPORTED_ENTITY_TYPE_NONE
= 'none'
SUPPORTED_ENTITY_TYPE_PAYMENT
public
mixed
SUPPORTED_ENTITY_TYPE_PAYMENT
= 'payment'
SUPPORTED_ENTITY_TYPE_SHIPMENT
public
mixed
SUPPORTED_ENTITY_TYPE_SHIPMENT
= 'shipment'
Methods
create()
public
static create(string $handler) : null|Check
Parameters
- $handler : string
Return values
null|CheckgetCalculatedSign()
public
abstract static getCalculatedSign() : string
Return values
stringgetDataForCheck()
public
abstract getDataForCheck() : array<string|int, mixed>
Return values
array<string|int, mixed>getEntities()
public
getEntities() : array<string|int, mixed>|array<string|int, CollectableEntity>
Tags
Return values
array<string|int, mixed>|array<string|int, CollectableEntity>getField()
public
getField(mixed $name) : mixed
Parameters
- $name : mixed
getName()
public
abstract static getName() : string
Return values
stringgetSupportedEntityType()
public
abstract static getSupportedEntityType() : string
Return values
stringgetType()
public
abstract static getType() : string
Return values
stringgetUrl()
public
getUrl() : string
Return values
stringinit()
public
init(mixed $settings) : mixed
Parameters
- $settings : mixed
linkCashbox()
public
linkCashbox(mixed $cashboxId) : mixed
Parameters
- $cashboxId : mixed
save()
public
save() : AddResult|UpdateResult
Tags
Return values
AddResult|UpdateResultsetAvailableCashbox()
public
setAvailableCashbox(array<string|int, mixed> $cashboxList) : mixed
Parameters
- $cashboxList : array<string|int, mixed>
setEntities()
public
setEntities(array<string|int, mixed> $entities) : mixed
Parameters
- $entities : array<string|int, mixed>
Tags
setField()
public
setField(mixed $name, mixed $value) : mixed
Parameters
- $name : mixed
- $value : mixed
setFields()
public
setFields(mixed $fields) : mixed
Parameters
- $fields : mixed