ReceiptData constructor
ReceiptData({
- String? businessName,
- String? header,
- String? address,
- String? tell,
- String? whatsapp,
- String? instagram,
- String? transactionDate,
- String? transactionTime,
- String? transactionID,
- String? transactionReference,
- List<
ReceiptItem> ? items, - String? currencyCode,
- double? withdrawalAmount,
- double? totalValue,
- double? totalDiscount,
- double? cashbackAmount,
- double? tipAmount,
- double? totalTax,
- bool? taxInclusive,
- double? totalDue,
- double? amountTendered,
- double? amountChange,
- String? customerName,
- bool? displayCustomer,
- String? sellerName,
- bool? displaySeller,
- 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,
});