C# Class VendingMachine.Domain.DrinkPriceSpecification

Inheritance: IDrinkPriceSpecification
Mostrar archivo Open project: posaunehm/Codersation

Public Methods

Method Description
GetItemPrice ( string drinkName ) : int
SetDrinkSpec ( PriceSpecification spec ) : void

Method Details

GetItemPrice() public method

public GetItemPrice ( string drinkName ) : int
drinkName string
return int

SetDrinkSpec() public method

public SetDrinkSpec ( PriceSpecification spec ) : void
spec PriceSpecification
return void