public function setTransactions($transactions) { $this->transactions = $transactions; return $this; }