public interface PriceService
| Modifier and Type | Method and Description |
|---|---|
default ProductPriceInformations |
getAllPriceInformation(PriceCriteria priceCriteria)
Returns
ProductPriceInformations product price containing all applicable prices, discounts and taxes for the
given criteria (product and net/gross state) |
default java.util.List<PriceInformation> |
getPriceInformations(PriceCriteria priceCriteria)
Calculates all applicable prices for given criteria.
|
java.util.List<PriceInformation> |
getPriceInformationsForProduct(ProductModel model)
Returns all available
PriceInformation for the given ProductModel and the current session user. |
java.util.List<PriceInformation> getPriceInformationsForProduct(ProductModel model)
PriceInformation for the given ProductModel and the current session user.model - the productdefault java.util.List<PriceInformation> getPriceInformations(PriceCriteria priceCriteria)
priceCriteria - PriceCriteriaPriceInformationdefault ProductPriceInformations getAllPriceInformation(PriceCriteria priceCriteria)
ProductPriceInformations product price containing all applicable prices, discounts and taxes for the
given criteria (product and net/gross state)
This default implementation just calls FindPriceStrategy.getPriceInformation(BaseCriteria),
FindTaxValuesStrategy.getTaxInformation(BaseCriteria) and
FindDiscountValuesStrategy.getDiscountInformation(BaseCriteria ) and wraps the results inside a
ProductPriceInformations object.
priceCriteria - PriceCriteriaProductPriceInformations that contains prices,discount, taxes for given priceCriteriaCopyright © 2018 SAP SE. All Rights Reserved.