AnujBank.Payment.Payment C# (CSharp) Method

Payment() public method

public Payment ( String account, decimal amount, System.DateTime date ) : System
account String
amount decimal
date System.DateTime
return 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;
        }