com.elasticpath.domain.dataimport.impl
Class PriceTierAdaptorImpl

java.lang.Object
  extended by com.elasticpath.domain.impl.AbstractEpDomainImpl
      extended by com.elasticpath.domain.impl.AbstractPersistenceImpl
          extended by com.elasticpath.domain.impl.AbstractValueObjectImpl
              extended by com.elasticpath.domain.dataimport.impl.PriceTierAdaptorImpl
All Implemented Interfaces:
PriceTierAdaptor, EpDomain, Persistence, ValueObject, java.io.Serializable

public class PriceTierAdaptorImpl
extends AbstractValueObjectImpl
implements PriceTierAdaptor

Represetns a default implementation of the PriceTierAdaptor.

See Also:
Serialized Form

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

serialVersionUID

public static final long serialVersionUID
Serial version id.

See Also:
Constant Field Values
Constructor Detail

PriceTierAdaptorImpl

public PriceTierAdaptorImpl()
The default constructor.

Method Detail

getCurrency

public java.util.Currency getCurrency()
Returns the currency.

Specified by:
getCurrency in interface PriceTierAdaptor
Returns:
the currency

getListPrice

public java.math.BigDecimal getListPrice()
Get the list price of the price tier.

Specified by:
getListPrice in interface PriceTierAdaptor
Returns:
the list price of the price tier

getMinQty

public int getMinQty()
Get the minimum quantity of the price tier.

Specified by:
getMinQty in interface PriceTierAdaptor
Returns:
the minimum quantity of the price tier

getPriceTier

public PriceTier getPriceTier()
Returns the aggregated price tier.

Specified by:
getPriceTier in interface PriceTierAdaptor
Returns:
the aggregated price tier

getSalePrice

public java.math.BigDecimal getSalePrice()
Get the sale price of the price tier.

Specified by:
getSalePrice in interface PriceTierAdaptor
Returns:
the sale price of the price tier

setCurrency

public void setCurrency(java.util.Currency currency)
Sets the currency.

Specified by:
setCurrency in interface PriceTierAdaptor
Parameters:
currency - the currency to set

setListPrice

public void setListPrice(java.math.BigDecimal listPrice)
Set the list price for the price tier.

Specified by:
setListPrice in interface PriceTierAdaptor
Parameters:
listPrice - the list price of the price tier

setMinQty

public void setMinQty(int minQty)
Set the minimum quantity for the price tier.

Specified by:
setMinQty in interface PriceTierAdaptor
Parameters:
minQty - the minimum quantity of the price tier

setSalePrice

public void setSalePrice(java.math.BigDecimal salePrice)
Set the sale price for the price tier.

Specified by:
setSalePrice in interface PriceTierAdaptor
Parameters:
salePrice - the sale price of the price tier