api/webservice/WebservicePremium/SSingleOrders/Delivery.php
<?php
/**
* Returns price of delivery.
*
* @package API
*
* @copyright YetiForce S.A.
* @license YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
* @author Tomasz Kur <t.kur@yetiforce.com>
* @author Mariusz Krzaczkowski <m.krzaczkowski@yetiforce.com>
*/
namespace Api\WebservicePremium\SSingleOrders;
/**
* Delivery class.
*/
class Delivery extends \Api\Core\BaseAction
{
/** {@inheritdoc} */
public $allowedMethod = ['GET'];
/** {@inheritdoc} */
public function get(): array
{
return ['price' => 0];
}
}