document = $document; $this->transaction = $transaction; } }