OnixS Eurex ETI Handler C++ library  9.11.0
API documentation
InquireEnrichmentRuleIdListResponse.h
Go to the documentation of this file.
1 /*
2  * Copyright Onix Solutions Limited [OnixS]. All rights reserved.
3  *
4  * This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
5  * and international copyright treaties.
6  *
7  * Access to and use of the software is governed by the terms of the applicable ONIXS Software
8  * Services Agreement (the Agreement) and Customer end user license agreements granting
9  * a non-assignable, non-transferable and non-exclusive license to use the software
10  * for it's own data processing purposes under the terms defined in the Agreement.
11  *
12  * Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
13  * of this source code or associated reference material to any other location for further reproduction
14  * or redistribution, and any amendments to this copyright notice, are expressly prohibited.
15  *
16  * Any reproduction or redistribution for sale or hiring of the Software not in accordance with
17  * the terms of the Agreement is a violation of copyright law.
18  */
19 
20 #pragma once
21 
22 #include "OnixS/Eurex/Trading/Export.h"
27 
28 #include <iosfwd>
29 #include <string>
30 #include <vector>
31 
32 namespace OnixS {
33 namespace Eurex {
34 namespace Trading {
35 
36 /// Enrichment Rules Group Element.
37 class ONIXS_EUREX_ETI_EXPORT EnrichmentRulesGrpElem
38 {
39 public:
40  /// Initialize default instance.
42 
43  /// Identifies an enrichment rule.
45 
46  /// Party ID origination market.
48 
49  /// Account to book trades and keep positions on.
50  std::string account;
51 
52  /// Field is used for Eurex position management purposes and indicates whether the order is submitted to open or close a position.
54 
55  /// Indicates the name of a member institution to which a give-up is designated.
57 
58  /// Partner identification at the Korea Exchange is required for orders in KRX products.
60 
61  /// Mandatory final KRX beneficiary account required for orders in KRX products.
62  std::string partyIdBeneficiary;
63 
64  /// First free-format text field for trader-specific or customer-related comments.
65  std::string freeText1;
66 
67  /// Second free-format text field for trader-specific or customer-related comments.
68  std::string freeText2;
69 
70  /// Third free-format text field for trader-specific or customer-related comments.
71  std::string freeText3;
72 
73  /// Returns string representation.
74  std::string toString () const;
75 
76 private:
77  friend class Serializer;
78  EnrichmentRulesGrpElem (const void* data);
79 };
80 
81 ONIXS_EUREX_ETI_EXPORT std::ostream& operator << (std::ostream&, const EnrichmentRulesGrpElem&);
82 
83 /// Inquire Enrichment Rule Id List Response Message.
84 class ONIXS_EUREX_ETI_EXPORT InquireEnrichmentRuleIdListResponse : public Message
85 {
86 public:
87  /// Initialize default instance.
89 
90  /// Paging key for reference data request.
92 
93  /// Enrichment Rules Group.
94  std::vector<EnrichmentRulesGrpElem> enrichmentRulesGrp;
95 
96  /// Returns template ID.
97  TemplateId::Enum templateId () const;
98 
99  /// Returns string representation.
100  std::string toString () const;
101 
102 private:
103  friend class Serializer;
104  InquireEnrichmentRuleIdListResponse (const void* data, size_t dataSize, MessageInfo& msgInfo);
105  void nativeSerializeTo (void* nativeMessage);
106 };
107 
108 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const InquireEnrichmentRuleIdListResponse&);
109 
110 }
111 }
112 }
std::ostream & operator<<(std::ostream &, const ConnectionRetries &)
std::string freeText2
Second free-format text field for trader-specific or customer-related comments.
std::string freeText1
First free-format text field for trader-specific or customer-related comments.
PositionEffect::Enum positionEffect
Field is used for Eurex position management purposes and indicates whether the order is submitted to ...
Enum
Field is used for Eurex position management purposes and indicates whether the order is submitted to ...
Message base class.
Definition: Message.h:33
std::vector< UInt8 > Data
Definition: Defines.h:60
std::vector< EnrichmentRulesGrpElem > enrichmentRulesGrp
Enrichment Rules Group.
std::string partyIdBeneficiary
Mandatory final KRX beneficiary account required for orders in KRX products.
std::string freeText3
Third free-format text field for trader-specific or customer-related comments.
std::string account
Account to book trades and keep positions on.
std::string partyIdTakeUpTradingFirm
Indicates the name of a member institution to which a give-up is designated.
PartyIdOriginationMarket::Enum partyIdOriginationMarket
Party ID origination market.
unsigned short UInt16
Definition: Defines.h:45
std::string partyIdOrderOriginationFirm
Partner identification at the Korea Exchange is required for orders in KRX products.