public class Account extends BaseModelObject
/v1/users/{userId}/account| Modifier and Type | Class and Description |
|---|---|
class |
Account.TransactionsQueryBuilder |
client, dateFormat, parentUri, properties| Constructor and Description |
|---|
Account(BandwidthRestClient client,
String parentUri) |
| Modifier and Type | Method and Description |
|---|---|
AccountInfo |
getAccountInfo()
Gets your current account information.
|
protected String |
getUri() |
Account.TransactionsQueryBuilder |
queryTransactionsBuilder()
Creates builder for getting transactions of the account.
|
getId, getProperty, getPropertyAsBoolean, getPropertyAsDate, getPropertyAsDouble, getPropertyAsLong, getPropertyAsString, getPropertyAsStringArray, putProperty, toMap, updatePropertiespublic Account(BandwidthRestClient client, String parentUri)
public AccountInfo getAccountInfo() throws IOException
IOExceptionpublic Account.TransactionsQueryBuilder queryTransactionsBuilder()
List list = account.queryTransactionsBuilder().maxItems(5).type("charge").list(); protected String getUri()
getUri in class BaseModelObjectCopyright © 2014. All rights reserved.