Class UsBankAccount

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

public class UsBankAccount extends StripeObject implements HasId
  • Constructor Details

    • UsBankAccount

      public UsBankAccount()
  • Method Details

    • getArchived

      public Boolean getArchived()
      Whether this USBankAccount object was archived.
    • getBankAccountType

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

      One of checking, or savings.

    • getBankName

      public String getBankName()
      The name of the bank this bank account belongs to. This field is populated automatically by Stripe based on the routing number.
    • getCreated

      public Instant getCreated()
      Creation time of the object.
    • getFedwireRoutingNumber

      public String getFedwireRoutingNumber()
      The fedwire routing number of the bank account.
    • getLast4

      public String getLast4()
      The last 4 digits of the account number.
    • 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.us_bank_account.

    • getRoutingNumber

      public String getRoutingNumber()
      The ACH routing number of the bank account.
    • setArchived

      public void setArchived(Boolean archived)
      Whether this USBankAccount object was archived.
    • setBankAccountType

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

      One of checking, or savings.

    • setBankName

      public void setBankName(String bankName)
      The name of the bank this bank account belongs to. This field is populated automatically by Stripe based on the routing number.
    • setCreated

      public void setCreated(Instant created)
      Creation time of the object.
    • setFedwireRoutingNumber

      public void setFedwireRoutingNumber(String fedwireRoutingNumber)
      The fedwire routing number of the bank account.
    • setId

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

      public void setLast4(String last4)
      The last 4 digits of the account number.
    • 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.us_bank_account.

    • setRoutingNumber

      public void setRoutingNumber(String routingNumber)
      The ACH routing number 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 USBankAccount object.
      Specified by:
      getId in interface HasId