Interface BasicTaxRate
- All Superinterfaces:
BusinessObject
- All Known Implementing Classes:
BasicTaxRateBean
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.
When the application needs to create an instance that implements
sscBasicTaxRate
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the
"basicTaxRateImplementer" setting in the
appComponents.properties
file.
The default "basicTaxRateImplementer" is
BasicTaxRateBean
.
- Author:
- David Tobey
-
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 interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Method Details
-
getBasicTaxRateID
int getBasicTaxRateID() -
setBasicTaxRateID
void setBasicTaxRateID(int basicTaxRateID) -
getCity
String getCity() -
setCity
-
getCountryID
Integer getCountryID() -
setCountryID
-
getIsActive
boolean getIsActive() -
setIsActive
void setIsActive(boolean isActive) -
getPostalCode
String getPostalCode() -
setPostalCode
-
getRate
Double getRate() -
setRate
-
getStateID
Integer getStateID() -
setStateID
-
getCountry
Country getCountry() -
setCountry
-
getState
State getState() -
setState
-