vasildakov /
speedy
| 1 | <?php |
||
| 2 | |||
| 3 | /* |
||
| 4 | * This file is part of the Neutrino package. |
||
| 5 | * |
||
| 6 | * (c) Vasil Dakov <[email protected]> |
||
| 7 | * |
||
| 8 | * For the full copyright and license information, please view the LICENSE |
||
| 9 | * file that was distributed with this source code. |
||
| 10 | */ |
||
| 11 | |||
| 12 | declare(strict_types=1); |
||
| 13 | |||
| 14 | namespace VasilDakov\Speedy\Service\Shipment; |
||
| 15 | |||
| 16 | use VasilDakov\Speedy\Traits\ToArray; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Class CancelShipmentRequest. |
||
| 20 | * |
||
| 21 | * @author Vasil Dakov <[email protected]> |
||
| 22 | * @copyright 2009-2023 Neutrino.bg |
||
| 23 | * |
||
| 24 | * @version 1.0 |
||
| 25 | */ |
||
| 26 | class CancelShipmentRequest |
||
| 27 | { |
||
| 28 | use ToArray; |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 29 | |||
| 30 | private string $shipmentId; |
||
| 31 | |||
| 32 | private string $comment; |
||
| 33 | |||
| 34 | 1 | public function __construct(string $shipmentId, string $comment) |
|
| 35 | { |
||
| 36 | 1 | $this->shipmentId = $shipmentId; |
|
| 37 | 1 | $this->comment = $comment; |
|
| 38 | } |
||
| 39 | |||
| 40 | 1 | public function getShipmentId(): string |
|
| 41 | { |
||
| 42 | 1 | return $this->shipmentId; |
|
| 43 | } |
||
| 44 | |||
| 45 | 1 | public function getComment(): string |
|
| 46 | { |
||
| 47 | 1 | return $this->comment; |
|
| 48 | } |
||
| 49 | } |
||
| 50 |