Interface CatalogModelMapper


public interface CatalogModelMapper

The Abstract class AbstractCatalogModelMapper

An abstract class to define the search related models mapping.
Author:
Infosys Equinox
  • Method Details

    • transformToSFProduct

      default Map<String,String> transformToSFProduct(List<CatalogProperty> property)
      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

      default SFProduct transformToSFProduct(CatalogProduct catalogProduct)
      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

      default SkuOrchestration skuPropertyToMap(Sku sku)
    • transformsku

      default List<SkuOrchestration> transformsku(List<String> skus)
      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