|
LUSID C# SDK
|

Public Types | |
| 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 AccountingMethod used for the portfolio. Available values: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency. More... | |
Public Member Functions | |
| PortfolioDetails (string href=default(string), ResourceId originPortfolioId=default(ResourceId), ModelVersion varVersion=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), string taxRuleSetScope=default(string), PortfolioSettlementConfiguration settlementConfiguration=default(PortfolioSettlementConfiguration), StagedModificationsInfo stagedModifications=default(StagedModificationsInfo), 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 | |
| AccountingMethodEnum? | AccountingMethod [get, set] |
| The AccountingMethod used for the portfolio. Available values: 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 | OriginPortfolioId [get, set] |
| Gets or Sets OriginPortfolioId More... | |
| ModelVersion | VarVersion [get, set] |
| Gets or Sets VarVersion 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. Available values: 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. Default value: SettlementDate. More... | |
| InstrumentEventConfiguration | InstrumentEventConfiguration [get, set] |
| Gets or Sets InstrumentEventConfiguration More... | |
| ResourceId | AmortisationRuleSetId [get, set] |
| Gets or Sets AmortisationRuleSetId More... | |
| string | TaxRuleSetScope [get, set] |
| The scope of the tax rule sets for this portfolio. More... | |
| PortfolioSettlementConfiguration | SettlementConfiguration [get, set] |
| Gets or Sets SettlementConfiguration More... | |
| StagedModificationsInfo | StagedModifications [get, set] |
| Gets or Sets StagedModifications More... | |
| List< Link > | Links [get, set] |
| Gets or Sets Links More... | |
The AccountingMethod used for the portfolio. Available values: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency.
The AccountingMethod used for the portfolio. Available values: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency.
|
inlineprotected |
Initializes a new instance of the PortfolioDetails class.
|
inline |
Initializes a new instance of the PortfolioDetails class.
| href | The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.. |
| originPortfolioId | originPortfolioId (required). |
| varVersion | varVersion (required). |
| baseCurrency | The base currency of the transaction portfolio. (required). |
| corporateActionSourceId | corporateActionSourceId. |
| subHoldingKeys | subHoldingKeys. |
| instrumentScopes | The resolution strategy used to resolve instruments of transactions/holdings upserted to the transaction portfolio.. |
| accountingMethod | The AccountingMethod used for the portfolio. Available values: 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. Available values: NoAmortisation, StraightLine, EffectiveYield, StraightLineSettlementDate, EffectiveYieldSettlementDate.. |
| transactionTypeScope | The scope of the transaction types.. |
| cashGainLossCalculationDate | The option when the Cash Gain Loss to be calulated. Default value: SettlementDate.. |
| instrumentEventConfiguration | instrumentEventConfiguration. |
| amortisationRuleSetId | amortisationRuleSetId. |
| taxRuleSetScope | The scope of the tax rule sets for this portfolio.. |
| settlementConfiguration | settlementConfiguration. |
| stagedModifications | stagedModifications. |
| links | links. |
|
inline |
Returns true if objects are equal
| input | Object to be compared |
|
inline |
Returns true if PortfolioDetails instances are equal
| input | Instance of PortfolioDetails to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
|
inline |
Returns the string presentation of the object
|
getset |
The AccountingMethod used for the portfolio. Available values: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency.
The AccountingMethod used for the portfolio. Available values: 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. Available values: NoAmortisation, StraightLine, EffectiveYield, StraightLineSettlementDate, EffectiveYieldSettlementDate.
The amortisation method used by the portfolio for the calculation. Available values: NoAmortisation, StraightLine, EffectiveYield, StraightLineSettlementDate, EffectiveYieldSettlementDate.
|
getset |
Gets or Sets AmortisationRuleSetId
|
getset |
The base currency of the transaction portfolio.
The base currency of the transaction portfolio.
|
getset |
|
getset |
Gets or Sets CorporateActionSourceId
|
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 InstrumentEventConfiguration
|
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.
|
getset |
Gets or Sets Links
|
getset |
Gets or Sets OriginPortfolioId
|
getset |
Gets or Sets SettlementConfiguration
|
getset |
Gets or Sets StagedModifications
|
getset |
Gets or Sets SubHoldingKeys
|
getset |
The scope of the tax rule sets for this portfolio.
The scope of the tax rule sets for this portfolio.
|
getset |
The scope of the transaction types.
The scope of the transaction types.
|
getset |
Gets or Sets VarVersion