Class LoginLink

All Implemented Interfaces:
StripeActiveObject, StripeObjectInterface

public class LoginLink extends ApiResource
Login Links are single-use URLs for a connected account to access the Express Dashboard. The connected account's account.controller.stripe_dashboard.type must be express to have access to the Express Dashboard.
  • Constructor Details

    • LoginLink

      public LoginLink()
  • Method Details

    • createOnAccount

      public static LoginLink createOnAccount(String account) throws StripeException
      Creates a single-use login link for a connected account to access the Express Dashboard.

      You can only create login links for accounts that use the Express Dashboard and are connected to your platform.

      Throws:
      StripeException
    • createOnAccount

      public static LoginLink createOnAccount(String account, RequestOptions options) throws StripeException
      Creates a single-use login link for a connected account to access the Express Dashboard.

      You can only create login links for accounts that use the Express Dashboard and are connected to your platform.

      Throws:
      StripeException
    • createOnAccount

      public static LoginLink createOnAccount(String account, Map<String,Object> params) throws StripeException
      Creates a single-use login link for a connected account to access the Express Dashboard.

      You can only create login links for accounts that use the Express Dashboard and are connected to your platform.

      Throws:
      StripeException
    • createOnAccount

      public static LoginLink createOnAccount(String account, Map<String,Object> params, RequestOptions options) throws StripeException
      Creates a single-use login link for a connected account to access the Express Dashboard.

      You can only create login links for accounts that use the Express Dashboard and are connected to your platform.

      Throws:
      StripeException
    • createOnAccount

      public static LoginLink createOnAccount(String account, LoginLinkCreateOnAccountParams params) throws StripeException
      Creates a single-use login link for a connected account to access the Express Dashboard.

      You can only create login links for accounts that use the Express Dashboard and are connected to your platform.

      Throws:
      StripeException
    • createOnAccount

      public static LoginLink createOnAccount(String account, LoginLinkCreateOnAccountParams params, RequestOptions options) throws StripeException
      Creates a single-use login link for a connected account to access the Express Dashboard.

      You can only create login links for accounts that use the Express Dashboard and are connected to your platform.

      Throws:
      StripeException
    • getCreated

      public Long getCreated()
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • getObject

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

      Equal to login_link.

    • getUrl

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

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

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

      Equal to login_link.

    • setUrl

      public void setUrl(String url)
      The URL for the login 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