Interface RefundEventService<P extends RefundEvent,Q extends RefundEventWithDetails>
- All Superinterfaces:
com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
- All Known Implementing Classes:
DefaultRefundEventService
public interface RefundEventService<P extends RefundEvent,Q extends RefundEventWithDetails>
extends com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
- Author:
- venkat
-
Method Summary
Modifier and TypeMethodDescriptionabortRefundEvent(String refundEventId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Pass the refundEventId and CurrencyCode to abort theJpaRefundEvententitydefault QabortRefundEvent(String refundEventId, String currencyCode) Deprecated.default QabortRefundEvent(String refundEventId, String currencyCode, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated.useabortRefundEvent(String, ContextInfo)insteadcreate(Q refundEvenWithDetailsRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Pass theRefundEventWithDetailsto create the @link RefundEvent} andRefundEventDetailentitiesdefault QcreateRefundEvent(Q refundEvenWithDetailsRequest) Deprecated.Usecreate(RefundEventWithDetails, ContextInfo)insteadfindAllByBillingEventIds(Set<String> billingEventIds) Deprecated.UsereadByBillingEventIds(Set, ContextInfo)insteadfindAllByBillingEventIds(Set<String> billingEventIds, boolean deepFind) Deprecated.findAllRefundsByBillingEventId(String billingEventId) Deprecated.Deprecated.UsereadById(String, ContextInfo)insteaddefault QDeprecated.readByBillingEventIds(Set<String> billingEventIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds Refund Events with Billing Event ID in the list of IDs.Pass theRefundEventId to find theJpaRefundEvententityreadWithDetailById(String id, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Pass theRefundEventId to find theJpaRefundEvententityreadWithDetailsByBillingEventId(String billingEventId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Pass the billing event ID find all theJpaRefundEvententitiesreadWithDetailsByBillingEventIds(Set<String> billingEventIds, boolean deepFind, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds Refund Events Details with Billing Event ID in the list of IDs.update(Q refundEventDetailsPatchRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) default QupdateRefundEvent(Q refundEventDetailsPatchRequest) Deprecated.Useupdate(RefundEventWithDetails, ContextInfo)insteaddefault PupdateRefundEventStatusFromRefundEventDetails(String refundEventId) Deprecated.updateRefundEventStatusFromRefundEventDetails(String refundEventId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Methods 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.UsereadById(String, ContextInfo)insteadPass theRefundEventId to find theJpaRefundEvententity -
readById
Optional<Q> readById(String id, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Pass theRefundEventId to find theJpaRefundEvententity -
findAllRefundsByBillingEventId
Deprecated.Pass the billing event ID find all theJpaRefundEvententities -
readWithDetailsByBillingEventId
List<Q> readWithDetailsByBillingEventId(String billingEventId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Pass the billing event ID find all theJpaRefundEvententities -
findRefundEventByRefundId
Deprecated.Pass theRefundEventId to find theJpaRefundEvententity -
readWithDetailById
Q readWithDetailById(String id, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Pass theRefundEventId to find theJpaRefundEvententity -
createRefundEvent
@Deprecated(since="1.0.0") default Q createRefundEvent(Q refundEvenWithDetailsRequest) throws InvalidRefundException Deprecated.Usecreate(RefundEventWithDetails, ContextInfo)insteadPass theRefundEventWithDetailsto create the @link RefundEvent} andRefundEventDetailentities- Throws:
InvalidRefundException
-
create
Q create(Q refundEvenWithDetailsRequest, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) throws InvalidRefundException Pass theRefundEventWithDetailsto create the @link RefundEvent} andRefundEventDetailentities- Throws:
InvalidRefundException
-
updateRefundEvent
Deprecated.Useupdate(RefundEventWithDetails, ContextInfo)instead -
update
-
abortRefundEvent
Deprecated.UseabortRefundEvent(String, String, ContextInfo)insteadPass the refundEventId and CurrencyCode to abort theJpaRefundEvententity -
abortRefundEvent
@Deprecated(since="1.0.0") default Q abortRefundEvent(String refundEventId, String currencyCode, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated.useabortRefundEvent(String, ContextInfo)insteadPass the refundEventId and CurrencyCode to abort theJpaRefundEvententity -
abortRefundEvent
Q abortRefundEvent(String refundEventId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Pass the refundEventId and CurrencyCode to abort theJpaRefundEvententity -
updateRefundEventStatusFromRefundEventDetails
@Deprecated(since="1.0.0") default P updateRefundEventStatusFromRefundEventDetails(String refundEventId) Deprecated. -
updateRefundEventStatusFromRefundEventDetails
-
findAllByBillingEventIds
Deprecated.UsereadByBillingEventIds(Set, ContextInfo)insteadFinds Refund Events with Billing Event ID in the list of IDs. -
readByBillingEventIds
List<P> readByBillingEventIds(Set<String> billingEventIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds Refund Events with Billing Event ID in the list of IDs. -
findAllByBillingEventIds
@Deprecated(since="1.0.0") default List<Q> findAllByBillingEventIds(Set<String> billingEventIds, boolean deepFind) Deprecated.Finds Refund Events Details with Billing Event ID in the list of IDs. -
readWithDetailsByBillingEventIds
List<Q> readWithDetailsByBillingEventIds(Set<String> billingEventIds, boolean deepFind, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds Refund Events Details with Billing Event ID in the list of IDs.
-
abortRefundEvent(String, String, ContextInfo)instead