1 | <?php |
||
11 | final class Purchase |
||
12 | { |
||
13 | private $Uuid; |
||
14 | private $Uuid1; |
||
15 | private $timestamp; |
||
16 | private $coordinates; |
||
17 | private $country; |
||
18 | private $user; |
||
19 | private $organizationId; |
||
20 | private $purchaseNumber; |
||
21 | private $amount; |
||
22 | private $vatAmount; |
||
23 | private $products; |
||
24 | private $payments; |
||
25 | private $vatAmounts; |
||
26 | private $receiptCopyAllowed; |
||
27 | private $published; |
||
28 | private $refund; |
||
29 | private $refunded; |
||
30 | |||
31 | 4 | public function __construct( |
|
68 | |||
69 | 2 | public function getUuid(): string |
|
73 | |||
74 | 1 | public function getUuid1(): UuidInterface |
|
78 | |||
79 | 1 | public function getTimestamp(): DateTime |
|
83 | |||
84 | 1 | public function getCoordinates(): ?Coordinates |
|
88 | |||
89 | 1 | public function getCountry(): string |
|
93 | |||
94 | 1 | public function getUser(): User |
|
98 | |||
99 | 1 | public function getOrganizationId(): int |
|
103 | |||
104 | 1 | public function getPurchaseNumber(): int |
|
108 | |||
109 | 1 | public function getAmount(): Money |
|
113 | |||
114 | 1 | public function getVatAmount(): Money |
|
118 | |||
119 | 1 | public function getProducts(): array |
|
120 | { |
||
121 | 1 | return $this->products; |
|
122 | } |
||
123 | |||
124 | 1 | public function getPayments(): array |
|
125 | { |
||
126 | 1 | return $this->payments; |
|
127 | } |
||
128 | |||
129 | 1 | public function getVatAmounts(): array |
|
130 | { |
||
131 | 1 | return $this->vatAmounts; |
|
132 | } |
||
133 | |||
134 | 1 | public function isReceiptCopyAllowed(): bool |
|
138 | |||
139 | 1 | public function getPublished() |
|
143 | |||
144 | 1 | public function isRefund(): bool |
|
148 | |||
149 | 1 | public function isRefunded(): bool |
|
153 | } |
||
154 |