1 | <?php |
||
23 | final class Invoice implements InvoiceInterface |
||
24 | { |
||
25 | private $id; |
||
26 | private $client; |
||
27 | private $amount; |
||
28 | private $description; |
||
29 | private $returnUrl; |
||
30 | private $notifyUrl; |
||
31 | private $cancelUrl; |
||
32 | private $returnMethod; |
||
33 | private $notifyMethod; |
||
34 | private $cancelMethod; |
||
35 | private $currency; |
||
36 | |||
37 | /** |
||
38 | * @return string |
||
39 | */ |
||
40 | 11 | public function getId() |
|
44 | |||
45 | /** |
||
46 | * @param string $id |
||
47 | * @return Invoice |
||
48 | */ |
||
49 | 11 | public function setId($id) |
|
55 | |||
56 | 3 | public function getClient() |
|
60 | |||
61 | 9 | public function setClient($client) |
|
67 | |||
68 | 11 | public function getAmount(): Money |
|
72 | |||
73 | 11 | public function setAmount(Money $amount) |
|
80 | |||
81 | 10 | public function getDescription() |
|
85 | |||
86 | 11 | public function setDescription($description) |
|
92 | |||
93 | 9 | public function getReturnUrl() |
|
97 | |||
98 | 11 | public function setReturnUrl($returnUrl) |
|
104 | |||
105 | 9 | public function getNotifyUrl() |
|
109 | |||
110 | 11 | public function setNotifyUrl($notifyUrl) |
|
116 | |||
117 | 9 | public function getCancelUrl() |
|
121 | |||
122 | 11 | public function setCancelUrl($cancelUrl) |
|
128 | |||
129 | /** |
||
130 | * @return Currency |
||
131 | */ |
||
132 | 11 | public function getCurrency(): Currency |
|
136 | |||
137 | /** |
||
138 | * @return string |
||
139 | */ |
||
140 | 2 | public function getReturnMethod() |
|
144 | |||
145 | /** |
||
146 | * @param string $returnMethod |
||
147 | * @return InvoiceInterface |
||
148 | */ |
||
149 | 3 | public function setReturnMethod($returnMethod) |
|
155 | |||
156 | /** |
||
157 | * @return string |
||
158 | */ |
||
159 | 2 | public function getNotifyMethod() |
|
163 | |||
164 | /** |
||
165 | * @param string $notifyMethod |
||
166 | * @return InvoiceInterface |
||
167 | */ |
||
168 | 3 | public function setNotifyMethod($notifyMethod) |
|
174 | |||
175 | /** |
||
176 | * @return string |
||
177 | */ |
||
178 | 2 | public function getCancelMethod() |
|
182 | |||
183 | /** |
||
184 | * @param string $cancelMethod |
||
185 | * @return InvoiceInterface |
||
186 | */ |
||
187 | 3 | public function setCancelMethod($cancelMethod) |
|
193 | } |
||
194 |