| 1 | <?php |
||
| 31 | class ItemNumberDetails |
||
| 32 | { |
||
| 33 | /** |
||
| 34 | * Relative sales report |
||
| 35 | */ |
||
| 36 | const TYPE_RELATIVE = 'H'; |
||
| 37 | /** |
||
| 38 | * Sales report number |
||
| 39 | */ |
||
| 40 | const TYPE_REPORT_NUMBER = 'NU'; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * A number allocated to a group or an item. |
||
| 44 | * |
||
| 45 | * @var string |
||
| 46 | */ |
||
| 47 | public $number; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Identification of the type of item number. |
||
| 51 | * |
||
| 52 | * self::TYPE_* |
||
| 53 | * |
||
| 54 | * @var string |
||
| 55 | */ |
||
| 56 | public $type; |
||
| 57 | |||
| 58 | /** |
||
| 59 | * ItemNumberDetails constructor. |
||
| 60 | * |
||
| 61 | * @param $number |
||
| 62 | * @param $type |
||
| 63 | */ |
||
| 64 | 4 | public function __construct($number, $type) |
|
| 69 | } |
||
| 70 |