public System.Threading.Tasks.Task <ECommerce.ServiceReference1.SendSMSResponse> SendSMSAsync(string sClientUserName, string sClientPassword, string sRecieverMSISDN, string sMessageOut, decimal dNewBalance, string sResponseID, string sResponseStatus) { ECommerce.ServiceReference1.SendSMSRequest inValue = new ECommerce.ServiceReference1.SendSMSRequest(); inValue.Body = new ECommerce.ServiceReference1.SendSMSRequestBody(); inValue.Body.sClientUserName = sClientUserName; inValue.Body.sClientPassword = sClientPassword; inValue.Body.sRecieverMSISDN = sRecieverMSISDN; inValue.Body.sMessageOut = sMessageOut; inValue.Body.dNewBalance = dNewBalance; inValue.Body.sResponseID = sResponseID; inValue.Body.sResponseStatus = sResponseStatus; return(((ECommerce.ServiceReference1.ClientAPIServiceSoap)(this)).SendSMSAsync(inValue)); }
public bool SendSMS(string sClientUserName, string sClientPassword, string sRecieverMSISDN, string sMessageOut, ref decimal dNewBalance, ref string sResponseID, ref string sResponseStatus) { ECommerce.ServiceReference1.SendSMSRequest inValue = new ECommerce.ServiceReference1.SendSMSRequest(); inValue.Body = new ECommerce.ServiceReference1.SendSMSRequestBody(); inValue.Body.sClientUserName = sClientUserName; inValue.Body.sClientPassword = sClientPassword; inValue.Body.sRecieverMSISDN = sRecieverMSISDN; inValue.Body.sMessageOut = sMessageOut; inValue.Body.dNewBalance = dNewBalance; inValue.Body.sResponseID = sResponseID; inValue.Body.sResponseStatus = sResponseStatus; ECommerce.ServiceReference1.SendSMSResponse retVal = ((ECommerce.ServiceReference1.ClientAPIServiceSoap)(this)).SendSMS(inValue); dNewBalance = retVal.Body.dNewBalance; sResponseID = retVal.Body.sResponseID; sResponseStatus = retVal.Body.sResponseStatus; return(retVal.Body.SendSMSResult); }
System.Threading.Tasks.Task <ECommerce.ServiceReference1.SendSMSResponse> ECommerce.ServiceReference1.ClientAPIServiceSoap.SendSMSAsync(ECommerce.ServiceReference1.SendSMSRequest request) { return(base.Channel.SendSMSAsync(request)); }
ECommerce.ServiceReference1.SendSMSResponse ECommerce.ServiceReference1.ClientAPIServiceSoap.SendSMS(ECommerce.ServiceReference1.SendSMSRequest request) { return(base.Channel.SendSMS(request)); }