def settlement_search(search_request)
      unless @is_valid
        return make_response_with_exception(Exceptions::APIKeyInvalidException.new('API key, password or Rapid endpoint missing or invalid'), QueryCustomerResponse)
      end
      begin

        request = Message::TransactionProcess::SettlementSearchMsgProcess.create_request(search_request)
        url = @web_url + Constants::SETTLEMENT_SEARCH_METHOD +  request

        response = Message::TransactionProcess::SettlementSearchMsgProcess.send_request(url, @api_key, @password, @version)
        Message::TransactionProcess::SettlementSearchMsgProcess.make_result(response)

      rescue => e
        @logger.error(e.to_s) if @logger
        make_response_with_exception(e, SettlementSearchResponse)
      end
    end
def settlement_search(search_request)
      unless @is_valid
        return make_response_with_exception(Exceptions::APIKeyInvalidException.new('API key, password or Rapid endpoint missing or invalid'), QueryCustomerResponse)
      end
      begin

        request = Message::TransactionProcess::SettlementSearchMsgProcess.create_request(search_request)
        url = @web_url + Constants::SETTLEMENT_SEARCH_METHOD +  request

        response = Message::TransactionProcess::SettlementSearchMsgProcess.send_request(url, @api_key, @password, @version)
        Message::TransactionProcess::SettlementSearchMsgProcess.make_result(response)

      rescue => e
        @logger.error(e.to_s) if @logger
        make_response_with_exception(e, SettlementSearchResponse)
      end
    end
Performs a search of settlements

 @param [SettlementSearch]
 @return [SettlementSearchResponse]