Click or drag to resize
ShoppingService Constructor
Initializes a new instance of the ShoppingService class with supplied activity logger.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public ShoppingService(
	IEcommerceActivityLogger ecommerceActivityLogger,
	ICartItemChecker cartItemChecker,
	ICurrentShoppingCartService currentShoppingCartService,
	ICustomerShoppingService customerShoppingService,
	IShoppingCartAdapterService shoppingCartAdapterService,
	IShippingPriceService shippingPriceService
)

Parameters

ecommerceActivityLogger
Type: CMS.EcommerceIEcommerceActivityLogger
Activity logger to be used for logging E-commerce activities.
cartItemChecker
Type: CMS.EcommerceICartItemChecker
Cart item checker to be used for product being added to the cart.
currentShoppingCartService
Type: CMS.EcommerceICurrentShoppingCartService
Service to be used for current shopping cart retrieval.
customerShoppingService
Type: CMS.EcommerceICustomerShoppingService
Customer shopping service used for user registration.
shoppingCartAdapterService
Type: CMS.EcommerceIShoppingCartAdapterService
Shopping cart adapter service used for calculating shipping price.
shippingPriceService
Type: CMS.EcommerceIShippingPriceService
Shipping price service used for calculating shipping price.
See Also