| Total Complexity | 3 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | class AcquirerErrorResMessage extends ResponseMessage { |
||
| 26 | /** |
||
| 27 | * The document element name |
||
| 28 | * |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | const NAME = 'AcquirerErrorRes'; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * The error within this response message |
||
| 35 | * |
||
| 36 | * @var Error |
||
| 37 | */ |
||
| 38 | public $error; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Constructs and initialize an error response message |
||
| 42 | */ |
||
| 43 | final public function __construct() { |
||
| 44 | parent::__construct( self::NAME ); |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Parse the specified XML into an directory response message object |
||
| 49 | * |
||
| 50 | * @param SimpleXMLElement $xml XML. |
||
| 51 | * @return AcquirerErrorResMessage |
||
| 52 | * @throws \Exception Throws exception on failed error parsing. |
||
| 53 | */ |
||
| 54 | public static function parse( SimpleXMLElement $xml ) { |
||
| 69 | } |
||
| 70 | } |
||
| 71 |