Class DefaultTmaProductOfferContextFacade
java.lang.Object
de.hybris.platform.b2ctelcofacades.product.impl.DefaultTmaProductOfferContextFacade
- All Implemented Interfaces:
TmaProductOfferContextFacade
public class DefaultTmaProductOfferContextFacade
extends Object
implements TmaProductOfferContextFacade
Default implementation for
TmaProductOfferContextFacade.- Since:
- 2302
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultTmaProductOfferContextFacade(TmaCartService cartService, TmaCommerceCartService commerceCartService, TmaSubscribedProductService subscribedProductService, TmaSubscriptionBaseService subscriptionBaseService, de.hybris.platform.commerceservices.customer.CustomerService customerService) -
Method Summary
Modifier and TypeMethodDescriptionbuildOfferContextData(TmaOfferContextData offerContextData) Builds the offerContextData from the cart and cart entry attributes of the context.protected TmaCartServiceprotected TmaCommerceCartServiceprotected de.hybris.platform.commerceservices.customer.CustomerServiceprotected TmaSubscribedProductServiceprotected TmaSubscriptionBaseService
-
Constructor Details
-
DefaultTmaProductOfferContextFacade
public DefaultTmaProductOfferContextFacade(TmaCartService cartService, TmaCommerceCartService commerceCartService, TmaSubscribedProductService subscribedProductService, TmaSubscriptionBaseService subscriptionBaseService, de.hybris.platform.commerceservices.customer.CustomerService customerService)
-
-
Method Details
-
buildOfferContextData
Description copied from interface:TmaProductOfferContextFacadeBuilds the offerContextData from the cart and cart entry attributes of the context.- Specified by:
buildOfferContextDatain interfaceTmaProductOfferContextFacade- Parameters:
offerContextData- the initial context with cart related fields.- Returns:
- the final context with all the fields set.
-
getCartService
-
getCommerceCartService
-
getSubscribedProductService
-
getSubscriptionBaseService
-
getCustomerService
protected de.hybris.platform.commerceservices.customer.CustomerService getCustomerService()
-