Skip to content
Last updated

WHMCS\Billing\Quote\Item

Class · extends AbstractModel

Quote line items

Each quote is made up of individual line items, like an Invoice.

Each line item is associated with a specific quoteId.

Note that quote line items are very flexible, and do not have hard linkages to products or inventory items in WHMCS. It's up to the operator to transform line items into actual billable services if the quote is accepted.

Methods

quote

public function quote()

Each quote item belongs to a quote.

Returns \Illuminate\Database\Eloquent\Relations\BelongsTo

getTotal

public function getTotal(): float

Get the quote item's total price after discount is applied

Returns float