public virtual TransactionSummary GetSummary(Physician phys) { System.Double token = 0; System.Double unit = 60.00; int tokenRate = 1; token = (TimeElapsed / unit * tokenRate) + 1.00; token = Math.Round(token, 2); TransactionSummary summary = new TransactionSummary(phys, token); return(summary); }
public TransactionSummary(Physician physician, System.Double charges) { PublicKey = physician.PublicKey; QRCode = physician.QRCode; Charges = charges; }