private function recurring_is_empty(PaymentRequest $request) { return $request->getRecurring()->getFlag() == null && $request->getRecurring()->getSequence() == null && $request->getRecurring()->getType() == null; }