com.softslate.commerce.businessobjects.shipping
Class ShippingRateBean

java.lang.Object
  extended bycom.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended bycom.softslate.commerce.businessobjects.shipping.ShippingRateBean
All Implemented Interfaces:
BusinessObject, ShippingRate

public class ShippingRateBean
extends BaseBusinessObject
implements ShippingRate

Object representing a shipping rate within the system.

ShippingRateBean is the default implementation of the ShippingRate interface for the application.

Author:
David Tobey

Field Summary
private  double amount
           
private  double ceiling
           
private  double floor
           
private  boolean isActive
           
private  int shippingMethodID
           
private  int shippingRateID
           
 
Fields inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
 
Constructor Summary
ShippingRateBean()
           
 
Method Summary
 double getAmount()
           
 double getCeiling()
           
 double getFloor()
           
 boolean getIsActive()
           
 int getShippingMethodID()
           
 int getShippingRateID()
           
 void setAmount(double amount)
           
 void setCeiling(double ceiling)
           
 void setFloor(double floor)
           
 void setIsActive(boolean isActive)
           
 void setShippingMethodID(int shippingMethodID)
           
 void setShippingRateID(int shippingRateID)
           
 
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
formatDateTime, initialize, parseDateTime, prepareRequestData, sendHTTPPost
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Field Detail

shippingRateID

private int shippingRateID

shippingMethodID

private int shippingMethodID

floor

private double floor

ceiling

private double ceiling

amount

private double amount

isActive

private boolean isActive
Constructor Detail

ShippingRateBean

public ShippingRateBean()
Method Detail

getShippingRateID

public int getShippingRateID()
Specified by:
getShippingRateID in interface ShippingRate

setShippingRateID

public void setShippingRateID(int shippingRateID)
Specified by:
setShippingRateID in interface ShippingRate

getAmount

public double getAmount()
Specified by:
getAmount in interface ShippingRate

setAmount

public void setAmount(double amount)
Specified by:
setAmount in interface ShippingRate

getCeiling

public double getCeiling()
Specified by:
getCeiling in interface ShippingRate

setCeiling

public void setCeiling(double ceiling)
Specified by:
setCeiling in interface ShippingRate

getFloor

public double getFloor()
Specified by:
getFloor in interface ShippingRate

setFloor

public void setFloor(double floor)
Specified by:
setFloor in interface ShippingRate

getIsActive

public boolean getIsActive()
Specified by:
getIsActive in interface ShippingRate

setIsActive

public void setIsActive(boolean isActive)
Specified by:
setIsActive in interface ShippingRate

getShippingMethodID

public int getShippingMethodID()
Specified by:
getShippingMethodID in interface ShippingRate

setShippingMethodID

public void setShippingMethodID(int shippingMethodID)
Specified by:
setShippingMethodID in interface ShippingRate


Copyright © SoftSlate, Inc. 2003–2005