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
  • 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.
    • getConfirmationOfPayee

      public GbBankAccount.ConfirmationOfPayee getConfirmationOfPayee()
      Information around the status of Confirmation of Payee matching done on this bank account. Confirmation of Payee is a name matching service that must be done before making OutboundPayments in the UK.
    • 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.

    • getSortCode

      public String getSortCode()
      The Sort Code of the 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.
    • setConfirmationOfPayee

      public void setConfirmationOfPayee(GbBankAccount.ConfirmationOfPayee confirmationOfPayee)
      Information around the status of Confirmation of Payee matching done on this bank account. Confirmation of Payee is a name matching service that must be done before making OutboundPayments in the UK.
    • 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.

    • setSortCode

      public void setSortCode(String sortCode)
      The Sort Code of the 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