Class Account

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

public class Account extends StripeObject implements HasId
  • Constructor Details

    • Account

      public Account()
  • Method Details

    • getAppliedConfigurations

      public List<String> getAppliedConfigurations()
      Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
    • getConfiguration

      public Account.Configuration getConfiguration()
      An Account Configuration which allows the Account to take on a key persona across Stripe products.
    • getContactEmail

      public String getContactEmail()
      The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
    • getCreated

      public Instant getCreated()
      Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
    • getDashboard

      public String getDashboard()
      A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.

      One of express, full, or none.

    • getDefaults

      public Account.Defaults getDefaults()
      Default values to be used on Account Configurations.
    • getDisplayName

      public String getDisplayName()
      A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
    • getIdentity

      public Account.Identity getIdentity()
      Information about the company, individual, and business represented by the Account.
    • 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.
    • getMetadata

      public Map<String,String> getMetadata()
      Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
    • 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.account.

    • getRequirements

      public Account.Requirements getRequirements()
      Information about the requirements for the Account, including what information needs to be collected, and by when.
    • setAppliedConfigurations

      public void setAppliedConfigurations(List<String> appliedConfigurations)
      Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
    • setConfiguration

      public void setConfiguration(Account.Configuration configuration)
      An Account Configuration which allows the Account to take on a key persona across Stripe products.
    • setContactEmail

      public void setContactEmail(String contactEmail)
      The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
    • setCreated

      public void setCreated(Instant created)
      Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
    • setDashboard

      public void setDashboard(String dashboard)
      A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.

      One of express, full, or none.

    • setDefaults

      public void setDefaults(Account.Defaults defaults)
      Default values to be used on Account Configurations.
    • setDisplayName

      public void setDisplayName(String displayName)
      A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
    • setId

      public void setId(String id)
      Unique identifier for the Account.
    • setIdentity

      public void setIdentity(Account.Identity identity)
      Information about the company, individual, and business represented by the Account.
    • 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.
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
      Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
    • 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.account.

    • setRequirements

      public void setRequirements(Account.Requirements requirements)
      Information about the requirements for the Account, including what information needs to be collected, and by when.
    • 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()
      Unique identifier for the Account.
      Specified by:
      getId in interface HasId