Class SapCpiB2BCustomerDefaultConversionService
- java.lang.Object
-
- de.hybris.platform.sap.sapcpicustomerexchangeb2b.outbound.services.impl.SapCpiB2BCustomerDefaultConversionService
-
- All Implemented Interfaces:
SapCpiB2BCustomerConversionService
- Direct Known Subclasses:
GigyaCpiB2BCustomerDefaultConversionService
public class SapCpiB2BCustomerDefaultConversionService extends java.lang.Object implements SapCpiB2BCustomerConversionService
Class to convert Hybris B2B Customer to SCPI B2B Customer.
-
-
Constructor Summary
Constructors Constructor Description SapCpiB2BCustomerDefaultConversionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SAPCpiOutboundB2BContactModelconvertB2BContactToSapCpiBb2BContact(B2BUnitModel b2bUnitModel, B2BCustomerModel b2bCustomerModel, java.lang.String sessionLanguage)SAPCpiOutboundB2BCustomerModelconvertB2BCustomerToSapCpiBb2BCustomer(B2BCustomerModel b2bCustomerModel, java.lang.String sessionLanguage)Convert Hybris B2B Customer to SCPI B2B Customers.protected de.hybris.platform.b2b.services.B2BUnitService<B2BUnitModel,B2BCustomerModel>getB2bUnitService()protected de.hybris.platform.store.services.BaseStoreServicegetBaseStoreService()protected CustomerAddressReplicationUtilityServicegetCustomerAddressReplicationUtilityService()protected de.hybris.platform.commerceservices.strategies.CustomerNameStrategygetCustomerNameStrategy()protected SapCpiB2BCustomerDestinationServicegetSapCpiB2BCustomerDestinationService()protected voidmapB2BContactAddress(B2BCustomerModel b2bCustomer, SAPCpiOutboundB2BContactModel sapCpiOutboundB2BContact)protected voidmapB2BContactInfo(B2BCustomerModel b2bCustomer, java.lang.String sessionLanguage, SAPCpiOutboundB2BContactModel sapCpiOutboundB2BContact)protected voidmapOutboundDestination(SAPCpiOutboundB2BCustomerModel sapCpiOutboundB2BCustomer)protected java.lang.StringreadCustomerID(B2BCustomerModel b2bCustomer)protected java.lang.StringreadSapAddressUUID(B2BUnitModel rootB2BUnit)voidsetB2bUnitService(de.hybris.platform.b2b.services.B2BUnitService<B2BUnitModel,B2BCustomerModel> b2bUnitService)voidsetBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService)voidsetCustomerAddressReplicationUtilityService(CustomerAddressReplicationUtilityService customerAddressReplicationUtilityService)voidsetCustomerNameStrategy(de.hybris.platform.commerceservices.strategies.CustomerNameStrategy customerNameStrategy)voidsetSapCpiB2BCustomerDestinationService(SapCpiB2BCustomerDestinationService sapCpiB2BCustomerDestinationService)
-
-
-
Method Detail
-
convertB2BCustomerToSapCpiBb2BCustomer
public SAPCpiOutboundB2BCustomerModel convertB2BCustomerToSapCpiBb2BCustomer(B2BCustomerModel b2bCustomerModel, java.lang.String sessionLanguage)
Description copied from interface:SapCpiB2BCustomerConversionServiceConvert Hybris B2B Customer to SCPI B2B Customers.- Specified by:
convertB2BCustomerToSapCpiBb2BCustomerin interfaceSapCpiB2BCustomerConversionService- Parameters:
b2bCustomerModel- B2BCustomerModelsessionLanguage- String- Returns:
- SAPCpiOutboundB2BCustomerModel
-
readSapAddressUUID
protected java.lang.String readSapAddressUUID(B2BUnitModel rootB2BUnit)
-
convertB2BContactToSapCpiBb2BContact
protected SAPCpiOutboundB2BContactModel convertB2BContactToSapCpiBb2BContact(B2BUnitModel b2bUnitModel, B2BCustomerModel b2bCustomerModel, java.lang.String sessionLanguage)
-
mapOutboundDestination
protected void mapOutboundDestination(SAPCpiOutboundB2BCustomerModel sapCpiOutboundB2BCustomer)
-
mapB2BContactInfo
protected void mapB2BContactInfo(B2BCustomerModel b2bCustomer, java.lang.String sessionLanguage, SAPCpiOutboundB2BContactModel sapCpiOutboundB2BContact)
-
readCustomerID
protected java.lang.String readCustomerID(B2BCustomerModel b2bCustomer)
-
mapB2BContactAddress
protected void mapB2BContactAddress(B2BCustomerModel b2bCustomer, SAPCpiOutboundB2BContactModel sapCpiOutboundB2BContact)
-
getCustomerNameStrategy
protected de.hybris.platform.commerceservices.strategies.CustomerNameStrategy getCustomerNameStrategy()
-
setCustomerNameStrategy
public void setCustomerNameStrategy(de.hybris.platform.commerceservices.strategies.CustomerNameStrategy customerNameStrategy)
-
getB2bUnitService
protected de.hybris.platform.b2b.services.B2BUnitService<B2BUnitModel,B2BCustomerModel> getB2bUnitService()
-
setB2bUnitService
public void setB2bUnitService(de.hybris.platform.b2b.services.B2BUnitService<B2BUnitModel,B2BCustomerModel> b2bUnitService)
-
getBaseStoreService
protected de.hybris.platform.store.services.BaseStoreService getBaseStoreService()
-
setBaseStoreService
public void setBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService)
-
getSapCpiB2BCustomerDestinationService
protected SapCpiB2BCustomerDestinationService getSapCpiB2BCustomerDestinationService()
-
setSapCpiB2BCustomerDestinationService
public void setSapCpiB2BCustomerDestinationService(SapCpiB2BCustomerDestinationService sapCpiB2BCustomerDestinationService)
-
getCustomerAddressReplicationUtilityService
protected CustomerAddressReplicationUtilityService getCustomerAddressReplicationUtilityService()
-
setCustomerAddressReplicationUtilityService
public void setCustomerAddressReplicationUtilityService(CustomerAddressReplicationUtilityService customerAddressReplicationUtilityService)
-
-