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

A wrapper of conventions that should be used when interpreting tenors in the context of FX. For instance, can be used to control how tenors are interpreted on an FxForwardTenorCurveData instance. More...

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

Public Member Functions

 FxTenorConvention (string calendarCode=default(string), int spotDays=default(int))
 Initializes a new instance of the FxTenorConvention 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 (FxTenorConvention input)
 Returns true if FxTenorConvention instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

string CalendarCode [get, set]
 The code of the holiday calendar that should be used when interpreting FX tenors. More...
 
int SpotDays [get, set]
 The minimum number of business days that must pass within this calendar when calculating the spot date. More...
 

Detailed Description

A wrapper of conventions that should be used when interpreting tenors in the context of FX. For instance, can be used to control how tenors are interpreted on an FxForwardTenorCurveData instance.

Constructor & Destructor Documentation

◆ FxTenorConvention() [1/2]

Lusid.Sdk.Model.FxTenorConvention.FxTenorConvention ( )
inlineprotected

Initializes a new instance of the FxTenorConvention class.

◆ FxTenorConvention() [2/2]

Lusid.Sdk.Model.FxTenorConvention.FxTenorConvention ( string  calendarCode = default(string),
int  spotDays = default(int) 
)
inline

Initializes a new instance of the FxTenorConvention class.

Parameters
calendarCodeThe code of the holiday calendar that should be used when interpreting FX tenors. (required).
spotDaysThe minimum number of business days that must pass within this calendar when calculating the spot date. (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if FxTenorConvention instances are equal

Parameters
inputInstance of FxTenorConvention to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ CalendarCode

string Lusid.Sdk.Model.FxTenorConvention.CalendarCode
getset

The code of the holiday calendar that should be used when interpreting FX tenors.

The code of the holiday calendar that should be used when interpreting FX tenors.

◆ SpotDays

int Lusid.Sdk.Model.FxTenorConvention.SpotDays
getset

The minimum number of business days that must pass within this calendar when calculating the spot date.

The minimum number of business days that must pass within this calendar when calculating the spot date.


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