private function decrease_fees($amount = 0.0) { $amount = (double) $amount; $this->fees_total -= $amount; if ($this->fees_total < 0) { $this->fees_total = 0; } $this->recalculate_total(); }