LUSID C# SDK
Public Member Functions | Protected Member Functions | Properties | List of all members
Lusid.Sdk.Model.TargetTaxLot Class Reference

Used to specify holdings target amounts at the tax-lot level More...

Inheritance diagram for Lusid.Sdk.Model.TargetTaxLot:
Inheritance graph
[legend]

Public Member Functions

 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?))
 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...
 

Protected Member Functions

 TargetTaxLot ()
 Initializes a new instance of the TargetTaxLot class. More...
 

Properties

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...
 

Detailed Description

Used to specify holdings target amounts at the tax-lot level

Constructor & Destructor Documentation

◆ TargetTaxLot() [1/2]

Lusid.Sdk.Model.TargetTaxLot.TargetTaxLot ( )
inlineprotected

Initializes a new instance of the TargetTaxLot class.

◆ 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
unitsThe number of units of the instrument in this tax-lot. (required).
costcost.
portfolioCostThe total cost of the tax-lot in the transaction portfolio's base currency..
priceThe 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..
purchaseDateThe purchase date of this tax-lot. This forms part of the unique key required for multiple tax-lots..
settlementDateThe settlement date of the tax-lot's opening transaction..

Member Function Documentation

◆ Equals() [1/2]

override bool Lusid.Sdk.Model.TargetTaxLot.Equals ( object  input)
inline

Returns true if objects are equal

Parameters
inputObject 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
inputInstance of TargetTaxLot to be compared
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

Property Documentation

◆ Cost

CurrencyAndAmount Lusid.Sdk.Model.TargetTaxLot.Cost
getset

Gets or Sets 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: