mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-06 00:02:18 -04:00
* Update generated code for v940 * Update generated code for v945 * Update generated code for v947 * Update generated code for v961 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
18 lines
597 B
Ruby
18 lines
597 B
Ruby
# File generated from our OpenAPI spec
|
|
# frozen_string_literal: true
|
|
|
|
module Stripe
|
|
# Usage records allow you to report customer usage and metrics to Stripe for
|
|
# metered billing of subscription prices.
|
|
#
|
|
# Related guide: [Metered billing](https://stripe.com/docs/billing/subscriptions/metered-billing)
|
|
#
|
|
# This is our legacy usage-based billing API. See the [updated usage-based billing docs](https://docs.stripe.com/billing/subscriptions/usage-based).
|
|
class UsageRecord < APIResource
|
|
OBJECT_NAME = "usage_record"
|
|
def self.object_name
|
|
"usage_record"
|
|
end
|
|
end
|
|
end
|