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
Account Links let a platform create a temporary, single-use URL that an account can use to access
a Stripe-hosted flow for collecting or updating required information.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe ID of the connected account this Account Link applies to.The timestamp at which this Account Link was created.The timestamp at which this Account Link will expire.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.getUrl()The URL at which the account can access the Stripe-hosted flow.Hash containing usage options.inthashCode()voidsetAccount(String account) The ID of the connected account this Account Link applies to.voidsetCreated(Instant created) The timestamp at which this Account Link was created.voidsetExpiresAt(Instant expiresAt) The timestamp at which this Account Link will expire.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString representing the object's type.voidThe URL at which the account can access the Stripe-hosted flow.voidsetUseCase(AccountLink.UseCase useCase) Hash containing usage options.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 connected account this Account Link applies to. -
getCreated
The timestamp at which this Account Link was created. -
getExpiresAt
The timestamp at which this Account Link will expire. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif 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 at which the account can access the Stripe-hosted flow. -
getUseCase
Hash containing usage options. -
setAccount
The ID of the connected account this Account Link applies to. -
setCreated
The timestamp at which this Account Link was created. -
setExpiresAt
The timestamp at which this Account Link will expire. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif 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 at which the account can access the Stripe-hosted flow. -
setUseCase
Hash containing usage options. -
equals
-
canEqual
-
hashCode
public int hashCode()
-