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 TypeMethodDescriptionorg.springframework.data.domain.Page<O>readSubscriptionOrderHistory(String subscriptionId, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads theOrdersrelated 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 theOrdersrelated to the specified subscription ID.- Parameters:
subscriptionId- the subscription ID to read the orderspage- information about which page of results to return from the databasecontextInfo- additional sandbox and multitenant info- Returns:
- a page of
Ordersrelated to the specified subscription ID
-