/**
* @param Transaction $transaction
*/
private function readCapture($transaction)
{
$captureInformation = new CaptureInformation();
$captureInformation->setCode($this->getValue('//c:transacao/c:captura/c:codigo'));
$captureInformation->setMessage($this->getValue('//c:transacao/c:captura/c:mensagem'));
$captureInformation->setDateTime($this->getValue('//c:transacao/c:captura/c:data-hora'));
$captureInformation->setValue($this->getValue('//c:transacao/c:captura/c:valor'));
$transaction->setCaptureInformation($captureInformation);
}