From 1a85e8b8722e28d81cbcf4c17d06c0920ac60eef Mon Sep 17 00:00:00 2001 From: Robot Date: Wed, 5 Jun 2024 10:29:27 +0000 Subject: [PATCH] Changes generated by 37326008fd894ed3d2f810a336c67d2f98d343e3 --- src/main/java/com/gocardless/resources/Subscription.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/com/gocardless/resources/Subscription.java b/src/main/java/com/gocardless/resources/Subscription.java index f3327927..f5e15536 100644 --- a/src/main/java/com/gocardless/resources/Subscription.java +++ b/src/main/java/com/gocardless/resources/Subscription.java @@ -61,6 +61,7 @@ private Subscription() { private Map metadata; private Month month; private String name; + private Boolean parentPlanPaused; private String paymentReference; private Boolean retryIfPossible; private String startDate; @@ -186,6 +187,13 @@ public String getName() { return name; } + /** + * Whether the parent plan of this subscription is paused. + */ + public Boolean getParentPlanPaused() { + return parentPlanPaused; + } + /** * An optional payment reference. This will be set as the reference on each payment created and * will appear on your customer's bank statement. See the documentation for the [create payment