Class DefaultOrderIntegrationFacade

java.lang.Object
de.hybris.platform.cpq.productconfig.facades.impl.DefaultOrderIntegrationFacade
All Implemented Interfaces:
OrderIntegrationFacade

public class DefaultOrderIntegrationFacade extends Object implements OrderIntegrationFacade
Default implementation of CPQ facade for integration with order
  • 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 entry
      orderService - for reading the order entry model
      baseStoreService - required to read the order model
      customerAccountService - for reading the order model
  • Method Details

    • getConfigurationId

      public ProductConfigData getConfigurationId(String orderCode, int entryNumber)
      Description copied from interface: OrderIntegrationFacade
      Retrieves configuration id for a order entry
      Specified by:
      getConfigurationId in interface OrderIntegrationFacade
      Parameters:
      orderCode - order Code
      entryNumber - entry number
      Returns:
      configuration id
    • getProductCode

      public String getProductCode(String orderCode, int entryNumber)
      Description copied from interface: OrderIntegrationFacade
      Retrieves product code for a order entry
      Specified by:
      getProductCode in interface OrderIntegrationFacade
      Parameters:
      orderCode - order code
      entryNumber - entry number
      Returns:
      product code
    • findOrderEntry

      protected OrderEntryModel findOrderEntry(String orderCode, int entryNumber)
    • getAbstractOrderIntegrationService

      protected AbstractOrderIntegrationService 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()