| 1 | <?php |
||
| 31 | class ItemNumberDetails |
||
| 32 | { |
||
| 33 | const TYPE_FROM_NUMBER = "FRM"; |
||
| 34 | const TYPE_TRANSMISSION_CONTROL_NUMBER = "TCN"; |
||
| 35 | const TYPE_TO_NUMBER = "TO"; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @var string|int |
||
| 39 | */ |
||
| 40 | public $number; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * self::TYPE_* |
||
| 44 | * |
||
| 45 | * @var string |
||
| 46 | */ |
||
| 47 | public $type; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * ItemNumberDetails constructor. |
||
| 51 | * |
||
| 52 | * @param int|string $number |
||
| 53 | * @param string|null $type self::TYPE_* |
||
| 54 | */ |
||
| 55 | 2 | public function __construct($number, $type = null) |
|
| 60 | } |
||
| 61 |