Class AccountLink

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

public class AccountLink extends StripeObject
  • Constructor Details

    • AccountLink

      public AccountLink()
  • Method Details

    • getAccount

      public String getAccount()
      The ID of the Account the link was created for.
    • getCreated

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

      public Instant getExpiresAt()
      The timestamp at which this AccountLink 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 for the AccountLink.
    • getUseCase

      public AccountLink.UseCase getUseCase()
      The use case of AccountLink the user is requesting.
    • setAccount

      public void setAccount(String account)
      The ID of the Account the link was created for.
    • setCreated

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

      public void setExpiresAt(Instant expiresAt)
      The timestamp at which this AccountLink 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 for the AccountLink.
    • setUseCase

      public void setUseCase(AccountLink.UseCase useCase)
      The use case of AccountLink the user is requesting.
    • 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