def get_payments(options = {})
      request_params = {}
      request_params[:PaymentID]     = options[:payment_id] if options[:payment_id]
      request_params[:ModifiedAfter] = options[:modified_since] if options[:modified_since]
      request_params[:order]         = options[:order] if options[:order]
      request_params[:where]         = options[:where] if options[:where]

      response_xml = http_get(@client, "#{@xero_url}/Payments", request_params)
      parse_response(response_xml, {:request_params => request_params}, {:request_signature => 'GET/payments'})
    end
def get_payments(options = {})
      request_params = {}
      request_params[:PaymentID]     = options[:payment_id] if options[:payment_id]
      request_params[:ModifiedAfter] = options[:modified_since] if options[:modified_since]
      request_params[:order]         = options[:order] if options[:order]
      request_params[:where]         = options[:where] if options[:where]

      response_xml = http_get(@client, "#{@xero_url}/Payments", request_params)
      parse_response(response_xml, {:request_params => request_params}, {:request_signature => 'GET/payments'})
    end
Gets all Payments for a specific organisation in Xero