Package com.six.timapi
Class TransactionInfoRequestResponse
- java.lang.Object
-
- com.six.timapi.TransactionInfoRequestResponse
-
public class TransactionInfoRequestResponse extends Object
Contains the result of a call to theTerminal.transactionInfoRequest()orTerminal.transactionInfoRequestAsync(). Immutable class.
-
-
Constructor Summary
Constructors Constructor Description TransactionInfoRequestResponse(TransactionType transactionType, Outcome outcome, TransactionResponse transactionResponse, TimException exception, PrintData lastStatusReceipt)Create TransactionInfoRequestResponse.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimExceptiongetException()Exception.PrintDatagetLastStatusReceipt()Last status receipt.OutcomegetOutcome()Outcome.TransactionResponsegetTransactionResponse()Transaction response.TransactionTypegetTransactionType()Transaction type.StringtoString()String representation for debugging purpose.
-
-
-
Constructor Detail
-
TransactionInfoRequestResponse
public TransactionInfoRequestResponse(TransactionType transactionType, Outcome outcome, TransactionResponse transactionResponse, TimException exception, PrintData lastStatusReceipt)
Create TransactionInfoRequestResponse.
-
-
Method Detail
-
getTransactionType
public TransactionType getTransactionType()
Transaction type.
-
getOutcome
public Outcome getOutcome()
Outcome.
-
getTransactionResponse
public TransactionResponse getTransactionResponse()
Transaction response.
-
getException
public TimException getException()
Exception.
-
getLastStatusReceipt
public PrintData getLastStatusReceipt()
Last status receipt.
-
-