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)
Determines the key to use for looking up tax records.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 BigDecimal
SimpleTaxProvider. determineRate(TaxItem item, SimpleTaxRecord chosenConfig)
protected TaxInfo
SimpleTaxProvider. getTaxInfo(SimpleTaxRecord chosenConfig, TaxItem item, javax.money.CurrencyUnit currencyUnit)
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.
-