public final class ZeroPriceModelImpl extends PriceModelImpl
NO_PRICE| Constructor and Description |
|---|
ZeroPriceModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
PriceModel |
clone()
We need our models to be cloneable since the configurator mock implementation uses clone for creating new
entities.
|
String |
getCurrency() |
BigDecimal |
getPriceValue() |
void |
setCurrency(String currency) |
void |
setPriceValue(BigDecimal priceValue) |
equals, hashCode, hasNoCurrency, hasNoPrice, hasValidPrice, toStringgetExtensionData, getExtensionMap, putExtensionData, setExtensionMapfinalize, getClass, notify, notifyAll, wait, wait, waitgetExtensionData, getExtensionMap, putExtensionData, setExtensionMappublic void setCurrency(String currency)
setCurrency in interface PriceModelsetCurrency in class PriceModelImplcurrency - price currencypublic void setPriceValue(BigDecimal priceValue)
setPriceValue in interface PriceModelsetPriceValue in class PriceModelImplpriceValue - price valuepublic String getCurrency()
getCurrency in interface PriceModelgetCurrency in class PriceModelImplpublic BigDecimal getPriceValue()
getPriceValue in interface PriceModelgetPriceValue in class PriceModelImplpublic PriceModel clone()
BaseModelclone in interface BaseModelclone in interface PriceModelclone in class PriceModelImplCopyright © 2017 SAP SE. All Rights Reserved.