Package com.stripe.model
Class PaymentMethodBalance
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentMethodBalance
- All Implemented Interfaces:
StripeObjectInterface
PaymentMethodBalance objects represent balances available on a payment method. You can use
v1/payment_methods/:id/check_balance to check the balance of a payment method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
BalanceEntry contain information about every individual balance type of a card. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getAsOf()
The time at which the balance was calculated.BalanceEntry contain information about every individual balance type of a card.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.String representing the object's type.int
hashCode()
void
The time at which the balance was calculated.void
setBalance
(PaymentMethodBalance.Balance balance) BalanceEntry contain information about every individual balance type of a card.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
String representing the object's type.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
PaymentMethodBalance
public PaymentMethodBalance()
-
-
Method Details
-
getAsOf
The time at which the balance was calculated. Measured in seconds since the Unix epoch. -
getBalance
BalanceEntry contain information about every individual balance type of a card. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
payment_method_balance
. -
setAsOf
The time at which the balance was calculated. Measured in seconds since the Unix epoch. -
setBalance
BalanceEntry contain information about every individual balance type of a card. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
payment_method_balance
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-