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

BondAllOf More...

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

Public Types

enum class  InstrumentTypeEnum {
  QuotedSecurity = 1 , InterestRateSwap = 2 , FxForward = 3 , Future = 4 ,
  ExoticInstrument = 5 , FxOption = 6 , CreditDefaultSwap = 7 , InterestRateSwaption = 8 ,
  Bond = 9 , EquityOption = 10 , FixedLeg = 11 , FloatingLeg = 12 ,
  BespokeCashFlowsLeg = 13 , Unknown = 14 , TermDeposit = 15 , ContractForDifference = 16 ,
  EquitySwap = 17 , CashPerpetual = 18 , CapFloor = 19 , CashSettled = 20 ,
  CdsIndex = 21 , Basket = 22 , FundingLeg = 23 , FxSwap = 24 ,
  ForwardRateAgreement = 25 , SimpleInstrument = 26 , Repo = 27 , Equity = 28 ,
  ExchangeTradedOption = 29 , ReferenceInstrument = 30 , ComplexBond = 31 , InflationLinkedBond = 32 ,
  InflationSwap = 33 , SimpleCashFlowLoan = 34 , TotalReturnSwap = 35 , InflationLeg = 36 ,
  FundShareClass = 37 , FlexibleLoan = 38
}
 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, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan More...
 

Public Member Functions

 BondAllOf (DateTimeOffset startDate=default(DateTimeOffset), DateTimeOffset maturityDate=default(DateTimeOffset), string domCcy=default(string), FlowConventions flowConventions=default(FlowConventions), decimal principal=default(decimal), decimal couponRate=default(decimal), Dictionary< string, string > identifiers=default(Dictionary< string, string >), int? exDividendDays=default(int?), DateTimeOffset? initialCouponDate=default(DateTimeOffset?), DateTimeOffset? firstCouponPayDate=default(DateTimeOffset?), string calculationType=default(string), List< RoundingConvention > roundingConventions=default(List< RoundingConvention >), ExDividendConfiguration exDividendConfiguration=default(ExDividendConfiguration), decimal? originalIssuePrice=default(decimal?), InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum))
 Initializes a new instance of the BondAllOf 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 (BondAllOf input)
 Returns true if BondAllOf instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

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, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan More...
 
DateTimeOffset StartDate [get, set]
 The Start date of the bond, this is normally when accrual of the first coupon begins. More...
 
DateTimeOffset MaturityDate [get, set]
 The Maturity date of the bond, this is when the last coupon accrual period ends. Note that while most bonds have their last payment on this date there are some cases where the final payment is the next working day. More...
 
string DomCcy [get, set]
 The domestic currency of the instrument. This should be the same as the Currency set on the FlowConventions. More...
 
FlowConventions FlowConventions [get, set]
 Gets or Sets FlowConventions More...
 
decimal Principal [get, set]
 The face-value or principal for the bond at outset. This might be reduced through its lifetime in the event of amortisation or similar. More...
 
decimal CouponRate [get, set]
 Simple coupon rate. More...
 
Dictionary< string, string > Identifiers [get, set]
 External market codes and identifiers for the bond, e.g. ISIN. More...
 
int? ExDividendDays [get, set]
 Optional. Number of calendar days in the ex-dividend period. If the settlement date falls in the ex-dividend period then the coupon paid is zero and the accrued interest is negative. If set, this must be a non-negative number. If not set, or set to 0, then there is no ex-dividend period. NOTE: This field is deprecated. If you wish to set the ExDividendDays on a bond, please use the ExDividendConfiguration. More...
 
DateTimeOffset? InitialCouponDate [get, set]
 Optional and to be DEPRECATED. If set, this is the date at which the bond begins to accrue interest. Instead, this information should be entered in the field StartDate. More...
 
DateTimeOffset? FirstCouponPayDate [get, set]
 The date that the first coupon of the bond is paid. This is required for bonds that have a long first coupon or short first coupon. The first coupon pay date is used as an anchor to compare with the start date and determine if this is a long/short coupon period. More...
 
