Package com.wallee.android.till.sdk.data
Class Transaction.Builder
- java.lang.Object
-
- com.wallee.android.till.sdk.data.Transaction.Builder
-
- Enclosing class:
- Transaction
public static class Transaction.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder(Transaction transaction)
Copy ctorBuilder(List<LineItem> lineItems)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder(Transaction transaction)
Copy ctor- Parameters:
transaction
-
-
-
Method Detail
-
getBillingAddress
public Address getBillingAddress()
-
getShippingAddress
public Address getShippingAddress()
-
getCustomText
public String getCustomText()
-
getLanguage
public String getLanguage()
-
getTransactionSyncNumber
public Integer getTransactionSyncNumber()
-
setLineItems
public Transaction.Builder setLineItems(List<LineItem> lineItems)
-
setMerchantReference
public Transaction.Builder setMerchantReference(String merchantReference)
-
setInvoiceReference
public Transaction.Builder setInvoiceReference(String invoiceReference)
-
setCustomerId
public Transaction.Builder setCustomerId(String customerId)
-
setCurrency
public Transaction.Builder setCurrency(Currency currency)
-
setCustomerEmailAddress
public Transaction.Builder setCustomerEmailAddress(String customerEmailAddress)
-
setBillingAddress
public Transaction.Builder setBillingAddress(Address billingAddress)
-
setShippingAddress
public Transaction.Builder setShippingAddress(Address shippingAddress)
-
setTransactionProcessingBehavior
public Transaction.Builder setTransactionProcessingBehavior(TransactionProcessingBehavior transactionProcessingBehavior)
-
putMetaData
public Transaction.Builder putMetaData(String key, String value)
-
setCustomText
public Transaction.Builder setCustomText(String customText)
-
setLanguage
public Transaction.Builder setLanguage(String language)
-
setGeneratePanToken
public Transaction.Builder setGeneratePanToken(Boolean generatePanToken)
-
setTransactionSyncNumber
public Transaction.Builder setTransactionSyncNumber(int trxSyncNumber)
-
setTransactionRefNumber
public Transaction.Builder setTransactionRefNumber(String transactionRefNumber)
-
build
public Transaction build()
-
-