TransactionRequest
More...
|
| | TransactionRequest (string transactionId=default(string), string type=default(string), Dictionary< string, string > instrumentIdentifiers=default(Dictionary< string, string >), DateTimeOrCutLabel transactionDate=default(DateTimeOrCutLabel), DateTimeOrCutLabel settlementDate=default(DateTimeOrCutLabel), 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)) |
| | Initializes a new instance of the TransactionRequest 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 (TransactionRequest input) |
| | Returns true if TransactionRequest instances are equal More...
|
| |
| override int | GetHashCode () |
| | Gets the hash code More...
|
| |
|
| string | TransactionId [get, set] |
| | The unique identifier of the transaction. More...
|
| |
| string | Type [get, set] |
| | The type of the transaction, for example 'Buy' or 'Sell'. The transaction type must have been pre-configured using the System Configuration API. If not, this operation will succeed but you are not able to calculate holdings for the portfolio that include this transaction. More...
|
| |
| Dictionary< string, string > | InstrumentIdentifiers [get, set] |
| | A set of instrument identifiers that can resolve the transaction to a unique instrument. More...
|
| |
| DateTimeOrCutLabel | TransactionDate [get, set] |
| | The date of the transaction. More...
|
| |
| DateTimeOrCutLabel | SettlementDate [get, set] |
| | The settlement date of the transaction. More...
|
| |
| decimal | Units [get, set] |
| | The number of units of the transacted 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 TotalConsideration.Currency). For example, if the transaction currency is USD and the settlement currency is GBP, this would be the appropriate USD/GBP rate. More...
|
| |
| string | TransactionCurrency [get, set] |
| | The transaction currency. More...
|
| |
| Dictionary< string, PerpetualProperty > | Properties [get, set] |
| | A list of unique transaction properties and associated values to store for the transaction. Each property must 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...
|
| |
◆ TransactionRequest() [1/2]
| Lusid.Sdk.Model.TransactionRequest.TransactionRequest |
( |
| ) |
|
|
inlineprotected |
◆ TransactionRequest() [2/2]
| Lusid.Sdk.Model.TransactionRequest.TransactionRequest |
( |
string |
transactionId = default(string), |
|
|
string |
type = default(string), |
|
|
Dictionary< string, string > |
instrumentIdentifiers = default(Dictionary<string, string>), |
|
|
DateTimeOrCutLabel |
transactionDate = default(DateTimeOrCutLabel), |
|
|
DateTimeOrCutLabel |
settlementDate = default(DateTimeOrCutLabel), |
|
|
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) |
|
) |
| |
|
inline |
Initializes a new instance of the TransactionRequest class.
- Parameters
-
| transactionId | The unique identifier of the transaction. (required). |
| type | The type of the transaction, for example 'Buy' or 'Sell'. The transaction type must have been pre-configured using the System Configuration API. If not, this operation will succeed but you are not able to calculate holdings for the portfolio that include this transaction. (required). |
| instrumentIdentifiers | A set of instrument identifiers that can resolve the transaction to a unique instrument. (required). |
| transactionDate | The date of the transaction. (required). |
| settlementDate | The settlement date of the transaction. (required). |
| units | The number of units of the transacted instrument. (required). |
| transactionPrice | transactionPrice. |
| totalConsideration | totalConsideration (required). |
| exchangeRate | The exchange rate between the transaction and settlement currency (settlement currency being represented by TotalConsideration.Currency). For example, if the transaction currency is USD and the settlement currency is GBP, this would be the appropriate USD/GBP rate.. |
| transactionCurrency | The transaction currency.. |
| properties | A list of unique transaction properties and associated values to store for the transaction. Each property must 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.. |
◆ Equals() [1/2]
| override bool Lusid.Sdk.Model.TransactionRequest.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
| input | Object to be compared |
- Returns
- Boolean
◆ Equals() [2/2]
◆ GetHashCode()
| override int Lusid.Sdk.Model.TransactionRequest.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ToJson()
| virtual string Lusid.Sdk.Model.TransactionRequest.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
| override string Lusid.Sdk.Model.TransactionRequest.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ CounterpartyId
| string Lusid.Sdk.Model.TransactionRequest.CounterpartyId |
|
getset |
The identifier for the counterparty of the transaction.
The identifier for the counterparty of the transaction.
◆ ExchangeRate
| decimal Lusid.Sdk.Model.TransactionRequest.ExchangeRate |
|
getset |
The exchange rate between the transaction and settlement currency (settlement currency being represented by TotalConsideration.Currency). For example, if the transaction currency is USD and the settlement currency is GBP, this would be the appropriate USD/GBP rate.
The exchange rate between the transaction and settlement currency (settlement currency being represented by TotalConsideration.Currency). For example, if the transaction currency is USD and the settlement currency is GBP, this would be the appropriate USD/GBP rate.
◆ InstrumentIdentifiers
| Dictionary<string, string> Lusid.Sdk.Model.TransactionRequest.InstrumentIdentifiers |
|
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.
◆ Properties
A list of unique transaction properties and associated values to store for the transaction. Each property must be from the 'Transaction' domain.
A list of unique transaction properties and associated values to store for the transaction. Each property must be from the 'Transaction' domain.
◆ SettlementDate
The settlement date of the transaction.
The settlement date of the transaction.
◆ Source
| string Lusid.Sdk.Model.TransactionRequest.Source |
|
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.
◆ TotalConsideration
Gets or Sets TotalConsideration
◆ TransactionCurrency
| string Lusid.Sdk.Model.TransactionRequest.TransactionCurrency |
|
getset |
The transaction currency.
The transaction currency.
◆ TransactionDate
The date of the transaction.
The date of the transaction.
◆ TransactionId
| string Lusid.Sdk.Model.TransactionRequest.TransactionId |
|
getset |
The unique identifier of the transaction.
The unique identifier of the transaction.
◆ TransactionPrice
◆ Type
| string Lusid.Sdk.Model.TransactionRequest.Type |
|
getset |
The type of the transaction, for example 'Buy' or 'Sell'. The transaction type must have been pre-configured using the System Configuration API. If not, this operation will succeed but you are not able to calculate holdings for the portfolio that include this transaction.
The type of the transaction, for example 'Buy' or 'Sell'. The transaction type must have been pre-configured using the System Configuration API. If not, this operation will succeed but you are not able to calculate holdings for the portfolio that include this transaction.
◆ Units
| decimal Lusid.Sdk.Model.TransactionRequest.Units |
|
getset |
The number of units of the transacted instrument.
The number of units of the transacted instrument.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/lusid-sdk-csharp/checkouts/stable/sdk/Lusid.Sdk/Model/TransactionRequest.cs