| Total Complexity | 4 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | trait ProductVariantTrait |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @ORM\Column(type="string", nullable=true) |
||
| 13 | * |
||
| 14 | * @var string|null |
||
| 15 | */ |
||
| 16 | protected $costPriceCurrency; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @ORM\Column(type="integer", nullable=true) |
||
| 20 | * |
||
| 21 | * @var int|null |
||
| 22 | */ |
||
| 23 | protected $costPrice; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return string|null |
||
| 27 | */ |
||
| 28 | public function getCostPriceCurrency(): ?string |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string|null $costPriceCurrency |
||
| 35 | */ |
||
| 36 | public function setCostPriceCurrency(?string $costPriceCurrency): void |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return int|null |
||
| 43 | */ |
||
| 44 | public function getCostPrice(): ?int |
||
| 45 | { |
||
| 46 | return $this->costPrice; |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param int|null $costPrice |
||
| 51 | */ |
||
| 52 | public function setCostPrice(?int $costPrice): void |
||
| 55 | } |
||
| 56 | } |
||
| 57 |