string CalculationType [get, set]
 The calculation type applied to the bond coupon amount. This is required for bonds that have a particular type of computing the period coupon, such as simple compounding, irregular coupons etc. The default CalculationType is &#x60;Standard&#x60;, which returns a coupon amount equal to Principal * Coupon Rate / Coupon Frequency. Coupon Frequency is 12M / Payment Frequency. Payment Frequency can be 1M, 3M, 6M, 12M etc. So Coupon Frequency can be 12, 4, 2, 1 respectively. Supported string (enumeration) values are: [Standard, DayCountCoupon, NoCalculationFloater, BrazilFixedCoupon, StandardWithCappedAccruedInterest]. More...
 
List< RoundingConventionRoundingConventions [get, set]
 Rounding conventions for analytics, if any. More...
 
ExDividendConfiguration ExDividendConfiguration [get, set]
 Gets or Sets ExDividendConfiguration More...
 
decimal? OriginalIssuePrice [get, set]
 The price the bond was issued at. This is to be entered as a percentage of par, for example a value of 98.5 would represent 98.5%. More...
 

Detailed Description

BondAllOf

Member Enumeration Documentation

◆ InstrumentTypeEnum

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, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan

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, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan

Enumerator
QuotedSecurity 

Enum QuotedSecurity for value: QuotedSecurity

InterestRateSwap 

Enum InterestRateSwap for value: InterestRateSwap

FxForward 

Enum FxForward for value: FxForward

Future 

Enum Future for value: Future

ExoticInstrument 

Enum ExoticInstrument for value: ExoticInstrument

FxOption 

Enum FxOption for value: FxOption

CreditDefaultSwap 

Enum CreditDefaultSwap for value: CreditDefaultSwap

InterestRateSwaption 

Enum InterestRateSwaption for value: InterestRateSwaption

Bond 

Enum Bond for value: Bond

EquityOption 

Enum EquityOption for value: EquityOption

FixedLeg 

Enum FixedLeg for value: FixedLeg

FloatingLeg 

Enum FloatingLeg for value: FloatingLeg

BespokeCashFlowsLeg 

Enum BespokeCashFlowsLeg for value: BespokeCashFlowsLeg

Unknown 

Enum Unknown for value: Unknown

TermDeposit 

Enum TermDeposit for value: TermDeposit

ContractForDifference 

Enum ContractForDifference for value: ContractForDifference

EquitySwap 

Enum EquitySwap for value: EquitySwap

CashPerpetual 

Enum CashPerpetual for value: CashPerpetual

CapFloor 

Enum CapFloor for value: CapFloor

CashSettled 

Enum CashSettled for value: CashSettled

CdsIndex 

Enum CdsIndex for value: CdsIndex

Basket 

Enum Basket for value: Basket

FundingLeg 

Enum FundingLeg for value: FundingLeg

FxSwap 

Enum FxSwap for value: FxSwap

ForwardRateAgreement 

Enum ForwardRateAgreement for value: ForwardRateAgreement

SimpleInstrument 

Enum SimpleInstrument for value: SimpleInstrument

Repo 

Enum Repo for value: Repo

Equity 

Enum Equity for value: Equity

ExchangeTradedOption 

Enum ExchangeTradedOption for value: ExchangeTradedOption

ReferenceInstrument 

Enum ReferenceInstrument for value: ReferenceInstrument

ComplexBond 

Enum ComplexBond for value: ComplexBond

InflationLinkedBond 

Enum InflationLinkedBond for value: InflationLinkedBond

InflationSwap 

Enum InflationSwap for value: InflationSwap

SimpleCashFlowLoan 

Enum SimpleCashFlowLoan for value: SimpleCashFlowLoan

TotalReturnSwap 

Enum TotalReturnSwap for value: TotalReturnSwap

InflationLeg 

Enum InflationLeg for value: InflationLeg

FundShareClass 

Enum FundShareClass for value: FundShareClass

FlexibleLoan 

Enum FlexibleLoan for value: FlexibleLoan

Constructor & Destructor Documentation

◆ BondAllOf() [1/2]

Lusid.Sdk.Model.BondAllOf.BondAllOf ( )
inlineprotected

Initializes a new instance of the BondAllOf class.

◆ BondAllOf() [2/2]

