# Inventory

**This class is deprecated.**  
No replacement.

## Class Overview

An inventory item represents a choice for the user, your UI should be flexible and support a varying number of inventory items for the user to pick.

It's important that you invoke the inventory when it's clicked by the user by passing it to `AppAction#invokeInventory(Context, Inventory)`.

## Summary

| Public Methods |
| --- |
| Text | [getIconText](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/models/Inventory.html#getIconText())() |
| Uri | [getIconUri](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/models/Inventory.html#getIconUri())() |
| Text | [getPrimary](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/models/Inventory.html#getPrimary())() |
| Text | [getSecondary](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/models/Inventory.html#getSecondary())() |

## Public Methods

#### public           Text  getIconText()

##### Returns

- a text that should be rendered close to the icon or null

#### public           Uri  getIconUri()

##### Returns

- an Uri for the icon associated with this inventory item or null

#### public           Text  getPrimary()

##### Returns

- the primary line of text or null

#### public           Text  getSecondary()

##### Returns

- the primary line of text or null
