C# Class Agathas.Storefront.Shopping.Model.Baskets.BasketPricingService

ファイルを表示 Open project: elbandit/PPPDDD

Public Methods

Method Description
BasketPricingService ( IBasketRepository basketRepository, IPromotionsRepository promotions_repository ) : System
calculate_total_price_for ( IEnumerable items, IEnumerable coupons ) : BasketPricingBreakdown

Method Details

BasketPricingService() public method

public BasketPricingService ( IBasketRepository basketRepository, IPromotionsRepository promotions_repository ) : System
basketRepository IBasketRepository
promotions_repository IPromotionsRepository
return System

calculate_total_price_for() public method

public calculate_total_price_for ( IEnumerable items, IEnumerable coupons ) : BasketPricingBreakdown
items IEnumerable
coupons IEnumerable
return BasketPricingBreakdown