Lusid.Sdk.Model.BondAllOf.BondAllOf ( DateTimeOffset  startDate = default(DateTimeOffset),
DateTimeOffset  maturityDate = default(DateTimeOffset),
string  domCcy = default(string),
FlowConventions  flowConventions = default(FlowConventions),
decimal  principal = default(decimal),
decimal  couponRate = default(decimal),
Dictionary< string, string >  identifiers = default(Dictionary<string, string>),
int?  exDividendDays = default(int?),
DateTimeOffset?  initialCouponDate = default(DateTimeOffset?),
DateTimeOffset?  firstCouponPayDate = default(DateTimeOffset?),
string  calculationType = default(string),
List< RoundingConvention roundingConventions = default(List<RoundingConvention>),
ExDividendConfiguration  exDividendConfiguration = default(ExDividendConfiguration),
decimal?  originalIssuePrice = default(decimal?),
InstrumentTypeEnum  instrumentType = default(InstrumentTypeEnum) 
)
inline

Initializes a new instance of the BondAllOf class.

Parameters
startDateThe Start date of the bond, this is normally when accrual of the first coupon begins. (required).
maturityDateThe Maturity date of the bond, this is when the last coupon accrual period ends. Note that while most bonds have their last payment on this date there are some cases where the final payment is the next working day. (required).
domCcyThe domestic currency of the instrument. This should be the same as the Currency set on the FlowConventions. (required).
flowConventionsflowConventions (required).
principalThe face-value or principal for the bond at outset. This might be reduced through its lifetime in the event of amortisation or similar. (required).
couponRateSimple coupon rate. (required).
identifiersExternal market codes and identifiers for the bond, e.g. ISIN..
exDividendDaysOptional. Number of calendar days in the ex-dividend period. If the settlement date falls in the ex-dividend period then the coupon paid is zero and the accrued interest is negative. If set, this must be a non-negative number. If not set, or set to 0, then there is no ex-dividend period. NOTE: This field is deprecated. If you wish to set the ExDividendDays on a bond, please use the ExDividendConfiguration..
initialCouponDateOptional and to be DEPRECATED. If set, this is the date at which the bond begins to accrue interest. Instead, this information should be entered in the field StartDate..
firstCouponPayDateThe date that the first coupon of the bond is paid. This is required for bonds that have a long first coupon or short first coupon. The first coupon pay date is used as an anchor to compare with the start date and determine if this is a long/short coupon period..
calculationTypeThe calculation type applied to the bond coupon amount. This is required for bonds that have a particular type of computing the period coupon, such as simple compounding, irregular coupons etc. The default CalculationType is &#x60;Standard&#x60;, which returns a coupon amount equal to Principal * Coupon Rate / Coupon Frequency. Coupon Frequency is 12M / Payment Frequency. Payment Frequency can be 1M, 3M, 6M, 12M etc. So Coupon Frequency can be 12, 4, 2, 1 respectively. Supported string (enumeration) values are: [Standard, DayCountCoupon, NoCalculationFloater, BrazilFixedCoupon, StandardWithCappedAccruedInterest]..
roundingConventionsRounding conventions for analytics, if any..
exDividendConfigurationexDividendConfiguration.
originalIssuePriceThe price the bond was issued at. This is to be entered as a percentage of par, for example a value of 98.5 would represent 98.5%..
instrumentTypeThe 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, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if BondAllOf instances are equal

Parameters
inputInstance of BondAllOf to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ CalculationType

string Lusid.Sdk.Model.BondAllOf.CalculationType
getset

The calculation type applied to the bond coupon amount. This is required for bonds that have a particular type of computing the period coupon, such as simple compounding, irregular coupons etc. The default CalculationType is &#x60;Standard&#x60;, which returns a coupon amount equal to Principal * Coupon Rate / Coupon Frequency. Coupon Frequency is 12M / Payment Frequency. Payment Frequency can be 1M, 3M, 6M, 12M etc. So Coupon Frequency can be 12, 4, 2, 1 respectively. Supported string (enumeration) values are: [Standard, DayCountCoupon, NoCalculationFloater, BrazilFixedCoupon, StandardWithCappedAccruedInterest].

The calculation type applied to the bond coupon amount. This is required for bonds that have a particular type of computing the period coupon, such as simple compounding, irregular coupons etc. The default CalculationType is &#x60;Standard&#x60;, which returns a coupon amount equal to Principal * Coupon Rate / Coupon Frequency. Coupon Frequency is 12M / Payment Frequency. Payment Frequency can be 1M, 3M, 6M, 12M etc. So Coupon Frequency can be 12, 4, 2, 1 respectively. Supported string (enumeration) values are: [Standard, DayCountCoupon, NoCalculationFloater, BrazilFixedCoupon, StandardWithCappedAccruedInterest].

