public ITieredDiscountStrategyBuilder_WhereOrBuild GetDiscountOf(double percent) { _tierUnderConstruction.DiscountPercentage = percent; discountTiers.Add(_tierUnderConstruction); _tierUnderConstruction = null; return(this); }
public ITieredDiscountStrategyBuilder_WhereOrBuild GetDiscountOf( double percent ) { _tierUnderConstruction.DiscountPercentage = percent; discountTiers.Add( _tierUnderConstruction ); _tierUnderConstruction = null; return this; }
public ITieredDiscountStrategyBuilder_Then OrdersGreaterThanOrEqualTo(double amount) { _tierUnderConstruction = new DiscountTier { LowestQualifyingAmount = amount }; return(this); }
public ITieredDiscountStrategyBuilder_Then OrdersGreaterThanOrEqualTo( double amount ) { _tierUnderConstruction = new DiscountTier { LowestQualifyingAmount = amount }; return this; }