From d79f63200c22db54140456eb17013df10e544802 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Tue, 5 Nov 2024 10:05:58 +0000 Subject: [PATCH] Changes generated by a0104762f99f4015350335655b84ee6bd162586e This commit was automatically created from gocardless/gocardless-pro-java-template@a0104762f99f4015350335655b84ee6bd162586e by the `push-files` action. Workflow run: https://github.com/gocardless/gocardless-pro-java-template/actions/runs/11681827105 --- .../java/com/gocardless/resources/BillingRequest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/com/gocardless/resources/BillingRequest.java b/src/main/java/com/gocardless/resources/BillingRequest.java index 9ba90610..8a7c93ab 100644 --- a/src/main/java/com/gocardless/resources/BillingRequest.java +++ b/src/main/java/com/gocardless/resources/BillingRequest.java @@ -23,6 +23,7 @@ private BillingRequest() { private List actions; private String createdAt; private Boolean fallbackEnabled; + private Boolean fallbackOccurred; private String id; private Links links; private MandateRequest mandateRequest; @@ -58,6 +59,13 @@ public Boolean getFallbackEnabled() { return fallbackEnabled; } + /** + * True if the billing request was completed with direct debit. + */ + public Boolean getFallbackOccurred() { + return fallbackOccurred; + } + /** * Unique identifier, beginning with "BRQ". */