mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-15 12:37:14 +01:00
26 lines
512 B
PHP
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);
|
|
}
|