mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-27 15:10:28 +01:00
30 lines
665 B
PHP
30 lines
665 B
PHP
|
<?php
|
||
|
|
||
|
namespace Xentral\Modules\CopperSurcharge\Wrapper;
|
||
|
|
||
|
interface DocumentPositionWrapperInterface
|
||
|
{
|
||
|
/**
|
||
|
* @param string $doctype
|
||
|
* @param int $docId
|
||
|
* @param int $articleId
|
||
|
* @param array $articleData
|
||
|
* @param float $amount
|
||
|
* @param float $price
|
||
|
* @param string $currency
|
||
|
* @param string $description
|
||
|
*
|
||
|
* @return int
|
||
|
*/
|
||
|
public function addPositionManuallyWithPrice(
|
||
|
string $doctype,
|
||
|
int $docId,
|
||
|
int $articleId,
|
||
|
array $articleData,
|
||
|
float $amount,
|
||
|
float $price,
|
||
|
string $currency = 'EUR',
|
||
|
string $description = ''
|
||
|
): int;
|
||
|
}
|