* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShop\PrestaShop\Core\Order; interface OrderSiblingProviderInterface { /** * @param int $orderId * * @return int returns previous order id or 0 if it does not exist */ public function getNextOrderId(int $orderId): int; /** * @param int $orderId * * @return int returns next order id or 0 if it does not exist */ public function getPreviousOrderId(int $orderId): int; }