Package com.stripe.model
Class AccountLink
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.AccountLink
- All Implemented Interfaces:
StripeActiveObject
,StripeObjectInterface
Account Links are the means by which a Connect platform grants a connected account permission to
access Stripe-hosted applications, such as Connect Onboarding.
Related guide: Connect Onboarding
-
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 AccountLink
create
(AccountLinkCreateParams params) Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.static AccountLink
create
(AccountLinkCreateParams params, RequestOptions options) Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.static AccountLink
Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.static AccountLink
create
(Map<String, Object> params, RequestOptions options) Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.boolean
Time at which the object was created.The timestamp at which this account link will expire.String representing the object's type.getUrl()
The URL for the account link.int
hashCode()
void
setCreated
(Long created) Time at which the object was created.void
setExpiresAt
(Long expiresAt) The timestamp at which this account link will expire.void
String representing the object's type.void
The URL for the account 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
-
AccountLink
public AccountLink()
-
-
Method Details
-
create
Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.- Throws:
StripeException
-
create
public static AccountLink create(Map<String, Object> params, RequestOptions options) throws StripeExceptionCreates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.- Throws:
StripeException
-
create
Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.- Throws:
StripeException
-
create
public static AccountLink create(AccountLinkCreateParams params, RequestOptions options) throws StripeException Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.- Throws:
StripeException
-
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getExpiresAt
The timestamp at which this account link will expire. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
account_link
. -
getUrl
The URL for the account link. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setExpiresAt
The timestamp at which this account link will expire. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
account_link
. -
setUrl
The URL for the account link. -
equals
-
canEqual
-
hashCode
public int hashCode()
-