C# Class SampleApplication.Domain.DiscountCalculation.TieredDiscountStrategy

Inheritance: IDiscountStrategy
ファイルを表示 Open project: ChrisEdwards/Fluency

Public Methods

Method Description
GetDiscount ( double totalAmount ) : double
TieredDiscountStrategy ( IList discountTiers ) : System.Collections.Generic

Method Details

GetDiscount() public method

public GetDiscount ( double totalAmount ) : double
totalAmount double
return double

TieredDiscountStrategy() public method

public TieredDiscountStrategy ( IList discountTiers ) : System.Collections.Generic
discountTiers IList
return System.Collections.Generic