All Known Implementing Classes:
DefaultBillService

public interface BillService
This service connects to Sap Subscription Billing system and fetches billing related data
  • Method Details

    • getBillsPageByCustomerId

      PaginationResult<List<Bill>> getBillsPageByCustomerId(String customerId, String fromDate, String toDate, Integer pageNumber, Integer pageSize, String sort) throws de.hybris.platform.subscriptionservices.exception.SubscriptionServiceException
      fetch bills using customerId and dates
      Parameters:
      customerId - SAP Subscription billing customer id
      fromDate - the date from which bills should be displayed
      toDate - the date till which bills should be displayed
      pageNumber - pageNumber
      pageSize - pageSize
      sort - sort
      Returns:
      single page of List of Bill
      Throws:
      de.hybris.platform.subscriptionservices.exception.SubscriptionServiceException - if error occurs due to input data
    • getBillsPageBySubscriptionId

      PaginationResult<List<Bill>> getBillsPageBySubscriptionId(String subscriptionsId, String fromDate, String toDate, Integer pageNumber, Integer pageSize, String sort) throws de.hybris.platform.subscriptionservices.exception.SubscriptionServiceException
      fetch bills using subscriptionId and dates
      Parameters:
      subscriptionsId - subscriptionId
      fromDate - the date from which bills should be displayed
      toDate - the date till which bills should be displayed
      pageNumber - pageNumber
      pageSize - pageSize
      sort - sort
      Returns:
      single page of List of Bill
      Throws:
      de.hybris.platform.subscriptionservices.exception.SubscriptionServiceException - if error occurs due to input data
    • getBill

      Bill getBill(String billId) throws de.hybris.platform.subscriptionservices.exception.SubscriptionServiceException
      fetch bill using billId
      Parameters:
      billId - subscription billId
      Returns:
      Bill bill for the given id
      Throws:
      de.hybris.platform.subscriptionservices.exception.SubscriptionServiceException - if error occurs due to input data