Items constructor

Items({
  1. required String name,
  2. required String quantity,
  3. required String amount,
  4. required String price,
  5. required Tax tax,
  6. PaymentMethod? paymentMethod,
  7. PaymentObject? paymentObject,
  8. String? ean13,
  9. String? shopCode,
  10. AgentData? agentData,
  11. SupplierInfo? supplierInfo,
})

Создает экземпляр массива позиций чека с информацией о товарах.

Implementation

Items({
  required this.name,
  required this.quantity,
  required this.amount,
  required this.price,
  required this.tax,
  this.paymentMethod,
  this.paymentObject,
  this.ean13,
  this.shopCode,
  this.agentData,
  this.supplierInfo,
});