Sha256: 8f980b3105e6877344e277a71c0979c0477d39c4dbf83760ca898da959881ae3

Contents?: true

Size: 1.17 KB

Versions: 49

Compression:

Stored size: 1.17 KB

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module Reporting
    # The Report Type resource corresponds to a particular type of report, such as
    # the "Activity summary" or "Itemized payouts" reports. These objects are
    # identified by an ID belonging to a set of enumerated values. See
    # [API Access to Reports documentation](https://stripe.com/docs/reporting/statements/api)
    # for those Report Type IDs, along with required and optional parameters.
    #
    # Note that certain report types can only be run based on your live-mode data (not test-mode
    # data), and will error when queried without a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).
    class ReportType < APIResource
      extend Stripe::APIOperations::List

      OBJECT_NAME = "reporting.report_type"
      def self.object_name
        "reporting.report_type"
      end

      # Returns a full list of Report Types.
      def self.list(filters = {}, opts = {})
        request_stripe_object(
          method: :get,
          path: "/v1/reporting/report_types",
          params: filters,
          opts: opts
        )
      end
    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/reporting/report_type.rb
stripe-13.2.0 lib/stripe/resources/reporting/report_type.rb
stripe-13.1.2 lib/stripe/resources/reporting/report_type.rb
stripe-13.2.0.pre.beta.3 lib/stripe/resources/reporting/report_type.rb
stripe-13.2.0.pre.beta.2 lib/stripe/resources/reporting/report_type.rb
stripe-13.1.1 lib/stripe/resources/reporting/report_type.rb
stripe-13.2.0.pre.beta.1 lib/stripe/resources/reporting/report_type.rb
stripe-13.1.0 lib/stripe/resources/reporting/report_type.rb
stripe-13.0.2 lib/stripe/resources/reporting/report_type.rb
stripe-13.1.0.pre.beta.3 lib/stripe/resources/reporting/report_type.rb
stripe-13.0.1 lib/stripe/resources/reporting/report_type.rb
stripe-13.1.0.pre.beta.2 lib/stripe/resources/reporting/report_type.rb
stripe-13.0.0 lib/stripe/resources/reporting/report_type.rb
stripe-12.7.0.pre.beta.2 lib/stripe/resources/reporting/report_type.rb
stripe-12.7.0.pre.beta.1 lib/stripe/resources/reporting/report_type.rb
stripe-12.6.0 lib/stripe/resources/reporting/report_type.rb
stripe-12.6.0.pre.beta.1 lib/stripe/resources/reporting/report_type.rb
stripe-12.5.0 lib/stripe/resources/reporting/report_type.rb
stripe-12.5.0.pre.beta.2 lib/stripe/resources/reporting/report_type.rb
stripe-12.5.0.pre.beta.1 lib/stripe/resources/reporting/report_type.rb