Class ShippingMethodBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.shipping.ShippingMethodBean
- All Implemented Interfaces:
BusinessObject
,ShippingMethod
,Serializable
Object representing a shipping method within the system.
ShippingMethodBean
is the default implementation of the
ShippingMethod
interface for the application.
The database stores shipping methods in the sscShippingMethod
table, and this interface can be used to represent a single row of that
table. The Hibernate configuration file
ShippingMethodBean.hbm.xml
maps that table's columns to the
properties in this object.
- Author:
- David Tobey
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private String
private Double
private String
private String
private String
private boolean
private boolean
private Integer
private String
private Double
private String
private Integer
private String
private String
private static final long
private int
private Collection
private String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBase()
getCity()
getCode()
boolean
boolean
getName()
int
getState()
void
setAddress1
(String address1) void
setAddress2
(String address2) void
void
void
void
setCountry
(String country) void
setIsActive
(boolean isActive) void
setIsPickUp
(boolean isPickUp) void
setMethodOrder
(Integer methodOrder) void
setMethodType
(String methodType) void
setMinimum
(Double minimum) void
void
setNumberDaysToShip
(Integer numberDaysToShip) void
setOrganization
(String organization) void
setPostalCode
(String postalCode) void
setShippingMethodID
(int shippingMethodID) void
setShippingRates
(Collection shippingRates) void
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initialize
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 Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
shippingMethodID
private int shippingMethodID -
code
-
name
-
minimum
-
base
-
methodType
-
isActive
private boolean isActive -
numberDaysToShip
-
methodOrder
-
isPickUp
private boolean isPickUp -
organization
-
address1
-
address2
-
city
-
state
-
country
-
postalCode
-
shippingRates
-
-
Constructor Details
-
ShippingMethodBean
public ShippingMethodBean()
-
-
Method Details
-
getIsPickUp
public boolean getIsPickUp()- Specified by:
getIsPickUp
in interfaceShippingMethod
-
setIsPickUp
public void setIsPickUp(boolean isPickUp) - Specified by:
setIsPickUp
in interfaceShippingMethod
-
getOrganization
- Specified by:
getOrganization
in interfaceShippingMethod
-
setOrganization
- Specified by:
setOrganization
in interfaceShippingMethod
-
getAddress1
- Specified by:
getAddress1
in interfaceShippingMethod
-
setAddress1
- Specified by:
setAddress1
in interfaceShippingMethod
-
getAddress2
- Specified by:
getAddress2
in interfaceShippingMethod
-
setAddress2
- Specified by:
setAddress2
in interfaceShippingMethod
-
getCity
- Specified by:
getCity
in interfaceShippingMethod
-
setCity
- Specified by:
setCity
in interfaceShippingMethod
-
getState
- Specified by:
getState
in interfaceShippingMethod
-
setState
- Specified by:
setState
in interfaceShippingMethod
-
getCountry
- Specified by:
getCountry
in interfaceShippingMethod
-
setCountry
- Specified by:
setCountry
in interfaceShippingMethod
-
getPostalCode
- Specified by:
getPostalCode
in interfaceShippingMethod
-
setPostalCode
- Specified by:
setPostalCode
in interfaceShippingMethod
-
getShippingRates
- Specified by:
getShippingRates
in interfaceShippingMethod
-
setShippingRates
- Specified by:
setShippingRates
in interfaceShippingMethod
-
getShippingMethodID
public int getShippingMethodID()- Specified by:
getShippingMethodID
in interfaceShippingMethod
-
setShippingMethodID
public void setShippingMethodID(int shippingMethodID) - Specified by:
setShippingMethodID
in interfaceShippingMethod
-
getBase
- Specified by:
getBase
in interfaceShippingMethod
-
setBase
- Specified by:
setBase
in interfaceShippingMethod
-
getCode
- Specified by:
getCode
in interfaceShippingMethod
-
setCode
- Specified by:
setCode
in interfaceShippingMethod
-
getIsActive
public boolean getIsActive()- Specified by:
getIsActive
in interfaceShippingMethod
-
setIsActive
public void setIsActive(boolean isActive) - Specified by:
setIsActive
in interfaceShippingMethod
-
getMethodType
- Specified by:
getMethodType
in interfaceShippingMethod
-
setMethodType
- Specified by:
setMethodType
in interfaceShippingMethod
-
getMinimum
- Specified by:
getMinimum
in interfaceShippingMethod
-
setMinimum
- Specified by:
setMinimum
in interfaceShippingMethod
-
getName
- Specified by:
getName
in interfaceShippingMethod
-
setName
- Specified by:
setName
in interfaceShippingMethod
-
getNumberDaysToShip
- Specified by:
getNumberDaysToShip
in interfaceShippingMethod
-
setNumberDaysToShip
- Specified by:
setNumberDaysToShip
in interfaceShippingMethod
-
getMethodOrder
- Specified by:
getMethodOrder
in interfaceShippingMethod
-
setMethodOrder
- Specified by:
setMethodOrder
in interfaceShippingMethod
-