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". */