Items.all constructor

Items.all({
  1. required String name,
  2. required int price,
  3. required int quantity,
  4. required int amount,
  5. required Tax tax,
  6. PaymentMethod? paymentMethod,
  7. PaymentObject? paymentObject,
  8. AgentData? agentData,
  9. SupplierInfo? supplierInfo,
  10. String? ean13,
  11. String? shopCode,
  12. String? userData,
  13. int? excise,
  14. String? countryCode,
  15. String? declarationNumber,
  16. String? measurementUnit,
  17. String? markProcessingMode,
  18. MarkCode? markCode,
  19. MarkQuantity? markQuantity,
  20. List<SectoralItemProps>? sectoralItemProps,
})

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

Implementation

Items.all({
  required this.name,
  required this.price,
  required this.quantity,
  required this.amount,
  required this.tax,
  this.paymentMethod,
  this.paymentObject,
  this.agentData,
  this.supplierInfo,
  this.ean13,
  this.shopCode,
  this.userData,
  this.excise,
  this.countryCode,
  this.declarationNumber,
  this.measurementUnit,
  this.markProcessingMode,
  this.markCode,
  this.markQuantity,
  this.sectoralItemProps,
});