Class AccountCreateParams.Builder

java.lang.Object
com.stripe.param.v2.core.AccountCreateParams.Builder
Enclosing class:
AccountCreateParams

public static class AccountCreateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public AccountCreateParams build()
      Finalize and obtain parameter instance from this builder.
    • setConfiguration

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

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

      A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.
    • setDefaults

      Default values to be used on Account Configurations.
    • setDisplayName

      public AccountCreateParams.Builder 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.
    • putExtraParam

      public AccountCreateParams.Builder putExtraParam(String key, Object value)
      Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See AccountCreateParams.extraParams for the field documentation.
    • putAllExtraParam

      public AccountCreateParams.Builder putAllExtraParam(Map<String,Object> map)
      Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See AccountCreateParams.extraParams for the field documentation.
    • setIdentity

      Information about the company, individual, and business represented by the Account.
    • addInclude

      Add an element to `include` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See AccountCreateParams.include for the field documentation.
    • addAllInclude

      Add all elements to `include` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. See AccountCreateParams.include for the field documentation.
    • putMetadata

      public AccountCreateParams.Builder putMetadata(String key, String value)
      Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See AccountCreateParams.metadata for the field documentation.
    • putAllMetadata

      public AccountCreateParams.Builder putAllMetadata(Map<String,String> map)
      Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. See AccountCreateParams.metadata for the field documentation.