mirror of
				https://github.com/stripe/stripe-ruby.git
				synced 2025-11-04 00:01:47 -05:00 
			
		
		
		
	* barebones request params * fixes * manual changes * Generated changes * Add search params * manual change - update to cast params * add more test * add newliens (generated)
		
			
				
	
	
		
			29 lines
		
	
	
		
			728 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			728 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
# File generated from our OpenAPI spec
 | 
						|
# frozen_string_literal: true
 | 
						|
 | 
						|
module Stripe
 | 
						|
  module Capital
 | 
						|
    class FinancingSummaryService < StripeService
 | 
						|
      class RetrieveParams < Stripe::RequestParams
 | 
						|
        # Specifies which fields in the response should be expanded.
 | 
						|
        attr_accessor :expand
 | 
						|
 | 
						|
        def initialize(expand: nil)
 | 
						|
          @expand = expand
 | 
						|
        end
 | 
						|
      end
 | 
						|
 | 
						|
      # Retrieve the financing state for the account that was authenticated in the request.
 | 
						|
      def retrieve(params = {}, opts = {})
 | 
						|
        request(
 | 
						|
          method: :get,
 | 
						|
          path: "/v1/capital/financing_summary",
 | 
						|
          params: params,
 | 
						|
          opts: opts,
 | 
						|
          base_address: :api
 | 
						|
        )
 | 
						|
      end
 | 
						|
    end
 | 
						|
  end
 | 
						|
end
 |