Class SessionCreateParams.AccountHolder.Builder
java.lang.Object
com.stripe.param.financialconnections.SessionCreateParams.AccountHolder.Builder
- Enclosing class:
- SessionCreateParams.AccountHolder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.setAccount(String account) The ID of the Stripe account whose accounts you will retrieve.setCustomer(String customer) The ID of the Stripe customer whose accounts you will retrieve.setCustomerAccount(String customerAccount) The ID of Account representing a customer whose accounts you will retrieve.Required. Type of account holder to collect accounts for.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAccount
The ID of the Stripe account whose accounts you will retrieve. Only available whentypeisaccount. -
setCustomer
The ID of the Stripe customer whose accounts you will retrieve. Only available whentypeiscustomer. -
setCustomerAccount
The ID of Account representing a customer whose accounts you will retrieve. Only available whentypeiscustomer. -
putExtraParam
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. SeeSessionCreateParams.AccountHolder.extraParamsfor the field documentation. -
putAllExtraParam
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. SeeSessionCreateParams.AccountHolder.extraParamsfor the field documentation. -
setType
public SessionCreateParams.AccountHolder.Builder setType(SessionCreateParams.AccountHolder.Type type) Required. Type of account holder to collect accounts for.
-