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