Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | class MakePayment implements CommandInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $purchaseId; |
||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | private $purchaserEmail; |
||
30 | |||
31 | /** |
||
32 | * MakePayment constructor. |
||
33 | * @param string $purchaseId |
||
34 | * @param string $purchaserEmail |
||
35 | */ |
||
36 | public function __construct(string $purchaseId, string $purchaserEmail) |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @return string |
||
44 | */ |
||
45 | public function getPurchaseId(): string |
||
46 | { |
||
47 | return $this->purchaseId; |
||
48 | } |
||
49 | |||
50 | /** |
||
51 | * @return string |
||
52 | */ |
||
53 | public function getPurchaserEmail(): string |
||
56 | } |
||
57 | } |