payment_id = $payment_id; $this->email = $email; $this->name = $name; $this->type = $type; $this->product_name = $product_name; $this->point = $point; $this->discount_value = $discount_value; $this->total_price = $total_price; } /** * Get the channels the event should broadcast on. * * @return array */ public function broadcastOn(): array { return [ new PrivateChannel('CustomerOrder'), ]; } }