Class Authorization

java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.financialconnections.Authorization
All Implemented Interfaces:
HasId, StripeActiveObject, StripeObjectInterface

public class Authorization extends ApiResource implements HasId
An Authorization represents the set of credentials used to connect a group of Financial Connections Accounts.
  • Constructor Details

    • Authorization

      public Authorization()
  • Method Details

    • getInstitution

      public String getInstitution()
      Get ID of expandable institution object.
    • setInstitution

      public void setInstitution(String id)
    • getInstitutionObject

      public Institution getInstitutionObject()
      Get expanded institution.
    • setInstitutionObject

      public void setInstitutionObject(Institution expandableObject)
    • retrieve

      public static Authorization retrieve(String authorization) throws StripeException
      Retrieves the details of an Financial Connections Authorization.
      Throws:
      StripeException
    • retrieve

      public static Authorization retrieve(String authorization, RequestOptions options) throws StripeException
      Retrieves the details of an Financial Connections Authorization.
      Throws:
      StripeException
    • retrieve

      public static Authorization retrieve(String authorization, Map<String,Object> params, RequestOptions options) throws StripeException
      Retrieves the details of an Financial Connections Authorization.
      Throws:
      StripeException
    • retrieve

      public static Authorization retrieve(String authorization, AuthorizationRetrieveParams params, RequestOptions options) throws StripeException
      Retrieves the details of an Financial Connections Authorization.
      Throws:
      StripeException
    • setResponseGetter

      public void setResponseGetter(StripeResponseGetter responseGetter)
      The action (if any) to relink the inactive Authorization.

      One of none, or relink_required.

      Specified by:
      setResponseGetter in interface StripeActiveObject
      Overrides:
      setResponseGetter in class ApiResource
      Parameters:
      responseGetter - the StripeResponseGetter instance to use for making further requests.
    • getAccountHolder

      public Authorization.AccountHolder getAccountHolder()
      The account holder that this authorization belongs to.
    • getInstitutionName

      public String getInstitutionName()
      The name of the institution that this authorization belongs to.
    • 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.

      Equal to financial_connections.authorization.

    • getStatus

      public String getStatus()
      The status of the connection to the Authorization.

      One of active, disconnected, or inactive.

    • getStatusDetails

      public Authorization.StatusDetails getStatusDetails()
    • setAccountHolder

      public void setAccountHolder(Authorization.AccountHolder accountHolder)
      The account holder that this authorization belongs to.
    • setId

      public void setId(String id)
      Unique identifier for the object.
    • setInstitutionName

      public void setInstitutionName(String institutionName)
      The name of the institution that this authorization belongs to.
    • 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.

      Equal to financial_connections.authorization.

    • setStatus

      public void setStatus(String status)
      The status of the connection to the Authorization.

      One of active, disconnected, or inactive.

    • setStatusDetails

      public void setStatusDetails(Authorization.StatusDetails statusDetails)
    • 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
    • getId

      public String getId()
      Unique identifier for the object.
      Specified by:
      getId in interface HasId