public static class EconomyProvider.EconomyResult
extends java.lang.Object
Constructor and Description |
---|
EconomyResult(double transactionMoney) |
EconomyResult(java.lang.String errorMessage) |
EconomyResult(java.lang.String errorMessage,
double transactionMoney) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage()
Get the error that occurred.
|
double |
getTransactionMoney()
Get the amount of money involved in the transaction.
|
boolean |
hasFailed()
Check if the transaction has failed.
|