/**
  * Create nodes for the appropriate properties of the transaction.
  */
 protected function createNodes()
 {
     parent::createNodes();
     $this->addChildNode($this->createEscapedElement('TRANS_ID_TO_VOID', $this->getTransIdToVoid()));
 }
 /**
  * RefundTransaction constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->action_type = Paymentree::ACTION_TYPE_REFUND;
 }