SettlementInstructions.h 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. #ifndef FIX50SP2_SETTLEMENTINSTRUCTIONS_H
  2. #define FIX50SP2_SETTLEMENTINSTRUCTIONS_H
  3. #include "Message.h"
  4. namespace FIX50SP2
  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,120,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::SettlCurrency);
  63. FIELD_SET(*this, FIX::EffectiveTime);
  64. FIELD_SET(*this, FIX::ExpireTime);
  65. FIELD_SET(*this, FIX::LastUpdateTime);
  66. FIELD_SET(*this, FIX::SettlDeliveryType);
  67. FIELD_SET(*this, FIX::StandInstDbType);
  68. FIELD_SET(*this, FIX::StandInstDbName);
  69. FIELD_SET(*this, FIX::StandInstDbID);
  70. FIELD_SET(*this, FIX::PaymentMethod);
  71. FIELD_SET(*this, FIX::PaymentRef);
  72. FIELD_SET(*this, FIX::CardHolderName);
  73. FIELD_SET(*this, FIX::CardNumber);
  74. FIELD_SET(*this, FIX::CardStartDate);
  75. FIELD_SET(*this, FIX::CardExpDate);
  76. FIELD_SET(*this, FIX::CardIssNum);
  77. FIELD_SET(*this, FIX::PaymentDate);
  78. FIELD_SET(*this, FIX::PaymentRemitterID);
  79. };
  80. };
  81. }
  82. #endif