|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elasticpath.domain.impl.AbstractEpDomainImpl
com.elasticpath.domain.impl.AbstractPersistenceImpl
com.elasticpath.domain.impl.AbstractValueObjectImpl
com.elasticpath.domain.dataimport.impl.PriceTierAdaptorImpl
public class PriceTierAdaptorImpl
Represetns a default implementation of the PriceTierAdaptor.
| Field Summary | |
|---|---|
static long |
serialVersionUID
Serial version id. |
| Constructor Summary | |
|---|---|
PriceTierAdaptorImpl()
The default constructor. |
|
| Method Summary | |
|---|---|
java.util.Currency |
getCurrency()
Returns the currency. |
java.math.BigDecimal |
getListPrice()
Get the list price of the price tier. |
int |
getMinQty()
Get the minimum quantity of the price tier. |
PriceTier |
getPriceTier()
Returns the aggregated price tier. |
java.math.BigDecimal |
getSalePrice()
Get the sale price of the price tier. |
void |
setCurrency(java.util.Currency currency)
Sets the currency. |
void |
setListPrice(java.math.BigDecimal listPrice)
Set the list price for the price tier. |
void |
setMinQty(int minQty)
Set the minimum quantity for the price tier. |
void |
setSalePrice(java.math.BigDecimal salePrice)
Set the sale price for the price tier. |
| Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl |
|---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
| Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl |
|---|
getElasticPath, setElasticPath |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.elasticpath.domain.Persistence |
|---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
| Methods inherited from interface com.elasticpath.domain.EpDomain |
|---|
getElasticPath, setElasticPath |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public PriceTierAdaptorImpl()
| Method Detail |
|---|
public java.util.Currency getCurrency()
getCurrency in interface PriceTierAdaptorpublic java.math.BigDecimal getListPrice()
getListPrice in interface PriceTierAdaptorpublic int getMinQty()
getMinQty in interface PriceTierAdaptorpublic PriceTier getPriceTier()
getPriceTier in interface PriceTierAdaptorpublic java.math.BigDecimal getSalePrice()
getSalePrice in interface PriceTierAdaptorpublic void setCurrency(java.util.Currency currency)
setCurrency in interface PriceTierAdaptorcurrency - the currency to setpublic void setListPrice(java.math.BigDecimal listPrice)
setListPrice in interface PriceTierAdaptorlistPrice - the list price of the price tierpublic void setMinQty(int minQty)
setMinQty in interface PriceTierAdaptorminQty - the minimum quantity of the price tierpublic void setSalePrice(java.math.BigDecimal salePrice)
setSalePrice in interface PriceTierAdaptorsalePrice - the sale price of the price tier
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||