|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 GuidedSkuSelectionBeanpublic java.lang.String getImageUrl()
getImageUrl in interface GuidedSkuSelectionBeanpublic java.lang.String getListPrice()
getListPrice in interface GuidedSkuSelectionBeanMoneyImplpublic java.lang.String getLowestPrice()
getLowestPrice in interface GuidedSkuSelectionBeanpublic java.lang.String[] getPriceTierContents()
getPriceTierContents in interface GuidedSkuSelectionBeanpublic ProductSku getProductSku()
ProductSku.
getProductSku in interface GuidedSkuSelectionBeanProductSkupublic boolean isLowestLessThanList()
isLowestLessThanList in interface GuidedSkuSelectionBeanpublic void setDollarSavings(java.lang.String dollarSavings)
setDollarSavings in interface GuidedSkuSelectionBeandollarSavings - the sku's dollar savingspublic void setImageUrl(java.lang.String imageUrl)
setImageUrl in interface GuidedSkuSelectionBeanimageUrl - the path to the image to be displayedpublic void setListPrice(java.lang.String listPrice)
setListPrice in interface GuidedSkuSelectionBeanlistPrice - the sku's list pricepublic void setLowestLessThanList(boolean isLowestLessThanList)
setLowestLessThanList in interface GuidedSkuSelectionBeanisLowestLessThanList - true if the price has a lower price than the list price.public void setLowestPrice(java.lang.String lowestPrice)
setLowestPrice in interface GuidedSkuSelectionBeanlowestPrice - the sku's lowest pricepublic void setPriceTierContents(java.lang.String[] priceTierContents)
setPriceTierContents in interface GuidedSkuSelectionBeanpriceTierContents - the formated price tier contents to be displayed.public void setProductSku(ProductSku productSku)
ProductSku.
setProductSku in interface GuidedSkuSelectionBeanproductSku - the ProductSku
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||