1 | <?php |
||
15 | final class Invoice implements InvoiceInterface |
||
16 | { |
||
17 | protected $id; |
||
18 | protected $client; |
||
19 | protected $amount; |
||
20 | protected $description; |
||
21 | protected $returnUrl; |
||
22 | protected $notifyUrl; |
||
23 | protected $cancelUrl; |
||
24 | protected $returnMethod; |
||
25 | protected $notifyMethod; |
||
26 | protected $cancelMethod; |
||
27 | protected $currency; |
||
28 | |||
29 | /** |
||
30 | * @return string |
||
31 | */ |
||
32 | public function getId() |
||
36 | |||
37 | /** |
||
38 | * @param string $id |
||
39 | * @return Invoice |
||
40 | 1 | */ |
|
41 | public function setId($id) |
||
47 | |||
48 | public function getClient() |
||
52 | |||
53 | 1 | public function setClient($client) |
|
59 | |||
60 | public function getAmount(): Money |
||
64 | |||
65 | 1 | public function setAmount(Money $amount) |
|
72 | |||
73 | public function getDescription() |
||
77 | |||
78 | public function setDescription($description) |
||
84 | |||
85 | public function getReturnUrl() |
||
89 | |||
90 | public function setReturnUrl($returnUrl) |
||
96 | |||
97 | public function getNotifyUrl() |
||
101 | |||
102 | public function setNotifyUrl($notifyUrl) |
||
108 | |||
109 | public function getCancelUrl() |
||
113 | |||
114 | public function setCancelUrl($cancelUrl) |
||
120 | |||
121 | /** |
||
122 | * @return Currency |
||
123 | */ |
||
124 | public function getCurrency(): Currency |
||
128 | |||
129 | /** |
||
130 | * @return string |
||
131 | */ |
||
132 | public function getReturnMethod() |
||
136 | |||
137 | /** |
||
138 | * @param string $returnMethod |
||
139 | * @return InvoiceInterface |
||
140 | */ |
||
141 | public function setReturnMethod($returnMethod) |
||
147 | |||
148 | /** |
||
149 | * @return string |
||
150 | */ |
||
151 | public function getNotifyMethod() |
||
155 | |||
156 | /** |
||
157 | * @param string $notifyMethod |
||
158 | * @return InvoiceInterface |
||
159 | */ |
||
160 | public function setNotifyMethod($notifyMethod) |
||
166 | |||
167 | /** |
||
168 | * @return string |
||
169 | */ |
||
170 | public function getCancelMethod() |
||
174 | |||
175 | /** |
||
176 | * @param string $cancelMethod |
||
177 | * @return InvoiceInterface |
||
178 | */ |
||
179 | public function setCancelMethod($cancelMethod) |
||
185 | } |
||
186 |