| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 49 | public function get_document() { |
||
| 50 | $document = parent::get_document(); |
||
| 51 | |||
| 52 | // Merchant. |
||
| 53 | $merchant = XML_Util::add_element( $document, $document->documentElement, 'merchant' ); |
||
| 54 | |||
| 55 | XML_Util::add_elements( |
||
| 56 | $document, |
||
| 57 | $merchant, |
||
| 58 | array( |
||
| 59 | 'account' => $this->merchant->account, |
||
| 60 | 'site_id' => $this->merchant->site_id, |
||
| 61 | 'site_secure_code' => $this->merchant->site_secure_code, |
||
| 62 | ) |
||
| 63 | ); |
||
| 64 | |||
| 65 | return $document; |
||
| 66 | } |
||
| 68 |