private function preparePaymentMethod()
    {
        $paymentMethod = "";

        if(!empty($this->_detailsTransactionByCode->getPaymentMethod()))
        {
            $paymentMethod = array(
                'code' => $this->_detailsTransactionByCode->getPaymentMethod()->getCode(),
                'type' => $this->_detailsTransactionByCode->getPaymentMethod()->getType(),
                'titleType' => \UOL\PagSeguro\Helper\Data::getTitleTypePaymentMethod($this->_detailsTransactionByCode->getPaymentMethod()->getType()),
                'titleCode' => \UOL\PagSeguro\Helper\Data::getTitleCodePaymentMethod($this->_detailsTransactionByCode->getPaymentMethod()->getCode())
            );
        }
        return $paymentMethod;
    }