Interface BillingEventAdjustmentService<P extends BillingEventAdjustment>

All Superinterfaces:
com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
All Known Implementing Classes:
DefaultBillingEventAdjustmentService

public interface BillingEventAdjustmentService<P extends BillingEventAdjustment> extends com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>
  • Method Summary

    Modifier and Type
    Method
    Description
    createBillingEventAdjustment(P billingEventAdjustment)
    Deprecated.
    Use CrudEntityService.create(Object, ContextInfo) instead
    default List<P>
    default Optional<P>
    Deprecated.
    Use CrudEntityService.readByContextId(String, ContextInfo) instead
    readByBillingEventId(String billingEventId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Finds all billing event adjustment by the associated event id
    default P
    updateBillingEventAdjustment(P billingEventAdjustmentOriginal, P billingEventAdjustmentPatch)
    Deprecated.
    Use CrudEntityService.update(String, Object, ContextInfo) instead

    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(since="1.0.0") default Optional<P> findById(String id)
      Deprecated.
      Use CrudEntityService.readByContextId(String, ContextInfo) instead
      Finds the billing event adjustment by with the provided ID.
    • updateBillingEventAdjustment

      @Deprecated(since="1.0.0") default P updateBillingEventAdjustment(P billingEventAdjustmentOriginal, P billingEventAdjustmentPatch)
      Deprecated.
      Use CrudEntityService.update(String, Object, ContextInfo) instead
      Update the existing BillingEventAdjustment
    • findAllByBillingEventId

      @Deprecated(since="1.0.0") default List<P> findAllByBillingEventId(String billingEventId)
      Finds all billing event adjustment by the associated event id
    • readByBillingEventId

      List<P> readByBillingEventId(String billingEventId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Finds all billing event adjustment by the associated event id
    • createBillingEventAdjustment

      @Deprecated(since="1.0.0") default BillingEventAdjustment createBillingEventAdjustment(P billingEventAdjustment)
      Deprecated.
      Use CrudEntityService.create(Object, ContextInfo) instead