PrinterRequestInterface class
Constructors
-
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 instagram = '', String website = '', String whatsapp = '', Uint8List? image, double? cashbackAmount, double? tipAmount, String? paymentType, double? totalDue, double? withdrawalAmount})
-
const
Methods
-
copyWith({String? transactionID, String? id, String? customerId, String? customerName, String? customerEmail, String? customerMobile, bool? displayCustomer, bool? displaySeller, bool? displayAddress, bool? displayBusinessMobile, String? ticketId, String? ticketName, String? sellerId, String? sellerName, String? currencyCode, String? countryCode, String? deviceId, bool? taxInclusive, double? totalValue, double? totalCost, double? totalMarkup, double? totalDiscount, double? totalTax, double? amountTendered, double? amountChange, String? transactionDate, String? transactionTime, String? businessName, PrintAddressInterface? address, String? vAT, String? tell, String? checkoutMessage, String? taxCode, double? taxValue, List<InventoryInterface>? items, String? instagram, String? website, String? whatsapp, Uint8List? image, double? cashbackAmount, double? tipAmount, double? totalDue, double? withdrawalAmount, String? paymentType})
→ PrinterRequestInterface
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited