Package com.wallee.android.till.sdk.data
Class TransactionResponse.Builder
- java.lang.Object
-
- com.wallee.android.till.sdk.data.TransactionResponse.Builder
-
- Enclosing class:
- TransactionResponse
public static class TransactionResponse.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder(Transaction transaction, State state, ResultCode resultCode, List<Receipt> receipts)
Builder(TransactionResponse transactionResponse)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder(TransactionResponse transactionResponse)
-
Builder
public Builder(@NonNull Transaction transaction, @NonNull State state, @NonNull ResultCode resultCode, @NonNull List<Receipt> receipts)
-
-
Method Detail
-
setTransaction
public TransactionResponse.Builder setTransaction(@NonNull Transaction transaction)
-
setState
public TransactionResponse.Builder setState(@NonNull State state)
-
setResultCode
public TransactionResponse.Builder setResultCode(@NonNull ResultCode resultCode)
-
setAuthorizationCode
public TransactionResponse.Builder setAuthorizationCode(String authorizationCode)
-
setTerminalId
public TransactionResponse.Builder setTerminalId(String terminalId)
-
setSequenceCount
public TransactionResponse.Builder setSequenceCount(String sequenceCount)
-
setTransactionTime
public TransactionResponse.Builder setTransactionTime(String transactionTime)
-
setReserveReference
public TransactionResponse.Builder setReserveReference(String reserveReference)
-
setAcquirerId
public TransactionResponse.Builder setAcquirerId(String acquirerId)
-
setCardNumber
public TransactionResponse.Builder setCardNumber(String cardNumber)
-
setReceipts
public TransactionResponse.Builder setReceipts(@NonNull List<Receipt> receipts)
-
setCardIssuingCountry
public TransactionResponse.Builder setCardIssuingCountry(String cardIssuingCountry)
-
setCardAppLabel
public TransactionResponse.Builder setCardAppLabel(String cardAppLabel)
-
setCardAppId
public TransactionResponse.Builder setCardAppId(String cardAppId)
-
setAmountTip
public TransactionResponse.Builder setAmountTip(String amountTip)
-
setPanToken
public TransactionResponse.Builder setPanToken(String panToken)
-
setMerchantReference
public TransactionResponse.Builder setMerchantReference(String merchantReference)
-
setPaymentEntryMethod
public TransactionResponse.Builder setPaymentEntryMethod(PaymentEntryMethod paymentEntryMethod)
-
setTransactionSyncNumber
public TransactionResponse.Builder setTransactionSyncNumber(Integer transactionSyncNumber)
-
getTransaction
public Transaction getTransaction()
-
getState
public State getState()
-
getResultCode
public ResultCode getResultCode()
-
getAuthorizationCode
public String getAuthorizationCode()
-
getTerminalId
public String getTerminalId()
-
getSequenceCount
public String getSequenceCount()
-
getTransactionTime
public String getTransactionTime()
-
getReserveReference
public String getReserveReference()
-
getAcquirerId
public String getAcquirerId()
-
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
public PaymentEntryMethod getPaymentEntryMethod()
-
getTransactionSyncNumber
public Integer getTransactionSyncNumber()
-
build
public TransactionResponse build()
-
-