Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public TransactionSummary(Physician physician, System.Double charges)
 {
     PublicKey = physician.PublicKey;
     QRCode    = physician.QRCode;
     Charges   = charges;
 }