Get the number of credits currently available on the account.

int credits = tmClient.getCredits();
System.out.println("Account have " + credits + " credits.");

Arguments:

None.

Returns:

a positive/zero integer indicating the number of credits on your account

Specific error codes:

None.