title: Magento: getting giftcard code and amount
body: <p>I'm having difficulty retrieving the giftcard code and amount used on an order. For example in <code>Mage/Sales/Model/Order/Pdf/Abstract.php</code>, there is a piece of code that works with a Sales/Order model. i.e.</p>
  
  <pre><code>($order instanceof Mage_Sales_Model_Order) is true in the PDF example
  </code></pre>
  
  <p>or </p>
  
  <pre><code>$order = Mage::getModel('sales/order')-&gt;load($orderID); in another example
  </code></pre>
  
  <p>In the invoice PDF that gets printed, the total section shows the gift card that was used as well as  coupon code that was used. The coupon code can be obtained by <code>$order-&gt;getCouponCode()</code>.</p>
  
  <p>How do I get the giftcard code and amount from <code>$order</code>? I've tried</p>
  
  <pre><code>$order-&gt;getGiftcertCode();
  $order-&gt;getGiftcertAmount();
  </code></pre>
  
  <p>but these don't return anything. Any ideas?</p>