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