Uses of Class
com.broadleafcommerce.tax.simple.SimpleTaxConfig
-
Uses of SimpleTaxConfig in com.broadleafcommerce.tax.simple
Modifier and TypeMethodDescriptionprotected SimpleTaxConfig
SimpleTaxProvider.createSimpleTaxConfigFromJson
(String json) protected SimpleTaxConfig
SimpleTaxProvider.createSimpleTaxConfigFromResourcePath
(String resourcePath) protected SimpleTaxConfig
SimpleTaxProvider.getConfigFromCache
(String key) Fetches theSimpleTaxConfig
from cache so that it does not have to be deserialized every time.protected SimpleTaxConfig
SimpleTaxProvider.getDefaultSimpleTaxConfig()
protected SimpleTaxConfig
SimpleTaxProvider.getExampleSimpleTaxConfig()
protected SimpleTaxConfig
SimpleTaxProvider.resolveSimpleTaxConfig
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionprotected Map<String,
SimpleTaxConfig> SimpleTaxProvider.createDefaultConfigCache()
Creates aLRUMap
to containSimpleTaxConfig
instances for different applications and / or tenants.protected Map<String,
SimpleTaxConfig> SimpleTaxProvider.getDefaultConfigCache()
Modifier and TypeMethodDescriptionprotected SimpleTaxRecord
SimpleTaxProvider.defaultIfNoneFound
(SimpleTaxConfig simpleTaxConfig) protected SimpleTaxRecord
SimpleTaxProvider.getTaxRecord
(TaxCalculationGroup group, TaxItem item, SimpleTaxConfig config) protected SimpleTaxRecord
SimpleTaxProvider.getTaxRecord
(T1 taxRequest, TaxItem item, SimpleTaxConfig config) Deprecated.protected T2
SimpleTaxProvider.getTaxResponse
(T1 taxRequest, SimpleTaxConfig config) Deprecated.protected Optional<SimpleTaxRecord>
SimpleTaxProvider.lookupTaxConfig
(SimpleTaxConfig simpleTaxConfig, TaxAddress toAddress) protected Optional<SimpleTaxRecord>
SimpleTaxProvider.lookupTaxConfig
(SimpleTaxConfig simpleTaxConfig, TaxAddress toAddress, String lookupKey) protected void
SimpleTaxProvider.populateTaxResponse
(@NonNull TaxCalculationRequest request, @NonNull TaxCalculationResponse response, @NonNull SimpleTaxConfig config, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected <R extends TaxCalculationRequest>
voidSimpleTaxProvider.populateTaxResponseGroup
(@NonNull TaxResponseGroup taxResponseGroup, R request, @NonNull TaxCalculationGroup calculationGroup, @NonNull SimpleTaxConfig config, @NonNull javax.money.CurrencyUnit currency, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
SimpleTaxProvider.putConfigInCache
(@NonNull String key, @NonNull SimpleTaxConfig config) Puts theSimpleTaxConfig
in a cache so that it does not have to be deserialized every time.