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 ClassesModifier and TypeClassDescriptionstatic classFor more details about Features, please refer to the API Reference.Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod -
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe list of countries supported by this institution, formatted as ISO country codes.getId()Unique identifier for the object.Has the valuetrueif the object exists in live mode or the valuefalseif 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.inthashCode()static InstitutionCollectionlist(InstitutionListParams params) Returns a list of Financial ConnectionsInstitutionobjects.static InstitutionCollectionlist(InstitutionListParams params, RequestOptions options) Returns a list of Financial ConnectionsInstitutionobjects.static InstitutionCollectionReturns a list of Financial ConnectionsInstitutionobjects.static InstitutionCollectionlist(Map<String, Object> params, RequestOptions options) Returns a list of Financial ConnectionsInstitutionobjects.static InstitutionRetrieves the details of a Financial ConnectionsInstitution.static Institutionretrieve(String institution, RequestOptions options) Retrieves the details of a Financial ConnectionsInstitution.static Institutionretrieve(String institution, InstitutionRetrieveParams params, RequestOptions options) Retrieves the details of a Financial ConnectionsInstitution.static InstitutionRetrieves the details of a Financial ConnectionsInstitution.voidsetCountries(List<String> countries) The list of countries supported by this institution, formatted as ISO country codes.voidsetFeatures(Institution.Features features) voidUnique identifier for the object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidThe name of this institution.voidString representing the object's type.voidsetResponseGetter(StripeResponseGetter responseGetter) Whether the given feature is supported by this institution.voidsetRoutingNumbers(List<String> routingNumbers) A list of routing numbers which are known to correspond to this institution.voidThe status of this institution in the Financial Connections authentication flow.voidA URL corresponding to this institution.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
Institution
public Institution()
-
-
Method Details
-
list
Returns a list of Financial ConnectionsInstitutionobjects.- Throws:
StripeException
-
list
public static InstitutionCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of Financial ConnectionsInstitutionobjects.- Throws:
StripeException
-
list
Returns a list of Financial ConnectionsInstitutionobjects.- Throws:
StripeException
-
list
public static InstitutionCollection list(InstitutionListParams params, RequestOptions options) throws StripeException Returns a list of Financial ConnectionsInstitutionobjects.- 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:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getCountries
The list of countries supported by this institution, formatted as ISO country codes. -
getFeatures
-
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif 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. -
setCountries
The list of countries supported by this institution, formatted as ISO country codes. -
setFeatures
-
setId
Unique identifier for the object. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif 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.
-