com.softslate.commerce.businessobjects.shipping
Interface ShippingMethod

All Superinterfaces:
BusinessObject
All Known Implementing Classes:
ShippingMethodBean

public interface ShippingMethod
extends BusinessObject

Interface representing a shipping method within the system.

The database stores shipping methods in the npcShippingMethod table, and this interface can be used to represent a single row of that table. Each of the columns in npcShippingMethod map to getters and setters in this interface.

When the application needs to create an instance that implements npcShippingMethod, BusinessObjectFactory finds the name of the Java class to instantiate from the "shippingMethodImplementer" setting in the npcSetting database table.

The default "shippingMethodImplementer" is ShippingMethodBean.

Author:
David Tobey

Method Summary
 double getBase()
           
 java.lang.String getCode()
           
 boolean getIsActive()
           
 java.lang.String getMethodType()
           
 double getMinimum()
           
 java.lang.String getName()
           
 int getShippingMethodID()
           
 void setBase(double base)
           
 void setCode(java.lang.String code)
           
 void setIsActive(boolean isActive)
           
 void setMethodType(java.lang.String methodType)
           
 void setMinimum(double minimum)
           
 void setName(java.lang.String name)
           
 void setShippingMethodID(int shippingMethodID)
           
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Method Detail

getShippingMethodID

public int getShippingMethodID()

setShippingMethodID

public void setShippingMethodID(int shippingMethodID)

getBase

public double getBase()

setBase

public void setBase(double base)

getCode

public java.lang.String getCode()

setCode

public void setCode(java.lang.String code)

getIsActive

public boolean getIsActive()

setIsActive

public void setIsActive(boolean isActive)

getMethodType

public java.lang.String getMethodType()

setMethodType

public void setMethodType(java.lang.String methodType)

getMinimum

public double getMinimum()

setMinimum

public void setMinimum(double minimum)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)


Copyright © SoftSlate, Inc. 2003–2005