public class Balance extends ApiResource
Modifier and Type | Class and Description |
---|---|
static class |
Balance.Details |
static class |
Balance.Money |
ApiResource.RequestMethod
CHARSET, GSON
PRETTY_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<Balance.Money> |
getAvailable()
Funds that are available to be transferred or paid out, whether automatically by Stripe or
explicitly via the Transfers API or Payouts API.
|
java.util.List<Balance.Money> |
getConnectReserved()
Funds held due to negative balances on connected Custom accounts.
|
Balance.Details |
getIssuing() |
java.lang.Boolean |
getLivemode()
Has the value
true if the object exists in live mode or the value false if the
object exists in test mode. |
java.lang.String |
getObject()
String representing the object's type.
|
java.util.List<Balance.Money> |
getPending()
Funds that are not yet available in the balance, due to the 7-day rolling pay cycle.
|
int |
hashCode() |
static Balance |
retrieve()
Retrieves the current account balance, based on the authentication that was used to make the
request.
|
static Balance |
retrieve(BalanceRetrieveParams params,
RequestOptions options)
Retrieves the current account balance, based on the authentication that was used to make the
request.
|
static Balance |
retrieve(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Retrieves the current account balance, based on the authentication that was used to make the
request.
|
static Balance |
retrieve(RequestOptions options)
Retrieves the current account balance, based on the authentication that was used to make the
request.
|
void |
setAvailable(java.util.List<Balance.Money> available)
Funds that are available to be transferred or paid out, whether automatically by Stripe or
explicitly via the Transfers API or Payouts API.
|
void |
setConnectReserved(java.util.List<Balance.Money> connectReserved)
Funds held due to negative balances on connected Custom accounts.
|
void |
setIssuing(Balance.Details issuing) |
void |
setLivemode(java.lang.Boolean livemode)
Has the value
true if the object exists in live mode or the value false if the
object exists in test mode. |
void |
setObject(java.lang.String object)
String representing the object's type.
|
void |
setPending(java.util.List<Balance.Money> pending)
Funds that are not yet available in the balance, due to the 7-day rolling pay cycle.
|
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public static Balance retrieve() throws StripeException
StripeException
public static Balance retrieve(RequestOptions options) throws StripeException
StripeException
public static Balance retrieve(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
StripeException
public static Balance retrieve(BalanceRetrieveParams params, RequestOptions options) throws StripeException
StripeException
public java.util.List<Balance.Money> getAvailable()
source_types
property.public java.util.List<Balance.Money> getConnectReserved()
source_types
property.public Balance.Details getIssuing()
public java.lang.Boolean getLivemode()
true
if the object exists in live mode or the value false
if the
object exists in test mode.public java.lang.String getObject()
Equal to balance
.
public java.util.List<Balance.Money> getPending()
source_types
property.public void setAvailable(java.util.List<Balance.Money> available)
source_types
property.public void setConnectReserved(java.util.List<Balance.Money> connectReserved)
source_types
property.public void setIssuing(Balance.Details issuing)
public void setLivemode(java.lang.Boolean livemode)
true
if the object exists in live mode or the value false
if the
object exists in test mode.public void setObject(java.lang.String object)
Equal to balance
.
public void setPending(java.util.List<Balance.Money> pending)
source_types
property.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object