Package com.broadleafcommerce.billing.job.module
@NonNullApi
package com.broadleafcommerce.billing.job.module
- Author:
- Nathan Moore (nathandmoore)
-
ClassesClassDescriptionBillingJobInitiator<P extends InitiateBillingJob>This is the entry point for the billing process.Records the final result of the billing processing requests and routes the request to event payment or refund event updater.Receives the newly generated billing processing requests and adds the required payment information for each request.Finds event payment that are ready for retry and generates billing processing requests for them.EventPaymentUpdater<P extends UpdateBillingEventPayments>Updates the billing event payment with the result of the payment processing.Finds new
BillingEventPaymentWithEventthat are ready for processing and generates billing processing requests for them.Finds new refund events that are due for processing and generates billing processing requests for them.PaymentProcessingResultHandler<P extends PaymentsProcessed>Records the result of payment processing and delegates to process their consequencesPaymentProcessorHandler<P extends ProcessPayments>Handles the incomingrequestby delegating payment processing toPaymentProcessingService, sending requests for a single gateway at a time.RefundEventUpdater<P extends UpdateRefundEvents>Updates theRefundEventwith the result of the payment processing.Finds refund events that are ready for retry and generates billing processing requests for them.Receives requests to calculate tax and delegates to theTaxServiceto find and call tax providers.Records results of tax calculation byTaxCalculationProcessorHandlerand delegates toTaxCalculationProcessorHandlerto process their consequences.