@Transactional public class TaxRegionServiceImpl extends Object implements TaxRegionService
Modifier and Type | Field and Description |
---|---|
protected org.kuali.rice.krad.service.BusinessObjectService |
businessObjectService |
protected org.kuali.rice.location.api.postalcode.PostalCodeService |
postalCodeService |
Constructor and Description |
---|
TaxRegionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected List<TaxRegion> |
getCountyTaxRegions(String countyCode,
String stateCode,
String postalCountryCode,
boolean useTaxOnly)
This method returns a list of tax regions that match county code, state code, and country code
|
protected List<TaxRegion> |
getPostalCodeTaxRegions(String postalCode,
String postalCountryCode,
boolean useTaxOnly)
This method returns a list of tax regions that match postal code and country code.
|
List<TaxRegion> |
getSalesTaxRegions(String postalCode)
This method returns a list of tax regions based on postal code.
|
protected List<TaxRegion> |
getStateTaxRegions(String stateCode,
String postalCountryCode,
boolean useTaxOnly)
This method returns a list of tax regions that match state code and country code.
|
List<TaxRegion> |
getUseTaxRegions(String postalCode)
This method returns a list of tax regions based on postal code.
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setPostalCodeService(org.kuali.rice.location.api.postalcode.PostalCodeService postalCodeService) |
protected org.kuali.rice.krad.service.BusinessObjectService businessObjectService
protected org.kuali.rice.location.api.postalcode.PostalCodeService postalCodeService
public TaxRegionServiceImpl()
public List<TaxRegion> getSalesTaxRegions(String postalCode)
TaxRegionService
getSalesTaxRegions
in interface TaxRegionService
TaxRegionService.getSalesTaxRegions(java.lang.String)
public List<TaxRegion> getUseTaxRegions(String postalCode)
TaxRegionService
getUseTaxRegions
in interface TaxRegionService
TaxRegionService.getUseTaxRegions(java.lang.String)
protected List<TaxRegion> getPostalCodeTaxRegions(String postalCode, String postalCountryCode, boolean useTaxOnly)
postalCode
- postal codepostalCountryCode
- country codeuseTaxOnly
- determines if only (use tax = true) tax regions are returnedprotected List<TaxRegion> getStateTaxRegions(String stateCode, String postalCountryCode, boolean useTaxOnly)
stateCode
- state codepostalCountryCode
- country codeuseTaxOnly
- determines if only (use tax = true) tax regions are returnedprotected List<TaxRegion> getCountyTaxRegions(String countyCode, String stateCode, String postalCountryCode, boolean useTaxOnly)
countyCode
- county codestateCode
- state codepostalCountryCode
- country codeuseTaxOnly
- determines if only (use tax = true) tax regions are returnedpublic void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
public void setPostalCodeService(org.kuali.rice.location.api.postalcode.PostalCodeService postalCodeService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.