LUSID C# SDK
|
An amount of a specific currency, specifying a value and an associated unit More...
Public Member Functions | |
CurrencyAndAmount (decimal amount=default(decimal), string currency=default(string)) | |
Initializes a new instance of the CurrencyAndAmount 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 (CurrencyAndAmount input) |
Returns true if CurrencyAndAmount instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
CurrencyAndAmount () | |
Initializes a new instance of the CurrencyAndAmount class. More... | |
Properties | |
decimal | Amount [get, set] |
Gets or Sets Amount More... | |
string | Currency [get, set] |
Gets or Sets Currency More... | |
An amount of a specific currency, specifying a value and an associated unit
|
inlineprotected |
Initializes a new instance of the CurrencyAndAmount class.
|
inline |
Initializes a new instance of the CurrencyAndAmount class.
amount | amount. |
currency | currency (required). |
|
inline |
Returns true if CurrencyAndAmount instances are equal
input | Instance of CurrencyAndAmount to be compared |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
|
inline |
Returns the string presentation of the object
|
getset |
Gets or Sets Amount
|
getset |
Gets or Sets Currency