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...
|
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...
|
|
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.
◆ FxTenorConvention() [1/2]
Lusid.Sdk.Model.FxTenorConvention.FxTenorConvention |
( |
| ) |
|
|
inlineprotected |
◆ 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
-
calendarCode | The code of the holiday calendar that should be used when interpreting FX tenors. (required). |
spotDays | The minimum number of business days that must pass within this calendar when calculating the spot date. (required). |
◆ Equals() [1/2]
◆ Equals() [2/2]
override bool Lusid.Sdk.Model.FxTenorConvention.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
input | Object 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
◆ 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:
- /home/docs/checkouts/readthedocs.org/user_builds/lusid-sdk-csharp/checkouts/latest/sdk/Lusid.Sdk/Model/FxTenorConvention.cs