title: how to get payment information on Magento?
body: <p>I have to export the orders to a file, here is my code to go through the orders:</p>
  
  <pre><code>    $orders = Mage::getModel('sales/order')-&gt;getCollection()
      -&gt;addAttributeToSelect(array('status', 'ncm'))
      -&gt;addFieldToFilter(
          array(
              array('attribute' =&gt; 'status', 'eq' =&gt; 'complete')
          )
      );
  
      $order = $orders-&gt;getFirstItem();
  
      //print_r($order);
      //exit;
      //foreach($orders as $order){
      $id = $order-&gt;getIncrementId();
  
      $payment = $order-&gt;getPayment();
      $method = $payment-&gt;getMethodInstance();
  
      print_r($payment);
      //}
  </code></pre>
  
  <p>I need to print some information about the payment
  like the method, the amount, how many months it was split, if was credit card, i need the reutrning id of the transaction and so the list goes on</p>
  
  <p>how can I do that?</p>