getUnitBasedQuantity

Returns the quantity of the cart item


fun getUnitBasedQuantity(ignoreLineItem: Boolean): Int

Returns the quantity of the cart item

Parameters

ignoreLineItem

if set to true, only return the local quantity before backend updates