public class Balance extends Resource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static BalanceFetcher |
fetcher()
Create a BalanceFetcher to execute fetch.
|
static BalanceFetcher |
fetcher(String pathAccountSid)
Create a BalanceFetcher to execute fetch.
|
static Balance |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Balance object using the provided
ObjectMapper.
|
static Balance |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Balance object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns Account Sid..
|
String |
getBalance()
Returns Account balance.
|
String |
getCurrency()
Returns Currency units.
|
int |
hashCode() |
public static BalanceFetcher fetcher(String pathAccountSid)
pathAccountSid
- Account Sid.public static BalanceFetcher fetcher()
public static Balance fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Balance fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getBalance()
public final String getCurrency()
Copyright © 2019 Twilio, Inc. All Rights Reserved.