Item constructor

const Item({
  1. required int amountDiscount,
  2. required int amountSubtotal,
  3. required int amountTax,
  4. required int amountTotal,
  5. required String currency,
  6. required String description,
  7. List<LineItemsDiscountAmount>? discounts,
  8. required String id,
  9. InvoiceitemPrice? price,
  10. int? quantity,
  11. List<LineItemsTaxAmount>? taxes,
})

LineItem

A line item.

Implementation

const Item({
  required this.amountDiscount,
  required this.amountSubtotal,
  required this.amountTax,
  required this.amountTotal,
  required this.currency,
  required this.description,
  this.discounts,
  required this.id,
  this.price,
  this.quantity,
  this.taxes,
});