com.elasticpath.domain.catalogview
Interface ProductAdaptorForPriceFilter

All Superinterfaces:
java.lang.Comparable, EpDomain, LeafNode, ProductAdaptorForFilter, java.io.Serializable, Transient
All Known Implementing Classes:
ProductAdaptorForPriceFilterImpl

public interface ProductAdaptorForPriceFilter
extends ProductAdaptorForFilter

Represents an adaptor of a Product to a LeafNode, which can be put under PriceFilter.


Method Summary
 java.util.Currency getCurrency()
          Returns the currency.
 java.math.BigDecimal getPrice()
          Returns the price of the product.
 void setCurrency(java.util.Currency currency)
          Sets the currency.
 
Methods inherited from interface com.elasticpath.domain.catalogview.ProductAdaptorForFilter
getProduct, setProduct
 
Methods inherited from interface com.elasticpath.domain.catalogview.LeafNode
getBranchNode
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getCurrency

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

Returns:
the currency

getPrice

java.math.BigDecimal getPrice()
Returns the price of the product. This price is the lowest price of the product.

Returns:
the price of the product with the given currency

setCurrency

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

Parameters:
currency - the currency to set