com.elasticpath.sfweb.ajax.bean
Interface GuidedSkuSelectionBean

All Known Implementing Classes:
GuidedSkuSelectionBeanImpl

public interface GuidedSkuSelectionBean

This bean is used for transfering data to the client from the SkuConfigurationService.


Method Summary
 java.lang.String getDollarSavings()
          returns 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.
 

Method Detail

getDollarSavings

java.lang.String getDollarSavings()
returns the savings if the price has a discount.

Returns:
the price savings

getImageUrl

java.lang.String getImageUrl()
Get the path to the image to be displayed.

Returns:
the path to the image to be displayed

getListPrice

java.lang.String getListPrice()
Get the skus's list price.

Returns:
the list price as a MoneyImpl

getLowestPrice

java.lang.String getLowestPrice()
Returns the lowest of the price values specified.

Returns:
the lowest price

getPriceTierContents

java.lang.String[] getPriceTierContents()
Get the price tier contents as the String Array to be diplayed.

Returns:
the formated price tier contents

getProductSku

ProductSku getProductSku()
Get the ProductSku.

Returns:
the ProductSku

isLowestLessThanList

boolean isLowestLessThanList()
Check if the lowest price is less than the list price, i.e. the price has a discount.

Returns:
true if the price has a lower price than the list price.

setDollarSavings

void setDollarSavings(java.lang.String dollarSavings)
Set the sku's dollar savings.

Parameters:
dollarSavings - the sku's dollar savings

setImageUrl

void setImageUrl(java.lang.String imageUrl)
Set the path to the image to be displayed.

Parameters:
imageUrl - the path to the image to be displayed

setListPrice

void setListPrice(java.lang.String listPrice)
Set the sku's list price.

Parameters:
listPrice - the sku's list price

setLowestLessThanList

void setLowestLessThanList(boolean isLowestLessThanList)
Sets if the sku's lowest price is less than the list price.

Parameters:
isLowestLessThanList - true if the price has a lower price than the list price.

setLowestPrice

void setLowestPrice(java.lang.String lowestPrice)
Set the sku's lowest price.

Parameters:
lowestPrice - the sku's lowest price

setPriceTierContents

void setPriceTierContents(java.lang.String[] priceTierContents)
Set the price tier contents as the String Array to be diplayed.

Parameters:
priceTierContents - the formated price tier contents to be displayed.

setProductSku

void setProductSku(ProductSku productSku)
Set the ProductSku.

Parameters:
productSku - the ProductSku