OpenXE/classes/Modules/ShippingTaxSplit/Service/ShippingTaxSplitServiceInterface.php
2021-05-21 08:49:41 +02:00

26 lines
512 B
PHP

<?php
namespace Xentral\Modules\ShippingTaxSplit\Service;
interface ShippingTaxSplitServiceInterface
{
/**
* Delete Shipping Position by OrderId
*
* @param int $orderId
*
* @return bool
*/
public function deleteShippingPositionsByOrderId($orderId);
/**
* @param int $orderId
* @param int $articleId
* @param float $amount
*
* @return bool
*/
public function addOrReplaceShippingPositionToOrder($orderId, $articleId, $amount);
}