Method AddBalance
AddBalance(Currency, long)
Increases the balance of the specified Currency.
Declaration
public static bool AddBalance(Currency currency, long balance)
Parameters
Type | Name | Description |
---|---|---|
Currency | currency | The currency you want to increase the balance. |
long | balance | The amount to add to the balance. |
Returns
Type | Description |
---|---|
bool | true if the update is valid, false otherwise. |
AddBalance(string, long)
Increases the balance of the specified Currency.
Declaration
public static bool AddBalance(string currencyId, long balance)
Parameters
Type | Name | Description |
---|---|---|
string | currencyId | If of the currency you want to increase the balance. |
long | balance | The amount to add to the balance. |
Returns
Type | Description |
---|---|
bool | true if the update is valid, false otherwise. |