rch-driver-js-core v1.0.2
API Reference
Core
Kind: global class
- Core
- new Core(isSerial)
- .header()
- .footer()
- .cmd(protocolCommand)
- .parseBool(value) ⇒ number
- .subtotal()
- .clear()
- .cancel()
- .transfer()
- .paperPeekOut()
- .departmentSell(departmentId, description, value, [qty], [sellType]) ⇒ string
- .departmentSellFromLineItem(lineItem)
- .returnGoods(date, closure, number, [onlyCheck]) ⇒ string
- .returnGoodsFromDTO(returnInfo) ⇒ string
- .lottery(code)
- .discountPercentage(percentage, description)
- .increasePercentage(percentage, description)
- .discountValue(value, description)
- .increaseValue(value, description)
- .increaseValueSubtotal(value, description)
- .openNonFiscalReceipt(cutPaper, heading)
- .closeNonFiscalReceipt()
- .payment(paymentId, value, description)
- .paymentFromPaymentItem(paymentItem) ⇒ string
- .returnReceipt(date, closure, number, onlyCheck, serialNumber)
- .returnReceiptFromDTO(returnInfo)
- .getLastReceipt()
- .giftReceipt()
- .operator(operatorId)
- .closeReceipt()
- .terminateOperation()
- .printRow(content)
- .printRowAfterTotal(content)
- .printRowBeforeFiscalContent(content)
- .printFiscalCode(fiscalCode)
- .reg()
- .x()
- .z()
- .prg()
- .srv()
- .xReport()
- .zReport()
- .restart()
- .updateOnDemand()
- .sendPendingXmls()
- .testXmlUrl()
- .displayMessage(rowId, message)
- .printBarCode(type, code)
- .printBarCode_UpcE(code)
- .printBarCode_Ean13(code)
- .printBarCode_Ean8(code)
- .printBarCode_Code39(code)
- .printBarCode_UpcA(code)
- .printBarCode_Itf(code)
- .printBarCode_Codabar(code)
- .printBarCode_Code128(code)
- .printBarCode_Code93(code)
- .printBarCode_QRCode(code)
- .dgfeStatus()
- .periodicAssessmentStatus()
- .inactivityAndPendings()
- .dgfeFreeSpace()
- .deviceStatus()
- .printerStatus()
- .getSerialNumber()
- .getFirmwareRevision()
- .rtStatus()
- .pendingXmlStatus()
- .inServiceStatus()
- .allProgramming()
- .C125(vat_on_ticket)
- .C126(midnight_alert)
- .C132(print_register_number)
- .C133(subtotal_required)
- .C135(max_receipt_amount)
- .C136(change_on_payments)
- .C138(department_net)
- .C170(rt_print_appendix, rt_enable_appendix_Cut)
- .C451(date)
- .C452(date)
- .C917(invoice_on_receipt_enable, receipt_print_on_2_lines, invoice_subtotal_enable, invoice_disable_check_client, invoice_print_unit_price)
- .C918(id, name)
- .C927(print_unit_price, print_single_quantity)
- .C928(disable_double_feed)
- .C932(print_with_buffering)
- .C980(notify_cash)
- .C997(enabled_cutter)
- .H(headingRow, description)
- .t(courtesyRow, description)
- .O(operatorId, name)
- .R(deptId, price, vat, name, halo, lalo, single, grp_code, dpt_type)
- .T(paymentId, name, change, cash, pay_discount, tender_credit_type, opendrawer, input_total_amount, ticket)
- .U(department_discount)
- .V(vatId, rate_type, value, ateco_code)
- .dptTypeStringToInt(val)
- .dptIntToTypeString(val)
- .rateStringToInt(value)
- .natureStringToInt(value)
- .creditStringToInt(tender_credit_type)
- .creditIntToString(tender_credit_type)
new Core(isSerial)
Param | Type | Default |
---|---|---|
isSerial | Boolean | true |
core.header()
Kind: instance method of Core
core.footer()
Kind: instance method of Core
core.cmd(protocolCommand)
Kind: instance method of Core
Param | Type |
---|---|
protocolCommand | String |
core.parseBool(value) ⇒ number
Kind: instance method of Core
Date: 1/11/2022 - 2:18:03 AM
Param | Type |
---|---|
value | boolean |
core.subtotal()
Kind: instance method of Core
core.clear()
Kind: instance method of Core
core.cancel()
Kind: instance method of Core
core.transfer()
Kind: instance method of Core
core.paperPeekOut()
Kind: instance method of Core
core.departmentSell(departmentId, description, value, qty, sellType) ⇒ string
Kind: instance method of Core
Date: 1/11/2022 - 1:51:45 AM
Param | Type | Default |
---|---|---|
departmentId | number | |
description | string | |
value | number | |
qty | number | 1 |
sellType | SellType |
core.departmentSellFromLineItem(lineItem)
Kind: instance method of Core
Param | Type |
---|---|
lineItem | LineItemDTO |
core.returnGoods(date, closure, number, onlyCheck) ⇒ string
Kind: instance method of Core
Date: 1/11/2022 - 1:52:14 AM
Param | Type |
---|---|
date | Date |
closure | number |
number | number |
onlyCheck | boolean |
core.returnGoodsFromDTO(returnInfo) ⇒ string
Kind: instance method of Core
Date: 1/11/2022 - 1:52:45 AM
Param | Type |
---|---|
returnInfo | ReturnInfoDTO |
core.lottery(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.discountPercentage(percentage, description)
Kind: instance method of Core
Param | Type |
---|---|
percentage | Number |
description | String |
core.increasePercentage(percentage, description)
Kind: instance method of Core
Param | Type |
---|---|
percentage | Number |
description | String |
core.discountValue(value, description)
Kind: instance method of Core
Param | Type |
---|---|
value | Number |
description | String |
core.increaseValue(value, description)
Kind: instance method of Core
Param | Type |
---|---|
value | Number |
description | String |
core.increaseValueSubtotal(value, description)
Kind: instance method of Core
Param | Type |
---|---|
value | Number |
description | String |
core.openNonFiscalReceipt(cutPaper, heading)
Kind: instance method of Core
Param | Type |
---|---|
cutPaper | Boolean |
heading | Boolean ⎮ null |
core.closeNonFiscalReceipt()
Kind: instance method of Core
core.payment(paymentId, value, description)
Kind: instance method of Core
Param | Type |
---|---|
paymentId | Number |
value | Number |
description | String ⎮ null |
core.paymentFromPaymentItem(paymentItem) ⇒ string
Kind: instance method of Core
Date: 1/11/2022 - 1:54:00 AM
Param | Type |
---|---|
paymentItem | PaymentItemDTO |
core.returnReceipt(date, closure, number, onlyCheck, serialNumber)
Kind: instance method of Core
Param | Type |
---|---|
date | String |
closure | Number |
number | Number |
onlyCheck | |
serialNumber |
core.returnReceiptFromDTO(returnInfo)
Kind: instance method of Core
Param | Type |
---|---|
returnInfo | ReturnInfoDTO |
core.getLastReceipt()
Kind: instance method of Core
core.giftReceipt()
Kind: instance method of Core
core.operator(operatorId)
Kind: instance method of Core
Param | Type |
---|---|
operatorId | Number |
core.closeReceipt()
Kind: instance method of Core
core.terminateOperation()
Kind: instance method of Core
core.printRow(content)
Kind: instance method of Core
Param | Type |
---|---|
content | String ⎮ RowDTO |
core.printRowAfterTotal(content)
Kind: instance method of Core
Param | Type |
---|---|
content | String |
core.printRowBeforeFiscalContent(content)
Kind: instance method of Core
Param | Type |
---|---|
content | String |
core.printFiscalCode(fiscalCode)
Kind: instance method of Core
Param | Type |
---|---|
fiscalCode | String |
core.reg()
Kind: instance method of Core
core.x()
Kind: instance method of Core
core.z()
Kind: instance method of Core
core.prg()
Kind: instance method of Core
core.srv()
Kind: instance method of Core
core.xReport()
Kind: instance method of Core
core.zReport()
Kind: instance method of Core
core.restart()
Kind: instance method of Core
core.updateOnDemand()
Kind: instance method of Core
core.sendPendingXmls()
Kind: instance method of Core
core.testXmlUrl()
Kind: instance method of Core
core.displayMessage(rowId, message)
Kind: instance method of Core
Param | Type |
---|---|
rowId | Number |
message | String |
core.printBarCode(type, code)
Kind: instance method of Core
Param | Type |
---|---|
type | Number |
code | String |
core.printBarCode_UpcE(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_Ean13(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_Ean8(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_Code39(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_UpcA(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_Itf(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_Codabar(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_Code128(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_Code93(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_QRCode(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.dgfeStatus()
Kind: instance method of Core
core.periodicAssessmentStatus()
Kind: instance method of Core
core.inactivityAndPendings()
Kind: instance method of Core
core.dgfeFreeSpace()
Kind: instance method of Core
core.deviceStatus()
Kind: instance method of Core
core.printerStatus()
Kind: instance method of Core
core.getSerialNumber()
Kind: instance method of Core
core.getFirmwareRevision()
Kind: instance method of Core
core.rtStatus()
Kind: instance method of Core
core.pendingXmlStatus()
Kind: instance method of Core
core.inServiceStatus()
Kind: instance method of Core
core.allProgramming()
Kind: instance method of Core
core.C125(vat_on_ticket)
Kind: instance method of Core
Param | Type |
---|---|
vat_on_ticket | Boolean |
core.C126(midnight_alert)
Kind: instance method of Core
Param | Type |
---|---|
midnight_alert | Boolean |
core.C132(print_register_number)
Kind: instance method of Core
Param | Type |
---|---|
print_register_number | Boolean |
core.C133(subtotal_required)
Kind: instance method of Core
Param | Type |
---|---|
subtotal_required | Boolean |
core.C135(max_receipt_amount)
Kind: instance method of Core
Param | Type |
---|---|
max_receipt_amount | Number |
core.C136(change_on_payments)
Kind: instance method of Core
Param | Type |
---|---|
change_on_payments | Boolean |
core.C138(department_net)
Kind: instance method of Core
Param | Type |
---|---|
department_net | Boolean |
core.C170(rt_print_appendix, rt_enable_appendix_Cut)
Kind: instance method of Core
Param | Type |
---|---|
rt_print_appendix | Boolean |
rt_enable_appendix_Cut | Boolean |
core.C451(date)
Kind: instance method of Core
Param | Type |
---|---|
date | String |
core.C452(date)
Kind: instance method of Core
Param | Type |
---|---|
date | String |
core.C917(invoice_on_receipt_enable, receipt_print_on_2_lines, invoice_subtotal_enable, invoice_disable_check_client, invoice_print_unit_price)
Kind: instance method of Core
Param | Type |
---|---|
invoice_on_receipt_enable | Boolean |
receipt_print_on_2_lines | Boolean |
invoice_subtotal_enable | Boolean |
invoice_disable_check_client | Boolean |
invoice_print_unit_price | Boolean |
core.C918(id, name)
Kind: instance method of Core
Param | Type |
---|---|
id | Number |
name | String |
core.C927(print_unit_price, print_single_quantity)
Kind: instance method of Core
Param | Type |
---|---|
print_unit_price | Boolean |
print_single_quantity | Boolean |
core.C928(disable_double_feed)
Kind: instance method of Core
Param | Type |
---|---|
disable_double_feed | Boolean |
core.C932(print_with_buffering)
Kind: instance method of Core
Param | Type |
---|---|
print_with_buffering | Boolean |
core.C980(notify_cash)
Kind: instance method of Core
Param | Type |
---|---|
notify_cash | Boolean |
core.C997(enabled_cutter)
Kind: instance method of Core
Param | Type |
---|---|
enabled_cutter | Boolean |
core.H(headingRow, description)
Kind: instance method of Core
Param | Type |
---|---|
headingRow | Number |
description | String |
core.t(courtesyRow, description)
Kind: instance method of Core
Param | Type |
---|---|
courtesyRow | Number |
description | String |
core.O(operatorId, name)
Kind: instance method of Core
Param | Type |
---|---|
operatorId | Number |
name | String |
core.R(deptId, price, vat, name, halo, lalo, single, grp_code, dpt_type)
Kind: instance method of Core
Param | Type |
---|---|
deptId | Number |
price | Number |
vat | Number |
name | String |
halo | Number |
lalo | Number |
single | Boolean |
grp_code | Number ⎮ null |
dpt_type | String |
core.T(paymentId, name, change, cash, pay_discount, tender_credit_type, opendrawer, input_total_amount, ticket)
Kind: instance method of Core
Param | Type |
---|---|
paymentId | Number |
name | String |
change | Boolean |
cash | Boolean |
pay_discount | Boolean |
tender_credit_type | String |
opendrawer | Boolean |
input_total_amount | Boolean |
ticket | Boolean |
core.U(department_discount)
Kind: instance method of Core
Param | Type |
---|---|
department_discount | Boolean |
core.V(vatId, rate_type, value, ateco_code)
Kind: instance method of Core
Param | Type |
---|---|
vatId | Number |
rate_type | String |
value | Number |
ateco_code | String |
core.dptTypeStringToInt(val)
Kind: instance method of Core
Param | Type |
---|---|
val | String |
core.dptIntToTypeString(val)
Kind: instance method of Core
Param | Type |
---|---|
val | Number |
core.rateStringToInt(value)
Kind: instance method of Core
Param | Type |
---|---|
value | String |
core.natureStringToInt(value)
Kind: instance method of Core
Param | Type |
---|---|
value | String |
core.creditStringToInt(tender_credit_type)
Kind: instance method of Core
Param | Type |
---|---|
tender_credit_type | String |
core.creditIntToString(tender_credit_type)
Kind: instance method of Core
Param | Type |
---|---|
tender_credit_type | Number |
BarCodeType : enum
Kind: global enum
Date: 1/11/2022 - 10:07:11 AM
BillType : enum
Kind: global enum
Date: 1/11/2022 - 10:11:25 AM
SellType : enum
Kind: global enum
Date: 1/11/2022 - 10:52:47 AM
See: LineItemDTO
Core : Core
Kind: global typedef
Date: 1/11/2022 - 1:59:01 AM
- Core : Core
- new Core(isSerial)
- .header()
- .footer()
- .cmd(protocolCommand)
- .parseBool(value) ⇒ number
- .subtotal()
- .clear()
- .cancel()
- .transfer()
- .paperPeekOut()
- .departmentSell(departmentId, description, value, [qty], [sellType]) ⇒ string
- .departmentSellFromLineItem(lineItem)
- .returnGoods(date, closure, number, [onlyCheck]) ⇒ string
- .returnGoodsFromDTO(returnInfo) ⇒ string
- .lottery(code)
- .discountPercentage(percentage, description)
- .increasePercentage(percentage, description)
- .discountValue(value, description)
- .increaseValue(value, description)
- .increaseValueSubtotal(value, description)
- .openNonFiscalReceipt(cutPaper, heading)
- .closeNonFiscalReceipt()
- .payment(paymentId, value, description)
- .paymentFromPaymentItem(paymentItem) ⇒ string
- .returnReceipt(date, closure, number, onlyCheck, serialNumber)
- .returnReceiptFromDTO(returnInfo)
- .getLastReceipt()
- .giftReceipt()
- .operator(operatorId)
- .closeReceipt()
- .terminateOperation()
- .printRow(content)
- .printRowAfterTotal(content)
- .printRowBeforeFiscalContent(content)
- .printFiscalCode(fiscalCode)
- .reg()
- .x()
- .z()
- .prg()
- .srv()
- .xReport()
- .zReport()
- .restart()
- .updateOnDemand()
- .sendPendingXmls()
- .testXmlUrl()
- .displayMessage(rowId, message)
- .printBarCode(type, code)
- .printBarCode_UpcE(code)
- .printBarCode_Ean13(code)
- .printBarCode_Ean8(code)
- .printBarCode_Code39(code)
- .printBarCode_UpcA(code)
- .printBarCode_Itf(code)
- .printBarCode_Codabar(code)
- .printBarCode_Code128(code)
- .printBarCode_Code93(code)
- .printBarCode_QRCode(code)
- .dgfeStatus()
- .periodicAssessmentStatus()
- .inactivityAndPendings()
- .dgfeFreeSpace()
- .deviceStatus()
- .printerStatus()
- .getSerialNumber()
- .getFirmwareRevision()
- .rtStatus()
- .pendingXmlStatus()
- .inServiceStatus()
- .allProgramming()
- .C125(vat_on_ticket)
- .C126(midnight_alert)
- .C132(print_register_number)
- .C133(subtotal_required)
- .C135(max_receipt_amount)
- .C136(change_on_payments)
- .C138(department_net)
- .C170(rt_print_appendix, rt_enable_appendix_Cut)
- .C451(date)
- .C452(date)
- .C917(invoice_on_receipt_enable, receipt_print_on_2_lines, invoice_subtotal_enable, invoice_disable_check_client, invoice_print_unit_price)
- .C918(id, name)
- .C927(print_unit_price, print_single_quantity)
- .C928(disable_double_feed)
- .C932(print_with_buffering)
- .C980(notify_cash)
- .C997(enabled_cutter)
- .H(headingRow, description)
- .t(courtesyRow, description)
- .O(operatorId, name)
- .R(deptId, price, vat, name, halo, lalo, single, grp_code, dpt_type)
- .T(paymentId, name, change, cash, pay_discount, tender_credit_type, opendrawer, input_total_amount, ticket)
- .U(department_discount)
- .V(vatId, rate_type, value, ateco_code)
- .dptTypeStringToInt(val)
- .dptIntToTypeString(val)
- .rateStringToInt(value)
- .natureStringToInt(value)
- .creditStringToInt(tender_credit_type)
- .creditIntToString(tender_credit_type)
new Core(isSerial)
Param | Type | Default |
---|---|---|
isSerial | Boolean | true |
core.header()
Kind: instance method of Core
core.footer()
Kind: instance method of Core
core.cmd(protocolCommand)
Kind: instance method of Core
Param | Type |
---|---|
protocolCommand | String |
core.parseBool(value) ⇒ number
Kind: instance method of Core
Date: 1/11/2022 - 2:18:03 AM
Param | Type |
---|---|
value | boolean |
core.subtotal()
Kind: instance method of Core
core.clear()
Kind: instance method of Core
core.cancel()
Kind: instance method of Core
core.transfer()
Kind: instance method of Core
core.paperPeekOut()
Kind: instance method of Core
core.departmentSell(departmentId, description, value, qty, sellType) ⇒ string
Kind: instance method of Core
Date: 1/11/2022 - 1:51:45 AM
Param | Type | Default |
---|---|---|
departmentId | number | |
description | string | |
value | number | |
qty | number | 1 |
sellType | SellType |
core.departmentSellFromLineItem(lineItem)
Kind: instance method of Core
Param | Type |
---|---|
lineItem | LineItemDTO |
core.returnGoods(date, closure, number, onlyCheck) ⇒ string
Kind: instance method of Core
Date: 1/11/2022 - 1:52:14 AM
Param | Type |
---|---|
date | Date |
closure | number |
number | number |
onlyCheck | boolean |
core.returnGoodsFromDTO(returnInfo) ⇒ string
Kind: instance method of Core
Date: 1/11/2022 - 1:52:45 AM
Param | Type |
---|---|
returnInfo | ReturnInfoDTO |
core.lottery(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.discountPercentage(percentage, description)
Kind: instance method of Core
Param | Type |
---|---|
percentage | Number |
description | String |
core.increasePercentage(percentage, description)
Kind: instance method of Core
Param | Type |
---|---|
percentage | Number |
description | String |
core.discountValue(value, description)
Kind: instance method of Core
Param | Type |
---|---|
value | Number |
description | String |
core.increaseValue(value, description)
Kind: instance method of Core
Param | Type |
---|---|
value | Number |
description | String |
core.increaseValueSubtotal(value, description)
Kind: instance method of Core
Param | Type |
---|---|
value | Number |
description | String |
core.openNonFiscalReceipt(cutPaper, heading)
Kind: instance method of Core
Param | Type |
---|---|
cutPaper | Boolean |
heading | Boolean ⎮ null |
core.closeNonFiscalReceipt()
Kind: instance method of Core
core.payment(paymentId, value, description)
Kind: instance method of Core
Param | Type |
---|---|
paymentId | Number |
value | Number |
description | String ⎮ null |
core.paymentFromPaymentItem(paymentItem) ⇒ string
Kind: instance method of Core
Date: 1/11/2022 - 1:54:00 AM
Param | Type |
---|---|
paymentItem | PaymentItemDTO |
core.returnReceipt(date, closure, number, onlyCheck, serialNumber)
Kind: instance method of Core
Param | Type |
---|---|
date | String |
closure | Number |
number | Number |
onlyCheck | |
serialNumber |
core.returnReceiptFromDTO(returnInfo)
Kind: instance method of Core
Param | Type |
---|---|
returnInfo | ReturnInfoDTO |
core.getLastReceipt()
Kind: instance method of Core
core.giftReceipt()
Kind: instance method of Core
core.operator(operatorId)
Kind: instance method of Core
Param | Type |
---|---|
operatorId | Number |
core.closeReceipt()
Kind: instance method of Core
core.terminateOperation()
Kind: instance method of Core
core.printRow(content)
Kind: instance method of Core
Param | Type |
---|---|
content | String ⎮ RowDTO |
core.printRowAfterTotal(content)
Kind: instance method of Core
Param | Type |
---|---|
content | String |
core.printRowBeforeFiscalContent(content)
Kind: instance method of Core
Param | Type |
---|---|
content | String |
core.printFiscalCode(fiscalCode)
Kind: instance method of Core
Param | Type |
---|---|
fiscalCode | String |
core.reg()
Kind: instance method of Core
core.x()
Kind: instance method of Core
core.z()
Kind: instance method of Core
core.prg()
Kind: instance method of Core
core.srv()
Kind: instance method of Core
core.xReport()
Kind: instance method of Core
core.zReport()
Kind: instance method of Core
core.restart()
Kind: instance method of Core
core.updateOnDemand()
Kind: instance method of Core
core.sendPendingXmls()
Kind: instance method of Core
core.testXmlUrl()
Kind: instance method of Core
core.displayMessage(rowId, message)
Kind: instance method of Core
Param | Type |
---|---|
rowId | Number |
message | String |
core.printBarCode(type, code)
Kind: instance method of Core
Param | Type |
---|---|
type | Number |
code | String |
core.printBarCode_UpcE(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_Ean13(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_Ean8(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_Code39(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_UpcA(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_Itf(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_Codabar(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_Code128(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_Code93(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.printBarCode_QRCode(code)
Kind: instance method of Core
Param | Type |
---|---|
code | String |
core.dgfeStatus()
Kind: instance method of Core
core.periodicAssessmentStatus()
Kind: instance method of Core
core.inactivityAndPendings()
Kind: instance method of Core
core.dgfeFreeSpace()
Kind: instance method of Core
core.deviceStatus()
Kind: instance method of Core
core.printerStatus()
Kind: instance method of Core
core.getSerialNumber()
Kind: instance method of Core
core.getFirmwareRevision()
Kind: instance method of Core
core.rtStatus()
Kind: instance method of Core
core.pendingXmlStatus()
Kind: instance method of Core
core.inServiceStatus()
Kind: instance method of Core
core.allProgramming()
Kind: instance method of Core
core.C125(vat_on_ticket)
Kind: instance method of Core
Param | Type |
---|---|
vat_on_ticket | Boolean |
core.C126(midnight_alert)
Kind: instance method of Core
Param | Type |
---|---|
midnight_alert | Boolean |
core.C132(print_register_number)
Kind: instance method of Core
Param | Type |
---|---|
print_register_number | Boolean |
core.C133(subtotal_required)
Kind: instance method of Core
Param | Type |
---|---|
subtotal_required | Boolean |
core.C135(max_receipt_amount)
Kind: instance method of Core
Param | Type |
---|---|
max_receipt_amount | Number |
core.C136(change_on_payments)
Kind: instance method of Core
Param | Type |
---|---|
change_on_payments | Boolean |
core.C138(department_net)
Kind: instance method of Core
Param | Type |
---|---|
department_net | Boolean |
core.C170(rt_print_appendix, rt_enable_appendix_Cut)
Kind: instance method of Core
Param | Type |
---|---|
rt_print_appendix | Boolean |
rt_enable_appendix_Cut | Boolean |
core.C451(date)
Kind: instance method of Core
Param | Type |
---|---|
date | String |
core.C452(date)
Kind: instance method of Core
Param | Type |
---|---|
date | String |
core.C917(invoice_on_receipt_enable, receipt_print_on_2_lines, invoice_subtotal_enable, invoice_disable_check_client, invoice_print_unit_price)
Kind: instance method of Core
Param | Type |
---|---|
invoice_on_receipt_enable | Boolean |
receipt_print_on_2_lines | Boolean |
invoice_subtotal_enable | Boolean |
invoice_disable_check_client | Boolean |
invoice_print_unit_price | Boolean |
core.C918(id, name)
Kind: instance method of Core
Param | Type |
---|---|
id | Number |
name | String |
core.C927(print_unit_price, print_single_quantity)
Kind: instance method of Core
Param | Type |
---|---|
print_unit_price | Boolean |
print_single_quantity | Boolean |
core.C928(disable_double_feed)
Kind: instance method of Core
Param | Type |
---|---|
disable_double_feed | Boolean |
core.C932(print_with_buffering)
Kind: instance method of Core
Param | Type |
---|---|
print_with_buffering | Boolean |
core.C980(notify_cash)
Kind: instance method of Core
Param | Type |
---|---|
notify_cash | Boolean |
core.C997(enabled_cutter)
Kind: instance method of Core
Param | Type |
---|---|
enabled_cutter | Boolean |
core.H(headingRow, description)
Kind: instance method of Core
Param | Type |
---|---|
headingRow | Number |
description | String |
core.t(courtesyRow, description)
Kind: instance method of Core
Param | Type |
---|---|
courtesyRow | Number |
description | String |
core.O(operatorId, name)
Kind: instance method of Core
Param | Type |
---|---|
operatorId | Number |
name | String |
core.R(deptId, price, vat, name, halo, lalo, single, grp_code, dpt_type)
Kind: instance method of Core
Param | Type |
---|---|
deptId | Number |
price | Number |
vat | Number |
name | String |
halo | Number |
lalo | Number |
single | Boolean |
grp_code | Number ⎮ null |
dpt_type | String |
core.T(paymentId, name, change, cash, pay_discount, tender_credit_type, opendrawer, input_total_amount, ticket)
Kind: instance method of Core
Param | Type |
---|---|
paymentId | Number |
name | String |
change | Boolean |
cash | Boolean |
pay_discount | Boolean |
tender_credit_type | String |
opendrawer | Boolean |
input_total_amount | Boolean |
ticket | Boolean |
core.U(department_discount)
Kind: instance method of Core
Param | Type |
---|---|
department_discount | Boolean |
core.V(vatId, rate_type, value, ateco_code)
Kind: instance method of Core
Param | Type |
---|---|
vatId | Number |
rate_type | String |
value | Number |
ateco_code | String |
core.dptTypeStringToInt(val)
Kind: instance method of Core
Param | Type |
---|---|
val | String |
core.dptIntToTypeString(val)
Kind: instance method of Core
Param | Type |
---|---|
val | Number |
core.rateStringToInt(value)
Kind: instance method of Core
Param | Type |
---|---|
value | String |
core.natureStringToInt(value)
Kind: instance method of Core
Param | Type |
---|---|
value | String |
core.creditStringToInt(tender_credit_type)
Kind: instance method of Core
Param | Type |
---|---|
tender_credit_type | String |
core.creditIntToString(tender_credit_type)
Kind: instance method of Core
Param | Type |
---|---|
tender_credit_type | Number |
BillDTO : BillDTO
Kind: global typedef
Date: 1/11/2022 - 10:10:12 AM
- BillDTO : BillDTO
- .isReturn : boolean
- .isCancel : boolean
- .isReceipt : boolean
billDTO.isReturn : boolean
Kind: instance property of BillDTO
Read only: true
Date: 1/11/2022 - 10:12:52 AM
billDTO.isCancel : boolean
Kind: instance property of BillDTO
Read only: true
Date: 1/11/2022 - 10:14:08 AM
billDTO.isReceipt : boolean
Kind: instance property of BillDTO
Read only: true
Date: 1/11/2022 - 10:14:45 AM
DiscountDTO : DiscountDTO
Kind: global typedef
Date: 1/11/2022 - 10:17:38 AM
See: BillItemDTO
LineItemDTO : LineItemDTO
Kind: global typedef
Date: 1/11/2022 - 10:19:19 AM
See: BillDTO
PaymentItemDTO : PaymentItemDTO
Kind: global typedef
Date: 1/11/2022 - 10:29:11 AM
See: BillDTO
ReturnInfoDTO : ReturnInfoDTO
Kind: global typedef
Date: 1/11/2022 - 10:33:57 AM
See: BillDTO
RowDTO : RowDTO
Kind: global typedef
Date: 1/11/2022 - 10:37:05 AM
RowDTO.fromString(value) ⇒ RowDTO
Kind: static method of RowDTO
Date: 1/11/2022 - 10:47:39 AM
Param | Type |
---|---|
value | string |
Example
const simpleRow = 'yoursimplerow';
const rowDoubleSize = 'yourtextgoeshere||1'; // Double size
const barCode = 'thecode|11 //barcode types between 1 to 11