com.softslate.commerce.businessobjects.shipping
Class ShippingOptionsAndRates

java.lang.Object
  extended by com.softslate.commerce.businessobjects.shipping.ShippingOptionsAndRates

public class ShippingOptionsAndRates
extends java.lang.Object

Java bean to encapsulate returned HashMap of shipping options and their rates.

Author:
AJain

Field Summary
private  java.lang.String code
           
private  java.lang.String currencyCode
           
private  java.util.Collection discounts
           
private  java.lang.String name
           
private  java.lang.String originalPrice
           
private  java.lang.Double originalPriceDouble
           
private  java.lang.String price
           
private  java.lang.Double priceDouble
           
private  java.lang.String processorClass
           
private  java.lang.String processorName
           
 
Constructor Summary
ShippingOptionsAndRates()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCode()
           
 java.lang.String getCurrencyCode()
           
 java.util.Collection getDiscounts()
           
 java.lang.String getName()
           
 java.lang.String getOriginalPrice()
           
 java.lang.Double getOriginalPriceDouble()
           
 java.lang.String getPrice()
           
 java.lang.Double getPriceDouble()
           
 java.lang.String getProcessorClass()
           
 java.lang.String getProcessorName()
           
 void setCode(java.lang.String code)
           
 void setCurrencyCode(java.lang.String currencyCode)
           
 void setDiscounts(java.util.Collection discounts)
           
 void setName(java.lang.String name)
           
 void setOriginalPrice(java.lang.String originalPrice)
           
 void setOriginalPriceDouble(java.lang.Double originalPriceDouble)
           
 void setPrice(java.lang.String price)
           
 void setPriceDouble(java.lang.Double priceDouble)
           
 void setProcessorClass(java.lang.String processorClass)
           
 void setProcessorName(java.lang.String processorName)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code

private java.lang.String code

originalPriceDouble

private java.lang.Double originalPriceDouble

originalPrice

private java.lang.String originalPrice

price

private java.lang.String price

discounts

private java.util.Collection discounts

processorName

private java.lang.String processorName

currencyCode

private java.lang.String currencyCode

processorClass

private java.lang.String processorClass

priceDouble

private java.lang.Double priceDouble

name

private java.lang.String name
Constructor Detail

ShippingOptionsAndRates

public ShippingOptionsAndRates()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getCode

public java.lang.String getCode()
Returns:
the code

setCode

public void setCode(java.lang.String code)
Parameters:
code - the code to set

getCurrencyCode

public java.lang.String getCurrencyCode()
Returns:
the currencyCode

setCurrencyCode

public void setCurrencyCode(java.lang.String currencyCode)
Parameters:
currencyCode - the currencyCode to set

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getOriginalPrice

public java.lang.String getOriginalPrice()
Returns:
the originalPrice

setOriginalPrice

public void setOriginalPrice(java.lang.String originalPrice)
Parameters:
originalPrice - the originalPrice to set

getOriginalPriceDouble

public java.lang.Double getOriginalPriceDouble()
Returns:
the originalPriceDouble

setOriginalPriceDouble

public void setOriginalPriceDouble(java.lang.Double originalPriceDouble)
Parameters:
originalPriceDouble - the originalPriceDouble to set

getPrice

public java.lang.String getPrice()
Returns:
the price

setPrice

public void setPrice(java.lang.String price)
Parameters:
price - the price to set

getPriceDouble

public java.lang.Double getPriceDouble()
Returns:
the priceDouble

setPriceDouble

public void setPriceDouble(java.lang.Double priceDouble)
Parameters:
priceDouble - the priceDouble to set

getProcessorClass

public java.lang.String getProcessorClass()
Returns:
the processorClass

setProcessorClass

public void setProcessorClass(java.lang.String processorClass)
Parameters:
processorClass - the processorClass to set

getProcessorName

public java.lang.String getProcessorName()
Returns:
the processorName

setProcessorName

public void setProcessorName(java.lang.String processorName)
Parameters:
processorName - the processorName to set

getDiscounts

public java.util.Collection getDiscounts()
Returns:
the discounts

setDiscounts

public void setDiscounts(java.util.Collection discounts)
Parameters:
discounts - the discounts to set


Copyright © SoftSlate, LLC 2003–2005