Class DeepSeekUserBalanceResponse.BalanceInfo
java.lang.Object
de.entwicklertraining.deepseek4j.user.balance.DeepSeekUserBalanceResponse.BalanceInfo
- Enclosing class:
DeepSeekUserBalanceResponse
Represents balance information for a specific currency.
-
Method Summary
Modifier and TypeMethodDescriptionGets the currency of the balance (CNY or USD).Gets the total not expired granted balance.Gets the total topped-up balance.Gets the total available balance, including the granted balance and the topped-up balance.
-
Method Details
-
getCurrency
Gets the currency of the balance (CNY or USD).- Returns:
- The currency string, or null if not present.
-
getTotalBalance
Gets the total available balance, including the granted balance and the topped-up balance.- Returns:
- The total balance string, or null if not present.
-
getGrantedBalance
Gets the total not expired granted balance.- Returns:
- The granted balance string, or null if not present.
-
getToppedUpBalance
Gets the total topped-up balance.- Returns:
- The topped-up balance string, or null if not present.
-