class IntegrationApi::ACHApi

Attributes

api_client[RW]

Public Class Methods

new(api_client = ApiClient.default) click to toggle source
# File lib/integration_api/api/ach_api.rb, line 19
def initialize(api_client = ApiClient.default)
  @api_client = api_client
end

Public Instance Methods

cancel_ach_transfer_using_delete(nucleus_funding_id, opts = {}) click to toggle source

Cancel the ACH transfer @param nucleus_funding_id nucleus_funding_id @param [Hash] opts the optional parameters @return [AchTransferResponseVO]

# File lib/integration_api/api/ach_api.rb, line 26
def cancel_ach_transfer_using_delete(nucleus_funding_id, opts = {})
  data, _status_code, _headers = cancel_ach_transfer_using_delete_with_http_info(nucleus_funding_id, opts)
  data
end
cancel_ach_transfer_using_delete_with_http_info(nucleus_funding_id, opts = {}) click to toggle source

Cancel the ACH transfer @param nucleus_funding_id nucleus_funding_id @param [Hash] opts the optional parameters @return [Array<(AchTransferResponseVO, Fixnum, Hash)>] AchTransferResponseVO data, response status code and response headers

# File lib/integration_api/api/ach_api.rb, line 35
def cancel_ach_transfer_using_delete_with_http_info(nucleus_funding_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: ACHApi.cancel_ach_transfer_using_delete ...'
  end
  # verify the required parameter 'nucleus_funding_id' is set
  if @api_client.config.client_side_validation && nucleus_funding_id.nil?
    fail ArgumentError, "Missing the required parameter 'nucleus_funding_id' when calling ACHApi.cancel_ach_transfer_using_delete"
  end
  # resource path
  local_var_path = '/ach/{nucleus_funding_id}'.sub('{' + 'nucleus_funding_id' + '}', nucleus_funding_id.to_s)

  # query parameters
  query_params = {}

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AchTransferResponseVO')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: ACHApi#cancel_ach_transfer_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
create_ach_bank_link_using_post(ach_bank_link_request_co, opts = {}) click to toggle source

Create bank link @param ach_bank_link_request_co achBankLinkRequestCO @param [Hash] opts the optional parameters @return [AchBankLinkResponseVO]

# File lib/integration_api/api/ach_api.rb, line 76
def create_ach_bank_link_using_post(ach_bank_link_request_co, opts = {})
  data, _status_code, _headers = create_ach_bank_link_using_post_with_http_info(ach_bank_link_request_co, opts)
  data
end
create_ach_bank_link_using_post_with_http_info(ach_bank_link_request_co, opts = {}) click to toggle source

Create bank link @param ach_bank_link_request_co achBankLinkRequestCO @param [Hash] opts the optional parameters @return [Array<(AchBankLinkResponseVO, Fixnum, Hash)>] AchBankLinkResponseVO data, response status code and response headers

# File lib/integration_api/api/ach_api.rb, line 85
def create_ach_bank_link_using_post_with_http_info(ach_bank_link_request_co, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: ACHApi.create_ach_bank_link_using_post ...'
  end
  # verify the required parameter 'ach_bank_link_request_co' is set
  if @api_client.config.client_side_validation && ach_bank_link_request_co.nil?
    fail ArgumentError, "Missing the required parameter 'ach_bank_link_request_co' when calling ACHApi.create_ach_bank_link_using_post"
  end
  # resource path
  local_var_path = '/ach/bank_link'

  # query parameters
  query_params = {}

  # header parameters
  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 = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(ach_bank_link_request_co)
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AchBankLinkResponseVO')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: ACHApi#create_ach_bank_link_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
create_ach_beneficial_owner_using_post(beneficial_owner_request, opts = {}) click to toggle source

Create a beneficial owner @param beneficial_owner_request beneficialOwnerRequest @param [Hash] opts the optional parameters @return [AchBeneficialOwnerResponseVO]

# File lib/integration_api/api/ach_api.rb, line 128
def create_ach_beneficial_owner_using_post(beneficial_owner_request, opts = {})
  data, _status_code, _headers = create_ach_beneficial_owner_using_post_with_http_info(beneficial_owner_request, opts)
  data
end
create_ach_beneficial_owner_using_post_with_http_info(beneficial_owner_request, opts = {}) click to toggle source

Create a beneficial owner @param beneficial_owner_request beneficialOwnerRequest @param [Hash] opts the optional parameters @return [Array<(AchBeneficialOwnerResponseVO, Fixnum, Hash)>] AchBeneficialOwnerResponseVO data, response status code and response headers

# File lib/integration_api/api/ach_api.rb, line 137
def create_ach_beneficial_owner_using_post_with_http_info(beneficial_owner_request, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: ACHApi.create_ach_beneficial_owner_using_post ...'
  end
  # verify the required parameter 'beneficial_owner_request' is set
  if @api_client.config.client_side_validation && beneficial_owner_request.nil?
    fail ArgumentError, "Missing the required parameter 'beneficial_owner_request' when calling ACHApi.create_ach_beneficial_owner_using_post"
  end
  # resource path
  local_var_path = '/ach/business/beneficial_owner'

  # query parameters
  query_params = {}

  # header parameters
  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 = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(beneficial_owner_request)
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AchBeneficialOwnerResponseVO')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: ACHApi#create_ach_beneficial_owner_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
create_ach_business_using_post(business_request, opts = {}) click to toggle source

Create a business @param business_request businessRequest @param [Hash] opts the optional parameters @return [AchBusinessResponseVO]

# File lib/integration_api/api/ach_api.rb, line 180
def create_ach_business_using_post(business_request, opts = {})
  data, _status_code, _headers = create_ach_business_using_post_with_http_info(business_request, opts)
  data
end
create_ach_business_using_post_with_http_info(business_request, opts = {}) click to toggle source

Create a business @param business_request businessRequest @param [Hash] opts the optional parameters @return [Array<(AchBusinessResponseVO, Fixnum, Hash)>] AchBusinessResponseVO data, response status code and response headers

# File lib/integration_api/api/ach_api.rb, line 189
def create_ach_business_using_post_with_http_info(business_request, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: ACHApi.create_ach_business_using_post ...'
  end
  # verify the required parameter 'business_request' is set
  if @api_client.config.client_side_validation && business_request.nil?
    fail ArgumentError, "Missing the required parameter 'business_request' when calling ACHApi.create_ach_business_using_post"
  end
  # resource path
  local_var_path = '/ach/business'

  # query parameters
  query_params = {}

  # header parameters
  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 = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(business_request)
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AchBusinessResponseVO')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: ACHApi#create_ach_business_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
create_ach_card_link_using_post(card_link_request_co, opts = {}) click to toggle source

Create an ACH card link @param card_link_request_co cardLinkRequestCO @param [Hash] opts the optional parameters @return [AchCardLinkResponseVO]

# File lib/integration_api/api/ach_api.rb, line 232
def create_ach_card_link_using_post(card_link_request_co, opts = {})
  data, _status_code, _headers = create_ach_card_link_using_post_with_http_info(card_link_request_co, opts)
  data
end
create_ach_card_link_using_post_with_http_info(card_link_request_co, opts = {}) click to toggle source

Create an ACH card link @param card_link_request_co cardLinkRequestCO @param [Hash] opts the optional parameters @return [Array<(AchCardLinkResponseVO, Fixnum, Hash)>] AchCardLinkResponseVO data, response status code and response headers

# File lib/integration_api/api/ach_api.rb, line 241
def create_ach_card_link_using_post_with_http_info(card_link_request_co, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: ACHApi.create_ach_card_link_using_post ...'
  end
  # verify the required parameter 'card_link_request_co' is set
  if @api_client.config.client_side_validation && card_link_request_co.nil?
    fail ArgumentError, "Missing the required parameter 'card_link_request_co' when calling ACHApi.create_ach_card_link_using_post"
  end
  # resource path
  local_var_path = '/ach/card_link'

  # query parameters
  query_params = {}

  # header parameters
  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 = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(card_link_request_co)
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AchCardLinkResponseVO')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: ACHApi#create_ach_card_link_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
create_ach_card_reserve_using_post(card_reserve_request_co, opts = {}) click to toggle source

Create an ACH card reserve @param card_reserve_request_co cardReserveRequestCO @param [Hash] opts the optional parameters @return [AchCardReserveResponseVO]

# File lib/integration_api/api/ach_api.rb, line 284
def create_ach_card_reserve_using_post(card_reserve_request_co, opts = {})
  data, _status_code, _headers = create_ach_card_reserve_using_post_with_http_info(card_reserve_request_co, opts)
  data
end
create_ach_card_reserve_using_post_with_http_info(card_reserve_request_co, opts = {}) click to toggle source

Create an ACH card reserve @param card_reserve_request_co cardReserveRequestCO @param [Hash] opts the optional parameters @return [Array<(AchCardReserveResponseVO, Fixnum, Hash)>] AchCardReserveResponseVO data, response status code and response headers

# File lib/integration_api/api/ach_api.rb, line 293
def create_ach_card_reserve_using_post_with_http_info(card_reserve_request_co, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: ACHApi.create_ach_card_reserve_using_post ...'
  end
  # verify the required parameter 'card_reserve_request_co' is set
  if @api_client.config.client_side_validation && card_reserve_request_co.nil?
    fail ArgumentError, "Missing the required parameter 'card_reserve_request_co' when calling ACHApi.create_ach_card_reserve_using_post"
  end
  # resource path
  local_var_path = '/ach/card_reserve'

  # query parameters
  query_params = {}

  # header parameters
  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 = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(card_reserve_request_co)
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AchCardReserveResponseVO')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: ACHApi#create_ach_card_reserve_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
create_ach_client_using_post(client_request, opts = {}) click to toggle source

Create a client @param client_request clientRequest @param [Hash] opts the optional parameters @return [AchClientResponseVO]

# File lib/integration_api/api/ach_api.rb, line 336
def create_ach_client_using_post(client_request, opts = {})
  data, _status_code, _headers = create_ach_client_using_post_with_http_info(client_request, opts)
  data
end
create_ach_client_using_post_with_http_info(client_request, opts = {}) click to toggle source

Create a client @param client_request clientRequest @param [Hash] opts the optional parameters @return [Array<(AchClientResponseVO, Fixnum, Hash)>] AchClientResponseVO data, response status code and response headers

# File lib/integration_api/api/ach_api.rb, line 345
def create_ach_client_using_post_with_http_info(client_request, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: ACHApi.create_ach_client_using_post ...'
  end
  # verify the required parameter 'client_request' is set
  if @api_client.config.client_side_validation && client_request.nil?
    fail ArgumentError, "Missing the required parameter 'client_request' when calling ACHApi.create_ach_client_using_post"
  end
  # resource path
  local_var_path = '/ach/client'

  # query parameters
  query_params = {}

  # header parameters
  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 = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(client_request)
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AchClientResponseVO')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: ACHApi#create_ach_client_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
create_ach_reserve_link_using_post(reserve_link_request_co, opts = {}) click to toggle source

Create an ACH reserve link @param reserve_link_request_co reserveLinkRequestCO @param [Hash] opts the optional parameters @return [AchReserveLinkResponseVO]

# File lib/integration_api/api/ach_api.rb, line 388
def create_ach_reserve_link_using_post(reserve_link_request_co, opts = {})
  data, _status_code, _headers = create_ach_reserve_link_using_post_with_http_info(reserve_link_request_co, opts)
  data
end
create_ach_reserve_link_using_post_with_http_info(reserve_link_request_co, opts = {}) click to toggle source

Create an ACH reserve link @param reserve_link_request_co reserveLinkRequestCO @param [Hash] opts the optional parameters @return [Array<(AchReserveLinkResponseVO, Fixnum, Hash)>] AchReserveLinkResponseVO data, response status code and response headers

# File lib/integration_api/api/ach_api.rb, line 397
def create_ach_reserve_link_using_post_with_http_info(reserve_link_request_co, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: ACHApi.create_ach_reserve_link_using_post ...'
  end
  # verify the required parameter 'reserve_link_request_co' is set
  if @api_client.config.client_side_validation && reserve_link_request_co.nil?
    fail ArgumentError, "Missing the required parameter 'reserve_link_request_co' when calling ACHApi.create_ach_reserve_link_using_post"
  end
  # resource path
  local_var_path = '/ach/reserve_link'

  # query parameters
  query_params = {}

  # header parameters
  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 = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(reserve_link_request_co)
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AchReserveLinkResponseVO')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: ACHApi#create_ach_reserve_link_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
fund_card_using_post(ach_card_request_co, opts = {}) click to toggle source

Fund card @param ach_card_request_co achCardRequestCO @param [Hash] opts the optional parameters @return [AchCardResponseVO]

# File lib/integration_api/api/ach_api.rb, line 490
def fund_card_using_post(ach_card_request_co, opts = {})
  data, _status_code, _headers = fund_card_using_post_with_http_info(ach_card_request_co, opts)
  data
end
fund_card_using_post_with_http_info(ach_card_request_co, opts = {}) click to toggle source

Fund card @param ach_card_request_co achCardRequestCO @param [Hash] opts the optional parameters @return [Array<(AchCardResponseVO, Fixnum, Hash)>] AchCardResponseVO data, response status code and response headers

# File lib/integration_api/api/ach_api.rb, line 499
def fund_card_using_post_with_http_info(ach_card_request_co, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: ACHApi.fund_card_using_post ...'
  end
  # verify the required parameter 'ach_card_request_co' is set
  if @api_client.config.client_side_validation && ach_card_request_co.nil?
    fail ArgumentError, "Missing the required parameter 'ach_card_request_co' when calling ACHApi.fund_card_using_post"
  end
  # resource path
  local_var_path = '/ach/card'

  # query parameters
  query_params = {}

  # header parameters
  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 = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(ach_card_request_co)
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AchCardResponseVO')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: ACHApi#fund_card_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_ach_balance_using_get(portfolio_id, opts = {}) click to toggle source

Get balance @param portfolio_id portfolio_id @param [Hash] opts the optional parameters @option opts [Date] :end_date end_date @option opts [Date] :start_date start_date @return [AchBalanceResponseVO]

# File lib/integration_api/api/ach_api.rb, line 544
def get_ach_balance_using_get(portfolio_id, opts = {})
  data, _status_code, _headers = get_ach_balance_using_get_with_http_info(portfolio_id, opts)
  data
end
get_ach_balance_using_get_with_http_info(portfolio_id, opts = {}) click to toggle source

Get balance @param portfolio_id portfolio_id @param [Hash] opts the optional parameters @option opts [Date] :end_date end_date @option opts [Date] :start_date start_date @return [Array<(AchBalanceResponseVO, Fixnum, Hash)>] AchBalanceResponseVO data, response status code and response headers

# File lib/integration_api/api/ach_api.rb, line 555
def get_ach_balance_using_get_with_http_info(portfolio_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: ACHApi.get_ach_balance_using_get ...'
  end
  # verify the required parameter 'portfolio_id' is set
  if @api_client.config.client_side_validation && portfolio_id.nil?
    fail ArgumentError, "Missing the required parameter 'portfolio_id' when calling ACHApi.get_ach_balance_using_get"
  end
  # resource path
  local_var_path = '/ach/balance/{portfolio_id}'.sub('{' + 'portfolio_id' + '}', portfolio_id.to_s)

  # query parameters
  query_params = {}
  query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
  query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AchBalanceResponseVO')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: ACHApi#get_ach_balance_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_ach_business_balance_using_get(business_id, opts = {}) click to toggle source

Get business balance @param business_id business_id @param [Hash] opts the optional parameters @return [AchBalanceResponseVO]

# File lib/integration_api/api/ach_api.rb, line 692
def get_ach_business_balance_using_get(business_id, opts = {})
  data, _status_code, _headers = get_ach_business_balance_using_get_with_http_info(business_id, opts)
  data
end
get_ach_business_balance_using_get_with_http_info(business_id, opts = {}) click to toggle source

Get business balance @param business_id business_id @param [Hash] opts the optional parameters @return [Array<(AchBalanceResponseVO, Fixnum, Hash)>] AchBalanceResponseVO data, response status code and response headers

# File lib/integration_api/api/ach_api.rb, line 701
def get_ach_business_balance_using_get_with_http_info(business_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: ACHApi.get_ach_business_balance_using_get ...'
  end
  # verify the required parameter 'business_id' is set
  if @api_client.config.client_side_validation && business_id.nil?
    fail ArgumentError, "Missing the required parameter 'business_id' when calling ACHApi.get_ach_business_balance_using_get"
  end
  # resource path
  local_var_path = '/ach/business/balance/{business_id}'.sub('{' + 'business_id' + '}', business_id.to_s)

  # query parameters
  query_params = {}

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AchBalanceResponseVO')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: ACHApi#get_ach_business_balance_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_ach_status_using_get(nucleus_business_id, opts = {}) click to toggle source

Get the ACH status @param nucleus_business_id nucleus_business_id @param [Hash] opts the optional parameters @return [AchTransferResponseVO]

# File lib/integration_api/api/ach_api.rb, line 792
def get_ach_status_using_get(nucleus_business_id, opts = {})
  data, _status_code, _headers = get_ach_status_using_get_with_http_info(nucleus_business_id, opts)
  data
end
get_ach_status_using_get_with_http_info(nucleus_business_id, opts = {}) click to toggle source

Get the ACH status @param nucleus_business_id nucleus_business_id @param [Hash] opts the optional parameters @return [Array<(AchTransferResponseVO, Fixnum, Hash)>] AchTransferResponseVO data, response status code and response headers

# File lib/integration_api/api/ach_api.rb, line 801
def get_ach_status_using_get_with_http_info(nucleus_business_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: ACHApi.get_ach_status_using_get ...'
  end
  # verify the required parameter 'nucleus_business_id' is set
  if @api_client.config.client_side_validation && nucleus_business_id.nil?
    fail ArgumentError, "Missing the required parameter 'nucleus_business_id' when calling ACHApi.get_ach_status_using_get"
  end
  # resource path
  local_var_path = '/ach/status'

  # query parameters
  query_params = {}
  query_params[:'nucleus_business_id'] = nucleus_business_id

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AchTransferResponseVO')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: ACHApi#get_ach_status_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_ach_transfer_using_get(nucleus_funding_id, opts = {}) click to toggle source

Get the ACH transfer @param nucleus_funding_id nucleus_funding_id @param [Hash] opts the optional parameters @return [AchTransferResponseVO]

# File lib/integration_api/api/ach_api.rb, line 843
def get_ach_transfer_using_get(nucleus_funding_id, opts = {})
  data, _status_code, _headers = get_ach_transfer_using_get_with_http_info(nucleus_funding_id, opts)
  data
end
get_ach_transfer_using_get_with_http_info(nucleus_funding_id, opts = {}) click to toggle source

Get the ACH transfer @param nucleus_funding_id nucleus_funding_id @param [Hash] opts the optional parameters @return [Array<(AchTransferResponseVO, Fixnum, Hash)>] AchTransferResponseVO data, response status code and response headers

# File lib/integration_api/api/ach_api.rb, line 852
def get_ach_transfer_using_get_with_http_info(nucleus_funding_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: ACHApi.get_ach_transfer_using_get ...'
  end
  # verify the required parameter 'nucleus_funding_id' is set
  if @api_client.config.client_side_validation && nucleus_funding_id.nil?
    fail ArgumentError, "Missing the required parameter 'nucleus_funding_id' when calling ACHApi.get_ach_transfer_using_get"
  end
  # resource path
  local_var_path = '/ach/{nucleus_funding_id}'.sub('{' + 'nucleus_funding_id' + '}', nucleus_funding_id.to_s)

  # query parameters
  query_params = {}

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AchTransferResponseVO')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: ACHApi#get_ach_transfer_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_list_of_client_ach_transfers_using_get(nucleus_client_id, opts = {}) click to toggle source

Get a list of client's ACH transfers @param nucleus_client_id nucleus_client_id @param [Hash] opts the optional parameters @option opts [Integer] :page page (default to 0) @option opts [Integer] :size size (default to 25) @return [PageAchTransferResponseVO]

# File lib/integration_api/api/ach_api.rb, line 895
def get_list_of_client_ach_transfers_using_get(nucleus_client_id, opts = {})
  data, _status_code, _headers = get_list_of_client_ach_transfers_using_get_with_http_info(nucleus_client_id, opts)
  data
end
get_list_of_client_ach_transfers_using_get_with_http_info(nucleus_client_id, opts = {}) click to toggle source

Get a list of client&#39;s ACH transfers @param nucleus_client_id nucleus_client_id @param [Hash] opts the optional parameters @option opts [Integer] :page page @option opts [Integer] :size size @return [Array<(PageAchTransferResponseVO, Fixnum, Hash)>] PageAchTransferResponseVO data, response status code and response headers

# File lib/integration_api/api/ach_api.rb, line 906
def get_list_of_client_ach_transfers_using_get_with_http_info(nucleus_client_id, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: ACHApi.get_list_of_client_ach_transfers_using_get ...'
  end
  # verify the required parameter 'nucleus_client_id' is set
  if @api_client.config.client_side_validation && nucleus_client_id.nil?
    fail ArgumentError, "Missing the required parameter 'nucleus_client_id' when calling ACHApi.get_list_of_client_ach_transfers_using_get"
  end
  # resource path
  local_var_path = '/ach/client/{nucleus_client_id}'.sub('{' + 'nucleus_client_id' + '}', nucleus_client_id.to_s)

  # query parameters
  query_params = {}
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'PageAchTransferResponseVO')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: ACHApi#get_list_of_client_ach_transfers_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
get_list_of_tenant_ach_transfers_using_get(opts = {}) click to toggle source

Get a list of tenant's ACH transfers @param [Hash] opts the optional parameters @option opts [Date] :end_date end_date @option opts [Integer] :page page (default to 0) @option opts [Integer] :size size (default to 25) @option opts [Date] :start_date start_date @option opts [String] :status status @return [PageAchTransferResponseVO]

# File lib/integration_api/api/ach_api.rb, line 953
def get_list_of_tenant_ach_transfers_using_get(opts = {})
  data, _status_code, _headers = get_list_of_tenant_ach_transfers_using_get_with_http_info(opts)
  data
end
get_list_of_tenant_ach_transfers_using_get_with_http_info(opts = {}) click to toggle source

Get a list of tenant&#39;s ACH transfers @param [Hash] opts the optional parameters @option opts [Date] :end_date end_date @option opts [Integer] :page page @option opts [Integer] :size size @option opts [Date] :start_date start_date @option opts [String] :status status @return [Array<(PageAchTransferResponseVO, Fixnum, Hash)>] PageAchTransferResponseVO data, response status code and response headers

# File lib/integration_api/api/ach_api.rb, line 966
def get_list_of_tenant_ach_transfers_using_get_with_http_info(opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: ACHApi.get_list_of_tenant_ach_transfers_using_get ...'
  end
  # resource path
  local_var_path = '/ach'

  # query parameters
  query_params = {}
  query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
  query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
  query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'PageAchTransferResponseVO')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: ACHApi#get_list_of_tenant_ach_transfers_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end
submit_ach_transfer_using_post(transfer_request, opts = {}) click to toggle source

Submit an ACH transfer @param transfer_request transferRequest @param [Hash] opts the optional parameters @return [AchTransferResponseVO]

# File lib/integration_api/api/ach_api.rb, line 1008
def submit_ach_transfer_using_post(transfer_request, opts = {})
  data, _status_code, _headers = submit_ach_transfer_using_post_with_http_info(transfer_request, opts)
  data
end
submit_ach_transfer_using_post_with_http_info(transfer_request, opts = {}) click to toggle source

Submit an ACH transfer @param transfer_request transferRequest @param [Hash] opts the optional parameters @return [Array<(AchTransferResponseVO, Fixnum, Hash)>] AchTransferResponseVO data, response status code and response headers

# File lib/integration_api/api/ach_api.rb, line 1017
def submit_ach_transfer_using_post_with_http_info(transfer_request, opts = {})
  if @api_client.config.debugging
    @api_client.config.logger.debug 'Calling API: ACHApi.submit_ach_transfer_using_post ...'
  end
  # verify the required parameter 'transfer_request' is set
  if @api_client.config.client_side_validation && transfer_request.nil?
    fail ArgumentError, "Missing the required parameter 'transfer_request' when calling ACHApi.submit_ach_transfer_using_post"
  end
  # resource path
  local_var_path = '/ach'

  # query parameters
  query_params = {}

  # header parameters
  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 = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(transfer_request)
  auth_names = ['oauth2']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AchTransferResponseVO')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: ACHApi#submit_ach_transfer_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end