26#include <boost/optional.hpp>
Bond trade data model and serialization.
BondData originalBondData_
virtual void fromXML(XMLNode *node) override
XMLSerializable interface.
virtual XMLNode * toXML(XMLDocument &doc) const override
const string & dayCounter() const
TreasuryLockData(bool payer, const BondData &bondData, Real referenceRate, string dayCounter, string terminationDate, int paymentGap, string paymentCalendar)
Constructor that takes an explicit creditCurveId.
Real referenceRate() const
const string & terminationDate() const
const BondData & bondData() const
const string & paymentCalendar() const
const BondData & originalBondData() const
TreasuryLockData()
Default constructor.
Small XML Document wrapper class.
Base class for all serializable classes.
leg data model and serialization
Serializable Credit Default Swap.
base trade data model and serialization