reduces the purchased quantity of an item by 1 . removes the item from the cart list if the quantity reaches 0 . concode_field_sep StoreTable storeTable concode_elem_sep Random random concode_elem_sep Effect cartEffect concode_elem_sep ArrayList purchasedList concode_field_sep String getItemString concode_elem_sep ArrayList getPurchasedList concode_elem_sep void setCartEffect concode_elem_sep String getTotalPriceFormatted concode_elem_sep Hashtable getStoreTable concode_elem_sep void loadDefaults concode_elem_sep int getPurchasedCount concode_elem_sep void setStoreTable concode_elem_sep void cartListener concode_elem_sep void setPurchasedList concode_elem_sep Effect getCartEffect concode_elem_sep ArrayList getStoreTableAsList concode_elem_sep void addToPurchases
void function ( CartItem arg0 ) { arg0 . increaseQuantity ( ) ; if ( arg0 . getPurchasedQuantity ( ) == 0 ) { purchasedList . remove ( arg0 ) ; } }