public function toXMLString()
 {
     $str = '';
     $str .= parent::toXMLString();
     if ($this->DoReferenceTransactionRequestDetails != null) {
         $str .= '<ebl:DoReferenceTransactionRequestDetails>';
         $str .= $this->DoReferenceTransactionRequestDetails->toXMLString();
         $str .= '</ebl:DoReferenceTransactionRequestDetails>';
     }
     if ($this->ReturnFMFDetails != null) {
         $str .= '<urn:ReturnFMFDetails>' . PPUtils::escapeInvalidXmlCharsRegex($this->ReturnFMFDetails) . '</urn:ReturnFMFDetails>';
     }
     return $str;
 }
 public function toXMLString()
 {
     $str = '';
     $str .= parent::toXMLString();
     if ($this->DoReferenceTransactionRequestDetails != null) {
         //prop is not a collection
         //prop is complex
         //prop is not enum
         //does not contain attribute or is attribute
         $str .= '<ebl:DoReferenceTransactionRequestDetails>';
         $str .= $this->DoReferenceTransactionRequestDetails->toXMLString();
         $str .= '</ebl:DoReferenceTransactionRequestDetails>';
     }
     if ($this->ReturnFMFDetails != null) {
         //prop is not a collection
         //prop not complex
         //prop is not value
         $str .= '<urn:ReturnFMFDetails>' . $this->ReturnFMFDetails . '</urn:ReturnFMFDetails>';
     }
     return $str;
 }