setQuantity

Button Merchant Library

Version: 1.6.1

androidJvm

Overview

The Button Merchant library provides a set of classes and interfaces that facilitate integration with the Button Merchant platform.

Key Classes

Exception Classes

Module Classes

Methods

setQuantity

open fun [setQuantity](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/-line-item/-builder/set-quantity.html)(quantity: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)): [Order.LineItem.Builder](https://building.usebutton.com/button-merchant-android/latest/-button%20-merchant%20-library/com.usebutton.merchant/-order/-line-item/-builder/index.html)

The number of unique units represented by this line item (default is 1).