Package com.stripe.model.v2.core
Class AccountLink
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.core.AccountLink
- All Implemented Interfaces:
StripeObjectInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about UseCase, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The ID of the Account the link was created for.The timestamp at which this AccountLink was created.The timestamp at which this AccountLink will expire.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.String representing the object's type.getUrl()
The URL for the AccountLink.The use case of AccountLink the user is requesting.int
hashCode()
void
setAccount
(String account) The ID of the Account the link was created for.void
setCreated
(Instant created) The timestamp at which this AccountLink was created.void
setExpiresAt
(Instant expiresAt) The timestamp at which this AccountLink will expire.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
String representing the object's type.void
The URL for the AccountLink.void
setUseCase
(AccountLink.UseCase useCase) The use case of AccountLink the user is requesting.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AccountLink
public AccountLink()
-
-
Method Details
-
getAccount
The ID of the Account the link was created for. -
getCreated
The timestamp at which this AccountLink was created. -
getExpiresAt
The timestamp at which this AccountLink will expire. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.core.account_link
. -
getUrl
The URL for the AccountLink. -
getUseCase
The use case of AccountLink the user is requesting. -
setAccount
The ID of the Account the link was created for. -
setCreated
The timestamp at which this AccountLink was created. -
setExpiresAt
The timestamp at which this AccountLink will expire. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.core.account_link
. -
setUrl
The URL for the AccountLink. -
setUseCase
The use case of AccountLink the user is requesting. -
equals
-
canEqual
-
hashCode
public int hashCode()
-