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.0.3 lib/stripe/subscription_item.rb
stripe-4.0.2 lib/stripe/subscription_item.rb
stripe-4.0.1 lib/stripe/subscription_item.rb
stripe-4.0.0 lib/stripe/subscription_item.rb
stripe-3.31.1 lib/stripe/subscription_item.rb
stripe-3.31.0 lib/stripe/subscription_item.rb
stripe-3.30.0 lib/stripe/subscription_item.rb
stripe-3.29.0 lib/stripe/subscription_item.rb
stripe-3.28.0 lib/stripe/subscription_item.rb
stripe-3.27.0 lib/stripe/subscription_item.rb
stripe-3.26.1 lib/stripe/subscription_item.rb
stripe-3.26.0 lib/stripe/subscription_item.rb
stripe-3.25.0 lib/stripe/subscription_item.rb
stripe-3.24.0 lib/stripe/subscription_item.rb
stripe-3.23.0 lib/stripe/subscription_item.rb