PortfolioDetails
More...
|
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...
|
|
|
| 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), 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...
|
|
|
AccountingMethodEnum? | AccountingMethod [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 the portfolio is using in the calculation. This can be 'NoAmortisation', 'StraightLine' or 'EffectiveYield'. 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...
|
|
List< Link > | Links [get, set] |
| Gets or Sets Links More...
|
|
◆ 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
|
◆ PortfolioDetails() [1/2]
Lusid.Sdk.Model.PortfolioDetails.PortfolioDetails |
( |
| ) |
|
|
inlineprotected |
◆ 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) , |
|
|
List< Link > |
links = default(List<Link>) |
|
) |
| |
|
inline |
Initializes a new instance of the PortfolioDetails class.
- Parameters
-
href | The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.. |
originPortfolioId | originPortfolioId (required). |
version | version (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 available values are: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst. |
amortisationMethod | The amortisation method the portfolio is using in the calculation. This can be 'NoAmortisation', 'StraightLine' or 'EffectiveYield'.. |
transactionTypeScope | The scope of the transaction types.. |
cashGainLossCalculationDate | The option when the Cash Gain Loss to be calulated, TransactionDate/SettlementDate. Defaults to SettlementDate.. |
links | links. |
◆ Equals() [1/2]
override bool Lusid.Sdk.Model.PortfolioDetails.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
input | Object to be compared |
- Returns
- Boolean
◆ Equals() [2/2]
◆ 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
◆ _Version
◆ AccountingMethod
. 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 the portfolio is using in the calculation. This can be 'NoAmortisation', 'StraightLine' or 'EffectiveYield'.
The amortisation method the portfolio is using in the calculation. This can be 'NoAmortisation', 'StraightLine' or 'EffectiveYield'.
◆ 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.
◆ 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 |
◆ 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:
- /home/docs/checkouts/readthedocs.org/user_builds/lusid-sdk-csharp/checkouts/latest/sdk/Lusid.Sdk/Model/PortfolioDetails.cs