From 1e44a3ef7b6e008ddd82972b6ef2d8f9bdb5ada0 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Tue, 6 Oct 2026 10:47:35 +0000 Subject: [PATCH] Changes generated by 2b5556ae91ce6bb657ad7d241b38e369b8293026 This commit was automatically created from gocardless/client-library-templates@2b5556ae91ce6bb657ad7d241b38e369b8293026 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/37451707101 --- .../services/InstitutionService.java | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/gocardless/services/InstitutionService.java b/src/main/java/com/gocardless/services/InstitutionService.java index a69dcbfe..b04dfd5b 100644 --- a/src/main/java/com/gocardless/services/InstitutionService.java +++ b/src/main/java/com/gocardless/services/InstitutionService.java @@ -62,6 +62,7 @@ public static final class InstitutionListRequest extends ListRequest withCountryCode(String countryCode) { /** * The feature that institutions support. The available options include pis, - * and vrp_sweeping. If nothing is provided, institutions supporting 'pis' are - * returned by default. + * vrp_sweeping, and vrp_commercial. If nothing is provided, + * institutions supporting 'pis' are returned by default. */ public InstitutionListRequest withFeature(String feature) { this.feature = feature; return this; } + /** + * Indicates whether to include temporarily disabled institutions in the response. If not + * provided or set to false, only enabled institutions will be returned. + */ + public InstitutionListRequest withIncludeDisabled(Boolean includeDisabled) { + this.includeDisabled = includeDisabled; + return this; + } + /** * The scheme that institutions support. The available options include * faster_payments, sepa_credit_transfer, and - * sepa_instant_credit_transfer. If nothing is provided, institutions - * supporting 'faster_payments' are returned by default. + * sepa_instant_credit_transfer. If nothing is provided, no scheme filter is + * applied to the returned institutions. */ public InstitutionListRequest withScheme(String scheme) { this.scheme = scheme; @@ -128,6 +138,9 @@ protected Map getQueryParams() { if (feature != null) { params.put("feature", feature); } + if (includeDisabled != null) { + params.put("include_disabled", includeDisabled); + } if (scheme != null) { params.put("scheme", scheme); }