Package com.blockchyp.client.dto
Class TransactionDisplayTransaction
java.lang.Object
com.blockchyp.client.dto.TransactionDisplayTransaction
The items to display on a terminal.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItem(TransactionDisplayItem value) Adds a an item to display.getItems()Gets an item to display.Gets the subtotal to display.getTax()Gets the tax to display.getTotal()Gets the total to display.voidsetItems(Collection<TransactionDisplayItem> value) Sets an item to display.voidsetSubtotal(String value) Sets the subtotal to display.voidSets the tax to display.voidSets the total to display.
-
Constructor Details
-
TransactionDisplayTransaction
public TransactionDisplayTransaction()
-
-
Method Details
-
setSubtotal
Sets the subtotal to display.- Parameters:
value- the subtotal to display.
-
getSubtotal
Gets the subtotal to display.- Returns:
- the subtotal to display.
-
setTax
Sets the tax to display.- Parameters:
value- the tax to display.
-
getTax
Gets the tax to display.- Returns:
- the tax to display.
-
setTotal
Sets the total to display.- Parameters:
value- the total to display.
-
getTotal
Gets the total to display.- Returns:
- the total to display.
-
setItems
Sets an item to display.- Parameters:
value- an item to display. Can be overwritten or appended, based on the request type.
-
getItems
Gets an item to display.- Returns:
- an item to display. Can be overwritten or appended, based on the request type.
-
addItem
Adds a an item to display.- Parameters:
value- an item to display. Can be overwritten or appended, based on the request type.
-