DocuSign CSharp Docs
Public Member Functions | Properties | List of all members
DocuSign.eSign.Model.Money Class Reference

Describes information about the `total` of a payment. More...

Inheritance diagram for DocuSign.eSign.Model.Money:

Public Member Functions

 Money (string AmountInBaseUnit=default(string), string Currency=default(string), string DisplayAmount=default(string))
 Initializes a new instance of the Money class. More...
 
override string ToString ()
 Returns the string presentation of the object More...
 
string ToJson ()
 Returns the JSON string presentation of the object More...
 
override bool Equals (object obj)
 Returns true if objects are equal More...
 
bool Equals (Money other)
 Returns true if Money instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 
IEnumerable< ValidationResult > Validate (ValidationContext validationContext)
 

Properties

string AmountInBaseUnit [get, set]
 Gets or Sets AmountInBaseUnit More...
 
string Currency [get, set]
 Gets or Sets Currency More...
 
string DisplayAmount [get, set]
 Gets or Sets DisplayAmount More...
 

Detailed Description

Describes information about the &#x60;total&#x60; of a payment.

Constructor & Destructor Documentation

◆ Money()

DocuSign.eSign.Model.Money.Money ( string  AmountInBaseUnit = default(string),
string  Currency = default(string),
string  DisplayAmount = default(string) 
)
inline

Initializes a new instance of the Money class.

Parameters
AmountInBaseUnitAmountInBaseUnit.
CurrencyCurrency.
DisplayAmountDisplayAmount.

Member Function Documentation

◆ Equals() [1/2]

override bool DocuSign.eSign.Model.Money.Equals ( object  obj)
inline

Returns true if objects are equal

Parameters
objObject to be compared
Returns
Boolean

◆ Equals() [2/2]

bool DocuSign.eSign.Model.Money.Equals ( Money  other)
inline

Returns true if Money instances are equal

Parameters
otherInstance of Money to be compared
Returns
Boolean

◆ GetHashCode()

override int DocuSign.eSign.Model.Money.GetHashCode ( )
inline

Gets the hash code

Returns
Hash code

◆ ToJson()

string DocuSign.eSign.Model.Money.ToJson ( )
inline

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

override string DocuSign.eSign.Model.Money.ToString ( )
inline

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AmountInBaseUnit

string DocuSign.eSign.Model.Money.AmountInBaseUnit
getset

Gets or Sets AmountInBaseUnit

◆ Currency

string DocuSign.eSign.Model.Money.Currency
getset

Gets or Sets Currency

◆ DisplayAmount

string DocuSign.eSign.Model.Money.DisplayAmount
getset

Gets or Sets DisplayAmount


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