lib/velopayments/api/payment_audit_service_deprecated_api.rb
# V3 Export Transactions
# Deprecated (use /v4/paymentaudit/transactions instead)
# @param [Hash] opts the optional parameters
# @option opts [String] :payor_id The Payor ID for whom you wish to run the report. For a Payor requesting the report, this could be their exact Payor, or it could be a child/descendant Payor. 
# @option opts [Date] :start_date Start date, inclusive. Format is YYYY-MM-DD
# @option opts [Date] :end_date End date, inclusive. Format is YYYY-MM-DD
# @return [Array<(PayorAmlTransactionV3, Integer, Hash)>] PayorAmlTransactionV3 data, response status code and response headers
V3 Export Transactions
Deprecated (use /v4/paymentaudit/transactions instead)
V3 Export Transactions Deprecated ( use / v4 / paymentaudit / transactions instead )
def export_transactions_csvv3_with_http_info(opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug 'Calling API: PaymentAuditServiceDeprecatedApi.export_transactions_csvv3 ...'
      end
      local_var_path = '/v3/paymentaudit/transactions'
      query_params = opts[:query_params] || {}
      query_params[:'payorId'] = opts[:'payor_id'] if !opts[:'payor_id'].nil?
      query_params[:'startDate'] = opts[:'start_date'] if !opts[:'start_date'].nil?
      query_params[:'endDate'] = opts[:'end_date'] if !opts[:'end_date'].nil?
      header_params = opts[:header_params] || {}
      header_params['Accept'] = @api_client.select_header_accept(['application/csv', 'application/json'])
      form_params = opts[:form_params] || {}
      post_body = opts[:debug_body]
      return_type = opts[:debug_return_type] || 'PayorAmlTransactionV3'
      auth_names = opts[:debug_auth_names] || ['OAuth2']
      new_options = opts.merge(
        :operation => :"PaymentAuditServiceDeprecatedApi.export_transactions_csvv3",
        :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(:GET, local_var_path, new_options)
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: PaymentAuditServiceDeprecatedApi#export_transactions_csvv3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
def export_transactions_csvv3_with_http_info ( opts = { } ) if @api_client . config . debugging @api_client . config . logger . debug 'Calling API: PaymentAuditServiceDeprecatedApi.export_transactions_csvv3 ...' end local_var_path = '/v3/paymentaudit/transactions' query_params = opts [ :query_params ] || { } query_params [ :' payorId ' ] = opts [ :' payor_id ' ] if ! opts [ :' payor_id ' ] . nil? query_params [ :' startDate ' ] = opts [ :' start_date ' ] if ! opts [ :' start_date ' ] . nil? query_params [ :' endDate ' ] = opts [ :' end_date ' ] if ! opts [ :' end_date ' ] . nil? header_params = opts [ :header_params ] || { } header_params [ 'Accept' ] = @api_client . select_header_accept ( [ 'application/csv' , 'application/json' ] ) form_params = opts [ :form_params ] || { } post_body = opts [ :debug_body ] return_type = opts [ :debug_return_type ] || 'PayorAmlTransactionV3' auth_names = opts [ :debug_auth_names ] || [ 'OAuth2' ] new_options = opts . merge ( :operation => :" PaymentAuditServiceDeprecatedApi.export_transactions_csvv3 " , :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 ( :GET , local_var_path , new_options ) if @api_client . config . debugging @api_client . config . logger . debug "API called: PaymentAuditServiceDeprecatedApi#export_transactions_csvv3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data , status_code , headers end
V3 Export Transactions
Deprecated (use /v4/paymentaudit/transactions instead)
V3 Export Transactions Deprecated ( use / v4 / paymentaudit / transactions instead )
# resource path # query parameters # header parameters # HTTP header 'Accept' (if needed) # form parameters # http body (model) # return_type # auth_names
PayorAmlTransactionV3 data, response status code and response headers
PayorAmlTransactionV3 data response status code and response headers
Array<(PayorAmlTransactionV3, Integer, Hash)>
opts
:end_date End date, inclusive. Format is YYYY-MM-DD
: end_date End date inclusive . Format is YYYY - MM - DD
<not_specific>
opts the optional parameters
opts the optional parameters