Overview
Members-Overview
|
:Set.<timapi.constants.PrintFlag> |
|
:timapi.constants.PrintFormat |
|
:Number |
|
:timapi.constants.Recipient |
Methods-Overview
- toString() → {String}
Constructor
new PrintOption(recipient, printFormat, printWidth, printFlags)
Create print option for a specific receipt type.
Parameters:
Name | Type | Description |
---|---|---|
recipient |
timapi.constants.Recipient | Target of the option |
printFormat |
timapi.constants.PrintFormat | Print format |
printWidth |
number | Print width (default=40) |
printFlags |
Array.<timapi.constants.PrintFlag> | List of receipt formatting options |
Member-List
recipient (readonly) :timapi.constants.Recipient
Target of the print option. Can be Merchant or Cardholder
Methods
toString() → {String}
Get string representation for debugging purpose.
Returns:
String representation
Type: String