C# Class SampleApplication.Domain.DiscountCalculation.DiscountStrategyBuilder

Inheritance: ITieredDiscountStrategyBuilder_Where, ITieredDiscountStrategyBuilder_Then, ITieredDiscountStrategyBuilder_WhereOrBuild
Afficher le fichier Open project: ChrisEdwards/Fluency

Méthodes publiques

Méthode Description
Build ( ) : IDiscountStrategy
BuildTieredStrategy ( ) : DiscountStrategyBuilder
GetDiscountOf ( double percent ) : ITieredDiscountStrategyBuilder_WhereOrBuild
OrdersGreaterThanOrEqualTo ( double amount ) : ITieredDiscountStrategyBuilder_Then

Method Details

Build() public méthode

public Build ( ) : IDiscountStrategy
Résultat IDiscountStrategy

BuildTieredStrategy() public static méthode

public static BuildTieredStrategy ( ) : DiscountStrategyBuilder
Résultat DiscountStrategyBuilder

GetDiscountOf() public méthode

public GetDiscountOf ( double percent ) : ITieredDiscountStrategyBuilder_WhereOrBuild
percent double
Résultat ITieredDiscountStrategyBuilder_WhereOrBuild

OrdersGreaterThanOrEqualTo() public méthode

public OrdersGreaterThanOrEqualTo ( double amount ) : ITieredDiscountStrategyBuilder_Then
amount double
Résultat ITieredDiscountStrategyBuilder_Then