Items.ffd12 constructor

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

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

Implementation

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