public static class cmdReceipt.FiscalReceipt.Storno extends cmdReceipt.FiscalReceipt
Modifier and Type | Class and Description |
---|---|
static class |
cmdReceipt.FiscalReceipt.Storno.StornoType |
cmdReceipt.FiscalReceipt.Storno
cmdReceipt.AlignmentType, cmdReceipt.BarcdeType, cmdReceipt.FiscalReceipt, cmdReceipt.FiscalSale, cmdReceipt.FiscalTransaction, cmdReceipt.NonFiscalReceipt, cmdReceipt.PaymentType, cmdReceipt.SeparatingLine
receiptNumber
Constructor and Description |
---|
Storno() |
Storno(java.lang.String opCode,
java.lang.String opPwd,
java.lang.String tillNmb,
cmdReceipt.FiscalReceipt.Storno.StornoType reasonStorno,
java.lang.String docNumber,
java.lang.String dateTime,
java.lang.String fmNumber) |
Storno(java.lang.String opCode,
java.lang.String opPwd,
java.lang.String tillNmb,
cmdReceipt.FiscalReceipt.Storno.StornoType reasonStorno,
java.lang.String docNumber,
java.lang.String dateTime,
java.lang.String fmNumber,
boolean invoice,
java.lang.String toInvoice,
java.lang.String reason,
java.lang.String nSale) |
Modifier and Type | Method and Description |
---|---|
void |
open() |
void |
open(java.lang.String opCode,
java.lang.String opPwd,
java.lang.String tillNmb,
cmdReceipt.FiscalReceipt.Storno.StornoType reasonStorno,
java.lang.String docNumber,
java.lang.String dateTime,
java.lang.String numberOfFM)
Opening of storno documents Mandatory parameters:
|
void |
open(java.lang.String opCode,
java.lang.String opPwd,
java.lang.String tillNmb,
cmdReceipt.FiscalReceipt.Storno.StornoType reasonStorno,
java.lang.String docNumber,
java.lang.String dateTime,
java.lang.String numberOfFM,
boolean invoice,
java.lang.String toInvoice,
java.lang.String reason,
java.lang.String nSale)
Opening of storno documents All parameters:
|
cancel, closeFiscalReceipt, getAllreceipt, getFiscReceipt, getOpCode, getOpPwd, getReceiptNumber, getTillNmb, isOpen, openFiscalReceipt, openFiscalReceipt, openFiscalReceipt, openInvoice, openInvoice, printFreeText, printSeparatingLine, setOpCode, setOpPwd, setTillNmb
cashInCashOut, drawerKickOut, isStornoReceiptOpen, paperCutting, paperFeed, PrintBarcode, printFreeText
checkErrorCode, close, getConnectedECRV1, getConnectedModelV2, getConnectedPrinterV1, isConnectedDeviceV2, isConnectedECR, isConnectedPrinter, setConnectedModel, setConnectedModel, setConnectedModel
public Storno()
public Storno(java.lang.String opCode, java.lang.String opPwd, java.lang.String tillNmb, cmdReceipt.FiscalReceipt.Storno.StornoType reasonStorno, java.lang.String docNumber, java.lang.String dateTime, java.lang.String fmNumber, boolean invoice, java.lang.String toInvoice, java.lang.String reason, java.lang.String nSale)
public Storno(java.lang.String opCode, java.lang.String opPwd, java.lang.String tillNmb, cmdReceipt.FiscalReceipt.Storno.StornoType reasonStorno, java.lang.String docNumber, java.lang.String dateTime, java.lang.String fmNumber)
public void open() throws java.lang.Exception
java.lang.Exception
public void open(java.lang.String opCode, java.lang.String opPwd, java.lang.String tillNmb, cmdReceipt.FiscalReceipt.Storno.StornoType reasonStorno, java.lang.String docNumber, java.lang.String dateTime, java.lang.String numberOfFM) throws java.lang.Exception
opCode
- - Operator number from 1...30;opPwd
- - Operator password, ascii string of digits. Lenght from 1...8;tillNmb
- - Number of point of sale from 1...99999;reasonStorno
- - Reason for storno.docNumber
- - Number of the original document ( global 1...9999999 );dateTime
- - Fiscal memoty number of the device the issued the original document;numberOfFM
- - Date and time of the original document( format "DD-MM-YY hh:mm:ss DST" );java.lang.Exception
public void open(java.lang.String opCode, java.lang.String opPwd, java.lang.String tillNmb, cmdReceipt.FiscalReceipt.Storno.StornoType reasonStorno, java.lang.String docNumber, java.lang.String dateTime, java.lang.String numberOfFM, boolean invoice, java.lang.String toInvoice, java.lang.String reason, java.lang.String nSale) throws java.lang.Exception
opCode
- - Operator number from 1...30;opPwd
- - Operator password, ascii string of digits. Lenght from 1...8;tillNmb
- - Number of point of sale from 1...99999;reasonStorno
- - Reason for storno.docNumber
- - Number of the original document ( global 1...9999999 );dateTime
- - Fiscal memoty number of the device the issued the original document;numberOfFM
- - Date and time of the original document( format "DD-MM-YY hh:mm:ss DST" );invoice
- - If true it opens an invoice storno/refund receipt.toInvoice
- If Invoice is true - Number of the invoice that this receipt is referred to;
If Invoice is false this parameter has to be blank too;reason
- If Invoice is true - Reason for invoice storno/refund.
If Invoice is false this parameter has to be blank too;nSale
- - Unique sale number (21 chars "LLDDDDDD-CCCC-DDDDDDD",
L[A-Za-z], C[0-9A-Za-z], D[0-9] )
The parameter is not required only if the original document is printed by the cashier
and not by the PC program.java.lang.Exception