Class PriceTransformerUtil

java.lang.Object
com.skava.price.util.PriceTransformerUtil

public final class PriceTransformerUtil extends Object
The Class PriceProcessCommonUtility
Since:
8.0
Author:
Infosys Equinox
  • Method Details

    • getPriceRuleDetails

      public static void getPriceRuleDetails(List<ApplyPriceRule> applyPriceRuleList, List<ProductModel> applyPriceRuleBySkuIdResponse)
      This process is used to get process and fetch price.
      Parameters:
      applyPriceRuleList - list of priceRules
      applyPriceRuleBySkuIdResponse - applyPriceRule response
    • getPrice

      public static void getPrice(ApplyPriceRule rulePrice, ProductModel applyPriceRuleBySkuIdResponse)
      This process is used to get process and fetch price.
      Parameters:
      rulePrice - holds price rules details
      applyPriceRuleBySkuIdResponse - applyPriceRule response
    • getPriceDetails

      public static void getPriceDetails(Price price, ProductModel applyPriceRuleBySkuIdResponse)
      This method used to transform price model to priceSpecification model price holds price details applyPriceRuleBySkuIdResponse response as per new Model.
    • setPriceFacets

      public static Map<String,Object> setPriceFacets(List<PriceValue> values)
      This method used to get and set pricetFacets values
      Parameters:
      values - holds price