Package com.stripe.model.v2.core.vault
Class GbBankAccount
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.core.vault.GbBankAccount
- All Implemented Interfaces:
HasId,StripeObjectInterface
Use the GBBankAccounts API to create and manage GB bank account objects.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanWhether this bank account object was archived.Closed Enum.The name of the bank.Creation time.getId()The ID of the GBBankAccount object.getLast4()The last 4 digits of the account number or IBAN.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.Whether the GB Bank Account is currently unusable for money movement, despite potentially being correctly set up.The Sort Code of the bank account.The list of currencies supported by this bank account.inthashCode()voidsetArchived(Boolean archived) Whether this bank account object was archived.voidsetBankAccountType(String bankAccountType) Closed Enum.voidsetBankName(String bankName) The name of the bank.voidsetCreated(Instant created) Creation time.voidThe ID of the GBBankAccount object.voidThe last 4 digits of the account number or IBAN.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.voidsetRestricted(Boolean restricted) Whether the GB Bank Account is currently unusable for money movement, despite potentially being correctly set up.voidsetSortCode(String sortCode) The Sort Code of the bank account.voidsetSupportedCurrencies(List<String> supportedCurrencies) The list of currencies supported by this bank account.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
GbBankAccount
public GbBankAccount()
-
-
Method Details
-
getArchived
Whether this bank account object was archived. Bank account objects can be archived through the /archive API, and they will not be automatically archived by Stripe. Archived bank account objects cannot be used as outbound destinations and will not appear in the outbound destination list. -
getBankAccountType
Closed Enum. The type of the bank account (checking or savings).One of
checking, orsavings. -
getBankName
The name of the bank. -
getCreated
Creation time. -
getLast4
The last 4 digits of the account number or IBAN. -
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.gb_bank_account. -
getRestricted
Whether the GB Bank Account is currently unusable for money movement, despite potentially being correctly set up. Please reach out to Stripe Support for more information. -
getSortCode
The Sort Code of the bank account. -
getSupportedCurrencies
The list of currencies supported by this bank account. -
setArchived
Whether this bank account object was archived. Bank account objects can be archived through the /archive API, and they will not be automatically archived by Stripe. Archived bank account objects cannot be used as outbound destinations and will not appear in the outbound destination list. -
setBankAccountType
Closed Enum. The type of the bank account (checking or savings).One of
checking, orsavings. -
setBankName
The name of the bank. -
setCreated
Creation time. -
setId
The ID of the GBBankAccount object. -
setLast4
The last 4 digits of the account number or IBAN. -
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.gb_bank_account. -
setRestricted
Whether the GB Bank Account is currently unusable for money movement, despite potentially being correctly set up. Please reach out to Stripe Support for more information. -
setSortCode
The Sort Code of the bank account. -
setSupportedCurrencies
The list of currencies supported by this bank account. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
The ID of the GBBankAccount object.
-