# fluent-cart/1.6.1/app/Events/Order/OrderBulkAction.php

FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler, version 1.6.1. 41 lines.

- Page: https://pluginprobe.com/plugins/fluent-cart/1.6.1/code/app/Events/Order/OrderBulkAction.php
- Raw: https://pluginprobe.com/plugins/fluent-cart/1.6.1/raw/app/Events/Order/OrderBulkAction.php
- Modified: 2026-06-11T12:21:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-cart/1.6.1/code/app/Events/Order/OrderBulkAction.php#L10-L20`.

```php
<?php

namespace FluentCart\App\Events\Order;

use FluentCart\App\Events\EventDispatcher;
use FluentCart\App\Listeners;

class OrderBulkAction extends EventDispatcher
{
    public string $hook = 'fluent_cart/order_bulk_action';
    protected array $listeners = [
        Listeners\Order\OrderBulkAction::class,
    ];

    /**
     * @var array $customerIds
     */
    public $customerIds;

    public function __construct($customerIds)
    {
        $this->customerIds = $customerIds;
    }

    public function toArray(): array
    {
        return [
            'customerIds' => $this->customerIds,
        ];
    }

    public function getActivityEventModel()
    {
        return $this->order;
    }

    public function shouldCreateActivity(): bool
    {
        return false;
    }
}
```
