Package com.stripe.model
Class LoginLink
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.net.ApiResource
-
- com.stripe.model.LoginLink
-
- All Implemented Interfaces:
StripeObjectInterface
public class LoginLink extends ApiResource
-
-
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
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description LoginLink()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)static LoginLinkcreateOnAccount(java.lang.String account, LoginLinkCreateOnAccountParams params, RequestOptions options)Creates a single-use login link for an Express account to access their Stripe dashboard.static LoginLinkcreateOnAccount(java.lang.String account, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)Creates a single-use login link for an Express account to access their Stripe dashboard.booleanequals(java.lang.Object o)java.lang.LonggetCreated()Time at which the object was created.java.lang.StringgetObject()String representing the object's type.java.lang.StringgetUrl()The URL for the login link.inthashCode()voidsetCreated(java.lang.Long created)Time at which the object was created.voidsetObject(java.lang.String object)String representing the object's type.voidsetUrl(java.lang.String url)The URL for the login link.-
Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
createOnAccount
public static LoginLink createOnAccount(java.lang.String account, java.util.Map<java.lang.String,java.lang.Object> 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
-
createOnAccount
public static LoginLink createOnAccount(java.lang.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
public java.lang.Long getCreated()
Time at which the object was created. Measured in seconds since the Unix epoch.
-
getObject
public java.lang.String getObject()
String representing the object's type. Objects of the same type share the same value.Equal to
login_link.
-
getUrl
public java.lang.String getUrl()
The URL for the login link.
-
setCreated
public void setCreated(java.lang.Long created)
Time at which the object was created. Measured in seconds since the Unix epoch.
-
setObject
public void setObject(java.lang.String object)
String representing the object's type. Objects of the same type share the same value.Equal to
login_link.
-
setUrl
public void setUrl(java.lang.String url)
The URL for the login link.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-