| 1 | <?php |
||
| 31 | class OtherCriteria |
||
| 32 | { |
||
| 33 | const NAME_CHANGEABILITY = "CHG"; |
||
| 34 | const NAME_DATE_RESTRICTIONS = "DAT"; |
||
| 35 | const NAME_EXPANDED_PARAMETERS = "EXP"; |
||
| 36 | const NAME_REFUNDABILITY = "REF"; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * self::NAME_* |
||
| 40 | * |
||
| 41 | * @var string |
||
| 42 | */ |
||
| 43 | public $name; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @var string |
||
| 47 | */ |
||
| 48 | public $value; |
||
| 49 | |||
| 50 | /** |
||
| 51 | * OtherCriteria constructor. |
||
| 52 | * |
||
| 53 | * @param string $value |
||
| 54 | * @param string $name self::NAME_* |
||
| 55 | */ |
||
| 56 | 1 | public function __construct($value, $name) |
|
| 61 | } |
||
| 62 |