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 TimException
getException()
Exception.PrintData
getLastStatusReceipt()
Last status receipt.Outcome
getOutcome()
Outcome.TransactionResponse
getTransactionResponse()
Transaction response.TransactionType
getTransactionType()
Transaction type.String
toString()
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.
-
-