Interface SubscriptionOrderHistoryService<O extends com.broadleafcommerce.order.client.domain.Order>

All Known Implementing Classes:
DefaultSubscriptionOrderHistoryService

public interface SubscriptionOrderHistoryService<O extends com.broadleafcommerce.order.client.domain.Order>
Service that is used to read the Orders for the specified subscription ID.
Author:
Dima Myroniuk (dmyroniuk)
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.data.domain.Page<O>
    readSubscriptionOrderHistory(String subscriptionId, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Reads the Orders related to the specified subscription ID.
  • Method Details

    • readSubscriptionOrderHistory

      org.springframework.data.domain.Page<O> readSubscriptionOrderHistory(String subscriptionId, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Reads the Orders related to the specified subscription ID.
      Parameters:
      subscriptionId - the subscription ID to read the orders
      page - information about which page of results to return from the database
      contextInfo - additional sandbox and multitenant info
      Returns:
      a page of Orders related to the specified subscription ID