Package com.six.timapi
Class PrintOption
- java.lang.Object
-
- com.six.timapi.PrintOption
-
public class PrintOption extends Object
Print options for a specific receipt type. Used forTerminal.login()
orTerminal.loginAsync()
. Immutable class.
-
-
Constructor Summary
Constructors Constructor Description PrintOption(Recipient recipient, PrintFormat printFormat, int printWidth, EnumSet<PrintFlag> printFlags)
Create print option.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnumSet<PrintFlag>
getPrintFlags()
Print flags.PrintFormat
getPrintFormat()
Specifies the print format.int
getPrintWidth()
Specifies the print width of the receipt (default = 40).Recipient
getRecipient()
Target of the print option.String
toString()
String representation for debugging purpose.
-
-
-
Constructor Detail
-
PrintOption
public PrintOption(Recipient recipient, PrintFormat printFormat, int printWidth, EnumSet<PrintFlag> printFlags)
Create print option.
-
-
Method Detail
-
getRecipient
public Recipient getRecipient()
Target of the print option. Can be Merchant or Cardholder.
-
getPrintFormat
public PrintFormat getPrintFormat()
Specifies the print format.
-
getPrintWidth
public int getPrintWidth()
Specifies the print width of the receipt (default = 40).
-
-