Package com.stripe.model
Class LoginLink
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.LoginLink
- All Implemented Interfaces:
StripeActiveObject
,StripeObjectInterface
Login Links are single-use URLs for a connected account to access the Express Dashboard. The
connected account's account.controller.stripe_dashboard.type
must be
express
to have access to the Express Dashboard.-
Nested Class Summary
Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
static LoginLink
createOnAccount
(String account) Creates a single-use login link for a connected account to access the Express Dashboard.static LoginLink
createOnAccount
(String account, RequestOptions options) Creates a single-use login link for a connected account to access the Express Dashboard.static LoginLink
createOnAccount
(String account, LoginLinkCreateOnAccountParams params) Creates a single-use login link for a connected account to access the Express Dashboard.static LoginLink
createOnAccount
(String account, LoginLinkCreateOnAccountParams params, RequestOptions options) Creates a single-use login link for a connected account to access the Express Dashboard.static LoginLink
createOnAccount
(String account, Map<String, Object> params) Creates a single-use login link for a connected account to access the Express Dashboard.static LoginLink
createOnAccount
(String account, Map<String, Object> params, RequestOptions options) Creates a single-use login link for a connected account to access the Express Dashboard.boolean
Time at which the object was created.String representing the object's type.getUrl()
The URL for the login link.int
hashCode()
void
setCreated
(Long created) Time at which the object was created.void
String representing the object's type.void
The URL for the login link.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setResponseGetter, setStripeResponseGetter, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
LoginLink
public LoginLink()
-
-
Method Details
-
createOnAccount
Creates a single-use login link for a connected account to access the Express Dashboard.You can only create login links for accounts that use the Express Dashboard and are connected to your platform.
- Throws:
StripeException
-
createOnAccount
public static LoginLink createOnAccount(String account, RequestOptions options) throws StripeException Creates a single-use login link for a connected account to access the Express Dashboard.You can only create login links for accounts that use the Express Dashboard and are connected to your platform.
- Throws:
StripeException
-
createOnAccount
public static LoginLink createOnAccount(String account, Map<String, Object> params) throws StripeExceptionCreates a single-use login link for a connected account to access the Express Dashboard.You can only create login links for accounts that use the Express Dashboard and are connected to your platform.
- Throws:
StripeException
-
createOnAccount
public static LoginLink createOnAccount(String account, Map<String, Object> params, RequestOptions options) throws StripeExceptionCreates a single-use login link for a connected account to access the Express Dashboard.You can only create login links for accounts that use the Express Dashboard and are connected to your platform.
- Throws:
StripeException
-
createOnAccount
public static LoginLink createOnAccount(String account, LoginLinkCreateOnAccountParams params) throws StripeException Creates a single-use login link for a connected account to access the Express Dashboard.You can only create login links for accounts that use the Express Dashboard and are connected to your platform.
- Throws:
StripeException
-
createOnAccount
public static LoginLink createOnAccount(String account, LoginLinkCreateOnAccountParams params, RequestOptions options) throws StripeException Creates a single-use login link for a connected account to access the Express Dashboard.You can only create login links for accounts that use the Express Dashboard and are connected to your platform.
- Throws:
StripeException
-
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
login_link
. -
getUrl
The URL for the login link. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
login_link
. -
setUrl
The URL for the login link. -
equals
-
canEqual
-
hashCode
public int hashCode()
-