Uses of Interface
com.broadleafcommerce.tax.TaxProvider
Package
Description
-
Uses of TaxProvider in com.broadleafcommerce.tax.autoconfigure
Modifier and TypeMethodDescriptionTaxServiceAutoConfiguration.taxProviderDelegate
(TaxDelegateProperties taxDelegateProperties, List<TaxProvider<TaxRequest, TaxResponse>> taxProviders, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of TaxProvider in com.broadleafcommerce.tax.delegate
Modifier and TypeMethodDescriptionprotected TaxProvider<T1,
T2> DefaultTaxDelegate.determineSimpleTaxProvider
(List<TaxProvider<T1, T2>> taxProviders) This must return aTaxProvider
instance whosegetProviderId()
returnsSimpleTaxProvider.SIMPLE_TAX_PROVIDER_ID
or it must return null if noSimpleTaxProvider
is configured.protected TaxProvider<T1,
T2> DefaultTaxDelegate.getSimpleTaxProvider()
protected <R extends TaxCalculationRequest>
TaxProvider<T1,T2> DefaultTaxDelegate.resolveFallbackProvider
(R request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Attempts to resolve a fallbackTaxProvider
.protected <R extends TaxCalculationRequest>
TaxProvider<T1,T2> DefaultTaxDelegate.resolvePreferredTaxProvider
(R request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Resolves the preferredTaxProvider
to be used to execute a tax request.Modifier and TypeMethodDescriptionprotected Map<String,
TaxProvider<T1, T2>> DefaultTaxDelegate.determineNonSimpleTaxProviders
(List<TaxProvider<T1, T2>> taxProviders) Returns aMap
ofTaxProviders
whose key isgetProviderId()
and whose value is theTaxProvider
instance.protected Map<String,
TaxProvider<T1, T2>> DefaultTaxDelegate.getTaxProviderMap()
Modifier and TypeMethodDescriptionprotected Map<String,
TaxProvider<T1, T2>> DefaultTaxDelegate.determineNonSimpleTaxProviders
(List<TaxProvider<T1, T2>> taxProviders) Returns aMap
ofTaxProviders
whose key isgetProviderId()
and whose value is theTaxProvider
instance.protected TaxProvider<T1,
T2> DefaultTaxDelegate.determineSimpleTaxProvider
(List<TaxProvider<T1, T2>> taxProviders) This must return aTaxProvider
instance whosegetProviderId()
returnsSimpleTaxProvider.SIMPLE_TAX_PROVIDER_ID
or it must return null if noSimpleTaxProvider
is configured.ModifierConstructorDescriptionDefaultTaxDelegate
(List<TaxProvider<T1, T2>> taxProviders, TaxDelegateProperties properties, com.broadleafcommerce.common.extension.TypeFactory typeFactory) DefaultTaxDelegate
(List<TaxProvider<T1, T2>> taxProviders, TaxDelegateProperties properties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, io.github.resilience4j.circuitbreaker.CircuitBreaker circuitBreaker) -
Uses of TaxProvider in com.broadleafcommerce.tax.simple
Modifier and TypeClassDescriptionclass
SimpleTaxProvider<T1 extends TaxRequest,
T2 extends TaxResponse> Simple implementation ofTaxProvider
primarily used for estimating taxes, but can be used for providing full taxes for implementors without complex tax needs.