Class SapCpiMDMCustomerDefaultConversionService
java.lang.Object
de.hybris.platform.sap.sapcpicustomerexchange.service.impl.SapCpiCustomerDefaultConversionService
de.hybris.platform.sap.sapcpicustomerexchangemdm.service.impl.SapCpiMDMCustomerDefaultConversionService
- All Implemented Interfaces:
SapCpiCustomerConversionService
- Direct Known Subclasses:
GigyaCpiMDMCustomerDefaultConversionService
public class SapCpiMDMCustomerDefaultConversionService
extends SapCpiCustomerDefaultConversionService
SapCpiMDMCustomerDefaultConversionService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertCustomerToSapCpiCustomer(CustomerModel customerModel, AddressModel addressModel, String baseStoreUid, String sessionLanguage) Converts Customer And Address Model to Customer Out Bound Integration Objectprotected SAPCpiOutboundAddressModelpopulateOutboundAddress(AddressModel address, CustomerModel customerModel) Populating sapCpiOutboundAddress Integration Object Form AddressModelprotected Collection<SAPCpiOutboundAddressModel>populateOutboundAddresses(CustomerModel customerModel, AddressModel customerAddress) Methods inherited from class de.hybris.platform.sap.sapcpicustomerexchange.service.impl.SapCpiCustomerDefaultConversionService
getCustomerNameStrategy, getModelService, getSapCpiCustomerDestinationService, setCustomerNameStrategy, setModelService, setSapCpiCustomerDestinationService
-
Constructor Details
-
SapCpiMDMCustomerDefaultConversionService
public SapCpiMDMCustomerDefaultConversionService()
-
-
Method Details
-
convertCustomerToSapCpiCustomer
public SAPCpiOutboundCustomerModel convertCustomerToSapCpiCustomer(CustomerModel customerModel, AddressModel addressModel, String baseStoreUid, String sessionLanguage) Converts Customer And Address Model to Customer Out Bound Integration Object- Specified by:
convertCustomerToSapCpiCustomerin interfaceSapCpiCustomerConversionService- Overrides:
convertCustomerToSapCpiCustomerin classSapCpiCustomerDefaultConversionService- Parameters:
customerModel-addressModel-baseStoreUid-sessionLanguage-- Returns:
- SAPCpiOutboundAddressModel
-
populateOutboundAddresses
protected Collection<SAPCpiOutboundAddressModel> populateOutboundAddresses(CustomerModel customerModel, AddressModel customerAddress) - Parameters:
customerModel-customerAddress-- Returns:
- Collection
-
populateOutboundAddress
protected SAPCpiOutboundAddressModel populateOutboundAddress(AddressModel address, CustomerModel customerModel) Populating sapCpiOutboundAddress Integration Object Form AddressModel- Parameters:
address-customerModel-- Returns:
- SAPCpiOutboundAddressModel
-