$payment = Mage::getModel('sales/order_payment')->load(1); $ccType = $payment->getCcType(); echo $ccType;In this example, the `getCcType()` method is called on a payment object loaded from the sales/order_payment model. The credit card type is then retrieved and displayed using the `echo` statement. This code example belongs to the Magento package/library.