24#ifndef quantext_payment_hpp
25#define quantext_payment_hpp
27#include <ql/cashflows/simplecashflow.hpp>
28#include <ql/currency.hpp>
29#include <ql/instrument.hpp>
30#include <ql/quote.hpp>
31#include <ql/time/calendar.hpp>
32#include <ql/time/daycounter.hpp>
55 void fetchResults(
const PricingEngine::results*)
const override;
69 QuantLib::ext::shared_ptr<SimpleCashFlow>
cashflow_;
75 QuantLib::ext::shared_ptr<SimpleCashFlow>
cashflow;
82 void reset()
override;
86class Payment::engine :
public GenericEngine<Payment::arguments, Payment::results> {};
QuantLib::ext::shared_ptr< SimpleCashFlow > cashflow
void validate() const override
void setupArguments(PricingEngine::arguments *) const override
bool isExpired() const override
const QuantLib::ext::shared_ptr< SimpleCashFlow > & cashFlow() const
void setupExpired() const override
void fetchResults(const PricingEngine::results *) const override
Currency currency() const
QuantLib::ext::shared_ptr< SimpleCashFlow > cashflow_