Uses of Class
com.broadleafcommerce.tax.simple.SimpleTaxRecord
Packages that use SimpleTaxRecord
-
Uses of SimpleTaxRecord in com.broadleafcommerce.tax.simple
Methods in com.broadleafcommerce.tax.simple that return SimpleTaxRecordModifier and TypeMethodDescriptionprotected SimpleTaxRecordSimpleTaxProvider.defaultIfNoneFound(SimpleTaxConfig simpleTaxConfig) SimpleTaxConfig.getDefaultRate()The default rate if no matching inSimpleTaxConfig.getTaxTables()found.protected SimpleTaxRecordSimpleTaxProvider.getNoDefaultRateFound()protected SimpleTaxRecordSimpleTaxProvider.getTaxConfig(T1 taxRequest, TaxItem item) Deprecated.protected SimpleTaxRecordSimpleTaxProvider.getTaxRecord(TaxCalculationGroup group, TaxItem item, SimpleTaxConfig config) protected SimpleTaxRecordSimpleTaxProvider.getTaxRecord(T1 taxRequest, TaxItem item, SimpleTaxConfig config) Deprecated.Methods in com.broadleafcommerce.tax.simple that return types with arguments of type SimpleTaxRecordModifier 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) Methods in com.broadleafcommerce.tax.simple with parameters of type SimpleTaxRecordModifier and TypeMethodDescriptionprotected voidSimpleTaxProvider.addTaxDetail(SimpleTaxRecord chosenConfig, TaxItem item, TaxInfo taxInfo, BigDecimal rate, boolean taxExempt) protected BigDecimalSimpleTaxProvider.determineRate(TaxItem item, SimpleTaxRecord chosenConfig) Deprecated.protected BigDecimalSimpleTaxProvider.determineRate(TaxItem item, SimpleTaxRecord chosenConfig, boolean taxExempt) protected TaxInfoSimpleTaxProvider.getTaxInfo(SimpleTaxRecord chosenConfig, TaxItem item, boolean taxExempt, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected TaxInfoSimpleTaxProvider.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 booleanSimpleTaxProvider.isSubdivisionMatch(TaxAddress address, SimpleTaxRecord taxRecord) voidSimpleTaxConfig.setDefaultRate(SimpleTaxRecord defaultRate) The default rate if no matching inSimpleTaxConfig.getTaxTables()found.Method parameters in com.broadleafcommerce.tax.simple with type arguments of type SimpleTaxRecordModifier 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) voidSimpleTaxConfig.setTaxTables(Map<String, List<SimpleTaxRecord>> taxTables) Map of a tax code to a list of tax records for that jurisdiction.
resolveSimpleTaxConfig