Class AccountLink

    • Constructor Detail

      • AccountLink

        public AccountLink()
    • Method Detail

      • create

        public static AccountLink create​(java.util.Map<java.lang.String,​java.lang.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​(java.util.Map<java.lang.String,​java.lang.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
      • getCreated

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

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

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

        Equal to account_link.

      • getUrl

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

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

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

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object