private function prepareSender()
    {
        $documents = array();
        if(count($this->_detailsTransactionByCode->getSender()->getDocuments()) > 0) {
            foreach ($this->_detailsTransactionByCode->getSender()->getDocuments() as $doc)
            {
                $documents[] = array(
                    'type'      => $doc->getType(),
                    'identifier' => $doc->getIdentifier()
                );
            }
        }

        $sender = array();
        if(!empty($this->_detailsTransactionByCode->getSender())){
            $sender = array(
                'name'  => $this->_detailsTransactionByCode->getSender()->getName(),
                'email' => $this->_detailsTransactionByCode->getSender()->getEmail(),
                'phone' => array(
                    'areaCode' => $this->_detailsTransactionByCode->getSender()->getPhone()->getAreaCode(),
                    'number' => $this->_detailsTransactionByCode->getSender()->getPhone()->getNumber()
                ),
                'documents' => $documents
            );
        }
        return $sender;
    }