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