Package com.wallee.android.till.sdk.data
Class TransactionCompletion.Builder
- java.lang.Object
-
- com.wallee.android.till.sdk.data.TransactionCompletion.Builder
-
- Enclosing class:
- TransactionCompletion
public static class TransactionCompletion.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder(TransactionCompletion transaction)
Copy ctorBuilder(List<LineItem> lineItems)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionCompletion
build()
TransactionCompletion.Builder
setCurrency(Currency currency)
TransactionCompletion.Builder
setLineItems(List<LineItem> lineItems)
TransactionCompletion.Builder
setReserveReference(String reserveReference)
TransactionCompletion.Builder
setTransactionSyncNumber(Integer transactionSyncNumber)
-
-
-
Constructor Detail
-
Builder
public Builder(@NonNull TransactionCompletion transaction)
Copy ctor- Parameters:
transaction
-
-
-
Method Detail
-
setLineItems
@NonNull public TransactionCompletion.Builder setLineItems(@NonNull List<LineItem> lineItems)
-
setReserveReference
@NonNull public TransactionCompletion.Builder setReserveReference(@NonNull String reserveReference)
-
setCurrency
@NonNull public TransactionCompletion.Builder setCurrency(@NonNull Currency currency)
-
setTransactionSyncNumber
@NonNull public TransactionCompletion.Builder setTransactionSyncNumber(Integer transactionSyncNumber)
-
build
@NonNull public TransactionCompletion build()
-
-