Class TransactionDisplayTransaction

java.lang.Object
com.blockchyp.client.dto.TransactionDisplayTransaction

public class TransactionDisplayTransaction extends Object
The items to display on a terminal.
  • Constructor Details

    • TransactionDisplayTransaction

      public TransactionDisplayTransaction()
  • Method Details

    • setSubtotal

      public void setSubtotal(String value)
      Sets the subtotal to display.
      Parameters:
      value - the subtotal to display.
    • getSubtotal

      public String getSubtotal()
      Gets the subtotal to display.
      Returns:
      the subtotal to display.
    • setTax

      public void setTax(String value)
      Sets the tax to display.
      Parameters:
      value - the tax to display.
    • getTax

      public String getTax()
      Gets the tax to display.
      Returns:
      the tax to display.
    • setTotal

      public void setTotal(String value)
      Sets the total to display.
      Parameters:
      value - the total to display.
    • getTotal

      public String getTotal()
      Gets the total to display.
      Returns:
      the total to display.
    • setItems

      public void setItems(Collection<TransactionDisplayItem> value)
      Sets an item to display.
      Parameters:
      value - an item to display. Can be overwritten or appended, based on the request type.
    • getItems

      public Collection<TransactionDisplayItem> getItems()
      Gets an item to display.
      Returns:
      an item to display. Can be overwritten or appended, based on the request type.
    • addItem

      public void addItem(TransactionDisplayItem value)
      Adds a an item to display.
      Parameters:
      value - an item to display. Can be overwritten or appended, based on the request type.