![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/redchamps/module-total-adjustment/Api/Order/ |
<?php /** * @author RedChamps Team * @copyright Copyright (c) RedChamps (https://redchamps.com/) * @package RedChamps_TotalAdjustment */ namespace RedChamps\TotalAdjustment\Api\Order; interface AdjustmentsInterface { /** * Add new adjustment to order. * * @api * * @param int $orderId * * @param mixed $adjustments * * @param bool $nonApi * * @return string $result */ public function addAdjustments($orderId, $adjustments, $nonApi = false); /** * Remove adjustment from order. * * @api * * @param int $orderId * * @param mixed $adjustments * * @param bool $nonApi * * @return string $result */ public function removeAdjustments($orderId, $adjustments, $nonApi = false); /** * Edit existing adjustment from order. * * @api * * @param int $orderId * * @param mixed $adjustments * * @param bool $nonApi * * @return string $result */ public function editAdjustments($orderId, $adjustments, $nonApi = false); }