public override void GetPayment(double grandtotal) { grandtotal = Math.Round(grandtotal, 2); base.GrandTotal = grandtotal; this.CreditCardNumber = InputUtil.GetInputString("Credit card number: "); this.Expiration = InputUtil.GetInputDate("Expiration date (mm/dd/yyyy) :"); this.Cvv = InputUtil.GetInputString("CVV: "); }
public override void GetPayment(double grandtotal) { grandtotal = Math.Round(grandtotal, 2); this.GrandTotal = grandtotal; this.CheckNumber = InputUtil.GetInputString("Check number: "); }