/** * Determine if the customer has a subscription. * * @param \Gateway\Customer $customer * @return bool */ protected function usingMultipleSubscriptionApi($customer) { return !isset($customer->subscription) && count($customer->subscriptions) > 0 && !is_null($this->billable->getGatewaySubscription()); }