Class GbBankAccount

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.core.vault.GbBankAccount
All Implemented Interfaces:
HasId, StripeObjectInterface

public class GbBankAccount extends StripeObject implements HasId
Use the GBBankAccounts API to create and manage GB bank account objects.
  • Constructor Details

    • GbBankAccount

      public GbBankAccount()
  • Method Details

    • getArchived

      public Boolean 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

      public String getBankAccountType()
      Closed Enum. The type of the bank account (checking or savings).

      One of checking, or savings.

    • getBankName

      public String getBankName()
      The name of the bank.
    • getCreated

      public Instant getCreated()
      Creation time.
    • getLast4

      public String getLast4()
      The last 4 digits of the account number or IBAN.
    • getLivemode

      public Boolean getLivemode()
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • getObject

      public String 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

      public Boolean 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

      public String getSortCode()
      The Sort Code of the bank account.
    • getSupportedCurrencies

      public List<String> getSupportedCurrencies()
      The list of currencies supported by this bank account.
    • setArchived

      public void setArchived(Boolean archived)
      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

      public void setBankAccountType(String bankAccountType)
      Closed Enum. The type of the bank account (checking or savings).

      One of checking, or savings.

    • setBankName

      public void setBankName(String bankName)
      The name of the bank.
    • setCreated

      public void setCreated(Instant created)
      Creation time.
    • setId

      public void setId(String id)
      The ID of the GBBankAccount object.
    • setLast4

      public void setLast4(String last4)
      The last 4 digits of the account number or IBAN.
    • setLivemode

      public void setLivemode(Boolean livemode)
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • setObject

      public void setObject(String object)
      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

      public void setRestricted(Boolean restricted)
      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

      public void setSortCode(String sortCode)
      The Sort Code of the bank account.
    • setSupportedCurrencies

      public void setSupportedCurrencies(List<String> supportedCurrencies)
      The list of currencies supported by this bank account.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getId

      public String getId()
      The ID of the GBBankAccount object.
      Specified by:
      getId in interface HasId