public class Balance extends APIResource
APIResource.RequestMethod, APIResource.RequestTypeCHARSET, GSONPRETTY_PRINT_GSON| Constructor and Description |
|---|
Balance() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.util.List<Money> |
getAvailable() |
java.lang.Boolean |
getLivemode() |
java.lang.String |
getObject() |
java.util.List<Money> |
getPending() |
int |
hashCode() |
static Balance |
retrieve()
Retrieve balance.
|
static Balance |
retrieve(RequestOptions options)
Retrieve balance.
|
static Balance |
retrieve(java.lang.String apiKey)
Deprecated.
Use
retrieve(RequestOptions) instead.
This method will be removed in the next major version. |
void |
setAvailable(java.util.List<Money> available) |
void |
setLivemode(java.lang.Boolean livemode) |
void |
setObject(java.lang.String object) |
void |
setPending(java.util.List<Money> pending) |
classURL, classURL, instanceURL, instanceURL, multipartRequest, request, requestCollection, setExpandableFieldID, setStripeResponseGetter, singleClassURL, singleClassURL, subresourceURL, urlEncodeequals, getLastResponse, setLastResponse, toJson, toStringpublic static Balance retrieve() throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Balance retrieve(RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static Balance retrieve(java.lang.String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
retrieve(RequestOptions) instead.
This method will be removed in the next major version.public java.lang.String getObject()
public java.util.List<Money> getAvailable()
public java.lang.Boolean getLivemode()
public java.util.List<Money> getPending()
public void setObject(java.lang.String object)
public void setAvailable(java.util.List<Money> available)
public void setLivemode(java.lang.Boolean livemode)
public void setPending(java.util.List<Money> pending)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Object