infobip.examples.GetAccountBalanceExample Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infobip-api-java-client Show documentation
Show all versions of infobip-api-java-client Show documentation
API client in Java for Infobip's API (http://dev.infobip.com/).
package infobip.examples;
import infobip.api.client.GetAccountBalance;
import infobip.api.config.BasicAuthConfiguration;
import infobip.api.model.account.AccountBalance;
public class GetAccountBalanceExample extends Example {
public static void main(String[] args) {
GetAccountBalance client = new GetAccountBalance(new BasicAuthConfiguration(USERNAME, PASSWORD));
AccountBalance accountBalance = client.execute();
System.out.println(accountBalance);
}
}