1 | <?php |
||
12 | final class Product |
||
13 | { |
||
14 | private $productUuid; //" => "3b3565e0-2694-11e7-b983-c70f05a416cd" |
||
15 | private $variantUuid; //" => "c2a45f90-269e-11e7-9657-51506d0a8492" |
||
16 | private $name; //" => "Munten" |
||
17 | private $variantName; //" => "20 munten" |
||
18 | private $quantity; //" => "1" |
||
19 | private $unitPrice; //" => 1000 |
||
20 | private $vatPercentage; //" => 0.0 |
||
21 | private $rowTaxableAmount; //" => 1000 |
||
22 | private $imageLookupKey; //" => "" |
||
23 | private $autoGenerated; //" => false |
||
24 | private $libraryProduct; |
||
25 | |||
26 | 1 | public function __construct( |
|
51 | |||
52 | 1 | public function getProductUuid() |
|
56 | |||
57 | 1 | public function getVariantUuid() |
|
61 | |||
62 | 1 | public function getName() |
|
66 | |||
67 | 1 | public function getVariantName() |
|
71 | |||
72 | 1 | public function getQuantity(): int |
|
76 | |||
77 | 1 | public function getUnitPrice(): Money |
|
81 | |||
82 | 1 | public function getVatPercentage(): float |
|
86 | |||
87 | 1 | public function getRowTaxableAmount(): Money |
|
91 | |||
92 | 1 | public function getImageLookupKey() |
|
96 | |||
97 | 1 | public function isAutoGenerated(): bool |
|
101 | |||
102 | 1 | public function isLibraryProduct(): bool |
|
106 | } |
||
107 |