From 41e3de58157f5c48a0e3f229be8fc159719a001a 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 12:09:11 +0000 Subject: [PATCH] Changes generated by 2fafd51e2333ee08cd66fc897ccec4b198932733 This commit was automatically created from gocardless/client-library-templates@2fafd51e2333ee08cd66fc897ccec4b198932733 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/37460792465 --- .../gocardless/resources/BillingRequest.java | 23 ++++++++++++++++++ .../resources/BillingRequestWithAction.java | 24 +++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/src/main/java/com/gocardless/resources/BillingRequest.java b/src/main/java/com/gocardless/resources/BillingRequest.java index 51a076ad..36d0ee74 100644 --- a/src/main/java/com/gocardless/resources/BillingRequest.java +++ b/src/main/java/com/gocardless/resources/BillingRequest.java @@ -265,6 +265,7 @@ private Action() { // blank to prevent instantiation } + private List availableCountryCodes; private List availableCurrencies; private BankAuthorisation bankAuthorisation; private CollectCustomerDetails collectCustomerDetails; @@ -275,6 +276,14 @@ private Action() { private Status status; private Type type; + /** + * List of country codes supported for collecting bank account details, for the + * collect_bank_account action + */ + public List getAvailableCountryCodes() { + return availableCountryCodes; + } + /** * List of currencies the current mandate supports */ @@ -1252,6 +1261,7 @@ private PaymentRequest() { private Links links; private Map metadata; private String reference; + private Boolean retryIfPossible; private String scheme; /** @@ -1322,6 +1332,19 @@ public String getReference() { return reference; } + /** + * On failure, automatically retry the payment using + * intelligent retries. + * Default is false. + *

+ * Important: To be able to use intelligent retries, Success+ needs to be + * enabled in GoCardless dashboard. + *

+ */ + public Boolean getRetryIfPossible() { + return retryIfPossible; + } + /** * (Optional) A scheme used for Open Banking payments. Currently * faster_payments is supported in the UK (GBP) and diff --git a/src/main/java/com/gocardless/resources/BillingRequestWithAction.java b/src/main/java/com/gocardless/resources/BillingRequestWithAction.java index 71a9e295..8cb501cc 100644 --- a/src/main/java/com/gocardless/resources/BillingRequestWithAction.java +++ b/src/main/java/com/gocardless/resources/BillingRequestWithAction.java @@ -468,6 +468,7 @@ private Action() { // blank to prevent instantiation } + private List availableCountryCodes; private List availableCurrencies; private BankAuthorisation bankAuthorisation; private CollectCustomerDetails collectCustomerDetails; @@ -478,6 +479,14 @@ private Action() { private Status status; private Type type; + /** + * List of country codes supported for collecting bank account details, for the + * collect_bank_account action + */ + public List getAvailableCountryCodes() { + return availableCountryCodes; + } + /** * List of currencies the current mandate supports */ @@ -1465,6 +1474,7 @@ private PaymentRequest() { private Links links; private Map metadata; private String reference; + private Boolean retryIfPossible; private String scheme; /** @@ -1536,6 +1546,20 @@ public String getReference() { return reference; } + /** + * On failure, automatically retry the payment using + * intelligent + * retries. Default is false. + *

+ * Important: To be able to use intelligent retries, Success+ needs to + * be enabled in GoCardless + * dashboard. + *

+ */ + public Boolean getRetryIfPossible() { + return retryIfPossible; + } + /** * (Optional) A scheme used for Open Banking payments. Currently * faster_payments is supported in the UK (GBP) and