Redemption Class

A class to represent any redemption date and rate.

Definition

Namespace: com.ftlabs.fisa
Assembly: FISA.NET (in FISA.NET.dll) Version: 1.16.0.13 (1.16.0.13)
C#
public class Redemption : IComparable<Redemption>
Inheritance
Object    Redemption
Implements
IComparableRedemption

Remarks

This could be maturity, a call, a put etc...

Constructors

Redemption This will initialize a Redemption with an empty date, a value of 0.0, and a null lastInterestDate.
Redemption(FISADate, Double) This will initialize a Redemption with the provided date and value and will set lastInterestDate to null.
Redemption(FISADate, Double, FISADate) This will initialize a Redemption with the provided date, value, and lastInterestDate.

Methods

CompareTo 
Equals
(Overrides ObjectEquals(Object))
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
generateLastInterestDate Generates a date that would be the interest/dividend date just prior to redemption. This method stores the generated lastInterestDate to this Redemption object and returns the result.
getDateGet the redemption date.
GetHashCode
(Overrides ObjectGetHashCode)
getLastInterestDate Get the last interest date, which would be the interest date just prior to redemption.
GetTypeGets the Type of the current instance.
(Inherited from Object)
getValueGet the redemption value.
isEmpty 
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
setDateSet the redemption date.
setLastInterestDate Set or clear the last interest date, which would be the interest date just prior to redemption.
setValueSet the redemption value.
ToString
(Overrides ObjectToString)

See Also