| Current Path : /home/rtorresani/www/vendor/magento/module-shipping/Model/Source/ |
| Current File : //home/rtorresani/www/vendor/magento/module-shipping/Model/Source/HandlingType.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Shipping\Model\Source;
class HandlingType implements \Magento\Framework\Option\ArrayInterface
{
/**
* {@inheritdoc}
*/
public function toOptionArray()
{
return [
[
'value' => \Magento\Shipping\Model\Carrier\AbstractCarrier::HANDLING_TYPE_FIXED,
'label' => __('Fixed'),
],
[
'value' => \Magento\Shipping\Model\Carrier\AbstractCarrier::HANDLING_TYPE_PERCENT,
'label' => __('Percent')
]
];
}
}