Package com.skava.catalog.mapper
Interface CatalogModelMapper
public interface CatalogModelMapper
The Abstract class AbstractCatalogModelMapper
An abstract class to define the search related models mapping.- Author:
- Infosys Equinox
-
Method Summary
Modifier and TypeMethodDescriptiondefault SkuOrchestration
skuPropertyToMap
(Sku sku) default List<SkuOrchestration>
transformsku
(List<String> skus) This method is used to transform the catalog sku model into orchestration catalog sku model.default SFProduct
transformToSFProduct
(CatalogProduct catalogProduct) This method is used to transform the catalog product model into orchestration catalog product model.transformToSFProduct
(List<CatalogProperty> property) This method is used to transform the catalog properties model into orchestration model.
-
Method Details
-
transformToSFProduct
This method is used to transform the catalog properties model into orchestration model.- Parameters:
property
- contains list of product properties in catalog model- Returns:
- SFproperty contains list of product properties in catalog model
-
transformToSFProduct
This method is used to transform the catalog product model into orchestration catalog product model.- Parameters:
catalogProduct
- contains product data of catalog model- Returns:
- catalogProduct contains product data of orchestration model
-
skuPropertyToMap
-
transformsku
This method is used to transform the catalog sku model into orchestration catalog sku model.- Parameters:
skus
- contains list of skus in catalog model- Returns:
- SkuOrchestration contains list of sku details in SkuOrchestration model
-