public function toXMLString() { $str = ''; $str .= '<ns:GetIncentiveEvaluationReq>'; if ($this->GetIncentiveEvaluationRequest != NULL) { $str .= '<ns:GetIncentiveEvaluationRequest>'; $str .= $this->GetIncentiveEvaluationRequest->toXMLString(); $str .= '</ns:GetIncentiveEvaluationRequest>'; } $str .= '</ns:GetIncentiveEvaluationReq>'; return $str; }
public function toXMLString() { $str = ''; $str .= '<urn:GetIncentiveEvaluationReq>'; if ($this->GetIncentiveEvaluationRequest != null) { //prop is not a collection //prop is complex //prop is not enum //does not contain attribute or is attribute $str .= '<urn:GetIncentiveEvaluationRequest>'; $str .= $this->GetIncentiveEvaluationRequest->toXMLString(); $str .= '</urn:GetIncentiveEvaluationRequest>'; } $str .= '</urn:GetIncentiveEvaluationReq>'; return $str; }