OpenXE/classes/Modules/ShippingTaxSplit/Service/ShippingTaxSplitServiceInterface.php

26 lines
512 B
PHP
Raw Normal View History

2021-05-21 08:49:41 +02:00
<?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);
}