Used to specify holdings target amounts at the tax-lot level
More...
|
| decimal | Units [get, set] |
| | The number of units of the instrument in this tax-lot. More...
|
| |
| CurrencyAndAmount | Cost [get, set] |
| | Gets or Sets Cost More...
|
| |
| decimal | PortfolioCost [get, set] |
| | The total cost of the tax-lot in the transaction portfolio's base currency. More...
|
| |
| decimal | Price [get, set] |
| | The purchase price of each unit of the instrument held in this tax-lot. This forms part of the unique key required for multiple tax-lots. More...
|
| |
| DateTimeOffset | PurchaseDate [get, set] |
| | The purchase date of this tax-lot. This forms part of the unique key required for multiple tax-lots. More...
|
| |
| DateTimeOffset | SettlementDate [get, set] |
| | The settlement date of the tax-lot's opening transaction. More...
|
| |
Used to specify holdings target amounts at the tax-lot level
◆ TargetTaxLot() [1/2]
| Lusid.Sdk.Model.TargetTaxLot.TargetTaxLot |
( |
| ) |
|
|
inlineprotected |
◆ TargetTaxLot() [2/2]
| Lusid.Sdk.Model.TargetTaxLot.TargetTaxLot |
( |
decimal |
units = default(decimal), |
|
|
CurrencyAndAmount |
cost = default(CurrencyAndAmount), |
|
|
decimal? |
portfolioCost = default(decimal?), |
|
|
decimal? |
price = default(decimal?), |
|
|
DateTimeOffset? |
purchaseDate = default(DateTimeOffset?), |
|
|
DateTimeOffset? |
settlementDate = default(DateTimeOffset?) |
|
) |
| |
|
inline |
Initializes a new instance of the TargetTaxLot class.
- Parameters
-
| units | The number of units of the instrument in this tax-lot. (required). |
| cost | cost. |
| portfolioCost | The total cost of the tax-lot in the transaction portfolio's base currency.. |
| price | The purchase price of each unit of the instrument held in this tax-lot. This forms part of the unique key required for multiple tax-lots.. |
| purchaseDate | The purchase date of this tax-lot. This forms part of the unique key required for multiple tax-lots.. |
| settlementDate | The settlement date of the tax-lot's opening transaction.. |
◆ Equals() [1/2]
| override bool Lusid.Sdk.Model.TargetTaxLot.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
| input | Object to be compared |
- Returns
- Boolean
◆ Equals() [2/2]
| bool Lusid.Sdk.Model.TargetTaxLot.Equals |
( |
TargetTaxLot |
input | ) |
|
|
inline |
Returns true if TargetTaxLot instances are equal
- Parameters
-
- Returns
- Boolean
◆ GetHashCode()
| override int Lusid.Sdk.Model.TargetTaxLot.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ToJson()
| virtual string Lusid.Sdk.Model.TargetTaxLot.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
| override string Lusid.Sdk.Model.TargetTaxLot.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ Cost
◆ PortfolioCost
| decimal Lusid.Sdk.Model.TargetTaxLot.PortfolioCost |
|
getset |
The total cost of the tax-lot in the transaction portfolio's base currency.
The total cost of the tax-lot in the transaction portfolio's base currency.
◆ Price
| decimal Lusid.Sdk.Model.TargetTaxLot.Price |
|
getset |
The purchase price of each unit of the instrument held in this tax-lot. This forms part of the unique key required for multiple tax-lots.
The purchase price of each unit of the instrument held in this tax-lot. This forms part of the unique key required for multiple tax-lots.
◆ PurchaseDate
| DateTimeOffset Lusid.Sdk.Model.TargetTaxLot.PurchaseDate |
|
getset |
The purchase date of this tax-lot. This forms part of the unique key required for multiple tax-lots.
The purchase date of this tax-lot. This forms part of the unique key required for multiple tax-lots.
◆ SettlementDate
| DateTimeOffset Lusid.Sdk.Model.TargetTaxLot.SettlementDate |
|
getset |
The settlement date of the tax-lot's opening transaction.
The settlement date of the tax-lot's opening transaction.
◆ Units
| decimal Lusid.Sdk.Model.TargetTaxLot.Units |
|
getset |
The number of units of the instrument in this tax-lot.
The number of units of the instrument in this tax-lot.
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/TargetTaxLot.cs