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

PortfolioTransaction More...

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

Public Member Functions

 PortfolioTransaction (DateTimeOffset asAt=default(DateTimeOffset), string portfolioScope=default(string), string portfolioCode=default(string), string transactionId=default(string), NavActivityAdjustmentTypeEnum navActivityAdjustmentType=default(NavActivityAdjustmentTypeEnum))
 Initializes a new instance of the PortfolioTransaction class. More...
 
override string ToString ()
 Returns the string presentation of the object More...
 
override 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 (PortfolioTransaction input)
 Returns true if PortfolioTransaction instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 
- Public Member Functions inherited from Lusid.Sdk.Model.NavActivityAdjustment
 NavActivityAdjustment (NavActivityAdjustmentTypeEnum navActivityAdjustmentType=default(NavActivityAdjustmentTypeEnum))
 Initializes a new instance of the NavActivityAdjustment class. More...
 
override string ToString ()
 Returns the string presentation of the object More...
 
override bool Equals (object input)
 Returns true if objects are equal More...
 
bool Equals (NavActivityAdjustment input)
 Returns true if NavActivityAdjustment instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 PortfolioTransaction ()
 Initializes a new instance of the PortfolioTransaction class. More...
 
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > BaseValidate (ValidationContext validationContext)
 To validate all properties of the instance More...
 
- Protected Member Functions inherited from Lusid.Sdk.Model.NavActivityAdjustment
 NavActivityAdjustment ()
 Initializes a new instance of the NavActivityAdjustment class. More...
 
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > BaseValidate (ValidationContext validationContext)
 To validate all properties of the instance More...
 

Properties

DateTimeOffset AsAt [get, set]
 The asAt time for which the adjustment is being applied. More...
 
string PortfolioScope [get, set]
 The portfolio scope of the given entity More...
 
string PortfolioCode [get, set]
 The portfolio code of the given entity More...
 
string TransactionId [get, set]
 The transaction Id of the PortfolioTransaction being adjusted More...
 
- Properties inherited from Lusid.Sdk.Model.NavActivityAdjustment
NavActivityAdjustmentTypeEnum NavActivityAdjustmentType [get, set]
 The type of the entity being applied, for example a PortfolioTransaction. Available values: PortfolioTransaction, PortfolioSettlementInstruction, InstrumentActivity, QuoteActivity. More...
 

Additional Inherited Members

- Public Types inherited from Lusid.Sdk.Model.NavActivityAdjustment
enum class  NavActivityAdjustmentTypeEnum { PortfolioTransaction = 1 , PortfolioSettlementInstruction = 2 , InstrumentActivity = 3 , QuoteActivity = 4 }
 The type of the entity being applied, for example a PortfolioTransaction. Available values: PortfolioTransaction, PortfolioSettlementInstruction, InstrumentActivity, QuoteActivity. More...
 

Detailed Description

PortfolioTransaction

Constructor & Destructor Documentation

◆ PortfolioTransaction() [1/2]

Lusid.Sdk.Model.PortfolioTransaction.PortfolioTransaction ( )
inlineprotected

Initializes a new instance of the PortfolioTransaction class.

◆ PortfolioTransaction() [2/2]

Lusid.Sdk.Model.PortfolioTransaction.PortfolioTransaction ( DateTimeOffset  asAt = default(DateTimeOffset),
string  portfolioScope = default(string),
string  portfolioCode = default(string),
string  transactionId = default(string),
NavActivityAdjustmentTypeEnum  navActivityAdjustmentType = default(NavActivityAdjustmentTypeEnum) 
)
inline

Initializes a new instance of the PortfolioTransaction class.

Parameters
asAtThe asAt time for which the adjustment is being applied. (required).
portfolioScopeThe portfolio scope of the given entity (required).
portfolioCodeThe portfolio code of the given entity (required).
transactionIdThe transaction Id of the PortfolioTransaction being adjusted (required).
navActivityAdjustmentTypeThe type of the entity being applied, for example a PortfolioTransaction. Available values: PortfolioTransaction, PortfolioSettlementInstruction, InstrumentActivity, QuoteActivity. (required) (default to "PortfolioTransaction").

Member Function Documentation

◆ BaseValidate()

IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> Lusid.Sdk.Model.PortfolioTransaction.BaseValidate ( ValidationContext  validationContext)
inlineprotected

To validate all properties of the instance

Parameters
validationContextValidation context
Returns
Validation Result

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

bool Lusid.Sdk.Model.PortfolioTransaction.Equals ( PortfolioTransaction  input)
inline

Returns true if PortfolioTransaction instances are equal

Parameters
inputInstance of PortfolioTransaction to be compared
Returns
Boolean

◆ GetHashCode()

override int Lusid.Sdk.Model.PortfolioTransaction.GetHashCode ( )
inline

Gets the hash code

Returns
Hash code

◆ ToJson()

override string Lusid.Sdk.Model.PortfolioTransaction.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

Reimplemented from Lusid.Sdk.Model.NavActivityAdjustment.

◆ ToString()

override string Lusid.Sdk.Model.PortfolioTransaction.ToString ( )
inline

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AsAt

DateTimeOffset Lusid.Sdk.Model.PortfolioTransaction.AsAt
getset

The asAt time for which the adjustment is being applied.

The asAt time for which the adjustment is being applied.

◆ PortfolioCode

string Lusid.Sdk.Model.PortfolioTransaction.PortfolioCode
getset

The portfolio code of the given entity

The portfolio code of the given entity

◆ PortfolioScope

string Lusid.Sdk.Model.PortfolioTransaction.PortfolioScope
getset

The portfolio scope of the given entity

The portfolio scope of the given entity

◆ TransactionId

string Lusid.Sdk.Model.PortfolioTransaction.TransactionId
getset

The transaction Id of the PortfolioTransaction being adjusted

The transaction Id of the PortfolioTransaction being adjusted


The documentation for this class was generated from the following file: