Package com.skava.price.util
Class PriceTransformerUtil
java.lang.Object
com.skava.price.util.PriceTransformerUtil
The Class PriceProcessCommonUtility
- Since:
- 8.0
- Author:
- Infosys Equinox
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
getPrice
(ApplyPriceRule rulePrice, ProductModel applyPriceRuleBySkuIdResponse) This process is used to get process and fetch price.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.static void
getPriceRuleDetails
(List<ApplyPriceRule> applyPriceRuleList, List<ProductModel> applyPriceRuleBySkuIdResponse) This process is used to get process and fetch price.setPriceFacets
(List<PriceValue> values) This method used to get and set pricetFacets values
-
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 priceRulesapplyPriceRuleBySkuIdResponse
- applyPriceRule response
-
getPrice
This process is used to get process and fetch price.- Parameters:
rulePrice
- holds price rules detailsapplyPriceRuleBySkuIdResponse
- applyPriceRule response
-
getPriceDetails
This method used to transform price model to priceSpecification model price holds price details applyPriceRuleBySkuIdResponse response as per new Model. -
setPriceFacets
This method used to get and set pricetFacets values- Parameters:
values
- holds price
-