Class DefaultOrderIntegrationFacade
java.lang.Object
de.hybris.platform.cpq.productconfig.facades.impl.DefaultOrderIntegrationFacade
- All Implemented Interfaces:
OrderIntegrationFacade
Default implementation of CPQ facade for integration with order
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultOrderIntegrationFacade(AbstractOrderIntegrationService abstractOrderIntegrationService, de.hybris.platform.order.OrderService orderService, de.hybris.platform.store.services.BaseStoreService baseStoreService, de.hybris.platform.commerceservices.customer.CustomerAccountService customerAccountService) Default constructor for dependency injection. -
Method Summary
Modifier and TypeMethodDescriptionprotected OrderEntryModelfindOrderEntry(String orderCode, int entryNumber) protected AbstractOrderIntegrationServiceprotected de.hybris.platform.store.services.BaseStoreServicegetConfigurationId(String orderCode, int entryNumber) Retrieves configuration id for a order entryprotected de.hybris.platform.commerceservices.customer.CustomerAccountServiceprotected de.hybris.platform.order.OrderServicegetProductCode(String orderCode, int entryNumber) Retrieves product code for a order entry
-
Constructor Details
-
DefaultOrderIntegrationFacade
public DefaultOrderIntegrationFacade(AbstractOrderIntegrationService abstractOrderIntegrationService, de.hybris.platform.order.OrderService orderService, de.hybris.platform.store.services.BaseStoreService baseStoreService, de.hybris.platform.commerceservices.customer.CustomerAccountService customerAccountService) Default constructor for dependency injection.- Parameters:
abstractOrderIntegrationService- for retrieving the configuration id from the abstract order entryorderService- for reading the order entry modelbaseStoreService- required to read the order modelcustomerAccountService- for reading the order model
-
-
Method Details
-
getConfigurationId
Description copied from interface:OrderIntegrationFacadeRetrieves configuration id for a order entry- Specified by:
getConfigurationIdin interfaceOrderIntegrationFacade- Parameters:
orderCode- order CodeentryNumber- entry number- Returns:
- configuration id
-
getProductCode
Description copied from interface:OrderIntegrationFacadeRetrieves product code for a order entry- Specified by:
getProductCodein interfaceOrderIntegrationFacade- Parameters:
orderCode- order codeentryNumber- entry number- Returns:
- product code
-
findOrderEntry
-
getAbstractOrderIntegrationService
-
getOrderService
protected de.hybris.platform.order.OrderService getOrderService() -
getBaseStoreService
protected de.hybris.platform.store.services.BaseStoreService getBaseStoreService() -
getCustomerAccountService
protected de.hybris.platform.commerceservices.customer.CustomerAccountService getCustomerAccountService()
-