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