Class EventPaymentUpdater<P extends UpdateBillingEventPayments>
java.lang.Object
com.broadleafcommerce.billing.job.module.EventPaymentUpdater<P>
Updates the billing event payment with the result of the payment processing. Triggers
notification for payments.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static Set<PaymentStatusEnum>protected com.broadleafcommerce.common.extension.TypeFactoryprotected PaymentAndRefundUpdaterService<BillingProcessingRequestWithPayment,BillingProcessingRequestWithRefundDetail> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Dateprotected BillingEventPaymentProcessedEventprotected ProcessBillingEventPaymentResultspreparePaymentProcessedMessage(@NonNull String billingJobId, @NonNull List<BillingProcessingRequestWithPayment> requestsWithPayments) voidDeprecated.void
-
Field Details
-
expectedStatuses
-
updaterService
@Autowired protected PaymentAndRefundUpdaterService<BillingProcessingRequestWithPayment,BillingProcessingRequestWithRefundDetail> updaterService -
typeFactory
@Autowired protected com.broadleafcommerce.common.extension.TypeFactory typeFactory
-
-
Constructor Details
-
EventPaymentUpdater
public EventPaymentUpdater()
-
-
Method Details
-
process
Deprecated.Useprocess(UpdateBillingEventPayments, ContextInfo)instead -
process
public void process(P request, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
preparePaymentProcessedMessage
protected ProcessBillingEventPaymentResults preparePaymentProcessedMessage(@NonNull @NonNull String billingJobId, @NonNull @NonNull List<BillingProcessingRequestWithPayment> requestsWithPayments) -
prepareEventForSubscriptions
protected BillingEventPaymentProcessedEvent prepareEventForSubscriptions(BillingProcessingRequestWithPayment rp) -
getLastTransactionDateTime
-
process(UpdateBillingEventPayments, ContextInfo)instead