Package com.six.timapi
Class PrintData
- java.lang.Object
-
- com.six.timapi.PrintData
-
public class PrintData extends Object
Contains receipts or receipt items for printing by the ECR depending on the PrintOptions used during login. Immutable class.
-
-
Constructor Summary
Constructors Constructor Description PrintData(List<Receipt> receipts, List<ReceiptItems> receiptItems)
Create print information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ReceiptItems>
getReceiptItems()
Receipt items for the ECR to create receipts for printing.List<Receipt>
getReceipts()
Receipts to print by the ECR.String
toString()
String representation for debugging purpose.
-
-
-
Constructor Detail
-
PrintData
public PrintData(List<Receipt> receipts, List<ReceiptItems> receiptItems)
Create print information.
-
-
Method Detail
-
getReceipts
public List<Receipt> getReceipts()
Receipts to print by the ECR. Present if print type is Normal.
-
getReceiptItems
public List<ReceiptItems> getReceiptItems()
Receipt items for the ECR to create receipts for printing. Present if print type is FieldsOnly.
-
-