Package com.wallee.android.till.sdk.data
Class TransactionResponse
- java.lang.Object
-
- com.wallee.android.till.sdk.data.TransactionResponse
-
public final class TransactionResponse extends Object
The transaction response data fromApiClient.authorizeTransaction(Transaction)
API call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransactionResponse.Builder
-
Constructor Summary
Constructors Constructor Description TransactionResponse(Transaction transaction, State state, ResultCode resultCode, String authorizationCode, String terminalId, String sequenceCount, String transactionTime, String reserveReference, String acquirerId, List<Receipt> receipts, String cardNumber, String cardIssuingCountry, String cardAppLabel, String cardAppId, String amountTip, String panToken, String merchantReference, PaymentEntryMethod paymentEntryMethod, Integer transactionSyncNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAcquirerId()
String
getAmountTip()
String
getAuthorizationCode()
String
getCardAppId()
String
getCardAppLabel()
String
getCardIssuingCountry()
String
getCardNumber()
String
getMerchantReference()
String
getPanToken()
Date
getParsedTransactionTime()
PaymentEntryMethod
getPaymentEntryMethod()
List<Receipt>
getReceipts()
String
getReserveReference()
ResultCode
getResultCode()
String
getSequenceCount()
State
getState()
String
getTerminalId()
Transaction
getTransaction()
Integer
getTransactionSyncNumber()
String
getTransactionTime()
-
-
-
Constructor Detail
-
TransactionResponse
public TransactionResponse(@NonNull Transaction transaction, @NonNull State state, @NonNull ResultCode resultCode, @Nullable String authorizationCode, @Nullable String terminalId, @Nullable String sequenceCount, @Nullable String transactionTime, @Nullable String reserveReference, @Nullable String acquirerId, @NonNull List<Receipt> receipts, @Nullable String cardNumber, @Nullable String cardIssuingCountry, @Nullable String cardAppLabel, @Nullable String cardAppId, @Nullable String amountTip, @Nullable String panToken, @Nullable String merchantReference, @Nullable PaymentEntryMethod paymentEntryMethod, @Nullable Integer transactionSyncNumber)
-
-
Method Detail
-
getTransaction
@NonNull public Transaction getTransaction()
-
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()
-
getReserveReference
@Nullable public String getReserveReference()
-
getAcquirerId
@Nullable public String getAcquirerId()
-
getParsedTransactionTime
public Date getParsedTransactionTime() throws ParseException
- Throws:
ParseException
-
getCardNumber
public String getCardNumber()
-
getCardIssuingCountry
public String getCardIssuingCountry()
-
getCardAppLabel
public String getCardAppLabel()
-
getCardAppId
public String getCardAppId()
-
getAmountTip
public String getAmountTip()
-
getPanToken
public String getPanToken()
-
getMerchantReference
public String getMerchantReference()
-
getPaymentEntryMethod
@Nullable public PaymentEntryMethod getPaymentEntryMethod()
-
getTransactionSyncNumber
public Integer getTransactionSyncNumber()
-
-