<?php

namespace FiloBlu\Storelocator\Model\Rma\Item;

use Magento\Rma\Model\Rma\Source\Status as StatusAlias;

/**
 *
 */
class Status extends \Magento\Rma\Model\Item\Status
{
    /**
     * Get item status sequence - linear order on item statuses set
     *
     * @return string[]
     */
    public function _getStatusSequence()
    {
        return [
            self::STATUS_ALL_ARE_EDITABLE,
            StatusAlias::STATE_PENDING,
            StatusAlias::STATE_AUTHORIZED,
            StatusAlias::STATE_RECEIVED,
            StatusAlias::STATE_APPROVED,
            StatusAlias::STATE_REJECTED,
            StatusAlias::STATE_DENIED,
            self::STATUS_ORDER_IS_CLOSED,
            \FiloBlu\Storelocator\Model\Plugin\Rma\Source\Status::STATE_RECEIVED_IN_STORE
        ];
    }
}