Interface BillingProcessingRequestGenerator<P extends BillingProcessingRequest>
- All Known Implementing Classes:
DefaultBillingProcessingRequestGenerator
public interface BillingProcessingRequestGenerator<P extends BillingProcessingRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PnewFromEventPayment(String billingJobId, BillingEventPayment payment, BillingEvent billingEvent) Deprecated.newFromEventPayment(String billingJobId, BillingEventPayment payment, BillingEvent billingEvent, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Build new request from given argumentsdefault PnewFromRefundEventDetail(String billingJobId, RefundEventDetail refundEventDetail, BillingEvent billingEvent) Deprecated.newFromRefundEventDetail(String billingJobId, RefundEventDetail refundEventDetail, BillingEvent billingEvent, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Build new request from given argumentssaveBillingEventPaymentAndPrepareMessage(String billingJobId, List<BillingEventPaymentWithEvent> records, List<P> processingRequests) Deprecated.saveBillingEventPaymentAndPrepareMessage(String billingJobId, List<BillingEventPaymentWithEvent> records, List<P> processingRequests, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Savepaymentsand processing requests.default voidsaveRecordsAndMessageForRefundGenerator(String billingJobId, List<RefundDetailsWithRefundAndBillingEvent> records, List<P> processingRequests) Deprecated.default voidsaveRecordsAndSendMessage(String billingJobId, List<BillingEventPaymentWithEvent> records, List<P> processingRequests) Deprecated.voidsaveRecordsAndSendMessage(String billingJobId, List<BillingEventPaymentWithEvent> records, List<P> processingRequests, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Save list ofBillingEventPaymentWithEventand requests, and send message toBillingProcessingRequestInitializervoidsaveRecordsAndSendMessageToRefundGenerator(String billingJobId, List<RefundDetailsWithRefundAndBillingEvent> records, List<P> processingRequests, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) voidsaveRequestsAndSendMessages(String billingJobId, List<P> requests, List<String> idsToSendToFinalizer, List<P> sendToPaymentProcessor, List<BillingProcessingRequestWithBillingEventDTO> sendToTaxHandler, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Save given requests and send messages for next stepsdefault voidupdateRecordsAndSendMessage(String billingJobId, List<P> requests, List<String> idsToSendToFinalizer, List<P> sendToPaymentProcessor, List<BillingProcessingRequestWithBillingEventDTO> sendToTaxHandler) Deprecated.
-
Method Details
-
newFromEventPayment
@Deprecated(since="1.0.0") default P newFromEventPayment(String billingJobId, BillingEventPayment payment, BillingEvent billingEvent) Deprecated. -
newFromEventPayment
P newFromEventPayment(String billingJobId, BillingEventPayment payment, BillingEvent billingEvent, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Build new request from given arguments -
saveRecordsAndSendMessage
@Deprecated(since="1.0.0") default void saveRecordsAndSendMessage(String billingJobId, List<BillingEventPaymentWithEvent> records, List<P> processingRequests) Deprecated. -
saveRecordsAndSendMessage
@NonNull void saveRecordsAndSendMessage(String billingJobId, List<BillingEventPaymentWithEvent> records, List<P> processingRequests, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Save list ofBillingEventPaymentWithEventand requests, and send message toBillingProcessingRequestInitializer -
newFromRefundEventDetail
@Deprecated(since="1.0.0") default P newFromRefundEventDetail(String billingJobId, RefundEventDetail refundEventDetail, BillingEvent billingEvent) Deprecated. -
newFromRefundEventDetail
P newFromRefundEventDetail(String billingJobId, RefundEventDetail refundEventDetail, BillingEvent billingEvent, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Build new request from given arguments -
saveRecordsAndMessageForRefundGenerator
@Deprecated(since="1.0.0") default void saveRecordsAndMessageForRefundGenerator(String billingJobId, List<RefundDetailsWithRefundAndBillingEvent> records, List<P> processingRequests) Deprecated. -
saveRecordsAndSendMessageToRefundGenerator
void saveRecordsAndSendMessageToRefundGenerator(String billingJobId, List<RefundDetailsWithRefundAndBillingEvent> records, List<P> processingRequests, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
updateRecordsAndSendMessage
@Deprecated(since="1.0.0") default void updateRecordsAndSendMessage(String billingJobId, List<P> requests, List<String> idsToSendToFinalizer, List<P> sendToPaymentProcessor, List<BillingProcessingRequestWithBillingEventDTO> sendToTaxHandler) Deprecated. -
saveRequestsAndSendMessages
void saveRequestsAndSendMessages(String billingJobId, List<P> requests, List<String> idsToSendToFinalizer, List<P> sendToPaymentProcessor, List<BillingProcessingRequestWithBillingEventDTO> sendToTaxHandler, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Save given requests and send messages for next steps -
saveBillingEventPaymentAndPrepareMessage
@Deprecated(since="1.0.0") default InitializeBillingProcessingRequests saveBillingEventPaymentAndPrepareMessage(String billingJobId, List<BillingEventPaymentWithEvent> records, List<P> processingRequests) Deprecated. -
saveBillingEventPaymentAndPrepareMessage
InitializeBillingProcessingRequests saveBillingEventPaymentAndPrepareMessage(String billingJobId, List<BillingEventPaymentWithEvent> records, List<P> processingRequests, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
newFromEventPayment(String, BillingEventPayment, BillingEvent, ContextInfo)instead