Class DefaultSapCpqCpiOutboundQuoteConversionService
java.lang.Object
com.sap.hybris.sapcpqquoteintegration.outbound.service.impl.DefaultSapCpqCpiOutboundQuoteConversionService
- All Implemented Interfaces:
SapCpqCpiOutboundQuoteConversionService
public class DefaultSapCpqCpiOutboundQuoteConversionService
extends Object
implements SapCpqCpiOutboundQuoteConversionService
Default implementation of SapCpqCpiOutboundQuoteConversionService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertQuoteToSapCpiQuote(QuoteModel quoteModel) Converts quote to SAPCPQOutboundQuoteModel to be sent to SCPIConverts quote to SAPCPQOutboundQuoteStatusModel to be sent to SCPIde.hybris.platform.b2b.services.B2BUnitService<B2BUnitModel,?> de.hybris.platform.servicelayer.config.ConfigurationServicede.hybris.platform.order.QuoteServiceprotected CompanyModelgetRootB2BUnit(B2BCustomerModel customerModel) protected List<SAPCPQOutboundQuoteCommentModel>mapComments(List<CommentModel> comments) voidsetB2bUnitService(de.hybris.platform.b2b.services.B2BUnitService<B2BUnitModel, ?> b2bUnitService) voidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) voidsetQuoteService(de.hybris.platform.order.QuoteService quoteService) voidsetSapCpqCpiQuoteCommentMappers(List<SapCpqCpiQuoteCommentMapperService<CommentModel, SAPCPQOutboundQuoteCommentModel>> sapCpqCpiQuoteCommentMappers) voidsetSapCpqCpiQuoteEntryMappers(List<SapCpqCpiQuoteEntryMapperService<AbstractOrderEntryModel, SAPCPQOutboundQuoteItemModel>> sapCpqCpiQuoteEntryMappers) voidsetSapCpqCpiQuoteMappers(List<SapCpqCpiQuoteMapperService<QuoteModel, SAPCPQOutboundQuoteModel>> sapCpqCpiQuoteMappers) voidsetSapCpqCpiQuoteStatusMappers(List<SapCpqCpiQuoteStatusMapperService<QuoteModel, SAPCPQOutboundQuoteStatusModel>> sapCpqCpiQuoteStatusMappers)
-
Field Details
-
LOG
protected static final org.apache.log4j.Logger LOG
-
-
Constructor Details
-
DefaultSapCpqCpiOutboundQuoteConversionService
public DefaultSapCpqCpiOutboundQuoteConversionService()
-
-
Method Details
-
convertQuoteToSapCpiQuote
Description copied from interface:SapCpqCpiOutboundQuoteConversionServiceConverts quote to SAPCPQOutboundQuoteModel to be sent to SCPI- Specified by:
convertQuoteToSapCpiQuotein interfaceSapCpqCpiOutboundQuoteConversionService- Parameters:
quoteModel- Quote Model- Returns:
- SAPCPQOutboundQuoteModel model to be sent to SCPI
-
mapComments
-
getRootB2BUnit
-
convertQuoteToSapCpiQuoteStatus
Description copied from interface:SapCpqCpiOutboundQuoteConversionServiceConverts quote to SAPCPQOutboundQuoteStatusModel to be sent to SCPI- Specified by:
convertQuoteToSapCpiQuoteStatusin interfaceSapCpqCpiOutboundQuoteConversionService- Parameters:
quote- Quote Model- Returns:
- SAPCPQOutboundQuoteStatusModel model to be sent to SCPI
-
getQuoteService
public de.hybris.platform.order.QuoteService getQuoteService() -
setQuoteService
public void setQuoteService(de.hybris.platform.order.QuoteService quoteService) -
getConfigurationService
public de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService() -
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) -
getSapCpqCpiQuoteMappers
public List<SapCpqCpiQuoteMapperService<QuoteModel,SAPCPQOutboundQuoteModel>> getSapCpqCpiQuoteMappers() -
setSapCpqCpiQuoteMappers
public void setSapCpqCpiQuoteMappers(List<SapCpqCpiQuoteMapperService<QuoteModel, SAPCPQOutboundQuoteModel>> sapCpqCpiQuoteMappers) -
getSapCpqCpiQuoteEntryMappers
public List<SapCpqCpiQuoteEntryMapperService<AbstractOrderEntryModel,SAPCPQOutboundQuoteItemModel>> getSapCpqCpiQuoteEntryMappers() -
setSapCpqCpiQuoteEntryMappers
public void setSapCpqCpiQuoteEntryMappers(List<SapCpqCpiQuoteEntryMapperService<AbstractOrderEntryModel, SAPCPQOutboundQuoteItemModel>> sapCpqCpiQuoteEntryMappers) -
getSapCpqCpiQuoteCommentMappers
public List<SapCpqCpiQuoteCommentMapperService<CommentModel,SAPCPQOutboundQuoteCommentModel>> getSapCpqCpiQuoteCommentMappers() -
setSapCpqCpiQuoteCommentMappers
public void setSapCpqCpiQuoteCommentMappers(List<SapCpqCpiQuoteCommentMapperService<CommentModel, SAPCPQOutboundQuoteCommentModel>> sapCpqCpiQuoteCommentMappers) -
getSapCpqCpiQuoteStatusMappers
public List<SapCpqCpiQuoteStatusMapperService<QuoteModel,SAPCPQOutboundQuoteStatusModel>> getSapCpqCpiQuoteStatusMappers() -
setSapCpqCpiQuoteStatusMappers
public void setSapCpqCpiQuoteStatusMappers(List<SapCpqCpiQuoteStatusMapperService<QuoteModel, SAPCPQOutboundQuoteStatusModel>> sapCpqCpiQuoteStatusMappers) -
getB2bUnitService
-
setB2bUnitService
public void setB2bUnitService(de.hybris.platform.b2b.services.B2BUnitService<B2BUnitModel, ?> b2bUnitService)
-