Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
16 | final class Cancel extends Response |
||
17 | { |
||
18 | /** |
||
19 | * @var \DOMElement |
||
20 | */ |
||
21 | protected $CancelDate; |
||
22 | |||
23 | /** |
||
24 | * Cancel constructor |
||
25 | * |
||
26 | * @param string $orderdate |
||
27 | */ |
||
28 | public function __construct($canceldate) { |
||
29 | parent::__construct(); |
||
30 | |||
31 | $this->setElementValue('StatusCode', 0); |
||
32 | $this->setElementValue('StatusDetail', 'checked'); |
||
33 | |||
34 | $this->create_CancelDate($canceldate); |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * Create CancelDate node |
||
39 | * |
||
40 | * @param string $canceldate |
||
41 | */ |
||
42 | public function create_CancelDate($canceldate) |
||
48 | } |
||
49 | } |
||
50 |