# Button Merchant Library

## Version

1.6.1

## Class Links

- [ButtonMerchantLibrary](https://building.usebutton.com/button-merchant-android/latest/index.html)
- [com.usebutton.merchant](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/index.html)
- [ActivityReportingTask](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-activity-reporting-task/index.html)
- [ButtonMerchant](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-merchant/index.html)
- [AttributionTokenListener](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-merchant/-attribution-token-listener/index.html)
- [ButtonProduct](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product/index.html)
- [ButtonProductCompatible](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-product-compatible/index.html)
- [Order](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/index.html)
- [Builder](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/-builder/index.html)
- [Customer](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/-customer/index.html)
- [LineItem](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/-line-item/index.html)

## Order Class

### Definition

Open class [Order](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/index.html) represents an order placed by the user to be reported using [reportOrder](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-button-merchant/report-order.html).

### Members

#### Types

- [Builder](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/-builder/index.html)

##### Builder Class

Open class [Builder](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/-builder/index.html) for tracking a customer [Order](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/index.html).

- [Customer](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/-customer/index.html)

##### Customer Class

Open class [Customer](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/-customer/index.html) represents a customer in the order [customer](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/customer.html).

- [LineItem](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/-line-item/index.html)

##### LineItem Class

Open class [LineItem](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/-line-item/index.html) represents a line item in the order [lineItems](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/line-items.html).

### Properties

- [currencyCode](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/currency-code.html): Open val [currencyCode](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/currency-code.html) of type [String](https://developer.android.com/reference/kotlin/java/lang/String.html).

- [customer](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/customer.html): Open val [customer](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/customer.html) of type [Order.Customer](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/-customer/index.html).

- [customerOrderId](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/customer-order-id.html): Open val [customerOrderId](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/customer-order-id.html) of type [String](https://developer.android.com/reference/kotlin/java/lang/String.html).

- [id](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/id.html): Open val [id](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/id.html) of type [String](https://developer.android.com/reference/kotlin/java/lang/String.html).

- [lineItems](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/line-items.html): Open val [lineItems](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/line-items.html) of type [List](https://developer.android.com/reference/kotlin/java/util/List.html) < [Order.LineItem](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/-line-item/index.html) >.

- [purchaseDate](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/purchase-date.html): Open val [purchaseDate](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/purchase-date.html) of type [Date](https://developer.android.com/reference/kotlin/java/util/Date.html).
