Class AccountLink

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.core.AccountLink
All Implemented Interfaces:
StripeObjectInterface

public class AccountLink extends StripeObject
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.
  • Constructor Details

    • AccountLink

      public AccountLink()
  • Method Details

    • getAccount

      public String getAccount()
      The ID of the connected account this Account Link applies to.
    • getCreated

      public Instant getCreated()
      The timestamp at which this Account Link was created.
    • getExpiresAt

      public Instant getExpiresAt()
      The timestamp at which this Account Link will expire.
    • getLivemode

      public Boolean getLivemode()
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • getObject

      public String 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

      public String getUrl()
      The URL at which the account can access the Stripe-hosted flow.
    • getUseCase

      public AccountLink.UseCase getUseCase()
      Hash containing usage options.
    • setAccount

      public void setAccount(String account)
      The ID of the connected account this Account Link applies to.
    • setCreated

      public void setCreated(Instant created)
      The timestamp at which this Account Link was created.
    • setExpiresAt

      public void setExpiresAt(Instant expiresAt)
      The timestamp at which this Account Link will expire.
    • setLivemode

      public void setLivemode(Boolean livemode)
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • setObject

      public void setObject(String object)
      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

      public void setUrl(String url)
      The URL at which the account can access the Stripe-hosted flow.
    • setUseCase

      public void setUseCase(AccountLink.UseCase useCase)
      Hash containing usage options.
    • 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