/** * Create nodes for the appropriate properties of the transaction. */ protected function createNodes() { parent::createNodes(); $this->addChildNode($this->createEscapedElement('REQ_TRANS_ID', $this->getReqTransId())); }
/** * Create nodes for the appropriate properties of the transaction. */ protected function createNodes() { parent::createNodes(); if ($this->getClient()) { $this->addChildNode($this->createEscapedElement('CLIENT', $this->getClient())); } if ($this->getLocation()) { $this->addChildNode($this->createEscapedElement('LOCATION', $this->getLocation())); } if ($this->getRegister()) { $this->addChildNode($this->createEscapedElement('REGISTER', $this->getRegister())); } if ($this->getCashier()) { $this->addChildNode($this->createEscapedElement('CASHIER', $this->getCashier())); } if ($this->getReqTransId()) { $this->addChildNode($this->createEscapedElement('REQ_TRANS_ID', $this->getReqTransId())); } if ($this->getAmount()) { $this->addChildNode($this->createEscapedElement('AMOUNT', $this->getAmount())); } if ($this->getToken()) { $this->addChildNode($this->createEscapedElement('TOKEN', $this->getToken())); } }
/** * Create nodes for the appropriate properties of the transaction. */ protected function createNodes() { parent::createNodes(); $this->addChildNode($this->createEscapedElement('TERMINAL_NO', $this->getTerminal())); }