public class AccountTransaction extends ResourceBase
client, id, properties
dateFormat
Constructor and Description |
---|
AccountTransaction(BandwidthClient client,
org.json.simple.JSONObject jsonObject) |
Modifier and Type | Method and Description |
---|---|
double |
getAmount() |
java.util.Date |
getDateTime() |
java.lang.String |
getNumber() |
java.lang.String |
getProductType() |
java.lang.String |
getType() |
long |
getUnits() |
protected java.lang.String |
getUri() |
protected void |
setUp(org.json.simple.JSONObject jsonObject) |
java.lang.String |
toString() |
getClient, getId, getProperties, setId, toJSONArray, toJSONObject
getProperty, getPropertyAsBoolean, getPropertyAsDate, getPropertyAsDouble, getPropertyAsLong, getPropertyAsString, getPropertyAsStringArray, putProperty, toMap, updateProperties
public AccountTransaction(BandwidthClient client, org.json.simple.JSONObject jsonObject)
protected void setUp(org.json.simple.JSONObject jsonObject)
setUp
in class ResourceBase
protected java.lang.String getUri()
public java.lang.String getType()
public java.util.Date getDateTime()
public double getAmount()
public long getUnits()
public java.lang.String getProductType()
public java.lang.String getNumber()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2019. All Rights Reserved.