#ifndef FIX50SP2_SETTLEMENTINSTRUCTIONS_H #define FIX50SP2_SETTLEMENTINSTRUCTIONS_H #include "Message.h" namespace FIX50SP2 { class SettlementInstructions : public Message { public: SettlementInstructions() : Message(MsgType()) {} SettlementInstructions(const FIX::Message& m) : Message(m) {} SettlementInstructions(const Message& m) : Message(m) {} SettlementInstructions(const SettlementInstructions& m) : Message(m) {} static FIX::MsgType MsgType() { return FIX::MsgType("T"); } SettlementInstructions( const FIX::SettlInstMsgID& aSettlInstMsgID, const FIX::SettlInstMode& aSettlInstMode, const FIX::TransactTime& aTransactTime ) : Message(MsgType()) { set(aSettlInstMsgID); set(aSettlInstMode); set(aTransactTime); } FIELD_SET(*this, FIX::SettlInstMsgID); FIELD_SET(*this, FIX::SettlInstReqID); FIELD_SET(*this, FIX::SettlInstMode); FIELD_SET(*this, FIX::SettlInstReqRejCode); FIELD_SET(*this, FIX::Text); FIELD_SET(*this, FIX::EncodedTextLen); FIELD_SET(*this, FIX::EncodedText); FIELD_SET(*this, FIX::ClOrdID); FIELD_SET(*this, FIX::TransactTime); FIELD_SET(*this, FIX::NoSettlInst); class NoSettlInst: public FIX::Group { public: NoSettlInst() : FIX::Group(778,162,FIX::message_order(162,163,214,453,54,460,167,461,120,168,126,779,172,169,170,171,492,476,488,489,503,490,491,504,505,0)) {} FIELD_SET(*this, FIX::SettlInstID); FIELD_SET(*this, FIX::SettlInstTransType); FIELD_SET(*this, FIX::SettlInstRefID); FIELD_SET(*this, FIX::NoPartyIDs); class NoPartyIDs: public FIX::Group { public: NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {} FIELD_SET(*this, FIX::PartyID); FIELD_SET(*this, FIX::PartyIDSource); FIELD_SET(*this, FIX::PartyRole); FIELD_SET(*this, FIX::NoPartySubIDs); class NoPartySubIDs: public FIX::Group { public: NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {} FIELD_SET(*this, FIX::PartySubID); FIELD_SET(*this, FIX::PartySubIDType); }; }; FIELD_SET(*this, FIX::Side); FIELD_SET(*this, FIX::Product); FIELD_SET(*this, FIX::SecurityType); FIELD_SET(*this, FIX::CFICode); FIELD_SET(*this, FIX::SettlCurrency); FIELD_SET(*this, FIX::EffectiveTime); FIELD_SET(*this, FIX::ExpireTime); FIELD_SET(*this, FIX::LastUpdateTime); FIELD_SET(*this, FIX::SettlDeliveryType); FIELD_SET(*this, FIX::StandInstDbType); FIELD_SET(*this, FIX::StandInstDbName); FIELD_SET(*this, FIX::StandInstDbID); FIELD_SET(*this, FIX::PaymentMethod); FIELD_SET(*this, FIX::PaymentRef); FIELD_SET(*this, FIX::CardHolderName); FIELD_SET(*this, FIX::CardNumber); FIELD_SET(*this, FIX::CardStartDate); FIELD_SET(*this, FIX::CardExpDate); FIELD_SET(*this, FIX::CardIssNum); FIELD_SET(*this, FIX::PaymentDate); FIELD_SET(*this, FIX::PaymentRemitterID); }; }; } #endif