Class Institution
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.financialconnections.Institution
- All Implemented Interfaces:
HasId
,StripeActiveObject
,StripeObjectInterface
An institution represents a financial institution to which an end user can connect using the
Financial Connections authentication flow.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getId()
Unique identifier for the object.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.getName()
The name of this institution.String representing the object's type.A list of routing numbers which are known to correspond to this institution.The status of this institution in the Financial Connections authentication flow.getUrl()
A URL corresponding to this institution.int
hashCode()
static InstitutionCollection
list
(InstitutionListParams params) Returns a list of Financial ConnectionsInstitution
objects.static InstitutionCollection
list
(InstitutionListParams params, RequestOptions options) Returns a list of Financial ConnectionsInstitution
objects.static InstitutionCollection
Returns a list of Financial ConnectionsInstitution
objects.static InstitutionCollection
list
(Map<String, Object> params, RequestOptions options) Returns a list of Financial ConnectionsInstitution
objects.static Institution
Retrieves the details of a Financial ConnectionsInstitution
.static Institution
retrieve
(String institution, RequestOptions options) Retrieves the details of a Financial ConnectionsInstitution
.static Institution
retrieve
(String institution, InstitutionRetrieveParams params, RequestOptions options) Retrieves the details of a Financial ConnectionsInstitution
.static Institution
Retrieves the details of a Financial ConnectionsInstitution
.void
setFeatures
(Institution.Features features) void
Unique identifier for the object.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
The name of this institution.void
String representing the object's type.void
setResponseGetter
(StripeResponseGetter responseGetter) Whether the given feature is supported by this institution.void
setRoutingNumbers
(List<String> routingNumbers) A list of routing numbers which are known to correspond to this institution.void
The status of this institution in the Financial Connections authentication flow.void
A URL corresponding to this institution.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setStripeResponseGetter, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
Institution
public Institution()
-
-
Method Details
-
list
Returns a list of Financial ConnectionsInstitution
objects.- Throws:
StripeException
-
list
public static InstitutionCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of Financial ConnectionsInstitution
objects.- Throws:
StripeException
-
list
Returns a list of Financial ConnectionsInstitution
objects.- Throws:
StripeException
-
list
public static InstitutionCollection list(InstitutionListParams params, RequestOptions options) throws StripeException Returns a list of Financial ConnectionsInstitution
objects.- Throws:
StripeException
-
retrieve
Retrieves the details of a Financial ConnectionsInstitution
.- Throws:
StripeException
-
retrieve
public static Institution retrieve(String institution, RequestOptions options) throws StripeException Retrieves the details of a Financial ConnectionsInstitution
.- Throws:
StripeException
-
retrieve
public static Institution retrieve(String institution, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves the details of a Financial ConnectionsInstitution
.- Throws:
StripeException
-
retrieve
public static Institution retrieve(String institution, InstitutionRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of a Financial ConnectionsInstitution
.- Throws:
StripeException
-
setResponseGetter
Whether the given feature is supported by this institution.- Specified by:
setResponseGetter
in interfaceStripeActiveObject
- Overrides:
setResponseGetter
in classApiResource
- Parameters:
responseGetter
- theStripeResponseGetter
instance to use for making further requests.
-
getFeatures
-
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getName
The name of this institution. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
financial_connections.institution
. -
getRoutingNumbers
A list of routing numbers which are known to correspond to this institution. Due to the many to many relationship between institutions and routing numbers, this list may not be comprehensive and routing numbers may also be shared between institutions. -
getStatus
The status of this institution in the Financial Connections authentication flow.One of
active
,degraded
, orinactive
. -
getUrl
A URL corresponding to this institution. This URL is also displayed in the authentication flow to help end users confirm that they are authenticating with the right institution. -
setFeatures
-
setId
Unique identifier for the object. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setName
The name of this institution. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
financial_connections.institution
. -
setRoutingNumbers
A list of routing numbers which are known to correspond to this institution. Due to the many to many relationship between institutions and routing numbers, this list may not be comprehensive and routing numbers may also be shared between institutions. -
setStatus
The status of this institution in the Financial Connections authentication flow.One of
active
,degraded
, orinactive
. -
setUrl
A URL corresponding to this institution. This URL is also displayed in the authentication flow to help end users confirm that they are authenticating with the right institution. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-