Click or drag to resize
ShoppingCartAdapterService Class
Service providing an interface between ShoppingCartInfo and the calculation pipeline.
Inheritance Hierarchy
SystemObject
  CMS.EcommerceShoppingCartAdapterService

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public class ShoppingCartAdapterService : IShoppingCartAdapterService

The ShoppingCartAdapterService type exposes the following members.

Constructors
  NameDescription
Public methodShoppingCartAdapterService
Top
Methods
  NameDescription
Public methodApplyCalculationResult
Applies result values to given ShoppingCartInfo. Override this method to change the way the calculation result is applied to the shopping cart.
Protected methodApplyResultToItem
Applies the resultItem to the cartItem. Override this method to change the way the calculation result is applied to the cart item.
Protected methodCreateRequest
Creates a new instance of CalculationRequest. Override this method to use a derived request implementation.
Protected methodCreateRequestItem
Creates a new instance of CalculationRequestItem. Override this method to use a derived request item implementation.
Protected methodCreateRequestItemOption
Creates a new instance of CalculationRequestItemOption. Override this method to use a derived request item option implementation.
Protected methodCreateResult
Creates a new instance of CalculationResult. Override this method to use a derived result implementation.
Protected methodCreateResultItem
Creates a new instance of CalculationResultItem. Override this method to use a derived result item implementation.
Public methodGetCalculationRequest
Collects information necessary for the calculation from given ShoppingCartInfo and stores it in CalculationRequest.
Public methodGetCalculationResult
Creates the CalculationResult object used to store calculation result (subtotals, price summaries etc.). Items collection contains CalculationResultItem items.
Top
See Also