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

Schedule to define fx conversion of cashflows on complex bonds. If an fx schedule is defined then on payment schedule generation the coupon and principal payoffs will be wrapped in an fx rate payoff method. Either the fx rate is predefined (fixed) or relies on fx resets (floating). Used in representation of dual currency bond. More...

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

Public Member Functions

 FxRateSchedule (FlowConventions flowConventions=default(FlowConventions), List< string > fxConversionTypes=default(List< string >), decimal rate=default(decimal), string toCurrency=default(string), ScheduleTypeEnum scheduleType=default(ScheduleTypeEnum))
 Initializes a new instance of the FxRateSchedule 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 (FxRateSchedule input)
 Returns true if FxRateSchedule instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 
- Public Member Functions inherited from Lusid.Sdk.Model.Schedule
 Schedule (ScheduleTypeEnum scheduleType=default(ScheduleTypeEnum))
 Initializes a new instance of the Schedule 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 (Schedule input)
 Returns true if Schedule instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 FxRateSchedule ()
 Initializes a new instance of the FxRateSchedule class. More...
 
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > BaseValidate (ValidationContext validationContext)
 To validate all properties of the instance More...
 
- Protected Member Functions inherited from Lusid.Sdk.Model.Schedule
 Schedule ()
 Initializes a new instance of the Schedule class. More...
 
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > BaseValidate (ValidationContext validationContext)
 To validate all properties of the instance More...
 

Properties

FlowConventions FlowConventions [get, set]
 Gets or Sets FlowConventions More...
 
List< string > FxConversionTypes [get, set]
 List of flags to indicate if coupon payments, principal payments or both are converted More...
 
decimal Rate [get, set]
 FxRate used to convert payments. Assumed to be in units of the ToCurrency so conversion is paymentAmount x fxRate More...
 
string ToCurrency [get, set]
 Currency that payments are converted to More...
 
- Properties inherited from Lusid.Sdk.Model.Schedule
ScheduleTypeEnum ScheduleType [get, set]
 The available values are: FixedSchedule, FloatSchedule, OptionalitySchedule, StepSchedule, Exercise, FxRateSchedule, FxLinkedNotionalSchedule, Invalid More...
 

Additional Inherited Members

- Public Types inherited from Lusid.Sdk.Model.Schedule
enum class  ScheduleTypeEnum {
  FixedSchedule = 1 , FloatSchedule = 2 , OptionalitySchedule = 3 , StepSchedule = 4 ,
  Exercise = 5 , FxRateSchedule = 6 , FxLinkedNotionalSchedule = 7 , Invalid = 8
}
 The available values are: FixedSchedule, FloatSchedule, OptionalitySchedule, StepSchedule, Exercise, FxRateSchedule, FxLinkedNotionalSchedule, Invalid More...
 

Detailed Description

Schedule to define fx conversion of cashflows on complex bonds. If an fx schedule is defined then on payment schedule generation the coupon and principal payoffs will be wrapped in an fx rate payoff method. Either the fx rate is predefined (fixed) or relies on fx resets (floating). Used in representation of dual currency bond.

Constructor & Destructor Documentation

◆ FxRateSchedule() [1/2]

Lusid.Sdk.Model.FxRateSchedule.FxRateSchedule ( )
inlineprotected

Initializes a new instance of the FxRateSchedule class.

◆ FxRateSchedule() [2/2]

Lusid.Sdk.Model.FxRateSchedule.FxRateSchedule ( FlowConventions  flowConventions = default(FlowConventions),
List< string >  fxConversionTypes = default(List<string>),
decimal  rate = default(decimal),
string  toCurrency = default(string),
ScheduleTypeEnum  scheduleType = default(ScheduleTypeEnum) 
)
inline

Initializes a new instance of the FxRateSchedule class.

Parameters
flowConventionsflowConventions.
fxConversionTypesList of flags to indicate if coupon payments, principal payments or both are converted.
rateFxRate used to convert payments. Assumed to be in units of the ToCurrency so conversion is paymentAmount x fxRate.
toCurrencyCurrency that payments are converted to.
scheduleTypeThe available values are: FixedSchedule, FloatSchedule, OptionalitySchedule, StepSchedule, Exercise, FxRateSchedule, FxLinkedNotionalSchedule, Invalid (required) (default to "FxRateSchedule").

Member Function Documentation

◆ BaseValidate()

IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> Lusid.Sdk.Model.FxRateSchedule.BaseValidate ( ValidationContext  validationContext)
inlineprotected

To validate all properties of the instance

Parameters
validationContextValidation context
Returns
Validation Result

◆ Equals() [1/2]

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

Returns true if FxRateSchedule instances are equal

Parameters
inputInstance of FxRateSchedule to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

override string Lusid.Sdk.Model.FxRateSchedule.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

Reimplemented from Lusid.Sdk.Model.Schedule.

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ FlowConventions

FlowConventions Lusid.Sdk.Model.FxRateSchedule.FlowConventions
getset

Gets or Sets FlowConventions

◆ FxConversionTypes

List<string> Lusid.Sdk.Model.FxRateSchedule.FxConversionTypes
getset

List of flags to indicate if coupon payments, principal payments or both are converted

List of flags to indicate if coupon payments, principal payments or both are converted

◆ Rate

decimal Lusid.Sdk.Model.FxRateSchedule.Rate
getset

FxRate used to convert payments. Assumed to be in units of the ToCurrency so conversion is paymentAmount x fxRate

FxRate used to convert payments. Assumed to be in units of the ToCurrency so conversion is paymentAmount x fxRate

◆ ToCurrency

string Lusid.Sdk.Model.FxRateSchedule.ToCurrency
getset

Currency that payments are converted to

Currency that payments are converted to


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