An amount of a specific currency, specifying a value and an associated unit
More...
An amount of a specific currency, specifying a value and an associated unit
◆ CurrencyAndAmount()
Lusid.Sdk.Model.CurrencyAndAmount.CurrencyAndAmount |
( |
decimal |
amount = default(decimal) , |
|
|
string |
currency = default(string) |
|
) |
| |
|
inline |
Initializes a new instance of the CurrencyAndAmount class.
- Parameters
-
amount | amount. |
currency | currency. |
◆ Equals() [1/2]
◆ Equals() [2/2]
override bool Lusid.Sdk.Model.CurrencyAndAmount.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
input | Object to be compared |
- Returns
- Boolean
◆ GetHashCode()
override int Lusid.Sdk.Model.CurrencyAndAmount.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ToJson()
virtual string Lusid.Sdk.Model.CurrencyAndAmount.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
override string Lusid.Sdk.Model.CurrencyAndAmount.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ Amount
decimal Lusid.Sdk.Model.CurrencyAndAmount.Amount |
|
getset |
◆ Currency
string Lusid.Sdk.Model.CurrencyAndAmount.Currency |
|
getset |
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/CurrencyAndAmount.cs