Class AccountLink

All Implemented Interfaces:
StripeActiveObject, StripeObjectInterface

public class AccountLink extends ApiResource
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

  • Constructor Details

    • AccountLink

      public AccountLink()
  • Method Details

    • create

      public static AccountLink create(Map<String,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(Map<String,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 Long getCreated()
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • getExpiresAt

      public Long getExpiresAt()
      The timestamp at which this account link will expire.
    • getObject

      public String getObject()
      String representing the object's type. Objects of the same type share the same value.

      Equal to account_link.

    • getUrl

      public String getUrl()
      The URL for the account link.
    • setCreated

      public void setCreated(Long created)
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • setExpiresAt

      public void setExpiresAt(Long expiresAt)
      The timestamp at which this account link will expire.
    • setObject

      public void setObject(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(String url)
      The URL for the account link.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object