| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* Class LP_Group_Step |
| 5 |
* |
| 6 |
* @author tungnnx |
| 7 |
* @version 1.0.0 |
| 8 |
* @since 4.0.0 |
| 9 |
*/ |
| 10 |
class LP_Step extends LP_REST_Response { |
| 11 |
/** |
| 12 |
* Step Name |
| 13 |
* |
| 14 |
* @var string |
| 15 |
*/ |
| 16 |
public $name = ''; |
| 17 |
/** |
| 18 |
* Step label |
| 19 |
* |
| 20 |
* @var string |
| 21 |
*/ |
| 22 |
public $label = ''; |
| 23 |
/** |
| 24 |
* @var string |
| 25 |
*/ |
| 26 |
public $description = ''; |
| 27 |
/** |
| 28 |
* @var int . |
| 29 |
*/ |
| 30 |
public $percent = 0; |
| 31 |
|
| 32 |
/** |
| 33 |
* LP_Step constructor. |
| 34 |
* |
| 35 |
* @param string $name . |
| 36 |
* @param string $label . |
| 37 |
* @param string $description . |
| 38 |
* @param string $status . |
| 39 |
*/ |
| 40 |
public function __construct( string $name, string $label, string $description = '', string $status = '' ) { |
| 41 |
$this->name = $name; |
| 42 |
$this->label = $label; |
| 43 |
$this->description = $description; |
| 44 |
$this->status = $status; |
| 45 |
|
| 46 |
parent::__construct(); |
| 47 |
} |
| 48 |
} |
| 49 |
|