Package com.stripe.param
Class AccountLinkCreateParams
- java.lang.Object
-
- com.stripe.net.ApiRequestParams
-
- com.stripe.param.AccountLinkCreateParams
-
public class AccountLinkCreateParams extends ApiRequestParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AccountLinkCreateParams.Builder
static class
AccountLinkCreateParams.Collect
static class
AccountLinkCreateParams.Type
-
Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam
-
-
Field Summary
-
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccountLinkCreateParams.Builder
builder()
java.lang.String
getAccount()
The identifier of the account to create an account link for.AccountLinkCreateParams.Collect
getCollect()
Which information the platform needs to collect from the user.java.util.List<java.lang.String>
getExpand()
Specifies which fields in the response should be expanded.java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.java.lang.String
getRefreshUrl()
The URL the user will be redirected to if the account link is expired, has been previously-visited, or is otherwise invalid.java.lang.String
getReturnUrl()
The URL that the user will be redirected to upon leaving or completing the linked flow.AccountLinkCreateParams.Type
getType()
The type of account link the user is requesting.-
Methods inherited from class com.stripe.net.ApiRequestParams
toMap
-
-
-
-
Method Detail
-
builder
public static AccountLinkCreateParams.Builder builder()
-
getAccount
public java.lang.String getAccount()
The identifier of the account to create an account link for.
-
getCollect
public AccountLinkCreateParams.Collect getCollect()
Which information the platform needs to collect from the user. One ofcurrently_due
oreventually_due
. Default iscurrently_due
.
-
getExpand
public java.util.List<java.lang.String> getExpand()
Specifies which fields in the response should be expanded.
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
-
getRefreshUrl
public java.lang.String getRefreshUrl()
The URL the user will be redirected to if the account link is expired, has been previously-visited, or is otherwise invalid. The URL you specify should attempt to generate a new account link with the same parameters used to create the original account link, then redirect the user to the new account link's URL so they can continue with Connect Onboarding. If a new account link cannot be generated or the redirect fails you should display a useful error to the user.
-
getReturnUrl
public java.lang.String getReturnUrl()
The URL that the user will be redirected to upon leaving or completing the linked flow.
-
getType
public AccountLinkCreateParams.Type getType()
The type of account link the user is requesting. Possible values areaccount_onboarding
oraccount_update
.
-
-