PaymentItem constructor

PaymentItem({
  1. required double amountPerUnit,
  2. String? description,
  3. Map<String, Object>? discount,
  4. required String name,
  5. required Quantity quantity,
  6. List<Tax>? taxes,
  7. required int totalAmount,
})

Implementation

PaymentItem(
    {required this.amountPerUnit,
    this.description,
    this.discount,
    required this.name,
    required this.quantity,
    this.taxes,
    required this.totalAmount});