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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
getName()
getPrice()
void
void
setCurrencyCode
(String currencyCode) void
setDiscounts
(Collection discounts) void
void
setOriginalPrice
(String originalPrice) void
setOriginalPriceDouble
(Double originalPriceDouble) void
void
setPriceDouble
(Double priceDouble) void
setProcessorClass
(String processorClass) void
setProcessorName
(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
-