|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.sfweb.ajax.bean.impl.GuidedSkuSelectionBeanImpl
public class GuidedSkuSelectionBeanImpl
This bean is used for transfering data to the client from
the SkuConfigurationService
.
Constructor Summary | |
---|---|
GuidedSkuSelectionBeanImpl()
|
Method Summary | |
---|---|
java.lang.String |
getDollarSavings()
Calculates the savings if the price has a discount. |
java.lang.String |
getImageUrl()
Get the path to the image to be displayed. |
java.lang.String |
getListPrice()
Get the skus's list price. |
java.lang.String |
getLowestPrice()
Returns the lowest of the price values specified . |
java.lang.String[] |
getPriceTierContents()
Get the price tier contents as the String Array to be diplayed. |
ProductSku |
getProductSku()
Get the ProductSku . |
boolean |
isLowestLessThanList()
Check if the lowest price is less than the list price, i.e. |
void |
setDollarSavings(java.lang.String dollarSavings)
Set the sku's dollar savings. |
void |
setImageUrl(java.lang.String imageUrl)
Set the path to the image to be displayed. |
void |
setListPrice(java.lang.String listPrice)
Set the sku's list price. |
void |
setLowestLessThanList(boolean isLowestLessThanList)
Sets if the sku's lowest price is less than the list price. |
void |
setLowestPrice(java.lang.String lowestPrice)
Set the sku's lowest price. |
void |
setPriceTierContents(java.lang.String[] priceTierContents)
Set the price tier contents as the String Array to be diplayed. |
void |
setProductSku(ProductSku productSku)
Set the ProductSku . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GuidedSkuSelectionBeanImpl()
Method Detail |
---|
public java.lang.String getDollarSavings()
getDollarSavings
in interface GuidedSkuSelectionBean
public java.lang.String getImageUrl()
getImageUrl
in interface GuidedSkuSelectionBean
public java.lang.String getListPrice()
getListPrice
in interface GuidedSkuSelectionBean
MoneyImpl
public java.lang.String getLowestPrice()
getLowestPrice
in interface GuidedSkuSelectionBean
public java.lang.String[] getPriceTierContents()
getPriceTierContents
in interface GuidedSkuSelectionBean
public ProductSku getProductSku()
ProductSku
.
getProductSku
in interface GuidedSkuSelectionBean
ProductSku
public boolean isLowestLessThanList()
isLowestLessThanList
in interface GuidedSkuSelectionBean
public void setDollarSavings(java.lang.String dollarSavings)
setDollarSavings
in interface GuidedSkuSelectionBean
dollarSavings
- the sku's dollar savingspublic void setImageUrl(java.lang.String imageUrl)
setImageUrl
in interface GuidedSkuSelectionBean
imageUrl
- the path to the image to be displayedpublic void setListPrice(java.lang.String listPrice)
setListPrice
in interface GuidedSkuSelectionBean
listPrice
- the sku's list pricepublic void setLowestLessThanList(boolean isLowestLessThanList)
setLowestLessThanList
in interface GuidedSkuSelectionBean
isLowestLessThanList
- true if the price has a lower price than the list price.public void setLowestPrice(java.lang.String lowestPrice)
setLowestPrice
in interface GuidedSkuSelectionBean
lowestPrice
- the sku's lowest pricepublic void setPriceTierContents(java.lang.String[] priceTierContents)
setPriceTierContents
in interface GuidedSkuSelectionBean
priceTierContents
- the formated price tier contents to be displayed.public void setProductSku(ProductSku productSku)
ProductSku
.
setProductSku
in interface GuidedSkuSelectionBean
productSku
- the ProductSku
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |