A class containing information for a given premium payment.
More...
|
| Premium (decimal amount=default(decimal), string currency=default(string), DateTimeOffset date=default(DateTimeOffset)) |
| Initializes a new instance of the Premium 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 (Premium input) |
| Returns true if Premium instances are equal More...
|
|
override int | GetHashCode () |
| Gets the hash code More...
|
|
A class containing information for a given premium payment.
◆ Premium() [1/2]
Lusid.Sdk.Model.Premium.Premium |
( |
| ) |
|
|
inlineprotected |
Initializes a new instance of the Premium class.
◆ Premium() [2/2]
Lusid.Sdk.Model.Premium.Premium |
( |
decimal |
amount = default(decimal) , |
|
|
string |
currency = default(string) , |
|
|
DateTimeOffset |
date = default(DateTimeOffset) |
|
) |
| |
|
inline |
Initializes a new instance of the Premium class.
- Parameters
-
amount | Premium amount. (required). |
currency | Premium currency. (required). |
date | Date when premium paid. (required). |
◆ Equals() [1/2]
override bool Lusid.Sdk.Model.Premium.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
input | Object to be compared |
- Returns
- Boolean
◆ Equals() [2/2]
bool Lusid.Sdk.Model.Premium.Equals |
( |
Premium |
input | ) |
|
|
inline |
Returns true if Premium instances are equal
- Parameters
-
input | Instance of Premium to be compared |
- Returns
- Boolean
◆ GetHashCode()
override int Lusid.Sdk.Model.Premium.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ToJson()
virtual string Lusid.Sdk.Model.Premium.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
override string Lusid.Sdk.Model.Premium.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ Amount
decimal Lusid.Sdk.Model.Premium.Amount |
|
getset |
◆ Currency
string Lusid.Sdk.Model.Premium.Currency |
|
getset |
◆ Date
DateTimeOffset Lusid.Sdk.Model.Premium.Date |
|
getset |
Date when premium paid.
Date when premium paid.
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/Premium.cs