Instance Method

setDiscountTotal(_:)

Sets the total amount of discount on the invoice item in the currency of the Transaction

Declaration

@discardableResult func setDiscountTotal(_ discountTotal: Decimal) -> InvoiceItemBuilder

Return Value

The current InvoiceItemBuilder instance for fluent access.

Parameters

discountTotal

The total amount of discount