LUSID C# SDK
|
A list of portfolios. More...
Public Types | |
enum class | TypeEnum { Transaction = 1 , Reference = 2 , DerivedTransaction = 3 } |
The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction More... | |
enum class | AccountingMethodEnum { Default = 1 , AverageCost = 2 , FirstInFirstOut = 3 , LastInFirstOut = 4 , HighestCostFirst = 5 , LowestCostFirst = 6 , ProRateByUnits = 7 , ProRateByCost = 8 , ProRateByCostPortfolioCurrency = 9 , IntraDayThenFirstInFirstOut = 10 , LongTermHighestCostFirst = 11 , LongTermHighestCostFirstPortfolioCurrency = 12 , HighestCostFirstPortfolioCurrency = 13 , LowestCostFirstPortfolioCurrency = 14 , MaximumLossMinimumGain = 15 , MaximumLossMinimumGainPortfolioCurrency = 16 } |
. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency More... | |
Public Member Functions | |
Portfolio (string href=default(string), ResourceId id=default(ResourceId), TypeEnum type=default(TypeEnum), string displayName=default(string), string description=default(string), DateTimeOffset created=default(DateTimeOffset), ResourceId parentPortfolioId=default(ResourceId), ModelVersion version=default(ModelVersion), StagedModificationsInfo stagedModifications=default(StagedModificationsInfo), bool isDerived=default(bool), string baseCurrency=default(string), Dictionary< string, Property > properties=default(Dictionary< string, Property >), List< Relationship > relationships=default(List< Relationship >), 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 Portfolio 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 (Portfolio input) |
Returns true if Portfolio instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
Portfolio () | |
Initializes a new instance of the Portfolio class. More... | |
Properties | |
TypeEnum | Type [get, set] |
The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction More... | |
AccountingMethodEnum? | AccountingMethod [get, set] |
. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency More... | |
string | Href [get, set] |
The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime. More... | |
ResourceId | Id [get, set] |
Gets or Sets Id More... | |
string | DisplayName [get, set] |
The name of the portfolio. More... | |
string | Description [get, set] |
The long form description of the portfolio. More... | |
DateTimeOffset | Created [get, set] |
The effective datetime at which the portfolio was created. No transactions or constituents can be added to the portfolio before this date. More... | |
ResourceId | ParentPortfolioId [get, set] |
Gets or Sets ParentPortfolioId More... | |
ModelVersion | _Version [get, set] |
Gets or Sets _Version More... | |
StagedModificationsInfo | StagedModifications [get, set] |
Gets or Sets StagedModifications More... | |
bool | IsDerived [get, set] |
Whether or not this is a derived portfolio. More... | |
string | BaseCurrency [get, set] |
The base currency of the portfolio. More... | |
Dictionary< string, Property > | Properties [get, set] |
The requested portfolio properties. These will be from the 'Portfolio' domain. More... | |
List< Relationship > | Relationships [get, set] |
A set of relationships associated to the portfolio. More... | |
List< string > | InstrumentScopes [get, set] |
The instrument scope resolution strategy of this 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 scope of the transaction types. More... | |
InstrumentEventConfiguration | InstrumentEventConfiguration [get, set] |
Gets or Sets InstrumentEventConfiguration More... | |
ResourceId | AmortisationRuleSetId [get, set] |
Gets or Sets AmortisationRuleSetId More... | |
List< Link > | Links [get, set] |
Gets or Sets Links More... | |
A list of portfolios.
|
strong |
. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency
. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency
|
strong |
The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction
The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction
Enumerator | |
---|---|
Transaction | Enum Transaction for value: Transaction |
Reference | Enum Reference for value: Reference |
DerivedTransaction | Enum DerivedTransaction for value: DerivedTransaction |
|
inlineprotected |
Initializes a new instance of the Portfolio class.
|
inline |
Initializes a new instance of the Portfolio class.
href | The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.. |
id | id (required). |
type | The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction (required). |
displayName | The name of the portfolio. (required). |
description | The long form description of the portfolio.. |
created | The effective datetime at which the portfolio was created. No transactions or constituents can be added to the portfolio before this date. (required). |
parentPortfolioId | parentPortfolioId. |
version | version. |
stagedModifications | stagedModifications. |
isDerived | Whether or not this is a derived portfolio.. |
baseCurrency | The base currency of the portfolio.. |
properties | The requested portfolio properties. These will be from the 'Portfolio' domain.. |
relationships | A set of relationships associated to the portfolio.. |
instrumentScopes | The instrument scope resolution strategy of this portfolio.. |
accountingMethod | . The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency. |
amortisationMethod | The amortisation method used by the portfolio for the calculation. The available values are: NoAmortisation, StraightLine, EffectiveYield, StraightLineSettlementDate, EffectiveYieldSettlementDate. |
transactionTypeScope | The scope of the transaction types.. |
cashGainLossCalculationDate | The scope of the transaction types.. |
instrumentEventConfiguration | instrumentEventConfiguration. |
amortisationRuleSetId | amortisationRuleSetId. |
links | links. |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
|
inline |
Returns the string presentation of the object
|
getset |
Gets or Sets _Version
|
getset |
. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency
. The available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency
|
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
|
getset |
Gets or Sets AmortisationRuleSetId
|
getset |
The base currency of the portfolio.
The base currency of the portfolio.
|
getset |
The scope of the transaction types.
The scope of the transaction types.
|
getset |
The effective datetime at which the portfolio was created. No transactions or constituents can be added to the portfolio before this date.
The effective datetime at which the portfolio was created. No transactions or constituents can be added to the portfolio before this date.
|
getset |
The long form description of the portfolio.
The long form description of the portfolio.
|
getset |
The name of the portfolio.
The name of the portfolio.
|
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.
|
getset |
Gets or Sets Id
|
getset |
Gets or Sets InstrumentEventConfiguration
|
getset |
The instrument scope resolution strategy of this portfolio.
The instrument scope resolution strategy of this portfolio.
|
getset |
Whether or not this is a derived portfolio.
Whether or not this is a derived portfolio.
|
getset |
Gets or Sets Links
|
getset |
Gets or Sets ParentPortfolioId
|
getset |
|
getset |
A set of relationships associated to the portfolio.
A set of relationships associated to the portfolio.
|
getset |
Gets or Sets StagedModifications
|
getset |
The scope of the transaction types.
The scope of the transaction types.
|
getset |
The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction
The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction