com.chargebee
Class ListResult
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<ListResult.Entry>
com.chargebee.ListResult
- All Implemented Interfaces:
- ApiResponse, Serializable, Cloneable, Iterable<ListResult.Entry>, Collection<ListResult.Entry>, List<ListResult.Entry>, RandomAccess
public class ListResult
- extends ArrayList<ListResult.Entry>
- implements ApiResponse
To represent list output of ChargeBee APIs (like getting list of subscriptions !!)
- See Also:
- Serialized Form
Nested Class Summary |
static class |
ListResult.Entry
represents each entry in this result-list |
Constructor Summary |
ListResult(int httpCode,
org.json.JSONObject respJson)
|
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
httpCode
public final int httpCode
ListResult
public ListResult(int httpCode,
org.json.JSONObject respJson)
httpCode
public int httpCode()
- Specified by:
httpCode
in interface ApiResponse
jsonResponse
public org.json.JSONObject jsonResponse()
- Specified by:
jsonResponse
in interface ApiResponse
nextOffset
public String nextOffset()
toString
public String toString()
- Overrides:
toString
in class AbstractCollection<ListResult.Entry>
Copyright © 2018 ChargeBee. All Rights Reserved.