<?php

namespace Alma\Vendor\Alma\Plugin\Infrastructure\Adapter;

interface CartAdapterInterface
{
    /**
     * Get the cart total in cents.
     *
     * @return int
     */
    public function getCartTotal(): int;

    /**
     * Empty the cart.
     *
     * @return void
     */
    public function emptyCart(): void;

    /**
     * Get the cart items categories slugs.
     *
     * @return array An array of cart items categories slugs.
     */
    public function getCartItemsCategoriesSlugs(): array;
}
