Return Value
The current Invoice
instance for fluent access.
Transaction
. Convenient for automatically setting the gross and net total using the unit price multiplied by the quantity.Technology
@discardableResult func price(unitPrice: Decimal, quantity: Decimal = 1, includedTax: Decimal = 0) -> InvoiceItemBuilder
The current Invoice
instance for fluent access.
unitPrice
The unit price.
quantity
The quantity of units.
includedTax
Specifies the amount of tax included in the unit price.