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