Interface CommerceExternalConfigurationStrategy
- All Known Implementing Classes:
CommerceExternalConfigurationStrategyImpl
public interface CommerceExternalConfigurationStrategy
Defines the transition from
CPSExternalConfiguration and CPSCommerceExternalConfiguration and vice
versa. We need to enrich the external format provided by the engine with additional commerce relevant information
like the SAP unit codes-
Method Summary
Modifier and TypeMethodDescriptioncreateCommerceFormatFromCPSRepresentation(CPSExternalConfiguration externalConfiguration) Creates a commerce format of the external configuration from the CPS engine formatextractCPSFormatFromCommerceRepresentation(CPSCommerceExternalConfiguration commerceExternalConfiguration) Extracts the engine format from the commerce representation of the external configuration
-
Method Details
-
extractCPSFormatFromCommerceRepresentation
CPSExternalConfiguration extractCPSFormatFromCommerceRepresentation(CPSCommerceExternalConfiguration commerceExternalConfiguration) Extracts the engine format from the commerce representation of the external configuration- Parameters:
commerceExternalConfiguration-- Returns:
- External configuration in CPS engine format
-
createCommerceFormatFromCPSRepresentation
CPSCommerceExternalConfiguration createCommerceFormatFromCPSRepresentation(CPSExternalConfiguration externalConfiguration) Creates a commerce format of the external configuration from the CPS engine format- Parameters:
externalConfiguration-- Returns:
- External configuration in commerce format
-