Class ShippingOptionsAndRates
java.lang.Object
com.softslate.commerce.businessobjects.shipping.ShippingOptionsAndRates
Java bean to encapsulate returned HashMap of shipping options and their rates.
- Author:
- AJain
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCode()getName()getPrice()voidvoidsetCurrencyCode(String currencyCode) voidsetDiscounts(Collection discounts) voidvoidsetOriginalPrice(String originalPrice) voidsetOriginalPriceDouble(Double originalPriceDouble) voidvoidsetPriceDouble(Double priceDouble) voidsetProcessorClass(String processorClass) voidsetProcessorName(String processorName)
-
Field Details
-
code
-
originalPriceDouble
-
originalPrice
-
price
-
discounts
-
processorName
-
currencyCode
-
processorClass
-
priceDouble
-
name
-
-
Constructor Details
-
ShippingOptionsAndRates
public ShippingOptionsAndRates()
-
-
Method Details
-
equals
-
getCode
- Returns:
- the code
-
setCode
- Parameters:
code- the code to set
-
getCurrencyCode
- Returns:
- the currencyCode
-
setCurrencyCode
- Parameters:
currencyCode- the currencyCode to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
getOriginalPrice
- Returns:
- the originalPrice
-
setOriginalPrice
- Parameters:
originalPrice- the originalPrice to set
-
getOriginalPriceDouble
- Returns:
- the originalPriceDouble
-
setOriginalPriceDouble
- Parameters:
originalPriceDouble- the originalPriceDouble to set
-
getPrice
- Returns:
- the price
-
setPrice
- Parameters:
price- the price to set
-
getPriceDouble
- Returns:
- the priceDouble
-
setPriceDouble
- Parameters:
priceDouble- the priceDouble to set
-
getProcessorClass
- Returns:
- the processorClass
-
setProcessorClass
- Parameters:
processorClass- the processorClass to set
-
getProcessorName
- Returns:
- the processorName
-
setProcessorName
- Parameters:
processorName- the processorName to set
-
getDiscounts
- Returns:
- the discounts
-
setDiscounts
- Parameters:
discounts- the discounts to set
-