Class DeepSeekUserBalanceResponse.BalanceInfo

java.lang.Object
de.entwicklertraining.deepseek4j.user.balance.DeepSeekUserBalanceResponse.BalanceInfo
Enclosing class:
DeepSeekUserBalanceResponse

public static class DeepSeekUserBalanceResponse.BalanceInfo extends Object
Represents balance information for a specific currency.
  • Method Details

    • getCurrency

      public String getCurrency()
      Gets the currency of the balance (CNY or USD).
      Returns:
      The currency string, or null if not present.
    • getTotalBalance

      public String 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

      public String getGrantedBalance()
      Gets the total not expired granted balance.
      Returns:
      The granted balance string, or null if not present.
    • getToppedUpBalance

      public String getToppedUpBalance()
      Gets the total topped-up balance.
      Returns:
      The topped-up balance string, or null if not present.