| Current Path : /var/www/magento.test.indacotrentino.com/www/vendor/magento/module-ups/Model/Config/Source/ |
| Current File : /var/www/magento.test.indacotrentino.com/www/vendor/magento/module-ups/Model/Config/Source/Type.php |
<?php
/**
* Copyright 2023 Adobe
* All Rights Reserved.
*/
declare(strict_types=1);
namespace Magento\Ups\Model\Config\Source;
use Magento\Framework\Data\OptionSourceInterface;
class Type implements OptionSourceInterface
{
/**
* @inheritdoc
*/
public function toOptionArray()
{
return [
['value' => 'UPS', 'label' => __('United Parcel Service')],
['value' => 'UPS_XML', 'label' => __('United Parcel Service XML')],
['value' => 'UPS_REST', 'label' => __('United Parcel Service REST')]
];
}
}