com.softslate.commerce.businessobjects.shipping
Class DynamicShippingOption

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

public class DynamicShippingOption
extends java.lang.Object

This class is used to store 3rd party shipping quotes returned from web services. For example, when the USPS shipping calculator is enabled, this class stores the choices for shipping (based on the buyer's zip code and item weights) in the buyer's session. This allows SoftSlate to only query the 3rd party web service once, and keep the results around in between http requests.

Author:
Justin Casp

Field Summary
private  java.lang.String description
           
private  java.lang.String optionId
           
private  java.lang.Double price
           
 
Constructor Summary
DynamicShippingOption(java.lang.String optionId, java.lang.String description, java.lang.Double price)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getOptionId()
           
 java.lang.Double getPrice()
           
 void setDescription(java.lang.String description)
           
 void setOptionId(java.lang.String optionId)
           
 void setPrice(java.lang.Double price)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

optionId

private java.lang.String optionId

description

private java.lang.String description

price

private java.lang.Double price
Constructor Detail

DynamicShippingOption

public DynamicShippingOption(java.lang.String optionId,
                             java.lang.String description,
                             java.lang.Double price)
Method Detail

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getOptionId

public java.lang.String getOptionId()

setOptionId

public void setOptionId(java.lang.String optionId)

getPrice

public java.lang.Double getPrice()

setPrice

public void setPrice(java.lang.Double price)


Copyright © SoftSlate, LLC 2003–2005