Package com.stripe.param.v2.core
Class AccountLinkCreateParams.UseCase.Builder
java.lang.Object
com.stripe.param.v2.core.AccountLinkCreateParams.UseCase.Builder
- Enclosing class:
- AccountLinkCreateParams.UseCase
-
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.setAccountOnboarding
(AccountLinkCreateParams.UseCase.AccountOnboarding accountOnboarding) Indicates that the AccountLink provided should onboard an account.setAccountUpdate
(AccountLinkCreateParams.UseCase.AccountUpdate accountUpdate) Indicates that the AccountLink provided should update a previously onboarded account.Required. Open Enum.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAccountOnboarding
public AccountLinkCreateParams.UseCase.Builder setAccountOnboarding(AccountLinkCreateParams.UseCase.AccountOnboarding accountOnboarding) Indicates that the AccountLink provided should onboard an account. -
setAccountUpdate
public AccountLinkCreateParams.UseCase.Builder setAccountUpdate(AccountLinkCreateParams.UseCase.AccountUpdate accountUpdate) Indicates that the AccountLink provided should update a previously onboarded account. -
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. SeeAccountLinkCreateParams.UseCase.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. SeeAccountLinkCreateParams.UseCase.extraParams
for the field documentation. -
setType
Required. Open Enum. The type of AccountLink the user is requesting.
-