public System.Threading.Tasks.Task <SMS_Center.ServiceReference1.GetCreditResponse> GetCreditAsync(string username, string password)
 {
     SMS_Center.ServiceReference1.GetCreditRequest inValue = new SMS_Center.ServiceReference1.GetCreditRequest();
     inValue.Body          = new SMS_Center.ServiceReference1.GetCreditRequestBody();
     inValue.Body.username = username;
     inValue.Body.password = password;
     return(((SMS_Center.ServiceReference1.SendSoap)(this)).GetCreditAsync(inValue));
 }
 public double GetCredit(string username, string password)
 {
     SMS_Center.ServiceReference1.GetCreditRequest inValue = new SMS_Center.ServiceReference1.GetCreditRequest();
     inValue.Body          = new SMS_Center.ServiceReference1.GetCreditRequestBody();
     inValue.Body.username = username;
     inValue.Body.password = password;
     SMS_Center.ServiceReference1.GetCreditResponse retVal = ((SMS_Center.ServiceReference1.SendSoap)(this)).GetCredit(inValue);
     return(retVal.Body.GetCreditResult);
 }
 System.Threading.Tasks.Task <SMS_Center.ServiceReference1.GetCreditResponse> SMS_Center.ServiceReference1.SendSoap.GetCreditAsync(SMS_Center.ServiceReference1.GetCreditRequest request)
 {
     return(base.Channel.GetCreditAsync(request));
 }
 SMS_Center.ServiceReference1.GetCreditResponse SMS_Center.ServiceReference1.SendSoap.GetCredit(SMS_Center.ServiceReference1.GetCreditRequest request)
 {
     return(base.Channel.GetCredit(request));
 }