Interface BillingEventPaymentService<P extends BillingEventPayment,Q extends BillingEventPaymentWithEvent,R extends BillingEventDTO,S extends BillingEventPaymentWithTransaction>
- All Superinterfaces:
com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
- All Known Implementing Classes:
DefaultBillingEventPaymentService
public interface BillingEventPaymentService<P extends BillingEventPayment,Q extends BillingEventPaymentWithEvent,R extends BillingEventDTO,S extends BillingEventPaymentWithTransaction>
extends com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
- Author:
- venkat
-
Method Summary
Modifier and TypeMethodDescriptionabortActiveBySubscriptionRef(String subscriptionRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Abort all theJpaBillingEventPaymententities bySubscriptiondomain object idabortAllActivePaymentsBySubscriptionRef(String subscriptionRef) Deprecated.abortAllOrderPaymentsByOrderId(String billingEventId) Deprecated.UseabortByBillingEventId(String, ContextInfo)insteadabortByBillingEventId(String billingEventId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Abort all theJpaBillingEventPaymententities byBillingEventdomain object idabortByPaymentId(String id, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Abort aJpaBillingEventPaymententity byBillingEventPaymentdomain object iddefault PDeprecated.UseabortByPaymentId(String, ContextInfo)insteaddefault PcreateBillingEventPayment(S billingEventPaymentWithTransaction) Deprecated.createBillingEventPayment(S billingEventPaymentWithTransaction, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Pass theBillingEventPaymentdomain object to create theJpaBillingEventPaymententitydefault RfindAllBillingDetailsByEventPaymentId(String billingEventPaymentId) Deprecated.findAllBillingEventsByBillingEventPaymentIds(List<String> billingEventPaymentIds) Deprecated.findAllEventPaymentsByEventPaymentIds(List<String> billingEventPaymentIds) Deprecated.findAllPaymentsByEventId(String billingEventId) Deprecated.findAllPaymentsByStatusAndDatesRange(PaymentStatusEnum status, Date startDate, Date endDate, Integer resultLimit, Integer pageNumber) Deprecated.findAllPaymentsByStatusAndRetryDateRange(PaymentStatusEnum status, Date startDate, Date endDate, Integer resultLimit) Deprecated.Deprecated.UseCrudEntityService.readByContextId(String, ContextInfo)insteaddefault QfindEventPaymentWithEventByEventPaymentId(String billingEventPaymentId) Deprecated.readAllByStatusAndDatesRange(PaymentStatusEnum status, Date startDate, Date endDate, Integer resultLimit, Integer pageNumber, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) readAllByStatusAndProcessTypeAndDatesRange(PaymentStatusEnum status, String paymentProcessType, Date startDate, Date endDate, Integer resultLimit, Integer pageNumber, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) readBillingEventDTOByBillingEventPaymentId(String billingEventPaymentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) readBillingEventDTOsByBillingEventPaymentIds(List<String> billingEventPaymentIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) readByBillingEventId(String billingEventId, String paymentStatus, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) find all theJpaBillingEventPaymententities byBillingEventIdreadByBillingEventIds(List<String> billingEventIds, String paymentStatus, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) readByStatusAndRetryDateRange(PaymentStatusEnum status, Date startDate, Date endDate, Integer resultLimit, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) readWithEventByBillingEventPaymentId(String billingEventPaymentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) readWithEventsByBillingEventPaymentIds(List<String> billingEventPaymentIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) default PupdateBillingEventPayment(P patchRequest) Deprecated.UseCrudEntityService.update(String, Object, ContextInfo)insteadMethods inherited from interface com.broadleafcommerce.data.tracking.core.service.CrudEntityService
create, createAll, createAllAllowingPartialSuccess, delete, readAll, readAll, readAll, readAllByContextId, readByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, update, updateAll, updateAllAllowingPartialSuccess, updateSort
-
Method Details
-
findById
Deprecated.UseCrudEntityService.readByContextId(String, ContextInfo)insteadSend theBillingEventPaymentId to find theJpaBillingEventPaymententity -
findAllPaymentsByEventId
Deprecated.find all theJpaBillingEventPaymententities byBillingEventId -
readByBillingEventId
List<P> readByBillingEventId(String billingEventId, @Nullable String paymentStatus, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) find all theJpaBillingEventPaymententities byBillingEventId -
readByBillingEventIds
-
createBillingEventPayment
@Deprecated(since="1.0.0") default P createBillingEventPayment(S billingEventPaymentWithTransaction) Deprecated.Pass theBillingEventPaymentdomain object to create theJpaBillingEventPaymententity -
createBillingEventPayment
P createBillingEventPayment(S billingEventPaymentWithTransaction, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Pass theBillingEventPaymentdomain object to create theJpaBillingEventPaymententity -
updateBillingEventPayment
Deprecated.UseCrudEntityService.update(String, Object, ContextInfo)insteadPass theBillingEventPaymentdomain object to update theJpaBillingEventPaymententity -
abortAllOrderPaymentsByOrderId
Deprecated.UseabortByBillingEventId(String, ContextInfo)insteadAbort all theJpaBillingEventPaymententities byBillingEventdomain object id -
abortByBillingEventId
List<P> abortByBillingEventId(String billingEventId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Abort all theJpaBillingEventPaymententities byBillingEventdomain object id -
abortAllActivePaymentsBySubscriptionRef
@Deprecated(since="1.0.0") default List<P> abortAllActivePaymentsBySubscriptionRef(String subscriptionRef) Deprecated.Abort all theJpaBillingEventPaymententities bySubscriptiondomain object id -
abortActiveBySubscriptionRef
List<P> abortActiveBySubscriptionRef(String subscriptionRef, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Abort all theJpaBillingEventPaymententities bySubscriptiondomain object id -
abortOrderPaymentByPaymentId
Deprecated.UseabortByPaymentId(String, ContextInfo)insteadAbort aJpaBillingEventPaymententity byBillingEventPaymentdomain object id -
abortByPaymentId
P abortByPaymentId(String id, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Abort aJpaBillingEventPaymententity byBillingEventPaymentdomain object id -
findAllPaymentsByStatusAndDatesRange
@Deprecated(since="1.0.0") default List<P> findAllPaymentsByStatusAndDatesRange(PaymentStatusEnum status, @Nullable Date startDate, Date endDate, Integer resultLimit, Integer pageNumber) Deprecated. -
readAllByStatusAndDatesRange
-
findAllPaymentsByStatusAndRetryDateRange
@Deprecated(since="1.0.0") default List<P> findAllPaymentsByStatusAndRetryDateRange(PaymentStatusEnum status, @Nullable Date startDate, Date endDate, Integer resultLimit) Deprecated. -
readAllByStatusAndProcessTypeAndDatesRange
-
readByStatusAndRetryDateRange
-
findAllEventPaymentsByEventPaymentIds
@Deprecated(since="1.0.0") default List<Q> findAllEventPaymentsByEventPaymentIds(List<String> billingEventPaymentIds) Deprecated. -
readWithEventsByBillingEventPaymentIds
-
findEventPaymentWithEventByEventPaymentId
@Deprecated(since="1.0.0") default Q findEventPaymentWithEventByEventPaymentId(String billingEventPaymentId) Deprecated. -
readWithEventByBillingEventPaymentId
-
findAllBillingEventsByBillingEventPaymentIds
@Deprecated(since="1.0.0") default List<R> findAllBillingEventsByBillingEventPaymentIds(List<String> billingEventPaymentIds) Deprecated. -
readBillingEventDTOsByBillingEventPaymentIds
-
findAllBillingDetailsByEventPaymentId
@Deprecated(since="1.0.0") @Nullable default R findAllBillingDetailsByEventPaymentId(String billingEventPaymentId) Deprecated. -
readBillingEventDTOByBillingEventPaymentId
-
abortActiveBySubscriptionRef(String, ContextInfo)instead