client = $client; } public function updateBalance(float $amount) { $this->client->balance += $amount; return $this; } public function updatePaidToDate(float $amount) { $this->client->paid_to_date += $amount; return $this; } public function adjustCreditBalance(float $amount) { $this->client->credit_balance += $amount; return $this; } public function save() :Client { $this->client->save(); return $this->client; } }