| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | final class Check extends Response |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var \DOMElement |
||
| 21 | */ |
||
| 22 | protected $AccountInfo; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Check constructor |
||
| 26 | * |
||
| 27 | * @param AccountInfo $accountinfo account information set |
||
| 28 | */ |
||
| 29 | public function __construct(AccountInfo $accountinfo) |
||
| 30 | { |
||
| 31 | parent::__construct(); |
||
| 32 | |||
| 33 | $this->setElementValue('StatusCode', 0); |
||
| 34 | $this->setElementValue('StatusDetail', 'checked'); |
||
| 35 | |||
| 36 | $this->create_AccountInfo($accountinfo); |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Create AccountInfo node with child nodes |
||
| 41 | * |
||
| 42 | * @param AccountInfo $accountinfo account information set |
||
| 43 | */ |
||
| 44 | public function create_AccountInfo($accountinfo) |
||
| 54 | } |
||
| 55 | } |
||
| 57 |