Class LoginLink

All Implemented Interfaces:
StripeObjectInterface

public class LoginLink extends ApiResource
Login Links are single-use login link for an Express account to access their Stripe dashboard.
  • Constructor Details

    • LoginLink

      public LoginLink()
  • Method Details

    • createOnAccount

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

      You may only create login links for Express accounts 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 an Express account to access their Stripe dashboard.

      You may only create login links for Express accounts 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