public function getIcon($isNegativeAmount = true)
    {
        switch ($this->getType()) {
            case self::CB:
                $icon = 'credit-card';
                break;
            case self::VIR:
                $icon = 'arrow-circle-o-' . ($isNegativeAmount ? 'up' : 'down');
                break;
            case self::PRE:
                $icon = 'arrow-circle-up';
                break;
            case self::CHQ:
                $icon = 'money';
                break;
            case self::PPL:
                $icon = 'paypal';
                break;
            default:
                $icon = 'money';
        }

        return $icon;
    }
public function getIcon($isNegativeAmount = true)
    {
        switch ($this->getType()) {
            case self::CB:
                $icon = 'credit-card';
                break;
            case self::VIR:
                $icon = 'arrow-circle-o-' . ($isNegativeAmount ? 'up' : 'down');
                break;
            case self::PRE:
                $icon = 'arrow-circle-up';
                break;
            case self::CHQ:
                $icon = 'money';
                break;
            case self::PPL:
                $icon = 'paypal';
                break;
            default:
                $icon = 'money';
        }

        return $icon;
    }
public function getIcon ( $ isNegativeAmount = true ) { switch ( $ this -> getType ( ) ) { case self :: CB : $ icon = 'credit-card' ; break ; case self :: VIR : $ icon = 'arrow-circle-o-' . ( $ isNegativeAmount ? 'up' : 'down' ) ; break ; case self :: PRE : $ icon = 'arrow-circle-up' ; break ; case self :: CHQ : $ icon = 'money' ; break ; case self :: PPL : $ icon = 'paypal' ; break ; default : $ icon = 'money' ; } return $ icon ; }
Get icon type.

@param  bool $isNegativeAmount
@return string
Get icon type .