Package com.stripe.model
Class AccountLink
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.net.ApiResource
-
- com.stripe.model.AccountLink
-
- All Implemented Interfaces:
StripeObjectInterface
public class AccountLink 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 AccountLink()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
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
create(java.util.Map<java.lang.String,java.lang.Object> 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(java.util.Map<java.lang.String,java.lang.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
equals(java.lang.Object o)
java.lang.Long
getCreated()
Time at which the object was created.java.lang.Long
getExpiresAt()
The timestamp at which this account link will expire.java.lang.String
getObject()
String representing the object's type.java.lang.String
getUrl()
The URL for the account link.int
hashCode()
void
setCreated(java.lang.Long created)
Time at which the object was created.void
setExpiresAt(java.lang.Long expiresAt)
The timestamp at which this account link will expire.void
setObject(java.lang.String object)
String representing the object's type.void
setUrl(java.lang.String url)
The URL for the account link.-
Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, requestSearchResult, requestSearchResult, requestStream, requestStream, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
create
public static AccountLink create(java.util.Map<java.lang.String,java.lang.Object> params) 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
-
create
public static AccountLink create(java.util.Map<java.lang.String,java.lang.Object> 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
-
create
public static AccountLink create(AccountLinkCreateParams params) 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
-
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
public java.lang.Long getCreated()
Time at which the object was created. Measured in seconds since the Unix epoch.
-
getExpiresAt
public java.lang.Long getExpiresAt()
The timestamp at which this account link will expire.
-
getObject
public java.lang.String getObject()
String representing the object's type. Objects of the same type share the same value.Equal to
account_link
.
-
getUrl
public java.lang.String getUrl()
The URL for the account link.
-
setCreated
public void setCreated(java.lang.Long created)
Time at which the object was created. Measured in seconds since the Unix epoch.
-
setExpiresAt
public void setExpiresAt(java.lang.Long expiresAt)
The timestamp at which this account link will expire.
-
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
account_link
.
-
setUrl
public void setUrl(java.lang.String url)
The URL for the account link.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-