|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.sys.service.impl.TaxServiceImpl
@Transactional public class TaxServiceImpl
Constructor Summary | |
---|---|
TaxServiceImpl()
|
Method Summary | |
---|---|
org.kuali.rice.kns.util.KualiDecimal |
getPretaxAmount(Date dateOfTransaction,
String postalCode,
org.kuali.rice.kns.util.KualiDecimal amountWithTax)
This method returns a preTax amount |
List<TaxDetail> |
getSalesTaxDetails(Date dateOfTransaction,
String postalCode,
org.kuali.rice.kns.util.KualiDecimal amount)
This method returns a list of Tax Detail BO's for Sales Tax |
TaxRegionService |
getTaxRegionService()
|
org.kuali.rice.kns.util.KualiDecimal |
getTotalSalesTaxAmount(Date dateOfTransaction,
String postalCode,
org.kuali.rice.kns.util.KualiDecimal amount)
This method returns the total sales tax amount |
List<TaxDetail> |
getUseTaxDetails(Date dateOfTransaction,
String postalCode,
org.kuali.rice.kns.util.KualiDecimal amount)
This method returns a list of Tax Detail BO's for Sales Tax |
protected TaxDetail |
populateTaxDetail(TaxRegion taxRegion,
Date dateOfTransaction,
org.kuali.rice.kns.util.KualiDecimal amount)
This method returns a populated Tax Detail BO based on the Tax Region BO and amount |
protected Integer |
postalCodeDigitsToUse()
|
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
|
void |
setTaxRegionService(TaxRegionService taxRegionService)
|
protected String |
truncatePostalCodeForSalesTaxRegionService(String postalCode)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaxServiceImpl()
Method Detail |
---|
public List<TaxDetail> getSalesTaxDetails(Date dateOfTransaction, String postalCode, org.kuali.rice.kns.util.KualiDecimal amount)
TaxService
getSalesTaxDetails
in interface TaxService
dateOfTransaction
- date to include tax rates frompostalCode
- postal code to get tax ratesamount
- amount to be taxed
org.kuali.kfs.sys.service.TaxService#getSalesTaxDetails(java.lang.String, java.lang.String,
org.kuali.rice.kns.util.KualiDecimal)
public List<TaxDetail> getUseTaxDetails(Date dateOfTransaction, String postalCode, org.kuali.rice.kns.util.KualiDecimal amount)
TaxService
getUseTaxDetails
in interface TaxService
dateOfTransaction
- date to include tax rates frompostalCode
- postal code to get tax ratesamount
- amount to be taxed
org.kuali.kfs.sys.service.TaxService#getUseTaxDetails(java.lang.String, java.lang.String,
org.kuali.rice.kns.util.KualiDecimal)
public org.kuali.rice.kns.util.KualiDecimal getTotalSalesTaxAmount(Date dateOfTransaction, String postalCode, org.kuali.rice.kns.util.KualiDecimal amount)
TaxService
getTotalSalesTaxAmount
in interface TaxService
dateOfTransaction
- date to include tax rates frompostalCode
- postal code to get tax ratesamount
- amount to be taxed
org.kuali.kfs.sys.service.TaxService#getTotalSalesTaxAmount(java.lang.String, java.lang.String,
org.kuali.rice.kns.util.KualiDecimal)
public org.kuali.rice.kns.util.KualiDecimal getPretaxAmount(Date dateOfTransaction, String postalCode, org.kuali.rice.kns.util.KualiDecimal amountWithTax)
getPretaxAmount
in interface TaxService
dateOfTransaction
- postalCode
- amountWithTax
-
protected TaxDetail populateTaxDetail(TaxRegion taxRegion, Date dateOfTransaction, org.kuali.rice.kns.util.KualiDecimal amount)
taxRegion
- amount
-
protected String truncatePostalCodeForSalesTaxRegionService(String postalCode)
protected Integer postalCodeDigitsToUse()
public TaxRegionService getTaxRegionService()
public void setTaxRegionService(TaxRegionService taxRegionService)
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |