Class SessionCreateParams.AccountHolder.Builder
java.lang.Object
com.stripe.param.financialconnections.SessionCreateParams.AccountHolder.Builder
- Enclosing class:
- SessionCreateParams.AccountHolder
-
Constructor Summary
-
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.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 iftype
isaccount
. -
setCustomer
The ID of the Stripe customer whose accounts will be retrieved. Should only be present iftype
iscustomer
. -
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.extraParams
for 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.extraParams
for the field documentation. -
setType
public SessionCreateParams.AccountHolder.Builder setType(SessionCreateParams.AccountHolder.Type type) Required. Type of account holder to collect accounts for.
-