Uses of Class
com.broadleafcommerce.billing.job.domain.BillingProcessingRequestWithBillingEventDTO
Packages that use BillingProcessingRequestWithBillingEventDTO
Package
Description
-
Uses of BillingProcessingRequestWithBillingEventDTO in com.broadleafcommerce.billing.job.autoconfigure
Methods in com.broadleafcommerce.billing.job.autoconfigure that return types with arguments of type BillingProcessingRequestWithBillingEventDTOModifier and TypeMethodDescriptionBillingJobAutoConfiguration.billingTaxService(com.broadleafcommerce.tax.delegate.TaxDelegate<?, ?> taxDelegate, com.broadleafcommerce.common.extension.TypeFactory typeFactory) BillingJobAutoConfiguration.taxCalculationHandlerService() -
Uses of BillingProcessingRequestWithBillingEventDTO in com.broadleafcommerce.billing.job.domain
Methods in com.broadleafcommerce.billing.job.domain that return types with arguments of type BillingProcessingRequestWithBillingEventDTOModifier and TypeMethodDescriptionTaxCalculationHandlerRequests.getBillingProcessingRequestsWithBillingEventDTO()TaxCalculationResultProcessorRequests.getProcessingRequestsWithBillingEventDTO()The list of billing processing requests to process.Method parameters in com.broadleafcommerce.billing.job.domain with type arguments of type BillingProcessingRequestWithBillingEventDTOModifier and TypeMethodDescriptionvoidTaxCalculationHandlerRequests.setBillingProcessingRequestsWithBillingEventDTO(List<@NotNull BillingProcessingRequestWithBillingEventDTO> billingProcessingRequestsWithBillingEventDTO) voidTaxCalculationResultProcessorRequests.setProcessingRequestsWithBillingEventDTO(List<@NotNull BillingProcessingRequestWithBillingEventDTO> processingRequestsWithBillingEventDTO) The list of billing processing requests to process.Constructor parameters in com.broadleafcommerce.billing.job.domain with type arguments of type BillingProcessingRequestWithBillingEventDTOModifierConstructorDescriptionTaxCalculationHandlerRequests(String billingJobId, List<@NotNull BillingProcessingRequestWithBillingEventDTO> billingProcessingRequestsWithBillingEventDTO) TaxCalculationResultProcessorRequests(String billingJobId, List<@NotNull BillingProcessingRequestWithBillingEventDTO> processingRequestsWithBillingEventDTO) -
Uses of BillingProcessingRequestWithBillingEventDTO in com.broadleafcommerce.billing.job.module
Fields in com.broadleafcommerce.billing.job.module with type parameters of type BillingProcessingRequestWithBillingEventDTOModifier and TypeFieldDescriptionTaxCalculationProcessorResultHandler.taxCalculationHandlerServiceTaxCalculationProcessorHandler.taxServiceMethods in com.broadleafcommerce.billing.job.module that return BillingProcessingRequestWithBillingEventDTOModifier and TypeMethodDescriptionBillingProcessingRequestInitializer.buildRequestWithBillingEventDTO(BillingProcessingRequest request, BillingProcessingRequestWithFullDetails requestWithFullDetails) Builds a composite object from theBillingProcessingRequestand the relatedBillingEventDTOTaxCalculationProcessorHandler.calculateTaxForBillingEventItems(BillingProcessingRequestWithBillingEventDTO billingProcessingRequestWithBillingEventDTO, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Methods in com.broadleafcommerce.billing.job.module that return types with arguments of type BillingProcessingRequestWithBillingEventDTOModifier and TypeMethodDescriptionprotected List<BillingProcessingRequestWithBillingEventDTO>TaxCalculationProcessorResultHandler.filterOutAlreadyProcessedRequests(TaxCalculationResultProcessorRequests request, List<BillingProcessingRequest> requestsFromDb) protected List<BillingProcessingRequestWithBillingEventDTO>TaxCalculationProcessorResultHandler.filterOutRequestsWithWrongStatuses(List<BillingProcessingRequestWithBillingEventDTO> requestsWithBillingEventDTO, List<BillingProcessingRequest> requestsFromDatabase) Methods in com.broadleafcommerce.billing.job.module with parameters of type BillingProcessingRequestWithBillingEventDTOModifier and TypeMethodDescriptionTaxCalculationProcessorHandler.calculateTaxForBillingEventItems(BillingProcessingRequestWithBillingEventDTO billingProcessingRequestWithBillingEventDTO, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected Map<BillingEventItem,List<BillingTaxDetail>> TaxCalculationProcessorHandler.callTaxCalculationProcess(BillingProcessingRequestWithBillingEventDTO billingProcessingRequestWithBillingEventDTO, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) This method is solely responsible for calling theTaxServiceto calculate taxes.protected TaxProcessingResultTaxCalculationProcessorHandler.handleTaxCalculationException(Exception exception, BillingProcessingRequestWithBillingEventDTO billingProcessingRequestWithBillingEventDTO) protected TaxProcessingResultTaxCalculationProcessorHandler.handleTaxCalculationFailure(BillingProcessingRequestWithBillingEventDTO billingProcessingRequestWithBillingEventDTO) Deprecated.protected TaxProcessingResultTaxCalculationProcessorHandler.handleTaxSuccess(BillingProcessingRequestWithBillingEventDTO billingProcessingRequestWithBillingEventDTO) protected voidBillingProcessingRequestInitializer.prepareValidRequestsForNextSteps(BillingProcessingRequest request, BillingProcessingRequestWithFullDetails requestWithFullDetails, BillingProcessingRequestWithBillingEventDTO requestWithBillingEventDTO, List<PaymentAccount> activePaymentAccounts, List<BillingProcessingRequestWithBillingEventDTO> sendToTaxHandler, List<BillingProcessingRequest> sendToPaymentProcessor) Handles preparing valid requests for their next step, either to be sent to a payment processor or a tax handler.protected voidBillingProcessingRequestInitializer.setAddressForTaxCalculationIfMissing(BillingProcessingRequestWithBillingEventDTO billingProcessingRequestWithBillingEventDTO, List<PaymentAccount> activePaymentAccounts) This method sets the billing address from a payment account onto the request for tax calculation if the request does not previously contain a billing addressprotected booleanTaxCalculationProcessorHandler.taxCalculationWasSuccessful(BillingProcessingRequestWithBillingEventDTO billingProcessingRequestWithBillingEventDTO) protected voidTaxCalculationProcessorHandler.updateRequestDTOWithTaxResultsMap(Map<BillingEventItem, List<BillingTaxDetail>> itemsWithTaxDetailsMap, BillingProcessingRequestWithBillingEventDTO billingProcessingRequestWithBillingEventDTO) Handles updating the given DTO with results of the tax calculation stored on the map.Method parameters in com.broadleafcommerce.billing.job.module with type arguments of type BillingProcessingRequestWithBillingEventDTOModifier and TypeMethodDescriptionprotected List<BillingProcessingRequestWithBillingEventDTO>TaxCalculationProcessorResultHandler.filterOutRequestsWithWrongStatuses(List<BillingProcessingRequestWithBillingEventDTO> requestsWithBillingEventDTO, List<BillingProcessingRequest> requestsFromDatabase) protected List<BillingProcessingRequest>TaxCalculationProcessorResultHandler.readBillingProcessingRequests(List<BillingProcessingRequestWithBillingEventDTO> requestsWithBillingEventDTO, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Uses of BillingProcessingRequestWithBillingEventDTO in com.broadleafcommerce.billing.job.service
Classes in com.broadleafcommerce.billing.job.service with type parameters of type BillingProcessingRequestWithBillingEventDTOModifier and TypeInterfaceDescriptioninterfaceHandles operations onits type parameterand theTaxCalculationProcessingResultHandlerDTOdto.interfaceTaxService<P extends BillingEventItem,Q extends BillingTaxDetail, R extends BillingProcessingRequestWithBillingEventDTO> Service for calculating and applying taxes to aBillingProcessingRequest, typically by integrating with one or moreTaxProviders, depending on if there should be estimated and actual taxes calculated. -
Uses of BillingProcessingRequestWithBillingEventDTO in com.broadleafcommerce.billing.job.service.dto
Methods in com.broadleafcommerce.billing.job.service.dto that return types with arguments of type BillingProcessingRequestWithBillingEventDTOModifier and TypeMethodDescriptionTaxCalculationProcessingResultHandlerDTO.getFailedRequests()TaxCalculationProcessingResultHandlerDTO.getRequestsToReprocess()TaxCalculationProcessingResultHandlerDTO.getSuccessfulRequests()Methods in com.broadleafcommerce.billing.job.service.dto with parameters of type BillingProcessingRequestWithBillingEventDTOModifier and TypeMethodDescriptionTaxCalculationProcessingResultHandlerDTO.recordFailure(BillingProcessingRequestWithBillingEventDTO billingProcessingRequestWithBillingEventDTO) TaxCalculationProcessingResultHandlerDTO.recordSuccess(BillingProcessingRequestWithBillingEventDTO billingProcessingRequestWithBillingEventDTO) TaxCalculationProcessingResultHandlerDTO.reprocess(BillingProcessingRequestWithBillingEventDTO billingProcessingRequestWithBillingEventDTO) -
Uses of BillingProcessingRequestWithBillingEventDTO in com.broadleafcommerce.billing.job.service.impl
Classes in com.broadleafcommerce.billing.job.service.impl with type parameters of type BillingProcessingRequestWithBillingEventDTOModifier and TypeClassDescriptionclassDefaultDelegatingTaxService<P extends BillingEventItem,Q extends BillingTaxDetail, R extends BillingProcessingRequestWithBillingEventDTO> This implementation ofTaxServicecallsTaxDelegate, which has a discovery process to determine the bestTaxProviderimplementation based on configured properties, the providedTaxCalculationRequest, and theContextInfo.classMethod parameters in com.broadleafcommerce.billing.job.service.impl with type arguments of type BillingProcessingRequestWithBillingEventDTOModifier and TypeMethodDescriptionprotected voidDefaultTaxCalculationHandlerService.sendFailedRequestsToDeadLetterQueue(String billingJobId, List<BillingProcessingRequestWithBillingEventDTO> failedRequests, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
TaxProcessingResultEnum.FAILUREstates