deposit
Deposits an item with the provided id and amount.
Return
true
if the item was deposited, does not determine if amount was matched; otherwise false
Parameters
id
the id of the item
amount
the amount to deposit
Deposits an item with the provided name and amount.
Return
true
if the item was deposited, does not determine if amount was matched; otherwise false
Parameters
name
the name of the item
amount
the amount to deposit