LUSID C# SDK
|
LUSID representation of a Term Deposit. More...
Public Member Functions | |
TermDeposit (DateTimeOffset startDate=default(DateTimeOffset), DateTimeOffset maturityDate=default(DateTimeOffset), decimal contractSize=default(decimal), FlowConventions flowConvention=default(FlowConventions), decimal rate=default(decimal), string domCcy=default(string), InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum)) | |
Initializes a new instance of the TermDeposit 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 (TermDeposit input) |
Returns true if TermDeposit instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
![]() | |
LusidInstrument (InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum)) | |
Initializes a new instance of the LusidInstrument 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 (LusidInstrument input) |
Returns true if LusidInstrument instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
TermDeposit () | |
Initializes a new instance of the TermDeposit class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
![]() | |
LusidInstrument () | |
Initializes a new instance of the LusidInstrument class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
Properties | |
DateTimeOffset | StartDate [get, set] |
The start date of the instrument. For term deposits this is the start date of the interest calculation period. More... | |
DateTimeOffset | MaturityDate [get, set] |
The maturity date of the instrument. For term deposits this is the last date of the interest calculation period. More... | |
decimal | ContractSize [get, set] |
The principal amount of the term deposit. More... | |
FlowConventions | FlowConvention [get, set] |
Gets or Sets FlowConvention More... | |
decimal | Rate [get, set] |
The fixed rate for the term deposit. Specified as a decimal, e.g 0.03 is meant to be 3% interest More... | |
string | DomCcy [get, set] |
The domestic currency of the instrument. This should be the same as the Currency set on the FlowConventions. You do not need to populate this field for Term Deposits in LUSID as all functionality is driven by the Currency set on the FlowConventions. LUSID will not store values saved on this field. More... | |
![]() | |
InstrumentTypeEnum | InstrumentType [get, set] |
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan More... | |
LUSID representation of a Term Deposit.
|
inlineprotected |
Initializes a new instance of the TermDeposit class.
|
inline |
Initializes a new instance of the TermDeposit class.
startDate | The start date of the instrument. For term deposits this is the start date of the interest calculation period. (required). |
maturityDate | The maturity date of the instrument. For term deposits this is the last date of the interest calculation period. (required). |
contractSize | The principal amount of the term deposit. (required). |
flowConvention | flowConvention (required). |
rate | The fixed rate for the term deposit. Specified as a decimal, e.g 0.03 is meant to be 3% interest (required). |
domCcy | The domestic currency of the instrument. This should be the same as the Currency set on the FlowConventions. You do not need to populate this field for Term Deposits in LUSID as all functionality is driven by the Currency set on the FlowConventions. LUSID will not store values saved on this field.. |
instrumentType | The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan (required) (default to "TermDeposit"). |
|
inlineprotected |
To validate all properties of the instance
validationContext | Validation context |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Returns true if TermDeposit instances are equal
input | Instance of TermDeposit to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
Reimplemented from Lusid.Sdk.Model.LusidInstrument.
|
inline |
Returns the string presentation of the object
|
getset |
The principal amount of the term deposit.
The principal amount of the term deposit.
|
getset |
The domestic currency of the instrument. This should be the same as the Currency set on the FlowConventions. You do not need to populate this field for Term Deposits in LUSID as all functionality is driven by the Currency set on the FlowConventions. LUSID will not store values saved on this field.
The domestic currency of the instrument. This should be the same as the Currency set on the FlowConventions. You do not need to populate this field for Term Deposits in LUSID as all functionality is driven by the Currency set on the FlowConventions. LUSID will not store values saved on this field.
|
getset |
Gets or Sets FlowConvention
|
getset |
The maturity date of the instrument. For term deposits this is the last date of the interest calculation period.
The maturity date of the instrument. For term deposits this is the last date of the interest calculation period.
|
getset |
The fixed rate for the term deposit. Specified as a decimal, e.g 0.03 is meant to be 3% interest
The fixed rate for the term deposit. Specified as a decimal, e.g 0.03 is meant to be 3% interest
|
getset |
The start date of the instrument. For term deposits this is the start date of the interest calculation period.
The start date of the instrument. For term deposits this is the start date of the interest calculation period.