Package com.six.timapi
Class BalanceResponse
- java.lang.Object
-
- com.six.timapi.BalanceResponse
-
public class BalanceResponse extends Object
Contains the result of a call toTerminal.balance()
orTerminal.balanceAsync()
. Immutable class.
-
-
Constructor Summary
Constructors Constructor Description BalanceResponse(PrintData printData, Counters counters, List<TimException> partialExceptions)
Create balance response.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Counters
getCounters()
Balance counters.List<TimException>
getPartialExceptions()
Partial exceptions due to one or more Omni-Channel clients failing.PrintData
getPrintData()
Print information for merchant receipt.String
toString()
String representation for debugging purpose.
-
-
-
Constructor Detail
-
BalanceResponse
public BalanceResponse(PrintData printData, Counters counters, List<TimException> partialExceptions)
Create balance response.
-
-
Method Detail
-
getPrintData
public PrintData getPrintData()
Print information for merchant receipt.
-
getCounters
public Counters getCounters()
Balance counters.
-
getPartialExceptions
public List<TimException> getPartialExceptions()
Partial exceptions due to one or more Omni-Channel clients failing. If list is empty all Omni-Channel clients finished balance successfully. If list is not emptyTerminal.balance()
orTerminal.balanceAsync()
has to be called again to retry balance on the failed clients.
-
-