Class BasicTaxRateBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.tax.BasicTaxRateBean
- All Implemented Interfaces:
BusinessObject
,BasicTaxRate
,Serializable
Object representing a basic tax rate within the system.
BasicTaxRateBean
is the default implementation of the
BasicTaxRate
interface for the application.
The database stores basic tax rates in the sscBasicTaxRate
table, and this interface can be used to represent a single row of that
table. The Hibernate configuration file BasicTaxRateBean.hbm.xml
maps that table's columns to the properties in this object.
- Author:
- David Tobey
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getCity()
boolean
getRate()
getState()
void
setBasicTaxRateID
(int basicTaxRateID) void
void
setCountry
(Country country) void
setCountryID
(Integer countryID) void
setIsActive
(boolean isActive) void
setPostalCode
(String postalCode) void
void
void
setStateID
(Integer stateID) 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:
-
basicTaxRateID
private int basicTaxRateID -
countryID
-
stateID
-
city
-
postalCode
-
rate
-
isActive
private boolean isActive -
country
-
state
-
-
Constructor Details
-
BasicTaxRateBean
public BasicTaxRateBean()
-
-
Method Details
-
getCountry
- Specified by:
getCountry
in interfaceBasicTaxRate
-
setCountry
- Specified by:
setCountry
in interfaceBasicTaxRate
-
getState
- Specified by:
getState
in interfaceBasicTaxRate
-
setState
- Specified by:
setState
in interfaceBasicTaxRate
-
getBasicTaxRateID
public int getBasicTaxRateID()- Specified by:
getBasicTaxRateID
in interfaceBasicTaxRate
-
setBasicTaxRateID
public void setBasicTaxRateID(int basicTaxRateID) - Specified by:
setBasicTaxRateID
in interfaceBasicTaxRate
-
getCity
- Specified by:
getCity
in interfaceBasicTaxRate
-
setCity
- Specified by:
setCity
in interfaceBasicTaxRate
-
getCountryID
- Specified by:
getCountryID
in interfaceBasicTaxRate
-
setCountryID
- Specified by:
setCountryID
in interfaceBasicTaxRate
-
getIsActive
public boolean getIsActive()- Specified by:
getIsActive
in interfaceBasicTaxRate
-
setIsActive
public void setIsActive(boolean isActive) - Specified by:
setIsActive
in interfaceBasicTaxRate
-
getPostalCode
- Specified by:
getPostalCode
in interfaceBasicTaxRate
-
setPostalCode
- Specified by:
setPostalCode
in interfaceBasicTaxRate
-
getRate
- Specified by:
getRate
in interfaceBasicTaxRate
-
setRate
- Specified by:
setRate
in interfaceBasicTaxRate
-
getStateID
- Specified by:
getStateID
in interfaceBasicTaxRate
-
setStateID
- Specified by:
setStateID
in interfaceBasicTaxRate
-