CustomXmlHttpClient class

Inheritance

Constructors

CustomXmlHttpClient(Config config)

Properties

config Config
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 xmlDoc returns
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited