Package com.six.timapi
Class ReceiptItem
- java.lang.Object
-
- com.six.timapi.ReceiptItem
-
public class ReceiptItem extends Object
Contains the value of a specific receipt item to be used by the ECR to create receipts. Immutable class.
-
-
Constructor Summary
Constructors Constructor Description ReceiptItem(ReceiptItemType receiptItemType, Recipient recipient, String value)Create receipt item.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReceiptItemTypegetReceiptItemType()Type of receipt item.RecipientgetRecipient()Recipient.StringgetValue()Value of the receipt item.StringtoString()String representation for debugging purpose.
-
-
-
Constructor Detail
-
ReceiptItem
public ReceiptItem(ReceiptItemType receiptItemType, Recipient recipient, String value)
Create receipt item.
-
-
Method Detail
-
getReceiptItemType
public ReceiptItemType getReceiptItemType()
Type of receipt item.
-
getRecipient
public Recipient getRecipient()
Recipient.
-
getValue
public String getValue()
Value of the receipt item.
-
-