I'm working on a project where I'm using Quantlib to perform some bond calculations, such as yield and duration. Plugging in listing date maturity date, face value, calendar, day count convention etc and get the yield and duration value out is fairly simple.
It looks like given the issue date, maturity date, calendar and business day convention, Quantlib are able to calculate a the cash flow dates. And I have no reason to believe that the cash flow dates are incorrect. However I have the cash flow date, sink date, redemption dates from a data vendor and would like to use them instead of the dates Quantlib are calculating. How do I "plug" the cashflow dates into Quentlib?