◆ CouponRate

decimal Lusid.Sdk.Model.BondAllOf.CouponRate
getset

Simple coupon rate.

Simple coupon rate.

◆ DomCcy

string Lusid.Sdk.Model.BondAllOf.DomCcy
getset

The domestic currency of the instrument. This should be the same as the Currency set on the FlowConventions.

The domestic currency of the instrument. This should be the same as the Currency set on the FlowConventions.

◆ ExDividendConfiguration

ExDividendConfiguration Lusid.Sdk.Model.BondAllOf.ExDividendConfiguration
getset

◆ ExDividendDays

int? Lusid.Sdk.Model.BondAllOf.ExDividendDays
getset

Optional. Number of calendar days in the ex-dividend period. If the settlement date falls in the ex-dividend period then the coupon paid is zero and the accrued interest is negative. If set, this must be a non-negative number. If not set, or set to 0, then there is no ex-dividend period. NOTE: This field is deprecated. If you wish to set the ExDividendDays on a bond, please use the ExDividendConfiguration.

Optional. Number of calendar days in the ex-dividend period. If the settlement date falls in the ex-dividend period then the coupon paid is zero and the accrued interest is negative. If set, this must be a non-negative number. If not set, or set to 0, then there is no ex-dividend period. NOTE: This field is deprecated. If you wish to set the ExDividendDays on a bond, please use the ExDividendConfiguration.

◆ FirstCouponPayDate

DateTimeOffset? Lusid.Sdk.Model.BondAllOf.FirstCouponPayDate
getset

The date that the first coupon of the bond is paid. This is required for bonds that have a long first coupon or short first coupon. The first coupon pay date is used as an anchor to compare with the start date and determine if this is a long/short coupon period.

The date that the first coupon of the bond is paid. This is required for bonds that have a long first coupon or short first coupon. The first coupon pay date is used as an anchor to compare with the start date and determine if this is a long/short coupon period.

◆ FlowConventions

FlowConventions Lusid.Sdk.Model.BondAllOf.FlowConventions
getset

Gets or Sets FlowConventions

◆ Identifiers

Dictionary<string, string> Lusid.Sdk.Model.BondAllOf.Identifiers
getset

External market codes and identifiers for the bond, e.g. ISIN.

External market codes and identifiers for the bond, e.g. ISIN.

◆ InitialCouponDate

DateTimeOffset? Lusid.Sdk.Model.BondAllOf.InitialCouponDate
getset

Optional and to be DEPRECATED. If set, this is the date at which the bond begins to accrue interest. Instead, this information should be entered in the field StartDate.

Optional and to be DEPRECATED. If set, this is the date at which the bond begins to accrue interest. Instead, this information should be entered in the field StartDate.

◆ InstrumentType

InstrumentTypeEnum Lusid.Sdk.Model.BondAllOf.InstrumentType
getset

◆ MaturityDate

DateTimeOffset Lusid.Sdk.Model.BondAllOf.MaturityDate
getset

The Maturity date of the bond, this is when the last coupon accrual period ends. Note that while most bonds have their last payment on this date there are some cases where the final payment is the next working day.

The Maturity date of the bond, this is when the last coupon accrual period ends. Note that while most bonds have their last payment on this date there are some cases where the final payment is the next working day.

◆ OriginalIssuePrice

decimal? Lusid.Sdk.Model.BondAllOf.OriginalIssuePrice
getset

The price the bond was issued at. This is to be entered as a percentage of par, for example a value of 98.5 would represent 98.5%.

The price the bond was issued at. This is to be entered as a percentage of par, for example a value of 98.5 would represent 98.5%.

◆ Principal

decimal Lusid.Sdk.Model.BondAllOf.Principal
getset

The face-value or principal for the bond at outset. This might be reduced through its lifetime in the event of amortisation or similar.

The face-value or principal for the bond at outset. This might be reduced through its lifetime in the event of amortisation or similar.

◆ RoundingConventions

List<RoundingConvention> Lusid.Sdk.Model.BondAllOf.RoundingConventions
getset

Rounding conventions for analytics, if any.

Rounding conventions for analytics, if any.

◆ StartDate

DateTimeOffset Lusid.Sdk.Model.BondAllOf.StartDate
getset

The Start date of the bond, this is normally when accrual of the first coupon begins.

The Start date of the bond, this is normally when accrual of the first coupon begins.


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