Uses of Interface
com.broadleafcommerce.tax.TaxProvider
-
Packages that use TaxProvider Package Description com.broadleafcommerce.tax.autoconfigure com.broadleafcommerce.tax.delegate com.broadleafcommerce.tax.simple -
-
Uses of TaxProvider in com.broadleafcommerce.tax.autoconfigure
Method parameters in com.broadleafcommerce.tax.autoconfigure with type arguments of type TaxProvider Modifier and Type Method Description TaxDelegate<TaxRequest,TaxResponse>
TaxServiceAutoConfiguration. taxProviderDelegate(TaxDelegateProperties taxDelegateProperties, List<TaxProvider<TaxRequest,TaxResponse>> taxProviders, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
-
Uses of TaxProvider in com.broadleafcommerce.tax.delegate
Methods in com.broadleafcommerce.tax.delegate that return TaxProvider Modifier and Type Method Description 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.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.Methods in com.broadleafcommerce.tax.delegate that return types with arguments of type TaxProvider Modifier and Type Method Description protected 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()
Method parameters in com.broadleafcommerce.tax.delegate with type arguments of type TaxProvider Modifier and Type Method Description protected 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.Constructor parameters in com.broadleafcommerce.tax.delegate with type arguments of type TaxProvider Constructor Description DefaultTaxDelegate(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
Classes in com.broadleafcommerce.tax.simple that implement TaxProvider Modifier and Type Class Description class
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.
-