Sharekhan.domain.TermDeposit.TermDeposit C# (CSharp) Method

TermDeposit() public method

public TermDeposit ( Term term, Price investedAmount, Symbol symbol, string description, InterestRate interestRate, int interestPayoutFrequency ) : System
term Term
investedAmount Price
symbol Symbol
description string
interestRate InterestRate
interestPayoutFrequency int
return System
        public TermDeposit(Term term, Price investedAmount,
                            Symbol symbol, string description,
                            InterestRate interestRate, int interestPayoutFrequency)
            : base(symbol, investedAmount, description)
        {
            Term = term;
            InterestRate = interestRate;
            InvestedAmount = investedAmount;
            InterestPayoutFrequency = interestPayoutFrequency;
            Validate();
        }