<?php
/**
 * Interface BulkActionInterface
 *
 * @package DhlPolska\Admin\Shipments\BulkAction
 */

namespace DhlPolska\Admin\Shipments\BulkAction;

/**
 * Bulk action handler for shipments list.
 */
interface BulkActionInterface {
	/**
	 * @return string
	 */
	public function get_action_name(): string;

	/**
	 * @return string
	 */
	public function get_action_label(): string;

	/**
	 * @param int[] $shipment_ids .
	 *
	 * @return array{type: string, message: string}
	 */
	public function handle( array $shipment_ids ): array;
}
