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_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanstatic AccountLinkcreate(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 AccountLinkcreate(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 AccountLinkCreates 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 AccountLinkcreate(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.booleanTime 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.inthashCode()voidsetCreated(Long created) Time at which the object was created.voidsetExpiresAt(Long expiresAt) The timestamp at which this account link will expire.voidString representing the object's type.voidThe URL for the account 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
-
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()
-