EuropeanOptionBarrier(const Envelope &env, const string &quantity, const string &putCall, const string &longShort, const string &strike, const string &premiumAmount, const string &premiumCurrency, const string &premiumDate, const string &optionExpiry, const QuantLib::ext::shared_ptr< Underlying > &optionUnderlying, const QuantLib::ext::shared_ptr< Underlying > &barrierUnderlying, const string &barrierLevel, const string &barrierType, const string &barrierStyle, const string &settlementDate, const string &payCcy, const ScheduleData &barrierSchedule, const QuantLib::ext::shared_ptr< Conventions > &conventions=nullptr)