Uses of Class
com.broadleafcommerce.tax.simple.SimpleTaxRecord
-
Packages that use SimpleTaxRecord Package Description com.broadleafcommerce.tax.simple -
-
Uses of SimpleTaxRecord in com.broadleafcommerce.tax.simple
Methods in com.broadleafcommerce.tax.simple that return SimpleTaxRecord Modifier and Type Method Description protected SimpleTaxRecord
SimpleTaxProvider. defaultIfNoneFound(SimpleTaxConfig simpleTaxConfig)
SimpleTaxRecord
SimpleTaxConfig. getDefaultRate()
The default rate if no matching inSimpleTaxConfig.getTaxTables()
found.protected SimpleTaxRecord
SimpleTaxProvider. getNoDefaultRateFound()
protected SimpleTaxRecord
SimpleTaxProvider. getTaxConfig(T1 taxRequest, TaxItem item)
Deprecated.useresolveSimpleTaxConfig
protected SimpleTaxRecord
SimpleTaxProvider. getTaxRecord(TaxCalculationGroup group, TaxItem item, SimpleTaxConfig config)
protected SimpleTaxRecord
SimpleTaxProvider. getTaxRecord(T1 taxRequest, TaxItem item, SimpleTaxConfig config)
Deprecated.Methods in com.broadleafcommerce.tax.simple that return types with arguments of type SimpleTaxRecord Modifier and Type Method Description protected Optional<SimpleTaxRecord>
SimpleTaxProvider. findByCountry(List<SimpleTaxRecord> taxTable, TaxAddress toAddress)
protected Optional<SimpleTaxRecord>
SimpleTaxProvider. findByPostalCode(List<SimpleTaxRecord> taxTable, TaxAddress toAddress)
protected Optional<SimpleTaxRecord>
SimpleTaxProvider. findBySubdivision(List<SimpleTaxRecord> taxTable, TaxAddress toAddress)
protected Optional<SimpleTaxRecord>
SimpleTaxProvider. findBySubdivisionAndCity(List<SimpleTaxRecord> taxTable, TaxAddress toAddress)
Map<String,List<SimpleTaxRecord>>
SimpleTaxConfig. getTaxTables()
Map of a tax code to a list of tax records for that jurisdiction.protected Optional<SimpleTaxRecord>
SimpleTaxProvider. lookupTaxConfig(SimpleTaxConfig simpleTaxConfig, TaxAddress toAddress)
protected Optional<SimpleTaxRecord>
SimpleTaxProvider. lookupTaxConfig(SimpleTaxConfig simpleTaxConfig, TaxAddress toAddress, String lookupKey)
Methods in com.broadleafcommerce.tax.simple with parameters of type SimpleTaxRecord Modifier and Type Method Description protected void
SimpleTaxProvider. addTaxDetail(SimpleTaxRecord chosenConfig, TaxItem item, TaxInfo taxInfo, BigDecimal rate, boolean taxExempt)
protected BigDecimal
SimpleTaxProvider. determineRate(TaxItem item, SimpleTaxRecord chosenConfig)
Deprecated.protected BigDecimal
SimpleTaxProvider. determineRate(TaxItem item, SimpleTaxRecord chosenConfig, boolean taxExempt)
protected TaxInfo
SimpleTaxProvider. getTaxInfo(SimpleTaxRecord chosenConfig, TaxItem item, javax.money.CurrencyUnit currencyUnit)
Deprecated.protected <R extends TaxCalculationRequest>
TaxInfoSimpleTaxProvider. getTaxInfo(R request, SimpleTaxRecord chosenConfig, TaxItem item, javax.money.CurrencyUnit currencyUnit, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
protected boolean
SimpleTaxProvider. isSubdivisionMatch(TaxAddress address, SimpleTaxRecord taxRecord)
void
SimpleTaxConfig. setDefaultRate(SimpleTaxRecord defaultRate)
The default rate if no matching inSimpleTaxConfig.getTaxTables()
found.Method parameters in com.broadleafcommerce.tax.simple with type arguments of type SimpleTaxRecord Modifier and Type Method Description protected Optional<SimpleTaxRecord>
SimpleTaxProvider. findByCountry(List<SimpleTaxRecord> taxTable, TaxAddress toAddress)
protected Optional<SimpleTaxRecord>
SimpleTaxProvider. findByPostalCode(List<SimpleTaxRecord> taxTable, TaxAddress toAddress)
protected Optional<SimpleTaxRecord>
SimpleTaxProvider. findBySubdivision(List<SimpleTaxRecord> taxTable, TaxAddress toAddress)
protected Optional<SimpleTaxRecord>
SimpleTaxProvider. findBySubdivisionAndCity(List<SimpleTaxRecord> taxTable, TaxAddress toAddress)
void
SimpleTaxConfig. setTaxTables(Map<String,List<SimpleTaxRecord>> taxTables)
Map of a tax code to a list of tax records for that jurisdiction.
-