Your IP : 216.73.216.43


Current Path : /home/rtorresani/www/app/code/Amasty/Rewards/Api/
Upload File :
Current File : //home/rtorresani/www/app/code/Amasty/Rewards/Api/CheckoutHighlightManagementInterface.php

<?php
/**
 * @author Amasty Team
 * @copyright Copyright (c) 2023 Amasty (https://www.amasty.com)
 * @package Reward Points Base for Magento 2
 */

namespace Amasty\Rewards\Api;

interface CheckoutHighlightManagementInterface
{
    /**#@+
     * Defined $page values
     */
    public const CART = 'cart';
    public const CHECKOUT = 'checkout';
    /**#@-*/

    /**
     * Return data array should be display as part of Highlight Caption
     *
     * @return mixed
     */
    public function getHighlightData();

    /**
     * Fill data into object.
     * Used for extension attributes only.
     *
     * @return \Amasty\Rewards\Api\Data\HighlightInterface
     */
    public function fillData();

    /**
     * @param int $customerId
     *
     * @return \Amasty\Rewards\Api\Data\HighlightInterface
     *
     * @throws \Magento\Framework\Exception\NoSuchEntityException
     */
    public function getHighlightByCustomerId($customerId);

    /**
     * Return setting value about highlight visibility
     * on $page from Stores -> Configuration.
     *
     * @param string $page
     *
     * @return bool
     */
    public function isVisible($page);
}