setCategory

Button Merchant Library

Version

1.6.1

Android JVM

Documentation Links

Exception Classes

Modules

setCategory

Function to set the category of the line item.

open fun setCategory(category: List<String>): Order.LineItem.Builder

The category of the line item is an ordered list of strings, starting with the topmost (or most general) category.