LUSID C# SDK
|
A list of output 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 | |
OutputTransaction (string transactionId=default(string), string type=default(string), string description=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), decimal transactionAmount=default(decimal), TransactionPrice transactionPrice=default(TransactionPrice), CurrencyAndAmount totalConsideration=default(CurrencyAndAmount), decimal exchangeRate=default(decimal), decimal? transactionToPortfolioRate=default(decimal?), string transactionCurrency=default(string), Dictionary< string, PerpetualProperty > properties=default(Dictionary< string, PerpetualProperty >), string counterpartyId=default(string), string source=default(string), TransactionStatusEnum? transactionStatus=default(TransactionStatusEnum?), DateTimeOffset entryDateTime=default(DateTimeOffset), DateTimeOffset? cancelDateTime=default(DateTimeOffset?), List< RealisedGainLoss > realisedGainLoss=default(List< RealisedGainLoss >), List< long > holdingIds=default(List< long >)) | |
Initializes a new instance of the OutputTransaction 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 (OutputTransaction input) |
Returns true if OutputTransaction instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
OutputTransaction () | |
Initializes a new instance of the OutputTransaction 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... | |
string | Description [get, set] |
The description of the transaction. This only exists on transactions generated by LUSID e.g. a holdings adjustment transaction. 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 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... | |
decimal | TransactionAmount [get, set] |
The total value of the transaction in the transaction currency. 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... | |
decimal? | TransactionToPortfolioRate [get, set] |
The exchange rate between the transaction and portfolio currency. For example if the transaction currency is in USD and the portfolio 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... | |
DateTimeOffset? | CancelDateTime [get, set] |
If the transaction has been cancelled, the asAt datetime that the transaction was cancelled. More... | |
List< RealisedGainLoss > | RealisedGainLoss [get, set] |
The collection of realised gains or losses resulting from relevant transactions e.g. a sale transaction. The cost used in calculating the realised gain or loss is determined by the accounting method defined when the transaction portfolio is created. More... | |
List< long > | HoldingIds [get, set] |
The collection of single identifiers for the holding within the portfolio. The holdingId is constructed from the LusidInstrumentId, sub-holding keys and currrency and is unique within the portfolio. More... | |
A list of output 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 OutputTransaction class.
|
inline |
Initializes a new instance of the OutputTransaction 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). |
description | The description of the transaction. This only exists on transactions generated by LUSID e.g. a holdings adjustment transaction.. |
instrumentIdentifiers | A set of instrument identifiers that can resolve the transaction to a unique instrument.. |
instrumentScope | The scope in which the 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). |
transactionAmount | The total value of the transaction in the transaction currency.. |
transactionPrice | transactionPrice. |
totalConsideration | totalConsideration. |
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.. |
transactionToPortfolioRate | The exchange rate between the transaction and portfolio currency. For example if the transaction currency is in USD and the portfolio 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.. |
transactionStatus | The status of the transaction. The available values are: Active, Amended, Cancelled. |
entryDateTime | The asAt datetime that the transaction was added to LUSID.. |
cancelDateTime | If the transaction has been cancelled, the asAt datetime that the transaction was cancelled.. |
realisedGainLoss | The collection of realised gains or losses resulting from relevant transactions e.g. a sale transaction. The cost used in calculating the realised gain or loss is determined by the accounting method defined when the transaction portfolio is created.. |
holdingIds | The collection of single identifiers for the holding within the portfolio. The holdingId is constructed from the LusidInstrumentId, sub-holding keys and currrency and is unique within the portfolio.. |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Returns true if OutputTransaction instances are equal
input | Instance of OutputTransaction 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 |
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 |
The description of the transaction. This only exists on transactions generated by LUSID e.g. a holdings adjustment transaction.
The description of the transaction. This only exists on transactions generated by LUSID e.g. a holdings adjustment transaction.
|
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 |
The collection of single identifiers for the holding within the portfolio. The holdingId is constructed from the LusidInstrumentId, sub-holding keys and currrency and is unique within the portfolio.
The collection of single identifiers for the holding within the portfolio. The holdingId is constructed from the LusidInstrumentId, sub-holding keys and currrency and is unique within the portfolio.
|
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 instrument lies.
The scope in which the 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 |
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 |
The collection of realised gains or losses resulting from relevant transactions e.g. a sale transaction. The cost used in calculating the realised gain or loss is determined by the accounting method defined when the transaction portfolio is created.
The collection of realised gains or losses resulting from relevant transactions e.g. a sale transaction. The cost used in calculating the realised gain or loss is determined by the accounting method defined when the transaction portfolio is created.
|
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 |
Gets or Sets TotalConsideration
|
getset |
The total value of the transaction in the transaction currency.
The total value of the transaction in the transaction currency.
|
getset |
The transaction currency.
The transaction currency.
|
getset |
The date of the transaction.
The date of the transaction.
|
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 exchange rate between the transaction and portfolio currency. For example if the transaction currency is in USD and the portfolio currency is in GBP this this the USD/GBP rate.
The exchange rate between the transaction and portfolio currency. For example if the transaction currency is in USD and the portfolio currency is in GBP this this the USD/GBP rate.
|
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.