Stripe.SubscriptionItem.UsageRecordSummary (stripity_stripe v2.17.3) View Source
Defines the Usage Record Summary Struct returned by the /subscription_items/:id/usage_record_summaries endpoint.
Stripe API reference: https://stripe.com/docs/api/usage_records
Link to this section Summary
Link to this section Types
Specs
t() :: %Stripe.SubscriptionItem.UsageRecordSummary{ id: Stripe.id(), invoice: Stripe.id(), livemode: boolean(), object: String.t(), period: %{end: Stripe.timestamp(), start: Stripe.timestamp()}, subscription_item: Stripe.id() | Stripe.SubscriptionItem.t(), total_usage: integer() }