com.softslate.commerce.businessobjects.tax
Interface BasicTaxRate
- All Superinterfaces:
- BusinessObject
- All Known Implementing Classes:
- BasicTaxRateBean
- public interface BasicTaxRate
- extends BusinessObject
Interface representing a basic tax rate within the system. A basic tax rate
is the percentage tax that should be applied for a given country, and
optionally a given state, city, and postal code.
The database stores basic tax rates in the npcBasicTaxRate
table, and this interface can be used to represent a single row of that
table. Each of the columns in npcBasicTaxRate
map to getters
and setters in this interface.
When the application needs to create an instance that implements
npcBasicTaxRate
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the
"basicTaxRateImplementer" setting in the npcSetting
database
table.
The default "basicTaxRateImplementer" is
BasicTaxRateBean
.
- Author:
- David Tobey
getBasicTaxRateID
public int getBasicTaxRateID()
setBasicTaxRateID
public void setBasicTaxRateID(int basicTaxRateID)
getCity
public java.lang.String getCity()
setCity
public void setCity(java.lang.String city)
getCountryID
public int getCountryID()
setCountryID
public void setCountryID(int countryID)
getIsActive
public boolean getIsActive()
setIsActive
public void setIsActive(boolean isActive)
getPostalCode
public java.lang.String getPostalCode()
setPostalCode
public void setPostalCode(java.lang.String postalCode)
getRate
public double getRate()
setRate
public void setRate(double rate)
getStateID
public int getStateID()
setStateID
public void setStateID(int stateID)
Copyright © SoftSlate, Inc. 20032005