Package com.wallee.android.till.sdk.data
Class CancelationResult.Builder
- java.lang.Object
-
- com.wallee.android.till.sdk.data.CancelationResult.Builder
-
- Enclosing class:
- CancelationResult
public static class CancelationResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder(CancelationResult cancelationResult)
Builder(State state, ResultCode resultCode, List<Receipt> receipts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CancelationResult
build()
CancelationResult.Builder
setAcquirerId(String acquirerId)
CancelationResult.Builder
setCancelledSequenceCount(String cancelledSequenceCount)
CancelationResult.Builder
setCardAppId(String cardAppId)
CancelationResult.Builder
setCardAppLabel(String cardAppLabel)
CancelationResult.Builder
setCardExpDate(String cardExpDate)
CancelationResult.Builder
setCardNumber(String cardNumber)
CancelationResult.Builder
setCardSeqNumber(String cardSeqNumber)
CancelationResult.Builder
setSequenceCount(String sequenceCount)
CancelationResult.Builder
setTerminalId(String terminalId)
CancelationResult.Builder
setTransactionAmount(String transactionAmount)
CancelationResult.Builder
setTransactionCurrency(String transactionCurrency)
CancelationResult.Builder
setTransactionTime(String transactionTime)
-
-
-
Constructor Detail
-
Builder
public Builder(@NonNull CancelationResult cancelationResult)
-
Builder
public Builder(@NonNull State state, @NonNull ResultCode resultCode, @NonNull List<Receipt> receipts)
-
-
Method Detail
-
setTerminalId
public CancelationResult.Builder setTerminalId(String terminalId)
-
setSequenceCount
public CancelationResult.Builder setSequenceCount(String sequenceCount)
-
setCancelledSequenceCount
public CancelationResult.Builder setCancelledSequenceCount(String cancelledSequenceCount)
-
setTransactionAmount
public CancelationResult.Builder setTransactionAmount(String transactionAmount)
-
setTransactionCurrency
public CancelationResult.Builder setTransactionCurrency(String transactionCurrency)
-
setAcquirerId
public CancelationResult.Builder setAcquirerId(String acquirerId)
-
setCardNumber
public CancelationResult.Builder setCardNumber(String cardNumber)
-
setCardSeqNumber
public CancelationResult.Builder setCardSeqNumber(String cardSeqNumber)
-
setCardExpDate
public CancelationResult.Builder setCardExpDate(String cardExpDate)
-
setCardAppLabel
public CancelationResult.Builder setCardAppLabel(String cardAppLabel)
-
setCardAppId
public CancelationResult.Builder setCardAppId(String cardAppId)
-
setTransactionTime
public CancelationResult.Builder setTransactionTime(String transactionTime)
-
build
public CancelationResult build()
-
-