Hi
I am using inventory connector to get the inventory item details in my android based clover application. But to get the item quantity I found the itemStock every time null.
I am using following code:
var item = mInventoryConnector.getItemWithCategories(itemId)
var quantitiy = item.itemStock.quantity
Error:
java.lang.NullPointerException: itm.itemStock must not be null
I want the amount of item in stock quantity. Please suggest if I am missing anything.