Initial xentral_oss_20.3.c9ffacf
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Xentral\Modules\CopperSurcharge\Data;
|
||||
|
||||
final class DocumentPositionData
|
||||
{
|
||||
|
||||
/** @var int $positionId */
|
||||
private $positionId;
|
||||
|
||||
/** @var int $articleId */
|
||||
private $articleId;
|
||||
|
||||
/** @var string $currency */
|
||||
private $currency;
|
||||
|
||||
/**
|
||||
* @param int $positionId
|
||||
* @param int $articleId
|
||||
* @param string $currency
|
||||
*/
|
||||
public function __construct(
|
||||
int $positionId,
|
||||
int $articleId,
|
||||
string $currency
|
||||
) {
|
||||
$this->positionId = $positionId;
|
||||
$this->articleId = $articleId;
|
||||
$this->currency = $currency;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getPositionId(): int
|
||||
{
|
||||
return $this->positionId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getArticleId(): int
|
||||
{
|
||||
return $this->articleId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCurrency(): string
|
||||
{
|
||||
return $this->currency;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user