/** * Get the total for the line item. * * @return float */ public function total() { return $this->billable->formatCurrency($this->amount); }
/** * Get the currency for the billable entity. * * @return string */ protected function getCurrency() { return $this->billable->getCurrency(); }