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 will be retrieved.setCustomer(String customer) The ID of the Stripe customer whose accounts will be retrieved.setCustomerAccount(String customerAccount) The ID of the Stripe customer Account whose accounts will be retrieved.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 will be retrieved. Should only be present iftypeisaccount. -
setCustomer
The ID of the Stripe customer whose accounts will be retrieved. Should only be present iftypeiscustomer. -
setCustomerAccount
The ID of the Stripe customer Account whose accounts will be retrieved. Should only be present iftypeiscustomer. -
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.
-