Browse: Home / Classes /



Description #

Source #

File: includes/lib/stripe-php/lib/Service/SubscriptionItemService.php

Methods #

  • all — Returns a list of your subscription items for a given subscription.
  • allUsageRecordSummaries — 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).
  • create — Adds a new item to an existing subscription. No existing items will be changed or replaced.
  • createUsageRecord — Creates a usage record for a specified subscription item and date, and fills it with a quantity.
  • delete — Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the subscription.
  • retrieve — Retrieves the subscription item with the given ID.
  • update — Updates the plan or quantity of an item on a current subscription.