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
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about BankTransfer, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThree-letter ISO currency code, in lowercase.Thefunding_typeof the returned instructionsHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.inthashCode()voidsetBankTransfer(FundingInstructions.BankTransfer bankTransfer) voidsetCurrency(String currency) Three-letter ISO currency code, in lowercase.voidsetFundingType(String fundingType) Thefunding_typeof the returned instructionsvoidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString 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
-
FundingInstructions
public FundingInstructions()
-
-
Method Details
-
getBankTransfer
-
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getFundingType
Thefunding_typeof the returned instructionsEqual to
bank_transfer. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif 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_typeof the returned instructionsEqual to
bank_transfer. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif 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()
-