Used to specify holdings target amounts at the tax-lot level
More...
|
| | 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?), decimal? notionalCost=default(decimal?), decimal? variationMargin=default(decimal?), decimal? variationMarginPortfolioCcy=default(decimal?)) |
| | Initializes a new instance of the TargetTaxLot 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 (TargetTaxLot input) |
| | Returns true if TargetTaxLot instances are equal More...
|
| |
| override int | GetHashCode () |
| | Gets the hash code 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...
|
| |
| decimal? | NotionalCost [get, set] |
| | The notional cost of the tax-lot's opening transaction. More...
|
| |
| decimal? | VariationMargin [get, set] |
| | The variation margin of the tax-lot's opening transaction. More...
|
| |
| decimal? | VariationMarginPortfolioCcy [get, set] |
| | The variation margin in portfolio currency 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?), |
|
|
decimal? |
notionalCost = default(decimal?), |
|
|
decimal? |
variationMargin = default(decimal?), |
|
|
decimal? |
variationMarginPortfolioCcy = default(decimal?) |
|
) |
| |
|
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.. |
| notionalCost | The notional cost of the tax-lot's opening transaction.. |
| variationMargin | The variation margin of the tax-lot's opening transaction.. |
| variationMarginPortfolioCcy | The variation margin in portfolio currency 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
◆ NotionalCost
| decimal? Lusid.Sdk.Model.TargetTaxLot.NotionalCost |
|
getset |
The notional cost of the tax-lot's opening transaction.
The notional cost of the tax-lot's opening transaction.
◆ 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.
◆ VariationMargin
| decimal? Lusid.Sdk.Model.TargetTaxLot.VariationMargin |
|
getset |
The variation margin of the tax-lot's opening transaction.
The variation margin of the tax-lot's opening transaction.
◆ VariationMarginPortfolioCcy
| decimal? Lusid.Sdk.Model.TargetTaxLot.VariationMarginPortfolioCcy |
|
getset |
The variation margin in portfolio currency of the tax-lot's opening transaction.
The variation margin in portfolio currency of the tax-lot's opening transaction.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/lusid-sdk-csharp/checkouts/latest/sdk/Lusid.Sdk/Model/TargetTaxLot.cs