| Constructor and Description |
|---|
PricesImpl(ServiceLocator serviceLocator,
ProductModel product) |
| Modifier and Type | Method and Description |
|---|---|
Price |
getBestValuePrice()
In general this is the price which is the best in relation to the quantity.
|
Price |
getDefaultPricing()
|
Price |
getLowestQuantityPrice()
Returns the
Price for the minimum amount which must be taken. |
java.util.Set<UnitModel> |
getOrderableUnits()
Searches for all available units which are bound to the prices.
|
java.util.List<Price> |
getPricingList()
Returns a list of all available
Price. |
boolean |
isAvailable()
Checks if this list contains elements.
|
void |
setDefaultPricing(Price defaultPricing) |
void |
setPricingList(java.util.List<Price> pricingList) |
java.lang.String |
toString() |
public PricesImpl(ServiceLocator serviceLocator, ProductModel product)
public java.util.List<Price> getPricingList()
PricesPrice.getPricingList in interface PricesPricepublic void setPricingList(java.util.List<Price> pricingList)
public Price getDefaultPricing()
PricesgetDefaultPricing in interface PricesPricepublic void setDefaultPricing(Price defaultPricing)
public java.util.Set<UnitModel> getOrderableUnits()
PricesgetOrderableUnits in interface PricesUnitModelpublic boolean isAvailable()
PricesisAvailable in interface Pricespublic Price getBestValuePrice()
PricesgetBestValuePrice in interface PricesPricepublic Price getLowestQuantityPrice()
PricesPrice for the minimum amount which must be taken.getLowestQuantityPrice in interface PricesPricepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 SAP SE. All Rights Reserved.