LUSID C# SDK
|
A LUSID Trade Ticket comprising an instrument, a transaction, and a counterparty. More...
Public Types | |
enum class | TradeTicketTypeEnum { LusidTradeTicket = 1 , ExternalTradeTicket = 2 } |
The available values are: LusidTradeTicket, ExternalTradeTicket More... | |
Public Member Functions | |
LusidTradeTicket (string transactionId=default(string), string transactionType=default(string), string source=default(string), string transactionDate=default(string), string settlementDate=default(string), CurrencyAndAmount totalConsideration=default(CurrencyAndAmount), decimal units=default(decimal), Dictionary< string, string > instrumentIdentifiers=default(Dictionary< string, string >), string instrumentScope=default(string), string instrumentName=default(string), LusidInstrument instrumentDefinition=default(LusidInstrument), ResourceId counterpartyAgreementId=default(ResourceId), List< Property > instrumentProperties=default(List< Property >), List< Property > transactionProperties=default(List< Property >), TradeTicketTypeEnum tradeTicketType=default(TradeTicketTypeEnum)) | |
Initializes a new instance of the LusidTradeTicket class. More... | |
override string | ToString () |
Returns the string presentation of the object More... | |
virtual string | ToJson () |
Returns the JSON string presentation of the object More... | |
override bool | Equals (object input) |
Returns true if objects are equal More... | |
bool | Equals (LusidTradeTicket input) |
Returns true if LusidTradeTicket instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
LusidTradeTicket () | |
Initializes a new instance of the LusidTradeTicket class. More... | |
Properties | |
TradeTicketTypeEnum | TradeTicketType [get, set] |
The available values are: LusidTradeTicket, ExternalTradeTicket More... | |
string | TransactionId [get, set] |
Transaction ID. Must be unique. More... | |
string | TransactionType [get, set] |
Type of transaction for processing. Referenced by Transaction Configuration. More... | |
string | Source [get, set] |
Transaction Source. Referenced by Transaction Configuration. More... | |
string | TransactionDate [get, set] |
Transaction Date. Date at which transaction is known. More... | |
string | SettlementDate [get, set] |
Transaction settlement. Date at which transaction is finalised and realised into the system. More... | |
CurrencyAndAmount | TotalConsideration [get, set] |
Gets or Sets TotalConsideration More... | |
decimal | Units [get, set] |
Number of units in the transaction. For an OTC this is somewhat interchangeable with the quantity booked in the instrument. As M x N or N x M are equivalent it is advised a client chooses one approach and sticks to it. Arguably either the unit or holding is best unitised. More... | |
Dictionary< string, string > | InstrumentIdentifiers [get, set] |
Identifiers for the instrument. More... | |
string | InstrumentScope [get, set] |
Scope of instrument More... | |
string | InstrumentName [get, set] |
Name of instrument More... | |
LusidInstrument | InstrumentDefinition [get, set] |
Gets or Sets InstrumentDefinition More... | |
ResourceId | CounterpartyAgreementId [get, set] |
Gets or Sets CounterpartyAgreementId More... | |
List< Property > | InstrumentProperties [get, set] |
Set of instrument properties (as defined by client/user). More... | |
List< Property > | TransactionProperties [get, set] |
Set of transaction properties (as defined by client/user). More... | |
A LUSID Trade Ticket comprising an instrument, a transaction, and a counterparty.
The available values are: LusidTradeTicket, ExternalTradeTicket
The available values are: LusidTradeTicket, ExternalTradeTicket
Enumerator | |
---|---|
LusidTradeTicket | Enum LusidTradeTicket for value: LusidTradeTicket |
ExternalTradeTicket | Enum ExternalTradeTicket for value: ExternalTradeTicket |
|
inlineprotected |
Initializes a new instance of the LusidTradeTicket class.
|
inline |
Initializes a new instance of the LusidTradeTicket class.
transactionId | Transaction ID. Must be unique. (required). |
transactionType | Type of transaction for processing. Referenced by Transaction Configuration. (required). |
source | Transaction Source. Referenced by Transaction Configuration.. |
transactionDate | Transaction Date. Date at which transaction is known. (required). |
settlementDate | Transaction settlement. Date at which transaction is finalised and realised into the system. (required). |
totalConsideration | totalConsideration (required). |
units | Number of units in the transaction. For an OTC this is somewhat interchangeable with the quantity booked in the instrument. As M x N or N x M are equivalent it is advised a client chooses one approach and sticks to it. Arguably either the unit or holding is best unitised. (required). |
instrumentIdentifiers | Identifiers for the instrument. (required). |
instrumentScope | Scope of instrument. |
instrumentName | Name of instrument. |
instrumentDefinition | instrumentDefinition. |
counterpartyAgreementId | counterpartyAgreementId. |
instrumentProperties | Set of instrument properties (as defined by client/user).. |
transactionProperties | Set of transaction properties (as defined by client/user).. |
tradeTicketType | The available values are: LusidTradeTicket, ExternalTradeTicket (required). |
|
inline |
Returns true if LusidTradeTicket instances are equal
input | Instance of LusidTradeTicket to be compared |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
|
inline |
Returns the string presentation of the object
|
getset |
Gets or Sets CounterpartyAgreementId
|
getset |
Gets or Sets InstrumentDefinition
|
getset |
Identifiers for the instrument.
Identifiers for the instrument.
|
getset |
Name of instrument
Name of instrument
|
getset |
Set of instrument properties (as defined by client/user).
Set of instrument properties (as defined by client/user).
|
getset |
Scope of instrument
Scope of instrument
|
getset |
Transaction settlement. Date at which transaction is finalised and realised into the system.
Transaction settlement. Date at which transaction is finalised and realised into the system.
|
getset |
Transaction Source. Referenced by Transaction Configuration.
Transaction Source. Referenced by Transaction Configuration.
|
getset |
Gets or Sets TotalConsideration
|
getset |
The available values are: LusidTradeTicket, ExternalTradeTicket
The available values are: LusidTradeTicket, ExternalTradeTicket
|
getset |
Transaction Date. Date at which transaction is known.
Transaction Date. Date at which transaction is known.
|
getset |
Transaction ID. Must be unique.
Transaction ID. Must be unique.
|
getset |
Set of transaction properties (as defined by client/user).
Set of transaction properties (as defined by client/user).
|
getset |
Type of transaction for processing. Referenced by Transaction Configuration.
Type of transaction for processing. Referenced by Transaction Configuration.
|
getset |
Number of units in the transaction. For an OTC this is somewhat interchangeable with the quantity booked in the instrument. As M x N or N x M are equivalent it is advised a client chooses one approach and sticks to it. Arguably either the unit or holding is best unitised.
Number of units in the transaction. For an OTC this is somewhat interchangeable with the quantity booked in the instrument. As M x N or N x M are equivalent it is advised a client chooses one approach and sticks to it. Arguably either the unit or holding is best unitised.