Uses of Class
com.broadleafcommerce.tax.simple.SimpleTaxRecord
-
Uses of SimpleTaxRecord in com.broadleafcommerce.tax.simple
Modifier and TypeMethodDescriptionprotected SimpleTaxRecord
SimpleTaxProvider.defaultIfNoneFound
(SimpleTaxConfig simpleTaxConfig) SimpleTaxConfig.getDefaultRate()
The default rate if no matching inSimpleTaxConfig.getTaxTables()
found.protected SimpleTaxRecord
SimpleTaxProvider.getNoDefaultRateFound()
protected SimpleTaxRecord
SimpleTaxProvider.getTaxConfig
(T1 taxRequest, TaxItem item) Deprecated.protected SimpleTaxRecord
SimpleTaxProvider.getTaxRecord
(TaxCalculationGroup group, TaxItem item, SimpleTaxConfig config) protected SimpleTaxRecord
SimpleTaxProvider.getTaxRecord
(T1 taxRequest, TaxItem item, SimpleTaxConfig config) Deprecated.Modifier and TypeMethodDescriptionprotected 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) 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) Modifier and TypeMethodDescriptionprotected 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, boolean taxExempt, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected TaxInfo
SimpleTaxProvider.getTaxInfo
(SimpleTaxRecord chosenConfig, TaxItem item, javax.money.CurrencyUnit currencyUnit) Deprecated.UseSimpleTaxProvider.getTaxInfo(TaxCalculationRequest, SimpleTaxRecord, TaxItem, CurrencyUnit, ContextInfo)
to consider tax-exemption for items.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.Modifier and TypeMethodDescriptionprotected 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.
resolveSimpleTaxConfig