appwilio /
russianpost-sdk
| 1 | <?php |
||
| 2 | |||
| 3 | /** |
||
| 4 | * This file is part of RussianPost SDK package. |
||
| 5 | * |
||
| 6 | * © Appwilio (http://appwilio.com), greabock (https://github.com/greabock), JhaoDa (https://github.com/jhaoda) |
||
| 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 Appwilio\RussianPostSDK\Tracking\Packet; |
||
| 15 | |||
| 16 | final class TicketResponse |
||
| 17 | { |
||
| 18 | use ErrorAware; |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 19 | |||
| 20 | /** @var Error|null */ |
||
| 21 | private $error; |
||
|
0 ignored issues
–
show
|
|||
| 22 | |||
| 23 | /** @var string */ |
||
| 24 | private $value; |
||
| 25 | |||
| 26 | 1 | public function getId(): string |
|
| 27 | { |
||
| 28 | 1 | return $this->value; |
|
| 29 | } |
||
| 30 | } |
||
| 31 |