C# Class QLNet.Coupon

Inheritance: CashFlow
Show file Open project: ammachado/QLNet Class Usage Examples

Protected Properties

Property Type Description
amount_ double?
nominal_ double
paymentDate_ Date

Public Methods

Method Description
Coupon ( ) : QLNet.Time
Coupon ( double nominal, Date paymentDate, Date accrualStartDate, Date accrualEndDate, Date refPeriodStart = null, Date refPeriodEnd = null, double amount = null ) : QLNet.Time
accrualDays ( ) : int
accrualEndDate ( ) : Date
accrualPeriod ( ) : double
accrualStartDate ( ) : Date
accruedAmount ( Date d ) : double
accruedDays ( Date d ) : int
accruedPeriod ( Date d ) : double
dayCounter ( ) : QLNet.DayCounter
nominal ( ) : double
rate ( ) : double

Method Details

Coupon() public method

public Coupon ( ) : QLNet.Time
return QLNet.Time

Coupon() public method

public Coupon ( double nominal, Date paymentDate, Date accrualStartDate, Date accrualEndDate, Date refPeriodStart = null, Date refPeriodEnd = null, double amount = null ) : QLNet.Time
nominal double
paymentDate Date
accrualStartDate Date
accrualEndDate Date
refPeriodStart Date
refPeriodEnd Date
amount double
return QLNet.Time

accrualDays() public method

public accrualDays ( ) : int
return int

accrualEndDate() public method

public accrualEndDate ( ) : Date
return Date

accrualPeriod() public method

public accrualPeriod ( ) : double
return double

accrualStartDate() public method

public accrualStartDate ( ) : Date
return Date

accruedAmount() public abstract method

public abstract accruedAmount ( Date d ) : double
d Date
return double

accruedDays() public method

public accruedDays ( Date d ) : int
d Date
return int

accruedPeriod() public method

public accruedPeriod ( Date d ) : double
d Date
return double

dayCounter() public abstract method

public abstract dayCounter ( ) : QLNet.DayCounter
return QLNet.DayCounter

nominal() public method

public nominal ( ) : double
return double

rate() public abstract method

public abstract rate ( ) : double
return double

Property Details

amount_ protected property

protected double? amount_
return double?

nominal_ protected property

protected double nominal_
return double

paymentDate_ protected property

protected Date paymentDate_
return Date