| Total Complexity | 8 |
| Total Lines | 52 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | final class VariantPdfModel implements VariantPdfModelInterface |
||
| 10 | { |
||
| 11 | /** @var ProductVariantInterface */ |
||
| 12 | private $variant; |
||
| 13 | |||
| 14 | /** @var string */ |
||
| 15 | private $imagePath; |
||
| 16 | |||
| 17 | /** @var int */ |
||
| 18 | private $quantity; |
||
| 19 | |||
| 20 | /** @var string */ |
||
| 21 | private $actualVariant; |
||
| 22 | |||
| 23 | public function getVariant(): ProductVariantInterface |
||
| 24 | { |
||
| 25 | return $this->variant; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function setVariant(ProductVariantInterface $variant): void |
||
| 29 | { |
||
| 30 | $this->variant = $variant; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getImagePath(): string |
||
| 34 | { |
||
| 35 | return $this->imagePath; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function setImagePath(string $imagePath): void |
||
| 41 | } |
||
| 42 | |||
| 43 | public function getQuantity(): int |
||
| 44 | { |
||
| 45 | return $this->quantity; |
||
| 46 | } |
||
| 47 | |||
| 48 | public function setQuantity(int $quantity): void |
||
| 49 | { |
||
| 50 | $this->quantity = $quantity; |
||
| 51 | } |
||
| 52 | |||
| 53 | public function getActualVariant(): string |
||
| 56 | } |
||
| 57 | |||
| 58 | public function setActualVariant(string $actualVariant): void |
||
| 59 | { |
||
| 61 | } |
||
| 62 | } |