Java SDK

GetBalance

Obtains the available credits on an account.

int GetBalance () throws IntelliSMSException

Parameters:

Available Balance Return Number of remaining credits

Exceptions:

IntelliSMSException Error returned by the IntelliSoftware SMS gateway

Java Sample:


import IntelliSoftware.SMSGateway.SDK.IntelliSMSJavaSDK.*;

IntelliSMS objIntelliSMS = new IntelliSMS();
objIntelliSMS.Username = "MyUsername";
objIntelliSMS.Password = "MyPassword";

int Balance = objIntelliSMS.GetBalance();

				

<< Back to Java SDK