SettlementInstructionRequest.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #ifndef FIX50SP2_SETTLEMENTINSTRUCTIONREQUEST_H
  2. #define FIX50SP2_SETTLEMENTINSTRUCTIONREQUEST_H
  3. #include "Message.h"
  4. namespace FIX50SP2
  5. {
  6. class SettlementInstructionRequest : public Message
  7. {
  8. public:
  9. SettlementInstructionRequest() : Message(MsgType()) {}
  10. SettlementInstructionRequest(const FIX::Message& m) : Message(m) {}
  11. SettlementInstructionRequest(const Message& m) : Message(m) {}
  12. SettlementInstructionRequest(const SettlementInstructionRequest& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("AV"); }
  14. SettlementInstructionRequest(
  15. const FIX::SettlInstReqID& aSettlInstReqID,
  16. const FIX::TransactTime& aTransactTime )
  17. : Message(MsgType())
  18. {
  19. set(aSettlInstReqID);
  20. set(aTransactTime);
  21. }
  22. FIELD_SET(*this, FIX::SettlInstReqID);
  23. FIELD_SET(*this, FIX::TransactTime);
  24. FIELD_SET(*this, FIX::NoPartyIDs);
  25. class NoPartyIDs: public FIX::Group
  26. {
  27. public:
  28. NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
  29. FIELD_SET(*this, FIX::PartyID);
  30. FIELD_SET(*this, FIX::PartyIDSource);
  31. FIELD_SET(*this, FIX::PartyRole);
  32. FIELD_SET(*this, FIX::NoPartySubIDs);
  33. class NoPartySubIDs: public FIX::Group
  34. {
  35. public:
  36. NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
  37. FIELD_SET(*this, FIX::PartySubID);
  38. FIELD_SET(*this, FIX::PartySubIDType);
  39. };
  40. };
  41. FIELD_SET(*this, FIX::AllocAccount);
  42. FIELD_SET(*this, FIX::AllocAcctIDSource);
  43. FIELD_SET(*this, FIX::Side);
  44. FIELD_SET(*this, FIX::Product);
  45. FIELD_SET(*this, FIX::SecurityType);
  46. FIELD_SET(*this, FIX::CFICode);
  47. FIELD_SET(*this, FIX::SettlCurrency);
  48. FIELD_SET(*this, FIX::EffectiveTime);
  49. FIELD_SET(*this, FIX::ExpireTime);
  50. FIELD_SET(*this, FIX::LastUpdateTime);
  51. FIELD_SET(*this, FIX::StandInstDbType);
  52. FIELD_SET(*this, FIX::StandInstDbName);
  53. FIELD_SET(*this, FIX::StandInstDbID);
  54. };
  55. }
  56. #endif