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

PortfolioDetails More...

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

Public Types

enum class  AccountingMethodEnum {
  Default = 1 , AverageCost = 2 , FirstInFirstOut = 3 , LastInFirstOut = 4 ,
  HighestCostFirst = 5 , LowestCostFirst = 6
}
 . The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst More...
 

Public Member Functions

 PortfolioDetails (string href=default(string), ResourceId originPortfolioId=default(ResourceId), ModelVersion version=default(ModelVersion), string baseCurrency=default(string), ResourceId corporateActionSourceId=default(ResourceId), List< string > subHoldingKeys=default(List< string >), List< string > instrumentScopes=default(List< string >), AccountingMethodEnum? accountingMethod=default(AccountingMethodEnum?), string amortisationMethod=default(string), string transactionTypeScope=default(string), string cashGainLossCalculationDate=default(string), InstrumentEventConfiguration instrumentEventConfiguration=default(InstrumentEventConfiguration), ResourceId amortisationRuleSetId=default(ResourceId), List< Link > links=default(List< Link >))
 Initializes a new instance of the PortfolioDetails 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 (PortfolioDetails input)
 Returns true if PortfolioDetails instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

AccountingMethodEnumAccountingMethod [get, set]
 . The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst More...
 
string Href [get, set]
 The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime. More...
 
ResourceId OriginPortfolioId [get, set]
 Gets or Sets OriginPortfolioId More...
 
ModelVersion _Version [get, set]
 Gets or Sets _Version More...
 
string BaseCurrency [get, set]
 The base currency of the transaction portfolio. More...
 
ResourceId CorporateActionSourceId [get, set]
 Gets or Sets CorporateActionSourceId More...
 
List< string > SubHoldingKeys [get, set]
 Gets or Sets SubHoldingKeys More...
 
List< string > InstrumentScopes [get, set]
 The resolution strategy used to resolve instruments of transactions/holdings upserted to the transaction portfolio. More...
 
string AmortisationMethod [get, set]
 The amortisation method used by the portfolio for the calculation. The available values are: NoAmortisation, StraightLine, EffectiveYield, StraightLineSettlementDate, EffectiveYieldSettlementDate More...
 
string TransactionTypeScope [get, set]
 The scope of the transaction types. More...
 
string CashGainLossCalculationDate [get, set]
 The option when the Cash Gain Loss to be calulated, TransactionDate/SettlementDate. Defaults to SettlementDate. More...
 
InstrumentEventConfiguration InstrumentEventConfiguration [get, set]
 Gets or Sets InstrumentEventConfiguration More...
 
ResourceId AmortisationRuleSetId [get, set]
 Gets or Sets AmortisationRuleSetId More...
 
List< LinkLinks [get, set]
 Gets or Sets Links More...
 

Detailed Description

PortfolioDetails

Member Enumeration Documentation

◆ AccountingMethodEnum

. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst

. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst

Enumerator
Default 

Enum Default for value: Default

AverageCost 

Enum AverageCost for value: AverageCost

FirstInFirstOut 

Enum FirstInFirstOut for value: FirstInFirstOut

LastInFirstOut 

Enum LastInFirstOut for value: LastInFirstOut

HighestCostFirst 

Enum HighestCostFirst for value: HighestCostFirst

LowestCostFirst 

Enum LowestCostFirst for value: LowestCostFirst

Constructor & Destructor Documentation

◆ PortfolioDetails() [1/2]

Lusid.Sdk.Model.PortfolioDetails.PortfolioDetails ( )
inlineprotected

Initializes a new instance of the PortfolioDetails class.

◆ PortfolioDetails() [2/2]

Lusid.Sdk.Model.PortfolioDetails.PortfolioDetails ( string  href = default(string),
ResourceId  originPortfolioId = default(ResourceId),
ModelVersion  version = default(ModelVersion),
string  baseCurrency = default(string),
ResourceId  corporateActionSourceId = default(ResourceId),
List< string >  subHoldingKeys = default(List<string>),
List< string >  instrumentScopes = default(List<string>),
AccountingMethodEnum accountingMethod = default(AccountingMethodEnum?),
string  amortisationMethod = default(string),
string  transactionTypeScope = default(string),
string  cashGainLossCalculationDate = default(string),
InstrumentEventConfiguration  instrumentEventConfiguration = default(InstrumentEventConfiguration),
ResourceId  amortisationRuleSetId = default(ResourceId),
List< Link links = default(List<Link>) 
)
inline

