Class AccountUpdateParams.Builder

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

public static class AccountUpdateParams.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

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

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

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

      public AccountUpdateParams.Builder setContactEmail(EmptyParam 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 AccountUpdateParams.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.
    • setDisplayName

      public AccountUpdateParams.Builder setDisplayName(EmptyParam 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 AccountUpdateParams.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 AccountUpdateParams.extraParams for the field documentation.
    • putAllExtraParam

      public AccountUpdateParams.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 AccountUpdateParams.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 AccountUpdateParams.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 AccountUpdateParams.include for the field documentation.
    • putMetadata

      public AccountUpdateParams.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 AccountUpdateParams.metadata for the field documentation.
    • putMetadata

      public AccountUpdateParams.Builder putMetadata(String key, EmptyParam 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 AccountUpdateParams.metadata for the field documentation.
    • putAllMetadata

      public AccountUpdateParams.Builder putAllMetadata(Map<String,Object> 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. Map values can only be one of the following types: `String`, `EmptyParam`. See AccountUpdateParams.metadata for the field documentation.