Package com.stripe.model.v2.core.vault
Class UsBankAccount
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.core.vault.UsBankAccount
- All Implemented Interfaces:
HasId,StripeObjectInterface
Use the USBankAccounts API to create and manage US bank accounts objects that you can use to
receive funds. Note that these are not interchangeable with v1 Tokens.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe bank account verification details. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanWhether this USBankAccount object was archived.Closed Enum.The name of the bank this bank account belongs to.Creation time of the object.The fedwire routing number of the bank account.getId()The ID of the USBankAccount object.getLast4()The last 4 digits of the account number.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.The ACH routing number of the bank account.The bank account verification details.inthashCode()voidsetArchived(Boolean archived) Whether this USBankAccount object was archived.voidsetBankAccountType(String bankAccountType) Closed Enum.voidsetBankName(String bankName) The name of the bank this bank account belongs to.voidsetCreated(Instant created) Creation time of the object.voidsetFedwireRoutingNumber(String fedwireRoutingNumber) The fedwire routing number of the bank account.voidThe ID of the USBankAccount object.voidThe last 4 digits of the account number.voidsetLivemode(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.voidsetRoutingNumber(String routingNumber) The ACH routing number of the bank account.voidsetVerification(UsBankAccount.Verification verification) The bank account verification details.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
UsBankAccount
public UsBankAccount()
-
-
Method Details
-
getArchived
Whether this USBankAccount object was archived. -
getBankAccountType
Closed Enum. The type of bank account (checking or savings).One of
checking, orsavings. -
getBankName
The name of the bank this bank account belongs to. This field is populated automatically by Stripe based on the routing number. -
getCreated
Creation time of the object. -
getFedwireRoutingNumber
The fedwire routing number of the bank account. -
getLast4
The last 4 digits of the account number. -
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 of the object field.Equal to
v2.core.vault.us_bank_account. -
getRoutingNumber
The ACH routing number of the bank account. -
getVerification
The bank account verification details. -
setArchived
Whether this USBankAccount object was archived. -
setBankAccountType
Closed Enum. The type of bank account (checking or savings).One of
checking, orsavings. -
setBankName
The name of the bank this bank account belongs to. This field is populated automatically by Stripe based on the routing number. -
setCreated
Creation time of the object. -
setFedwireRoutingNumber
The fedwire routing number of the bank account. -
setId
The ID of the USBankAccount object. -
setLast4
The last 4 digits of the account number. -
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 of the object field.Equal to
v2.core.vault.us_bank_account. -
setRoutingNumber
The ACH routing number of the bank account. -
setVerification
The bank account verification details. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
The ID of the USBankAccount object.
-