paymentModel = new PaymentModel(); } public function createPendingPayment(string $externalId, int $statusId, int $userId): int { return $this->paymentModel->create($externalId, $statusId, $userId, '', '', ''); } }