Package com.wallee.android.till.sdk.data
Class TransactionCompletionResponse
- java.lang.Object
-
- com.wallee.android.till.sdk.data.TransactionCompletionResponse
-
public final class TransactionCompletionResponse extends Object
The transaction completion response data fromApiClient.completeTransaction(TransactionCompletion)
API call.
-
-
Constructor Summary
Constructors Constructor Description TransactionCompletionResponse(TransactionCompletion transactionCompletion, State state, ResultCode resultCode, String authorizationCode, String terminalId, String sequenceCount, String transactionTime, List<Receipt> receipts, Integer transactionSyncNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthorizationCode()
Date
getParsedTransactionTime()
List<Receipt>
getReceipts()
ResultCode
getResultCode()
String
getSequenceCount()
State
getState()
String
getTerminalId()
TransactionCompletion
getTransactionCompletion()
Integer
getTransactionSyncNumber()
String
getTransactionTime()
void
setTransactionSyncNumber(Integer transactionSyncNumber)
-
-
-
Constructor Detail
-
TransactionCompletionResponse
public TransactionCompletionResponse(@NonNull TransactionCompletion transactionCompletion, @NonNull State state, @NonNull ResultCode resultCode, @Nullable String authorizationCode, @Nullable String terminalId, @Nullable String sequenceCount, @Nullable String transactionTime, @NonNull List<Receipt> receipts, @NonNull Integer transactionSyncNumber)
-
-
Method Detail
-
getTransactionCompletion
@NonNull public TransactionCompletion getTransactionCompletion()
-
getState
@NonNull public State getState()
-
getResultCode
@NonNull public ResultCode getResultCode()
-
getAuthorizationCode
@Nullable public String getAuthorizationCode()
-
getTerminalId
@Nullable public String getTerminalId()
-
getSequenceCount
@Nullable public String getSequenceCount()
-
getTransactionTime
@Nullable public String getTransactionTime()
-
getTransactionSyncNumber
public Integer getTransactionSyncNumber()
-
setTransactionSyncNumber
public void setTransactionSyncNumber(Integer transactionSyncNumber)
-
getParsedTransactionTime
public Date getParsedTransactionTime() throws ParseException
- Throws:
ParseException
-
-