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