Class cmdClients
java.lang.Object
com.datecs.fiscalprinter.SDK.model.DatecsFiscalDevice
com.datecs.fiscalprinter.SDK.model.UserLayerV1.cmdClients
public class cmdClients extends DatecsFiscalDevice
Class for Defining and reading items
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classcmdClients.ClientInfoModelData Class for Clients Datastatic classcmdClients.ClientsInfoHolds info of device clients-database. -
Constructor Summary
Constructors Constructor Description cmdClients() -
Method Summary
Modifier and Type Method Description booleanDelAllItems()Deleting All Device itemsbooleanDelClientsByEIK(java.lang.String nEIK)Items deletingcmdClients.ClientInfoModelfindClientByEIK(java.lang.String EIK)cmdClients.ClientInfoModelGetFirstFoundProgrammed(int startItem)Returns data about the first found programmed itemcmdClients.ClientInfoModelGetNextProgrammed()Returns data for the next found programmed itemjava.lang.StringReadSellerName()Read seller name data.voidSetItem(cmdClients.ClientInfoModel item)voidWriteSellerName(java.lang.String Seller)Methods inherited from class com.datecs.fiscalprinter.SDK.model.DatecsFiscalDevice
checkErrorCode, close, getConnectedECRV1, getConnectedModelV2, getConnectedPrinterV1, getCountryCode, getMaxDepartments, getMaxStockGroup, isCheckLastError, isConnectedDeviceV2, isConnectedECR, isConnectedPrinter, isEditItemPrice, isEditItemQTY, isFontSupported, isPaperCuttingDevice, setCheckLastError, setConnectedModel, setConnectedModel, setConnectedModel, setCountryCode
-
Constructor Details
-
cmdClients
public cmdClients()
-
-
Method Details
-
DelAllItems
public boolean DelAllItems() throws java.lang.ExceptionDeleting All Device items- Returns:
- Throws:
java.lang.Exception
-
SetItem
- Parameters:
item- ClientInfoModel- Throws:
java.lang.Exception
-
GetFirstFoundProgrammed
public cmdClients.ClientInfoModel GetFirstFoundProgrammed(int startItem) throws java.lang.ExceptionReturns data about the first found programmed item- Parameters:
startItem- Item number (1...3000) Default: 0- Returns:
- Throws:
java.lang.Exception
-
GetNextProgrammed
Returns data for the next found programmed item- Returns:
- Throws:
java.lang.Exception
-
findClientByEIK
public cmdClients.ClientInfoModel findClientByEIK(java.lang.String EIK) throws java.io.IOException, FiscalException- Parameters:
EIK-- Returns:
- Throws:
java.io.IOExceptionFiscalException
-
DelClientsByEIK
public boolean DelClientsByEIK(java.lang.String nEIK) throws java.lang.ExceptionItems deleting- Parameters:
nEIK-- Returns:
- Throws:
java.lang.Exception
-
WriteSellerName
public void WriteSellerName(java.lang.String Seller) throws java.lang.Exception- Parameters:
Seller-- Throws:
java.lang.Exception
-
ReadSellerName
public java.lang.String ReadSellerName() throws java.lang.ExceptionRead seller name data. Seller field when issuing invoices.- Returns:
- Throws:
java.lang.Exception
-