order = $order; $this->total = $total; $this->payment_system = $payment_system; } /** * Execute the job. * * @return void */ public function handle() { return Billing::create([ 'order_id' => $this->order->id, 'amount' => $this->total, 'payment_system' => $this->payment_system ]); } }