Package com.stripe.param
Class AccountSessionCreateParams.Components.FinancialAccount.Features.Builder
java.lang.Object
com.stripe.param.AccountSessionCreateParams.Components.FinancialAccount.Features.Builder
- Enclosing class:
- AccountSessionCreateParams.Components.FinancialAccount.Features
public static class AccountSessionCreateParams.Components.FinancialAccount.Features.Builder
extends Object
-
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.setDisableStripeUserAuthentication
(Boolean disableStripeUserAuthentication) Whether Stripe user authentication is disabled.setExternalAccountCollection
(Boolean externalAccountCollection) Whether external account collection is enabled.setSendMoney
(Boolean sendMoney) Whether to allow sending money.setTransferBalance
(Boolean transferBalance) Whether to allow transferring balance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDisableStripeUserAuthentication
public AccountSessionCreateParams.Components.FinancialAccount.Features.Builder setDisableStripeUserAuthentication(Boolean disableStripeUserAuthentication) Whether Stripe user authentication is disabled. This value can only betrue
for accounts wherecontroller.requirement_collection
isapplication
for the account. The default value is the opposite of theexternal_account_collection
value. For example, if you don't setexternal_account_collection
, it defaults totrue
anddisable_stripe_user_authentication
defaults tofalse
. -
setExternalAccountCollection
public AccountSessionCreateParams.Components.FinancialAccount.Features.Builder setExternalAccountCollection(Boolean externalAccountCollection) Whether external account collection is enabled. This feature can only befalse
for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature istrue
. -
putExtraParam
public AccountSessionCreateParams.Components.FinancialAccount.Features.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. SeeAccountSessionCreateParams.Components.FinancialAccount.Features.extraParams
for the field documentation. -
putAllExtraParam
public AccountSessionCreateParams.Components.FinancialAccount.Features.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. SeeAccountSessionCreateParams.Components.FinancialAccount.Features.extraParams
for the field documentation. -
setSendMoney
public AccountSessionCreateParams.Components.FinancialAccount.Features.Builder setSendMoney(Boolean sendMoney) Whether to allow sending money. -
setTransferBalance
public AccountSessionCreateParams.Components.FinancialAccount.Features.Builder setTransferBalance(Boolean transferBalance) Whether to allow transferring balance.
-