CustomXmlHttpClient class
- Inheritance
-
- Object
- BaseCustomClient
- CustomXmlHttpClient
Constructors
- CustomXmlHttpClient(Config config)
Properties
Methods
-
executeCommand(
List< Command> commands) → Future<Response> -
send Command to fiscal printer
override
-
getConfig(
) → Config -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseResponse(
String xmlStr, [bool isGetInfo = false]) → Response - Response Message Format: success = "true" | "false"; status = if error return "error code", else return '0';
-
printCancel(
Cancel cancel) → Future< Response> -
print a commercial refund/void document
override
-
printFiscalReceipt(
Receipt receipt) → Future< Response> -
override
-
printFiscalReport(
Report report) → Future< Response> -
daily closure (X and Z reports)
override
-
send(
XmlDocument xmlDoc, [bool isGetInfo = false]) → Future< Response> -
send to the printer server
xmlDocreturns -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited