Package com.stripe.param.v2.core
Class AccountLinkCreateParams.UseCase.AccountOnboarding.Builder
java.lang.Object
com.stripe.param.v2.core.AccountLinkCreateParams.UseCase.AccountOnboarding.Builder
- Enclosing class:
- AccountLinkCreateParams.UseCase.AccountOnboarding
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `configurations` list.Add an element to `configurations` list.build()
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.setRefreshUrl
(String refreshUrl) Required. The URL the user will be redirected to if the AccountLink is expired, has been used, or is otherwise invalid.setReturnUrl
(String returnUrl) The URL that the user will be redirected to upon completing the linked flow.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addConfiguration
public AccountLinkCreateParams.UseCase.AccountOnboarding.Builder addConfiguration(AccountLinkCreateParams.UseCase.AccountOnboarding.Configuration element) Add an element to `configurations` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountLinkCreateParams.UseCase.AccountOnboarding.configurations
for the field documentation. -
addAllConfiguration
public AccountLinkCreateParams.UseCase.AccountOnboarding.Builder addAllConfiguration(List<AccountLinkCreateParams.UseCase.AccountOnboarding.Configuration> elements) Add all elements to `configurations` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeAccountLinkCreateParams.UseCase.AccountOnboarding.configurations
for the field documentation. -
putExtraParam
public AccountLinkCreateParams.UseCase.AccountOnboarding.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. SeeAccountLinkCreateParams.UseCase.AccountOnboarding.extraParams
for the field documentation. -
putAllExtraParam
public AccountLinkCreateParams.UseCase.AccountOnboarding.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. SeeAccountLinkCreateParams.UseCase.AccountOnboarding.extraParams
for the field documentation. -
setRefreshUrl
Required. The URL the user will be redirected to if the AccountLink is expired, has been used, or is otherwise invalid. The URL you specify should attempt to generate a new AccountLink with the same parameters used to create the original AccountLink, then redirect the user to the new AccountLink’s URL so they can continue the flow. If a new AccountLink cannot be generated or the redirect fails you should display a useful error to the user. Please make sure to implement authentication before redirecting the user in case this URL is leaked to a third party. -
setReturnUrl
The URL that the user will be redirected to upon completing the linked flow.
-