Button Merchant Library
1.6.1
androidJvm
Button Merchant Library
/
com.usebutton.merchant
/
Order
/
Builder
Builder
open
class
Builder
Builder class for tracking a customer
Order
.
Members
Constructors
Builder
Link copied to clipboard
constructor
(
id
:
String
,
purchaseDate
:
Date
,
lineItems
:
List
<
Order.LineItem
>
)
Constructor.
Functions
build
Link copied to clipboard
open
fun
build
(
)
:
Order
Builds and returns an Order Object
set
Currency
Code
Link copied to clipboard
open
fun
setCurrencyCode
(
currencyCode
:
String
)
:
Order.Builder
The ISO 4217 currency code.
set
Customer
Link copied to clipboard
open
fun
setCustomer
(
customer
:
Order.Customer
)
:
Order.Builder
The customer related to the order
set
Customer
Order
Id
Link copied to clipboard
open
fun
setCustomerOrderId
(
customerOrderId
:
String
)
:
Order.Builder
The customer-facing order id