ReceiptData constructor

ReceiptData({
  1. String? businessName,
  2. String? header,
  3. String? address,
  4. String? tell,
  5. String? whatsapp,
  6. String? instagram,
  7. String? transactionDate,
  8. String? transactionTime,
  9. String? transactionID,
  10. String? transactionReference,
  11. List<ReceiptItem>? items,
  12. String? currencyCode,
  13. double? withdrawalAmount,
  14. double? totalValue,
  15. double? totalDiscount,
  16. double? cashbackAmount,
  17. double? tipAmount,
  18. double? totalTax,
  19. bool? taxInclusive,
  20. double? totalDue,
  21. double? amountTendered,
  22. double? amountChange,
  23. String? customerName,
  24. bool? displayCustomer,
  25. String? sellerName,
  26. bool? displaySeller,
  27. String? footer,
  28. bool? isRefund = false,
})

Implementation

ReceiptData({
  this.businessName,
  this.header,
  this.address,
  this.tell,
  this.whatsapp,
  this.instagram,
  this.transactionDate,
  this.transactionTime,
  this.transactionID,
  this.transactionReference,
  this.items,
  this.currencyCode,
  this.withdrawalAmount,
  this.totalValue,
  this.totalDiscount,
  this.cashbackAmount,
  this.tipAmount,
  this.totalTax,
  this.taxInclusive,
  this.totalDue,
  this.amountTendered,
  this.amountChange,
  this.customerName,
  this.displayCustomer,
  this.sellerName,
  this.displaySeller,
  this.footer,
  this.isRefund = false,
});