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