Your IP : 216.73.216.97


Current Path : /var/www/clients/client3/web2/web/vendor/magento/module-reports/Model/
Upload File :
Current File : /var/www/clients/client3/web2/web/vendor/magento/module-reports/Model/Flag.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
namespace Magento\Reports\Model;

/**
 * Report Flag Model
 *
 * @author     Magento Core Team <core@magentocommerce.com>
 * @api
 * @since 100.0.2
 */
class Flag extends \Magento\Framework\Flag
{
    const REPORT_ORDER_FLAG_CODE = 'report_order_aggregated';

    const REPORT_TAX_FLAG_CODE = 'report_tax_aggregated';

    const REPORT_SHIPPING_FLAG_CODE = 'report_shipping_aggregated';

    const REPORT_INVOICE_FLAG_CODE = 'report_invoiced_aggregated';

    const REPORT_REFUNDED_FLAG_CODE = 'report_refunded_aggregated';

    const REPORT_COUPONS_FLAG_CODE = 'report_coupons_aggregated';

    const REPORT_BESTSELLERS_FLAG_CODE = 'report_bestsellers_aggregated';

    const REPORT_PRODUCT_VIEWED_FLAG_CODE = 'report_product_viewed_aggregated';

    /**
     * Setter for flag code
     * @codeCoverageIgnore
     *
     * @param string $code
     * @return $this
     */
    public function setReportFlagCode($code)
    {
        $this->_flagCode = $code;
        return $this;
    }
}