razorpay = $razorpay; $this->user = $user; $this->userData = $userData; } /** * Execute the job. */ public function handle(): void { $razorpayCustomer = $this->razorpay->customer->create($this->userData); $this->user->razorpay_id = $razorpayCustomer->id; $this->user->save(); } }