YetiForceCompany/YetiForceCRM

View on GitHub
api/webservice/WebservicePremium/SSingleOrders/Delivery.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?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];
    }
}