Sha256: b868606244fc638bb6d65afedc1728d779abc769e455dcf63234b9761ef4de52

Contents?: true

Size: 529 Bytes

Versions: 35

Compression:

Stored size: 529 Bytes

Contents

# 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

    OBJECT_NAME = "subscription_item".freeze

    def usage_record_summaries(params = {}, opts = {})
      resp, opts = request(:get, resource_url + "/usage_record_summaries", params, Util.normalize_opts(opts))
      Util.convert_to_stripe_object(resp.data, opts)
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
stripe-4.16.0 lib/stripe/subscription_item.rb
stripe-4.15.0 lib/stripe/subscription_item.rb
stripe-4.14.0 lib/stripe/subscription_item.rb
stripe-4.13.0 lib/stripe/subscription_item.rb
stripe-4.12.0 lib/stripe/subscription_item.rb
stripe-4.11.0 lib/stripe/subscription_item.rb
stripe-4.10.0 lib/stripe/subscription_item.rb
stripe-4.9.1 lib/stripe/subscription_item.rb
stripe-4.9.0 lib/stripe/subscription_item.rb
stripe-4.8.1 lib/stripe/subscription_item.rb
stripe-4.8.0 lib/stripe/subscription_item.rb
stripe-4.7.1 lib/stripe/subscription_item.rb
stripe-4.7.0 lib/stripe/subscription_item.rb
stripe-4.6.0 lib/stripe/subscription_item.rb
stripe-4.5.0 lib/stripe/subscription_item.rb
stripe-4.4.1 lib/stripe/subscription_item.rb
stripe-4.4.0 lib/stripe/subscription_item.rb
stripe-4.3.0 lib/stripe/subscription_item.rb
stripe-4.2.0 lib/stripe/subscription_item.rb
stripe-4.1.0 lib/stripe/subscription_item.rb