toLineItem property
InvoiceLineItem
get
toLineItem
Convert a product to an invoice line item
Implementation
InvoiceLineItem get toLineItem => InvoiceLineItem(
productKey: productKey,
notes: notes,
cost: price,
quantity: quantity,
customValue1: customValue1,
customValue2: customValue2,
customValue3: customValue3,
customValue4: customValue4,
taxName1: taxName1,
taxRate1: taxRate1,
taxName2: taxName2,
taxRate2: taxRate2,
taxName3: taxName3,
taxRate3: taxRate3,
);