Package com.six.timapi
Class ReceiptItems
- java.lang.Object
-
- com.six.timapi.ReceiptItems
-
public class ReceiptItems extends Object
Contains a list of ReceiptItem to be used for a specific type of receipts. Immutable class.
-
-
Constructor Summary
Constructors Constructor Description ReceiptItems(ReceiptType receiptType, List<ReceiptItem> receiptItem)
Create receipt item list.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ReceiptItem>
getReceiptItem()
List of receipt items to be used for this receipt type.ReceiptType
getReceiptType()
Type of the receipt.String
toString()
String representation for debugging purpose.
-
-
-
Constructor Detail
-
ReceiptItems
public ReceiptItems(ReceiptType receiptType, List<ReceiptItem> receiptItem)
Create receipt item list.
-
-
Method Detail
-
getReceiptType
public ReceiptType getReceiptType()
Type of the receipt.
-
getReceiptItem
public List<ReceiptItem> getReceiptItem()
List of receipt items to be used for this receipt type.
-
-