| 1 | <?php |
||
| 31 | class ItemNumberDetails |
||
| 32 | { |
||
| 33 | /** |
||
| 34 | * From Number |
||
| 35 | */ |
||
| 36 | const TYPE_FROM = "FRM"; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Until Number |
||
| 40 | */ |
||
| 41 | const TYPE_TO = "TO"; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @var string |
||
| 45 | */ |
||
| 46 | public $number; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * SELF::TYPE_* |
||
| 50 | * |
||
| 51 | * @var string |
||
| 52 | */ |
||
| 53 | public $type; |
||
| 54 | |||
| 55 | /** |
||
| 56 | * ItemNumberDetails constructor. |
||
| 57 | * |
||
| 58 | * @param string $type |
||
| 59 | * @param string $number |
||
| 60 | */ |
||
| 61 | 2 | public function __construct($type, $number) |
|
| 66 | } |
||
| 67 |