Package com.stripe.model
Class FundingInstructions
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.FundingInstructions
- All Implemented Interfaces:
StripeObjectInterface
Each customer has a
balance
that is automatically applied to future invoices and payments using the customer_balance
payment method. Customers can fund this balance by initiating a bank transfer to any account in
the financial_addresses
field. Related guide: Customer balance
funding instructions-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Three-letter ISO currency code, in lowercase.Thefunding_type
of the returned instructionsHas 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
setBankTransfer
(FundingInstructions.BankTransfer bankTransfer) void
setCurrency
(String currency) Three-letter ISO currency code, in lowercase.void
setFundingType
(String fundingType) Thefunding_type
of the returned instructionsvoid
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, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
FundingInstructions
public FundingInstructions()
-
-
Method Details
-
getBankTransfer
-
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getFundingType
Thefunding_type
of the returned instructionsEqual to
bank_transfer
. -
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
funding_instructions
. -
setBankTransfer
-
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setFundingType
Thefunding_type
of the returned instructionsEqual to
bank_transfer
. -
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
funding_instructions
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-