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 login link for an Express account to access their Stripe 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
static LoginLink
createOnAccount
(String account, LoginLinkCreateOnAccountParams params, RequestOptions options) Creates a single-use login link for an Express account to access their Stripe dashboard.static LoginLink
createOnAccount
(String account, Map<String, Object> params, RequestOptions options) Creates a single-use login link for an Express account to access their Stripe 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
public static LoginLink createOnAccount(String account, Map<String, Object> params, RequestOptions options) throws StripeExceptionCreates a single-use login link for an Express account to access their Stripe dashboard.You may only create login links for Express accounts 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 an Express account to access their Stripe dashboard.You may only create login links for Express accounts 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()
-