com.elasticpath.domain.dataimport
Interface PriceTierAdaptor

All Superinterfaces:
EpDomain, Persistence, java.io.Serializable, ValueObject
All Known Implementing Classes:
PriceTierAdaptorImpl

public interface PriceTierAdaptor
extends ValueObject

Represents an adaptor of a PriceTier for import.


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 interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Method Detail

getCurrency

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

Returns:
the currency

getListPrice

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

Returns:
the list price of the price tier

getMinQty

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

Returns:
the minimum quantity of the price tier

getPriceTier

PriceTier getPriceTier()
Returns the aggregated price tier.

Returns:
the aggregated price tier

getSalePrice

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

Returns:
the sale price of the price tier

setCurrency

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

Parameters:
currency - the currency to set

setListPrice

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

Parameters:
listPrice - the list price of the price tier

setMinQty

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

Parameters:
minQty - the minimum quantity of the price tier

setSalePrice

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

Parameters:
salePrice - the sale price of the price tier