Sha256: 92ff964aa2afd100b354a84451e1cd8692ab55b1e88663b44b4a44fef41ac7dc

Contents?: true

Size: 645 Bytes

Versions: 4

Compression:

Stored size: 645 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  class SubscriptionItem < APIResource
    extend Stripe::APIOperations::Create
    include Stripe::APIOperations::Delete
    extend Stripe::APIOperations::List
    include Stripe::APIOperations::Save
    extend Stripe::APIOperations::NestedResource

    OBJECT_NAME = "subscription_item"

    nested_resource_class_methods :usage_record, operations: %i[create]
    nested_resource_class_methods :usage_record_summary,
                                  operations: %i[list],
                                  resource_plural: "usage_record_summaries"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stripe-7.1.0 lib/stripe/resources/subscription_item.rb
stripe-7.1.0.pre.beta.2 lib/stripe/resources/subscription_item.rb
stripe-7.1.0.pre.beta.1 lib/stripe/resources/subscription_item.rb
stripe-7.0.0 lib/stripe/resources/subscription_item.rb