mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-26 22:50:29 +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);
|
|
}
|