Package com.stripe.model
Class FundingInstructions
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.FundingInstructions
- All Implemented Interfaces:
StripeActiveObject,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 instructionsIf the object exists in live mode, the value istrue.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) If the object exists in live mode, the value istrue.voidString representing the object's type.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
FundingInstructions
public FundingInstructions()
-
-
Method Details
-
setResponseGetter
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getBankTransfer
-
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getFundingType
Thefunding_typeof the returned instructionsEqual to
bank_transfer. -
getLivemode
If the object exists in live mode, the value istrue. If the object exists in test mode, the value isfalse. -
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
If the object exists in live mode, the value istrue. If the object exists in test mode, the value isfalse. -
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()
-