1 | <?php |
||
17 | class ApplyCoupon implements CommandInterface |
||
18 | { |
||
19 | /** @var string|null */ |
||
20 | protected $token; |
||
21 | |||
22 | /** @var string */ |
||
23 | protected $cartId; |
||
24 | |||
25 | /** @var string */ |
||
26 | protected $coupon; |
||
27 | |||
28 | public function __construct(?string $token, string $cartId, string $coupon) |
||
34 | |||
35 | public function token(): ?string |
||
39 | |||
40 | public function cartId(): string |
||
44 | |||
45 | public function coupon(): string |
||
49 | } |
||
50 |