Serializable object holding amortization rules. More...
#include <ored/portfolio/legdata.hpp>
Inheritance diagram for AmortizationData:Public Member Functions | |
| AmortizationData (string type, double value, string startDate, string endDate, string frequency, bool underflow) | |
| virtual void | fromXML (XMLNode *node) override |
| virtual XMLNode * | toXML (XMLDocument &doc) const override |
| const string & | type () const |
| FixedAmount, RelativeToInitialNotional, RelativeToPreviousNotional, Annuity. | |
| double | value () const |
| Interpretation depending on type() | |
| const string & | startDate () const |
| Amortization start date. | |
| const string & | endDate () const |
| Amortization end date. | |
| const string & | frequency () const |
| Amortization frequency. | |
| bool | underflow () const |
| Allow amortization below zero notional if true. | |
| bool | initialized () const |
Public Member Functions inherited from XMLSerializable | |
| void | fromFile (const std::string &filename) |
| void | toFile (const std::string &filename) const |
| void | fromXMLString (const std::string &xml) |
| Parse from XML string. | |
| std::string | toXMLString () const |
| Parse from XML string. | |
Serializable object holding amortization rules.