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 that takes an Express account to the login page for their Stripe
dashboard. A Login Link differs from an Account Link in that it takes the user
directly to their Express
dashboard for the specified account
-
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_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanstatic LoginLinkcreateOnAccount(String account) Creates a login link for a connected account to access the Express Dashboard.static LoginLinkcreateOnAccount(String account, RequestOptions options) Creates a login link for a connected account to access the Express Dashboard.static LoginLinkcreateOnAccount(String account, LoginLinkCreateOnAccountParams params) Creates a login link for a connected account to access the Express Dashboard.static LoginLinkcreateOnAccount(String account, LoginLinkCreateOnAccountParams params, RequestOptions options) Creates a login link for a connected account to access the Express Dashboard.static LoginLinkcreateOnAccount(String account, Map<String, Object> params) Creates a login link for a connected account to access the Express Dashboard.static LoginLinkcreateOnAccount(String account, Map<String, Object> params, RequestOptions options) Creates a login link for a connected account to access the Express Dashboard.booleanTime at which the object was created.String representing the object's type.getUrl()The URL for the login link.inthashCode()voidsetCreated(Long created) Time at which the object was created.voidString representing the object's type.voidThe URL for the login link.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, setResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
LoginLink
public LoginLink()
-
-
Method Details
-
createOnAccount
Creates a 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 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 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 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 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 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()
-