Uses of Class
com.broadleafcommerce.tax.simple.SimpleTaxConfig
-
Packages that use SimpleTaxConfig Package Description com.broadleafcommerce.tax.simple -
-
Uses of SimpleTaxConfig in com.broadleafcommerce.tax.simple
Methods in com.broadleafcommerce.tax.simple that return SimpleTaxConfig Modifier and Type Method Description protected 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)
Methods in com.broadleafcommerce.tax.simple that return types with arguments of type SimpleTaxConfig Modifier and Type Method Description protected Map<String,SimpleTaxConfig>
SimpleTaxProvider. createDefaultConfigCache()
Creates aLRUMap
to containSimpleTaxConfig
instances for different applications and / or tenants.protected Map<String,SimpleTaxConfig>
SimpleTaxProvider. getDefaultConfigCache()
Methods in com.broadleafcommerce.tax.simple with parameters of type SimpleTaxConfig Modifier and Type Method Description protected 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.
-