using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Point_Of_Sale_Managment { public class bottom { public string transaction { get; set; } public string cashier { get; set; } public string discount { get; set; } public string date { get; set; } public string subtotal { get; set; } public string billtotal { get; set; } public decimal balance { get; set; } public decimal tendered { get; set; } public string companyName { get; set; } public string branchName { get; set; } public string branchLocation { get; set; } public string branchTel { get; set; } public string branchTIN { get; set; } public string branchVAT { get; set; } public string tax { get; set; } public string barcodeImage { get; set; } public string customerName { get; set; } public string customerAddress { get; set; } public bottom(string vat, string receiptno, string cashierP, decimal bal, decimal atendered, string Discount, string dDate, string Subtotal, string Billtotal, string Institution, string branch, string location, string telephone, string tin, string vatreg, string image, string customerName = null, string customerAddress = null) { discount = Discount; subtotal = Subtotal; billtotal = Billtotal; date = dDate; cashier = cashierP; transaction = receiptno; tax = vat; balance = bal; tendered = atendered; companyName = Institution; branchName = branch; branchLocation = location; branchTel = telephone; branchTIN = tin; branchVAT = vatreg; barcodeImage = image; this.customerName = customerName; this.customerAddress = customerAddress; } } }