Method RemoveBalance
RemoveBalance(Currency, long)
Decreases the balance of the specified Currency.
Declaration
public static bool RemoveBalance(Currency currency, long balance)
Parameters
Type | Name | Description |
---|---|---|
Currency | currency | The currency you want to decrease the balance. |
long | balance | The amount to remove to the balance. |
Returns
Type | Description |
---|---|
bool | true if the update is valid, false otherwise. |
RemoveBalance(string, long)
Decreases the balance of the specified Currency.
Declaration
public static bool RemoveBalance(string currencyId, long balance)
Parameters
Type | Name | Description |
---|---|---|
string | currencyId | Id of the currency you want to decrease the balance. |
long | balance | The amount to remove to the balance. |
Returns
Type | Description |
---|---|
bool | true if the update is valid, false otherwise. |