public function getDescription()
    {
        $id = $this->getTransactionId();
        $desc = parent::getDescription();

        if (empty($id)) {
            return $desc;
        } elseif (empty($desc)) {
            return $id;
        } else {
            return "$id : $desc";
        }
    }
public function getDescription()
    {
        $id = $this->getTransactionId();
        $desc = parent::getDescription();

        if (empty($id)) {
            return $desc;
        } elseif (empty($desc)) {
            return $id;
        } else {
            return "$id : $desc";
        }
    }
public function getDescription ( ) { $ id = $ this -> getTransactionId ( ) ; $ desc = parent :: getDescription ( ) ; if ( empty ( $ id ) ) { return $ desc ; } elseif ( empty ( $ desc ) ) { return $ id ; } else { return "$id : $desc" ; } }
Get transaction description.

The REST API does not currently have support for passing an invoice number
or transaction ID.

@return string
Get transaction description .