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