Files
externals/linux/include/quickfix/fix50/SettlementInstructions.h
John Colvin fc1ae2e5cb Upgrade linux quickfix
WARNING: This is NOT an official release.  As of 12/10/21 20:23, the
latest release of the quickfix lib (1.15.1) does not support c++17
(the FIX::Application class has fns with dynamic exceptions).  This
commit upgrades to a more recent (unreleased) build which supports
c++17.
2021-12-12 15:56:55 -05:00

115 lines
4.0 KiB
C++

#ifndef FIX50_SETTLEMENTINSTRUCTIONS_H
#define FIX50_SETTLEMENTINSTRUCTIONS_H
#include "Message.h"
namespace FIX50
{
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::NoDlvyInst);
class NoDlvyInst: public FIX::Group
{
public:
NoDlvyInst() : FIX::Group(85,165,FIX::message_order(165,787,781,0)) {}
FIELD_SET(*this, FIX::SettlInstSource);
FIELD_SET(*this, FIX::DlvyInstType);
FIELD_SET(*this, FIX::NoSettlPartyIDs);
class NoSettlPartyIDs: public FIX::Group
{
public:
NoSettlPartyIDs() : FIX::Group(781,782,FIX::message_order(782,783,784,801,0)) {}
FIELD_SET(*this, FIX::SettlPartyID);
FIELD_SET(*this, FIX::SettlPartyIDSource);
FIELD_SET(*this, FIX::SettlPartyRole);
FIELD_SET(*this, FIX::NoSettlPartySubIDs);
class NoSettlPartySubIDs: public FIX::Group
{
public:
NoSettlPartySubIDs() : FIX::Group(801,785,FIX::message_order(785,786,0)) {}
FIELD_SET(*this, FIX::SettlPartySubID);
FIELD_SET(*this, FIX::SettlPartySubIDType);
};
};
};
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