<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\OfflineShipping\Model\Config\Source;
/**
* @api
* @since 100.0.2
*/
class Flatrate implements \Magento\Framework\Option\ArrayInterface
{
/**
* {@inheritdoc}
*/
public function toOptionArray()
{
return [
['value' => '', 'label' => __('None')],
['value' => 'O', 'label' => __('Per Order')],
['value' => 'I', 'label' => __('Per Item')]
];
}
}
-
Ketan authoredf012f907