lib/velopayments/api/countries_api.rb
# List Payment Channel Country Rules
# List the country specific payment channel rules.
# @param [Hash] opts the optional parameters
# @return [Array<(PaymentChannelRulesResponse, Integer, Hash)>] PaymentChannelRulesResponse data, response status code and response headers
List Payment Channel Country Rules
List the country specific payment channel rules.
List Payment Channel Country Rules List the country specific payment channel rules .
def list_payment_channel_rules_v1_with_http_info(opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug 'Calling API: CountriesApi.list_payment_channel_rules_v1 ...'
      end
      local_var_path = '/v1/paymentChannelRules'
      query_params = opts[:query_params] || {}
      header_params = opts[:header_params] || {}
      header_params['Accept'] = @api_client.select_header_accept(['application/json'])
      form_params = opts[:form_params] || {}
      post_body = opts[:debug_body]
      return_type = opts[:debug_return_type] || 'PaymentChannelRulesResponse'
      auth_names = opts[:debug_auth_names] || ['OAuth2']
      new_options = opts.merge(
        :operation => :"CountriesApi.list_payment_channel_rules_v1",
        :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: CountriesApi#list_payment_channel_rules_v1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
def list_payment_channel_rules_v1_with_http_info ( opts = { } ) if @api_client . config . debugging @api_client . config . logger . debug 'Calling API: CountriesApi.list_payment_channel_rules_v1 ...' end local_var_path = '/v1/paymentChannelRules' query_params = opts [ :query_params ] || { } header_params = opts [ :header_params ] || { } header_params [ 'Accept' ] = @api_client . select_header_accept ( [ 'application/json' ] ) form_params = opts [ :form_params ] || { } post_body = opts [ :debug_body ] return_type = opts [ :debug_return_type ] || 'PaymentChannelRulesResponse' auth_names = opts [ :debug_auth_names ] || [ 'OAuth2' ] new_options = opts . merge ( :operation => :" CountriesApi.list_payment_channel_rules_v1 " , :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: CountriesApi#list_payment_channel_rules_v1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data , status_code , headers end
List Payment Channel Country Rules
List the country specific payment channel rules.
List Payment Channel Country Rules List the country specific payment channel rules .
# resource path # query parameters # header parameters # HTTP header 'Accept' (if needed) # form parameters # http body (model) # return_type # auth_names
PaymentChannelRulesResponse data, response status code and response headers
PaymentChannelRulesResponse data response status code and response headers
Array<(PaymentChannelRulesResponse, Integer, Hash)>
opts
<not_specific>
<not_specific>
opts the optional parameters
opts the optional parameters