Class DefaultSapCpiQuoteMapperService

java.lang.Object
com.sap.hybris.sapquoteintegration.outbound.service.impl.DefaultSapCpiQuoteMapperService
All Implemented Interfaces:
SapCpiQuoteMapperService<QuoteModel,SAPCpiOutboundQuoteModel>

public class DefaultSapCpiQuoteMapperService extends Object implements SapCpiQuoteMapperService<QuoteModel,SAPCpiOutboundQuoteModel>
  • Field Details

    • LOG

      protected static final org.apache.log4j.Logger LOG
    • PROMOTION_PREFX

      protected static final String PROMOTION_PREFX
      See Also:
  • Constructor Details

    • DefaultSapCpiQuoteMapperService

      public DefaultSapCpiQuoteMapperService()
  • Method Details

    • map

      public void map(QuoteModel quoteModel, SAPCpiOutboundQuoteModel scpiQuoteModel)
      Description copied from interface: SapCpiQuoteMapperService
      Performs mapping from source to target.
      Specified by:
      map in interface SapCpiQuoteMapperService<QuoteModel,SAPCpiOutboundQuoteModel>
      Parameters:
      quoteModel - Quote Model
      scpiQuoteModel - SAP CPI Outbound Quote Model
    • mapQuoteToSapCpiOutboundQuote

      protected SAPCpiOutboundQuoteModel mapQuoteToSapCpiOutboundQuote(QuoteModel quoteModel, SAPCpiOutboundQuoteModel scpiQuoteModel)
    • createPromotionSummary

      protected String createPromotionSummary(de.hybris.platform.promotions.result.PromotionOrderResults promotionResults)
    • appendPromotions

      protected String appendPromotions(List<de.hybris.platform.promotions.jalo.PromotionResult> promotions)
    • mapQuoteCustomers

      protected Set<SAPCpiOutboundQuoteCustomerModel> mapQuoteCustomers(B2BCustomerModel customerModel)
    • mapCustomer

      protected SAPCpiOutboundQuoteCustomerModel mapCustomer(B2BCustomerModel customerModel)
    • getRootB2BUnit

      protected CompanyModel getRootB2BUnit(B2BCustomerModel customerModel)
    • populateAddress

      protected void populateAddress(SAPCpiOutboundQuoteCustomerModel customer, AddressModel address)
    • getValidAddress

      protected AddressModel getValidAddress(Collection<AddressModel> addresses)
    • getConfigurationService

      public de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()
    • setConfigurationService

      public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService)
    • getCustomerNameStrategy

      public de.hybris.platform.commerceservices.strategies.CustomerNameStrategy getCustomerNameStrategy()
    • setCustomerNameStrategy

      public void setCustomerNameStrategy(de.hybris.platform.commerceservices.strategies.CustomerNameStrategy customerNameStrategy)
    • getPromotionsService

      public de.hybris.platform.promotions.PromotionsService getPromotionsService()
    • setPromotionsService

      public void setPromotionsService(de.hybris.platform.promotions.PromotionsService promotionsService)
    • getQuoteService

      public de.hybris.platform.order.QuoteService getQuoteService()
    • setQuoteService

      public void setQuoteService(de.hybris.platform.order.QuoteService quoteService)
    • getB2bUnitService

      public de.hybris.platform.b2b.services.B2BUnitService<B2BUnitModel,?> getB2bUnitService()
    • setB2bUnitService

      public void setB2bUnitService(de.hybris.platform.b2b.services.B2BUnitService<B2BUnitModel,?> b2bUnitService)