stripe = $stripe; $this->user = $user; $this->userData = $userData; } /** * Execute the job. */ public function handle(): void { $stripeCustomer = $this->stripe->customers->create($this->userData); $this->user->stripe_id = $stripeCustomer->id; $this->user->save(); } }