Method | Description | |
---|---|---|
AddDrink ( IEnumerable |
||
AddStock ( IEnumerable |
||
AddStock ( IEnumerable |
||
BuyDrink ( string drinkName ) : Drink | ||
CanBuy ( string drinkName ) : bool | ||
InsertMoney ( Money money ) : void | ||
PayBack ( ) : IEnumerable |
||
SetDrinkSpecification ( IEnumerable |
||
VendingMachine ( ) : System.Collections.Generic | ||
VendingMachine ( IMoneyAcceptor acceptor ) : System.Collections.Generic |
Method | Description | |
---|---|---|
CanBuyDrinkNamed ( string drinkName ) : bool |
public AddStock ( IEnumerable |
||
moneys | IEnumerable |
|
return | void |
public AddStock ( IEnumerable |
||
setMoneyInfos | IEnumerable |
|
return | void |
public SetDrinkSpecification ( IEnumerable |
||
specs | IEnumerable |
|
return | void |
public VendingMachine ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public VendingMachine ( IMoneyAcceptor acceptor ) : System.Collections.Generic | ||
acceptor | IMoneyAcceptor | |
return | System.Collections.Generic |