AnujBank.Payment.Payment C# (CSharp) Méthode

Payment() public méthode

public Payment ( String account, decimal amount, System.DateTime date ) : System
account String
amount decimal
date System.DateTime
Résultat System
        public Payment(String account, decimal amount, DateTime date)
        {
            if(account==null) throw new ArgumentException("Account number is invalid");
            this.account = account;
            this.amount = amount;
            this.date = date;
        }