Initializes a new instance of the PortfolioDetails class.

Parameters
hrefThe specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime..
originPortfolioIdoriginPortfolioId (required).
versionversion (required).
baseCurrencyThe base currency of the transaction portfolio. (required).
corporateActionSourceIdcorporateActionSourceId.
subHoldingKeyssubHoldingKeys.
instrumentScopesThe resolution strategy used to resolve instruments of transactions/holdings upserted to the transaction portfolio..
accountingMethod. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst.
amortisationMethodThe amortisation method used by the portfolio for the calculation. The available values are: NoAmortisation, StraightLine, EffectiveYield, StraightLineSettlementDate, EffectiveYieldSettlementDate.
transactionTypeScopeThe scope of the transaction types..
cashGainLossCalculationDateThe option when the Cash Gain Loss to be calulated, TransactionDate/SettlementDate. Defaults to SettlementDate..
instrumentEventConfigurationinstrumentEventConfiguration.
amortisationRuleSetIdamortisationRuleSetId.
linkslinks.

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if PortfolioDetails instances are equal

Parameters
inputInstance of PortfolioDetails to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

virtual string Lusid.Sdk.Model.PortfolioDetails.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ _Version

ModelVersion Lusid.Sdk.Model.PortfolioDetails._Version
getset

Gets or Sets _Version

◆ AccountingMethod

AccountingMethodEnum? Lusid.Sdk.Model.PortfolioDetails.AccountingMethod
getset

. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst

. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst

◆ AmortisationMethod

string Lusid.Sdk.Model.PortfolioDetails.AmortisationMethod
getset

The amortisation method used by the portfolio for the calculation. The available values are: NoAmortisation, StraightLine, EffectiveYield, StraightLineSettlementDate, EffectiveYieldSettlementDate

The amortisation method used by the portfolio for the calculation. The available values are: NoAmortisation, StraightLine, EffectiveYield, StraightLineSettlementDate, EffectiveYieldSettlementDate

◆ AmortisationRuleSetId

ResourceId Lusid.Sdk.Model.PortfolioDetails.AmortisationRuleSetId
getset

Gets or Sets AmortisationRuleSetId

◆ BaseCurrency

string Lusid.Sdk.Model.PortfolioDetails.BaseCurrency
getset

The base currency of the transaction portfolio.

The base currency of the transaction portfolio.

◆ CashGainLossCalculationDate

string Lusid.Sdk.Model.PortfolioDetails.CashGainLossCalculationDate
getset

The option when the Cash Gain Loss to be calulated, TransactionDate/SettlementDate. Defaults to SettlementDate.

The option when the Cash Gain Loss to be calulated, TransactionDate/SettlementDate. Defaults to SettlementDate.

◆ CorporateActionSourceId

ResourceId Lusid.Sdk.Model.PortfolioDetails.CorporateActionSourceId
getset

Gets or Sets CorporateActionSourceId

◆ Href

string Lusid.Sdk.Model.PortfolioDetails.Href
getset

The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.

The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.

◆ InstrumentEventConfiguration

InstrumentEventConfiguration Lusid.Sdk.Model.PortfolioDetails.InstrumentEventConfiguration
getset

◆ InstrumentScopes

List<string> Lusid.Sdk.Model.PortfolioDetails.InstrumentScopes
getset

The resolution strategy used to resolve instruments of transactions/holdings upserted to the transaction portfolio.

The resolution strategy used to resolve instruments of transactions/holdings upserted to the transaction portfolio.

◆ Links

List<Link> Lusid.Sdk.Model.PortfolioDetails.Links
getset

Gets or Sets Links

◆ OriginPortfolioId

ResourceId Lusid.Sdk.Model.PortfolioDetails.OriginPortfolioId
getset

Gets or Sets OriginPortfolioId

◆ SubHoldingKeys

List<string> Lusid.Sdk.Model.PortfolioDetails.SubHoldingKeys
getset

Gets or Sets SubHoldingKeys

◆ TransactionTypeScope

string Lusid.Sdk.Model.PortfolioDetails.TransactionTypeScope
getset

The scope of the transaction types.

The scope of the transaction types.


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