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: 13.0.131
Syntax
C#
public ShoppingService(
	IEcommerceActivityLogger ecommerceActivityLogger,
	ICartItemChecker cartItemChecker,
	ICurrentShoppingCartService currentShoppingCartService,
	ICustomerShoppingService customerShoppingService,
	IShoppingCartAdapterService shoppingCartAdapterService,
	IShippingPriceService shippingPriceService,
	IAddressInfoProvider addressInfoProvider,
	ICustomerInfoProvider customerInfoProvider,
	IPaymentOptionInfoProvider paymentOptionInfoProvider,
	IShippingOptionInfoProvider shippingOptionInfoProvider,
	IShoppingCartInfoProvider shoppingCartInfoProvider,
	IShoppingCartItemInfoProvider shoppingCartItemInfoProvider,
	ISKUInfoProvider skuInfoProvider,
	ICountryInfoProvider countryInfoProvider,
	IStateInfoProvider stateInfoProvider
)

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.
addressInfoProvider
Type: CMS.EcommerceIAddressInfoProvider
Provider for AddressInfo management.
customerInfoProvider
Type: CMS.EcommerceICustomerInfoProvider
Provider for CustomerInfo management.
paymentOptionInfoProvider
Type: CMS.EcommerceIPaymentOptionInfoProvider
Provider for PaymentOptionInfo management.
shippingOptionInfoProvider
Type: CMS.EcommerceIShippingOptionInfoProvider
Provider for ShippingOptionInfo management.
shoppingCartInfoProvider
Type: CMS.EcommerceIShoppingCartInfoProvider
Provider for ShoppingCartInfo management.
shoppingCartItemInfoProvider
Type: CMS.EcommerceIShoppingCartItemInfoProvider
Provider for ShoppingCartItemInfo management.
skuInfoProvider
Type: CMS.EcommerceISKUInfoProvider
Provider for SKUInfo management.
countryInfoProvider
Type: CMS.GlobalizationICountryInfoProvider
Provider for CountryInfo management.
stateInfoProvider
Type: CMS.GlobalizationIStateInfoProvider
Provider for StateInfo management.
See Also