QLNet.CappedFlooredCoupon.factory C# (CSharp) Метод

factory() публичный Метод

public factory ( double nominal, Date paymentDate, Date startDate, Date endDate, int fixingDays, InterestRateIndex index, double gearing, double spread, double cap, double floor, Date refPeriodStart, Date refPeriodEnd, DayCounter dayCounter, bool isInArrears ) : CashFlow
nominal double
paymentDate Date
startDate Date
endDate Date
fixingDays int
index InterestRateIndex
gearing double
spread double
cap double
floor double
refPeriodStart Date
refPeriodEnd Date
dayCounter DayCounter
isInArrears bool
Результат CashFlow
        public virtual CashFlow factory(double nominal, Date paymentDate, Date startDate, Date endDate, int fixingDays, InterestRateIndex index, double gearing, double spread, double? cap, double? floor, Date refPeriodStart, Date refPeriodEnd, DayCounter dayCounter, bool isInArrears)
        {
            return new CappedFlooredCoupon(new FloatingRateCoupon(nominal, paymentDate, startDate, endDate, fixingDays, index, gearing, spread, refPeriodStart, refPeriodEnd, dayCounter, isInArrears), cap, floor);
        }