SettlementInstructions.h 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. #ifndef FIX44_SETTLEMENTINSTRUCTIONS_H
  2. #define FIX44_SETTLEMENTINSTRUCTIONS_H
  3. #include "Message.h"
  4. namespace FIX44
  5. {
  6. class SettlementInstructions : public Message
  7. {
  8. public:
  9. SettlementInstructions() : Message(MsgType()) {}
  10. SettlementInstructions(const FIX::Message& m) : Message(m) {}
  11. SettlementInstructions(const Message& m) : Message(m) {}
  12. SettlementInstructions(const SettlementInstructions& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("T"); }
  14. SettlementInstructions(
  15. const FIX::SettlInstMsgID& aSettlInstMsgID,
  16. const FIX::SettlInstMode& aSettlInstMode,
  17. const FIX::TransactTime& aTransactTime )
  18. : Message(MsgType())
  19. {
  20. set(aSettlInstMsgID);
  21. set(aSettlInstMode);
  22. set(aTransactTime);
  23. }
  24. FIELD_SET(*this, FIX::SettlInstMsgID);
  25. FIELD_SET(*this, FIX::SettlInstReqID);
  26. FIELD_SET(*this, FIX::SettlInstMode);
  27. FIELD_SET(*this, FIX::SettlInstReqRejCode);
  28. FIELD_SET(*this, FIX::Text);
  29. FIELD_SET(*this, FIX::EncodedTextLen);
  30. FIELD_SET(*this, FIX::EncodedText);
  31. FIELD_SET(*this, FIX::ClOrdID);
  32. FIELD_SET(*this, FIX::TransactTime);
  33. FIELD_SET(*this, FIX::NoSettlInst);
  34. class NoSettlInst: public FIX::Group
  35. {
  36. public:
  37. NoSettlInst() : FIX::Group(778,162,FIX::message_order(162,163,214,453,54,460,167,461,168,126,779,172,169,170,171,492,476,488,489,503,490,491,504,505,0)) {}
  38. FIELD_SET(*this, FIX::SettlInstID);
  39. FIELD_SET(*this, FIX::SettlInstTransType);
  40. FIELD_SET(*this, FIX::SettlInstRefID);
  41. FIELD_SET(*this, FIX::NoPartyIDs);
  42. class NoPartyIDs: public FIX::Group
  43. {
  44. public:
  45. NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
  46. FIELD_SET(*this, FIX::PartyID);
  47. FIELD_SET(*this, FIX::PartyIDSource);
  48. FIELD_SET(*this, FIX::PartyRole);
  49. FIELD_SET(*this, FIX::NoPartySubIDs);
  50. class NoPartySubIDs: public FIX::Group
  51. {
  52. public:
  53. NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
  54. FIELD_SET(*this, FIX::PartySubID);
  55. FIELD_SET(*this, FIX::PartySubIDType);
  56. };
  57. };
  58. FIELD_SET(*this, FIX::Side);
  59. FIELD_SET(*this, FIX::Product);
  60. FIELD_SET(*this, FIX::SecurityType);
  61. FIELD_SET(*this, FIX::CFICode);
  62. FIELD_SET(*this, FIX::EffectiveTime);
  63. FIELD_SET(*this, FIX::ExpireTime);
  64. FIELD_SET(*this, FIX::LastUpdateTime);
  65. FIELD_SET(*this, FIX::SettlDeliveryType);
  66. FIELD_SET(*this, FIX::StandInstDbType);
  67. FIELD_SET(*this, FIX::StandInstDbName);
  68. FIELD_SET(*this, FIX::StandInstDbID);
  69. FIELD_SET(*this, FIX::PaymentMethod);
  70. FIELD_SET(*this, FIX::PaymentRef);
  71. FIELD_SET(*this, FIX::CardHolderName);
  72. FIELD_SET(*this, FIX::CardNumber);
  73. FIELD_SET(*this, FIX::CardStartDate);
  74. FIELD_SET(*this, FIX::CardExpDate);
  75. FIELD_SET(*this, FIX::CardIssNum);
  76. FIELD_SET(*this, FIX::PaymentDate);
  77. FIELD_SET(*this, FIX::PaymentRemitterID);
  78. };
  79. };
  80. }
  81. #endif