public class PriceFacetOptions extends java.lang.Object implements PriceFacetOptionsIf
Constructor and Description |
---|
PriceFacetOptions()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getEndPrice() |
java.math.BigDecimal |
getFacetSize() |
int |
getScale()
The number of decimal places for start and end prices
|
java.math.BigDecimal |
getStartPrice() |
boolean |
isCreateEmptyFacets()
When set to true, empty price facets are returned.
|
void |
setCreateEmptyFacets(boolean createEmptyFacets)
When set to true, empty price facets are returned.
|
void |
setEndPrice(java.math.BigDecimal endPrice) |
void |
setFacetSize(java.math.BigDecimal facetSize) |
void |
setScale(int scale)
The number of decimal places for start and end prices
|
void |
setStartPrice(java.math.BigDecimal startPrice) |
public java.math.BigDecimal getStartPrice()
getStartPrice
in interface PriceFacetOptionsIf
public void setStartPrice(java.math.BigDecimal startPrice)
setStartPrice
in interface PriceFacetOptionsIf
startPrice
- the startPrice to setpublic java.math.BigDecimal getEndPrice()
getEndPrice
in interface PriceFacetOptionsIf
public void setEndPrice(java.math.BigDecimal endPrice)
setEndPrice
in interface PriceFacetOptionsIf
endPrice
- the endPrice to setpublic java.math.BigDecimal getFacetSize()
getFacetSize
in interface PriceFacetOptionsIf
public void setFacetSize(java.math.BigDecimal facetSize)
setFacetSize
in interface PriceFacetOptionsIf
facetSize
- the facetSize to setpublic int getScale()
getScale
in interface PriceFacetOptionsIf
public void setScale(int scale)
setScale
in interface PriceFacetOptionsIf
scale
- the scale to setpublic boolean isCreateEmptyFacets()
isCreateEmptyFacets
in interface PriceFacetOptionsIf
public void setCreateEmptyFacets(boolean createEmptyFacets)
setCreateEmptyFacets
in interface PriceFacetOptionsIf
createEmptyFacets
- the createEmptyFacets to setCopyright © 2018 DS Data Systems UK Ltd.