PrinterRequestInterface constructor
const
PrinterRequestInterface({
- String transactionID = '',
- String id = '',
- String customerId = '',
- String customerName = '',
- String customerEmail = '',
- String customerMobile = '',
- bool displayCustomer = false,
- bool displaySeller = false,
- bool? displayAddress = false,
- bool? displayBusinessMobile = false,
- String ticketId = '',
- String ticketName = '',
- String sellerId = '',
- String sellerName = '',
- String currencyCode = '',
- String countryCode = '',
- String deviceId = '',
- bool taxInclusive = false,
- double totalValue = 0.0,
- double totalCost = 0.0,
- double totalMarkup = 0.0,
- double totalDiscount = 0.0,
- double totalTax = 0.0,
- double amountTendered = 0.0,
- double amountChange = 0.0,
- String transactionDate = '',
- String transactionTime = '',
- String businessName = '',
- PrintAddressInterface address = const PrintAddressInterface(),
- String vAT = '',
- String tell = '',
- String checkoutMessage = '',
- String taxCode = '',
- double taxValue = 0.0,
- List<
InventoryInterface> items = const [], - String header = '',
- String instagram = '',
- String website = '',
- String whatsapp = '',
- Uint8List? image,
- double? cashbackAmount,
- double? tipAmount,
- String? paymentType,
- double? totalDue,
- double? withdrawalAmount,
- String? transactionReference,
Implementation
const PrinterRequestInterface({
this.transactionID = '',
this.id = '',
this.customerId = '',
this.customerName = '',
this.customerEmail = '',
this.customerMobile = '',
this.displayCustomer = false,
this.displaySeller = false,
this.displayAddress = false,
this.displayBusinessMobile = false,
this.ticketId = '',
this.ticketName = '',
this.sellerId = '',
this.sellerName = '',
this.currencyCode = '',
this.countryCode = '',
this.deviceId = '',
this.taxInclusive = false,
this.totalValue = 0.0,
this.totalCost = 0.0,
this.totalMarkup = 0.0,
this.totalDiscount = 0.0,
this.totalTax = 0.0,
this.amountTendered = 0.0,
this.amountChange = 0.0,
this.transactionDate = '',
this.transactionTime = '',
this.businessName = '',
this.address = const PrintAddressInterface(),
this.vAT = '',
this.tell = '',
this.checkoutMessage = '',
this.taxCode = '',
this.taxValue = 0.0,
this.items = const [],
this.header = '',
this.footer = '',
this.instagram = '',
this.website = '',
this.whatsapp = '',
this.image,
this.cashbackAmount,
this.tipAmount,
this.paymentType,
this.totalDue,
this.withdrawalAmount,
this.transactionReference,
});