LUSID C# SDK
|
A list of transactions. More...
Public Types | |
enum class | TransactionStatusEnum { Active = 1 , Amended = 2 , Cancelled = 3 } |
The status of the transaction. The available values are: Active, Amended, Cancelled More... | |
Public Member Functions | |
Transaction (string transactionId=default(string), string type=default(string), Dictionary< string, string > instrumentIdentifiers=default(Dictionary< string, string >), string instrumentScope=default(string), string instrumentUid=default(string), DateTimeOffset transactionDate=default(DateTimeOffset), DateTimeOffset settlementDate=default(DateTimeOffset), decimal units=default(decimal), TransactionPrice transactionPrice=default(TransactionPrice), CurrencyAndAmount totalConsideration=default(CurrencyAndAmount), decimal? exchangeRate=default(decimal?), string transactionCurrency=default(string), Dictionary< string, PerpetualProperty > properties=default(Dictionary< string, PerpetualProperty >), string counterpartyId=default(string), string source=default(string), DateTimeOffset entryDateTime=default(DateTimeOffset), OtcConfirmation otcConfirmation=default(OtcConfirmation), TransactionStatusEnum? transactionStatus=default(TransactionStatusEnum?), DateTimeOffset? cancelDateTime=default(DateTimeOffset?), ResourceId orderId=default(ResourceId), ResourceId allocationId=default(ResourceId), CustodianAccount custodianAccount=default(CustodianAccount), string transactionGroupId=default(string), List< Strategy > strategyTag=default(List< Strategy >), TransactionTypeDetails resolvedTransactionTypeDetails=default(TransactionTypeDetails)) | |
Initializes a new instance of the Transaction 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 (Transaction input) |
Returns true if Transaction instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
Transaction () | |
Initializes a new instance of the Transaction class. More... | |
Properties | |
TransactionStatusEnum? | TransactionStatus [get, set] |
The status of the transaction. The available values are: Active, Amended, Cancelled More... | |
string | TransactionId [get, set] |
The unique identifier for the transaction. More... | |
string | Type [get, set] |
The type of the transaction e.g. 'Buy', 'Sell'. The transaction type should have been pre-configured via the System Configuration API endpoint. More... | |
Dictionary< string, string > | InstrumentIdentifiers [get, set] |
A set of instrument identifiers that can resolve the transaction to a unique instrument. More... | |
string | InstrumentScope [get, set] |
The scope in which the transaction's instrument lies. More... | |
string | InstrumentUid [get, set] |
The unique Lusid Instrument Id (LUID) of the instrument that the transaction is in. More... | |
DateTimeOffset | TransactionDate [get, set] |
The date of the transaction. More... | |
DateTimeOffset | SettlementDate [get, set] |
The settlement date of the transaction. More... | |
decimal | Units [get, set] |
The number of units transacted in the associated instrument. More... | |
TransactionPrice | TransactionPrice [get, set] |
Gets or Sets TransactionPrice More... | |
CurrencyAndAmount | TotalConsideration [get, set] |
Gets or Sets TotalConsideration More... | |
decimal? | ExchangeRate [get, set] |
The exchange rate between the transaction and settlement currency (settlement currency being represented by the TotalConsideration.Currency). For example if the transaction currency is in USD and the settlement currency is in GBP this this the USD/GBP rate. More... | |
string | TransactionCurrency [get, set] |
The transaction currency. More... | |
Dictionary< string, PerpetualProperty > | Properties [get, set] |
Set of unique transaction properties and associated values to stored with the transaction. Each property will be from the 'Transaction' domain. More... | |
string | CounterpartyId [get, set] |
The identifier for the counterparty of the transaction. More... | |
string | Source [get, set] |
The source of the transaction. This is used to look up the appropriate transaction group set in the transaction type configuration. More... | |
DateTimeOffset | EntryDateTime [get, set] |
The asAt datetime that the transaction was added to LUSID. More... | |
OtcConfirmation | OtcConfirmation [get, set] |
Gets or Sets OtcConfirmation More... | |
DateTimeOffset? | CancelDateTime [get, set] |
If the transaction has been cancelled, the asAt datetime that the transaction was cancelled. More... | |
ResourceId | OrderId [get, set] |
Gets or Sets OrderId More... | |
ResourceId | AllocationId [get, set] |
Gets or Sets AllocationId More... | |
CustodianAccount | CustodianAccount [get, set] |
Gets or Sets CustodianAccount More... | |
string | TransactionGroupId [get, set] |
The identifier for grouping economic events across multiple transactions More... | |
List< Strategy > | StrategyTag [get, set] |
A list of strategies representing the allocation of units across multiple sub-holding keys More... | |
TransactionTypeDetails | ResolvedTransactionTypeDetails [get, set] |
Gets or Sets ResolvedTransactionTypeDetails More... | |
A list of transactions.
The status of the transaction. The available values are: Active, Amended, Cancelled
The status of the transaction. The available values are: Active, Amended, Cancelled
Enumerator | |
---|---|
Active | Enum Active for value: Active |
Amended | Enum Amended for value: Amended |
Cancelled | Enum Cancelled for value: Cancelled |
|
inlineprotected |
Initializes a new instance of the Transaction class.
|
inline |
Initializes a new instance of the Transaction class.
transactionId | The unique identifier for the transaction. (required). |
type | The type of the transaction e.g. 'Buy', 'Sell'. The transaction type should have been pre-configured via the System Configuration API endpoint. (required). |
instrumentIdentifiers | A set of instrument identifiers that can resolve the transaction to a unique instrument.. |
instrumentScope | The scope in which the transaction's instrument lies.. |
instrumentUid | The unique Lusid Instrument Id (LUID) of the instrument that the transaction is in. (required). |
transactionDate | The date of the transaction. (required). |
settlementDate | The settlement date of the transaction. (required). |
units | The number of units transacted in the associated instrument. (required). |
transactionPrice | transactionPrice. |
totalConsideration | totalConsideration (required). |
exchangeRate | The exchange rate between the transaction and settlement currency (settlement currency being represented by the TotalConsideration.Currency). For example if the transaction currency is in USD and the settlement currency is in GBP this this the USD/GBP rate.. |
transactionCurrency | The transaction currency.. |
properties | Set of unique transaction properties and associated values to stored with the transaction. Each property will be from the 'Transaction' domain.. |
counterpartyId | The identifier for the counterparty of the transaction.. |
source | The source of the transaction. This is used to look up the appropriate transaction group set in the transaction type configuration.. |
entryDateTime | The asAt datetime that the transaction was added to LUSID.. |
otcConfirmation | otcConfirmation. |
transactionStatus | The status of the transaction. The available values are: Active, Amended, Cancelled. |
cancelDateTime | If the transaction has been cancelled, the asAt datetime that the transaction was cancelled.. |
orderId | orderId. |
allocationId | allocationId. |
custodianAccount | custodianAccount. |
transactionGroupId | The identifier for grouping economic events across multiple transactions. |
strategyTag | A list of strategies representing the allocation of units across multiple sub-holding keys. |
resolvedTransactionTypeDetails | resolvedTransactionTypeDetails. |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Returns true if Transaction instances are equal
input | Instance of Transaction 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 AllocationId
|
getset |
If the transaction has been cancelled, the asAt datetime that the transaction was cancelled.
If the transaction has been cancelled, the asAt datetime that the transaction was cancelled.
|
getset |
The identifier for the counterparty of the transaction.
The identifier for the counterparty of the transaction.
|
getset |
Gets or Sets CustodianAccount
|
getset |
The asAt datetime that the transaction was added to LUSID.
The asAt datetime that the transaction was added to LUSID.
|
getset |
The exchange rate between the transaction and settlement currency (settlement currency being represented by the TotalConsideration.Currency). For example if the transaction currency is in USD and the settlement currency is in GBP this this the USD/GBP rate.
The exchange rate between the transaction and settlement currency (settlement currency being represented by the TotalConsideration.Currency). For example if the transaction currency is in USD and the settlement currency is in GBP this this the USD/GBP rate.
|
getset |
A set of instrument identifiers that can resolve the transaction to a unique instrument.
A set of instrument identifiers that can resolve the transaction to a unique instrument.
|
getset |
The scope in which the transaction's instrument lies.
The scope in which the transaction's instrument lies.
|
getset |
The unique Lusid Instrument Id (LUID) of the instrument that the transaction is in.
The unique Lusid Instrument Id (LUID) of the instrument that the transaction is in.
|
getset |
Gets or Sets OrderId
|
getset |
Gets or Sets OtcConfirmation
|
getset |
Set of unique transaction properties and associated values to stored with the transaction. Each property will be from the 'Transaction' domain.
Set of unique transaction properties and associated values to stored with the transaction. Each property will be from the 'Transaction' domain.
|
getset |
Gets or Sets ResolvedTransactionTypeDetails
|
getset |
The settlement date of the transaction.
The settlement date of the transaction.
|
getset |
The source of the transaction. This is used to look up the appropriate transaction group set in the transaction type configuration.
The source of the transaction. This is used to look up the appropriate transaction group set in the transaction type configuration.
|
getset |
A list of strategies representing the allocation of units across multiple sub-holding keys
A list of strategies representing the allocation of units across multiple sub-holding keys
|
getset |
Gets or Sets TotalConsideration
|
getset |
The transaction currency.
The transaction currency.
|
getset |
The date of the transaction.
The date of the transaction.
|
getset |
The identifier for grouping economic events across multiple transactions
The identifier for grouping economic events across multiple transactions
|
getset |
The unique identifier for the transaction.
The unique identifier for the transaction.
|
getset |
Gets or Sets TransactionPrice
|
getset |
The status of the transaction. The available values are: Active, Amended, Cancelled
The status of the transaction. The available values are: Active, Amended, Cancelled
|
getset |
The type of the transaction e.g. 'Buy', 'Sell'. The transaction type should have been pre-configured via the System Configuration API endpoint.
The type of the transaction e.g. 'Buy', 'Sell'. The transaction type should have been pre-configured via the System Configuration API endpoint.
|
getset |
The number of units transacted in the associated instrument.
The number of units transacted in the associated instrument.