Uses of Class
com.broadleafcommerce.tax.domain.TaxCalculationRequest
-
Packages that use TaxCalculationRequest Package Description com.broadleafcommerce.tax com.broadleafcommerce.tax.delegate com.broadleafcommerce.tax.domain com.broadleafcommerce.tax.simple -
-
Uses of TaxCalculationRequest in com.broadleafcommerce.tax
Methods in com.broadleafcommerce.tax with type parameters of type TaxCalculationRequest Modifier and Type Method Description default <R extends TaxCalculationRequest>
booleanTaxProvider. canHandle(R request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Indicates if thisTaxProvider
can handle requests for the givenTaxCalculationRequest
andContextInfo
, which can be null.Methods in com.broadleafcommerce.tax with parameters of type TaxCalculationRequest Modifier and Type Method Description TaxCalculationResponse
TaxAccessor. calculateTaxes(TaxCalculationRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Takes theTaxCalculationRequest
and computes sales tax. -
Uses of TaxCalculationRequest in com.broadleafcommerce.tax.delegate
Methods in com.broadleafcommerce.tax.delegate with type parameters of type TaxCalculationRequest Modifier and Type Method Description 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 with parameters of type TaxCalculationRequest Modifier and Type Method Description TaxCalculationResponse
DefaultTaxDelegate. calculateTaxes(TaxCalculationRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
protected void
DefaultTaxDelegate. validateRequest(TaxCalculationRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
Uses of TaxCalculationRequest in com.broadleafcommerce.tax.domain
Subclasses of TaxCalculationRequest in com.broadleafcommerce.tax.domain Modifier and Type Class Description class
AdjustTaxTransactionRequest
Encapsulated request that indicates that a Tax transaction should be adjusted.class
CommitTaxRequest
Encapsulated request that indicates that a Tax transaction should be committed.class
ReverseTaxTransactionRequest
Encapsulated request indicating that taxes that have been committed or saved should be reversed.class
VoidTransactionRequest
Represents a void of a tax transaction. -
Uses of TaxCalculationRequest in com.broadleafcommerce.tax.simple
Methods in com.broadleafcommerce.tax.simple with type parameters of type TaxCalculationRequest Modifier and Type Method Description <R extends TaxCalculationRequest>
booleanSimpleTaxProvider. canHandle(R request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
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 <R extends TaxCalculationRequest>
booleanSimpleTaxProvider. isTaxExempt(R request, 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)
Methods in com.broadleafcommerce.tax.simple with parameters of type TaxCalculationRequest Modifier and Type Method Description TaxCalculationResponse
SimpleTaxProvider. calculateTaxes(TaxCalculationRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
protected void
SimpleTaxProvider. populateTaxResponse(@NonNull TaxCalculationRequest request, @NonNull TaxCalculationResponse response, @NonNull SimpleTaxConfig config, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-