Sha256: 90a31306b47d2d6e06bc20b5ab9ce339608f6e7667ac641a62b0d71b152a8080

Contents?: true

Size: 718 Bytes

Versions: 49

Compression:

Stored size: 718 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  class ApplicationFee < APIResource
    extend Stripe::APIOperations::List
    extend Stripe::APIOperations::NestedResource

    OBJECT_NAME = "application_fee"
    def self.object_name
      "application_fee"
    end

    nested_resource_class_methods :refund, operations: %i[create retrieve update list]

    # Returns a list of application fees you've previously collected. The application fees are returned in sorted order, with the most recent fees appearing first.
    def self.list(filters = {}, opts = {})
      request_stripe_object(method: :get, path: "/v1/application_fees", params: filters, opts: opts)
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
stripe-13.3.0.pre.beta.1 lib/stripe/resources/application_fee.rb
stripe-13.2.0 lib/stripe/resources/application_fee.rb
stripe-13.1.2 lib/stripe/resources/application_fee.rb
stripe-13.2.0.pre.beta.3 lib/stripe/resources/application_fee.rb
stripe-13.2.0.pre.beta.2 lib/stripe/resources/application_fee.rb
stripe-13.1.1 lib/stripe/resources/application_fee.rb
stripe-13.2.0.pre.beta.1 lib/stripe/resources/application_fee.rb
stripe-13.1.0 lib/stripe/resources/application_fee.rb
stripe-13.0.2 lib/stripe/resources/application_fee.rb
stripe-13.1.0.pre.beta.3 lib/stripe/resources/application_fee.rb
stripe-13.0.1 lib/stripe/resources/application_fee.rb
stripe-13.1.0.pre.beta.2 lib/stripe/resources/application_fee.rb
stripe-13.0.0 lib/stripe/resources/application_fee.rb
stripe-12.7.0.pre.beta.2 lib/stripe/resources/application_fee.rb
stripe-12.7.0.pre.beta.1 lib/stripe/resources/application_fee.rb
stripe-12.6.0 lib/stripe/resources/application_fee.rb
stripe-12.6.0.pre.beta.1 lib/stripe/resources/application_fee.rb
stripe-12.5.0 lib/stripe/resources/application_fee.rb
stripe-12.5.0.pre.beta.2 lib/stripe/resources/application_fee.rb
stripe-12.5.0.pre.beta.1 lib/stripe/resources/application_fee.rb