Class SubscriptionItemUsageRecordSummaryService

java.lang.Object
com.stripe.net.ApiService
com.stripe.service.SubscriptionItemUsageRecordSummaryService

public final class SubscriptionItemUsageRecordSummaryService extends ApiService
  • Constructor Details

    • SubscriptionItemUsageRecordSummaryService

      public SubscriptionItemUsageRecordSummaryService(StripeResponseGetter responseGetter)
  • Method Details

    • list

      For the specified subscription item, returns a list of summary objects. Each object in the list provides usage information that’s been summarized from multiple usage records and over a subscription billing period (e.g., 15 usage records in the month of September).

      The list is sorted in reverse-chronological order (newest first). The first list item represents the most current usage period that hasn’t ended yet. Since new usage records can still be added, the returned summary information for the subscription item’s ID should be seen as unstable until the subscription billing period ends.

      Throws:
      StripeException
    • list

      public StripeCollection<UsageRecordSummary> list(String subscriptionItem, RequestOptions options) throws StripeException
      For the specified subscription item, returns a list of summary objects. Each object in the list provides usage information that’s been summarized from multiple usage records and over a subscription billing period (e.g., 15 usage records in the month of September).

      The list is sorted in reverse-chronological order (newest first). The first list item represents the most current usage period that hasn’t ended yet. Since new usage records can still be added, the returned summary information for the subscription item’s ID should be seen as unstable until the subscription billing period ends.

      Throws:
      StripeException
    • list

      public StripeCollection<UsageRecordSummary> list(String subscriptionItem) throws StripeException
      For the specified subscription item, returns a list of summary objects. Each object in the list provides usage information that’s been summarized from multiple usage records and over a subscription billing period (e.g., 15 usage records in the month of September).

      The list is sorted in reverse-chronological order (newest first). The first list item represents the most current usage period that hasn’t ended yet. Since new usage records can still be added, the returned summary information for the subscription item’s ID should be seen as unstable until the subscription billing period ends.

      Throws:
      StripeException
    • list

      For the specified subscription item, returns a list of summary objects. Each object in the list provides usage information that’s been summarized from multiple usage records and over a subscription billing period (e.g., 15 usage records in the month of September).

      The list is sorted in reverse-chronological order (newest first). The first list item represents the most current usage period that hasn’t ended yet. Since new usage records can still be added, the returned summary information for the subscription item’s ID should be seen as unstable until the subscription billing period ends.

      Throws:
      StripeException