Return Value
The current Invoice instance for fluent access.
InvoiceItem to the invoice with the minimum required details, specifying the product code or SKU, the description and the total price for the item. The resulting invoice item will have a quantity of 1.Technology
@discardableResult func addItem(productCode: String, description: String, price: Decimal) -> InvoiceBuilder The current Invoice instance for fluent access.
productCodeThe product code or SKU for the item.
descriptionThe description of the item.
unitPriceThe total price of the item.