Sha256: 33899a9696a27c8cdf3831bf2fa79adf96b0fd3bf6b3b6f6fdc726a65aca2df8

Contents?: true

Size: 980 Bytes

Versions: 6

Compression:

Stored size: 980 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module Capital
    class FinancingTransactionService < StripeService
      # Returns a list of financing transactions. The transactions are returned in sorted order,
      # with the most recent transactions appearing first.
      def list(params = {}, opts = {})
        request(
          method: :get,
          path: "/v1/capital/financing_transactions",
          params: params,
          opts: opts,
          base_address: :api
        )
      end

      # Retrieves a financing transaction for a financing offer.
      def retrieve(financing_transaction, params = {}, opts = {})
        request(
          method: :get,
          path: format("/v1/capital/financing_transactions/%<financing_transaction>s", { financing_transaction: CGI.escape(financing_transaction) }),
          params: params,
          opts: opts,
          base_address: :api
        )
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
stripe-13.3.0.pre.beta.1 lib/stripe/services/capital/financing_transaction_service.rb
stripe-13.2.0.pre.beta.3 lib/stripe/services/capital/financing_transaction_service.rb
stripe-13.2.0.pre.beta.2 lib/stripe/services/capital/financing_transaction_service.rb
stripe-13.2.0.pre.beta.1 lib/stripe/services/capital/financing_transaction_service.rb
stripe-13.1.0.pre.beta.3 lib/stripe/services/capital/financing_transaction_service.rb
stripe-13.1.0.pre.beta.2 lib/stripe/services/capital/financing_transaction_service.rb