lib/plaid/api/plaid_api.rb
def investments_transactions_get_with_http_info(investments_transactions_get_request, opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug 'Calling API: PlaidApi.investments_transactions_get ...'
      end
      # verify the required parameter 'investments_transactions_get_request' is set
      if @api_client.config.client_side_validation && investments_transactions_get_request.nil?
        fail ArgumentError, "Missing the required parameter 'investments_transactions_get_request' when calling PlaidApi.investments_transactions_get"
      end
      # resource path
      local_var_path = '/investments/transactions/get'

      # query parameters
      query_params = opts[:query_params] || {}

      # header parameters
      header_params = opts[:header_params] || {}
      # HTTP header 'Accept' (if needed)
      header_params['Accept'] = @api_client.select_header_accept(['application/json'])
      # HTTP header 'Content-Type'
      header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

      # form parameters
      form_params = opts[:form_params] || {}

      # http body (model)
      post_body = opts[:debug_body] || @api_client.object_to_http_body(investments_transactions_get_request)

      # return_type
      return_type = opts[:debug_return_type] || 'InvestmentsTransactionsGetResponse'

      # auth_names
      auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret']

      new_options = opts.merge(
        :operation => :"PlaidApi.investments_transactions_get",
        :header_params => header_params,
        :query_params => query_params,
        :form_params => form_params,
        :body => post_body,
        :auth_names => auth_names,
        :return_type => return_type
      )

      data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: PlaidApi#investments_transactions_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
# Get investment transactions
# The &#x60;/investments/transactions/get&#x60; endpoint allows developers to retrieve user-authorized transaction data for investment accounts.  Transactions are returned in reverse-chronological order, and the sequence of transaction ordering is stable and will not shift.  Due to the potentially large number of investment transactions associated with an Item, results are paginated. Manipulate the count and offset parameters in conjunction with the &#x60;total_investment_transactions&#x60; response body field to fetch all available investment transactions.
# @param investments_transactions_get_request [InvestmentsTransactionsGetRequest] 
# @param [Hash] opts the optional parameters
# @return [Array<(InvestmentsTransactionsGetResponse, Integer, Hash)>] InvestmentsTransactionsGetResponse data, response status code and response headers
Get investment transactions
The `/investments/transactions/get` endpoint allows developers to retrieve user-authorized transaction data for investment accounts.  Transactions are returned in reverse-chronological order, and the sequence of transaction ordering is stable and will not shift.  Due to the potentially large number of investment transactions associated with an Item, results are paginated. Manipulate the count and offset parameters in conjunction with the `total_investment_transactions` response body field to fetch all available investment transactions.
Get investment transactions The ` / investments / transactions / get ` endpoint allows developers to retrieve user - authorized transaction data for investment accounts . Transactions are returned in reverse - chronological order and the sequence of transaction ordering is stable and will not shift . Due to the potentially large number of investment transactions associated with an Item results are paginated . Manipulate the count and offset parameters in conjunction with the ` total_investment_transactions ` response body field to fetch all available investment transactions .
def investments_transactions_get_with_http_info(investments_transactions_get_request, opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug 'Calling API: PlaidApi.investments_transactions_get ...'
      end
      if @api_client.config.client_side_validation && investments_transactions_get_request.nil?
        fail ArgumentError, "Missing the required parameter 'investments_transactions_get_request' when calling PlaidApi.investments_transactions_get"
      end
      local_var_path = '/investments/transactions/get'
      query_params = opts[:query_params] || {}
      header_params = opts[:header_params] || {}
      header_params['Accept'] = @api_client.select_header_accept(['application/json'])
      header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
      form_params = opts[:form_params] || {}
      post_body = opts[:debug_body] || @api_client.object_to_http_body(investments_transactions_get_request)
      return_type = opts[:debug_return_type] || 'InvestmentsTransactionsGetResponse'
      auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret']
      new_options = opts.merge(
        :operation => :"PlaidApi.investments_transactions_get",
        :header_params => header_params,
        :query_params => query_params,
        :form_params => form_params,
        :body => post_body,
        :auth_names => auth_names,
        :return_type => return_type
      )
      data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: PlaidApi#investments_transactions_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
def investments_transactions_get_with_http_info ( investments_transactions_get_request , opts = { } ) if @api_client . config . debugging @api_client . config . logger . debug 'Calling API: PlaidApi.investments_transactions_get ...' end if @api_client . config . client_side_validation && investments_transactions_get_request . nil? fail ArgumentError , "Missing the required parameter 'investments_transactions_get_request' when calling PlaidApi.investments_transactions_get" end local_var_path = '/investments/transactions/get' query_params = opts [ :query_params ] || { } header_params = opts [ :header_params ] || { } header_params [ 'Accept' ] = @api_client . select_header_accept ( [ 'application/json' ] ) header_params [ 'Content-Type' ] = @api_client . select_header_content_type ( [ 'application/json' ] ) form_params = opts [ :form_params ] || { } post_body = opts [ :debug_body ] || @api_client . object_to_http_body ( investments_transactions_get_request ) return_type = opts [ :debug_return_type ] || 'InvestmentsTransactionsGetResponse' auth_names = opts [ :debug_auth_names ] || [ 'clientId' , 'plaidVersion' , 'secret' ] new_options = opts . merge ( :operation => :" PlaidApi.investments_transactions_get " , :header_params => header_params , :query_params => query_params , :form_params => form_params , :body => post_body , :auth_names => auth_names , :return_type => return_type ) data , status_code , headers = @api_client . call_api ( :POST , local_var_path , new_options ) if @api_client . config . debugging @api_client . config . logger . debug "API called: PlaidApi#investments_transactions_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data , status_code , headers end
Get investment transactions
The &#x60;/investments/transactions/get&#x60; endpoint allows developers to retrieve user-authorized transaction data for investment accounts.
Get investment transactions The &#x60 ; / investments / transactions / get&#x60 ; endpoint allows developers to retrieve user - authorized transaction data for investment accounts .
# verify the required parameter 'investments_transactions_get_request' is set # resource path # query parameters # header parameters # HTTP header 'Accept' (if needed) # HTTP header 'Content-Type' # form parameters # http body (model) # return_type # auth_names
InvestmentsTransactionsGetResponse data, response status code and response headers
InvestmentsTransactionsGetResponse data response status code and response headers
Array<(InvestmentsTransactionsGetResponse, Integer, Hash)>
investments_transactions_get_request
opts
None
opts the optional parameters
opts the optional parameters