return $sub->contact_id ? (int) $sub->contact_id : FALSE;
}
+ /**
+ * Get the recurring contribution ID.
+ *
+ * @return int
+ */
+ protected function getContributionRecurID(): int {
+ return $this->getSubscriptionDetails()->recur_id;
+ }
+
/**
* Is this being used by a front end user to update their own recurring.
*