public SendBulkSmsToPostalCodeRequestBody(string username, string password, string postalcode, string originator, string content, tempuri.org.SendType sendType, System.DateTime sendDate, int startIndex, int count) { this.username = username; this.password = password; this.postalcode = postalcode; this.originator = originator; this.content = content; this.sendType = sendType; this.sendDate = sendDate; this.startIndex = startIndex; this.count = count; }
public long SendBulkSmsToPostalCode(string username, string password, string postalcode, string originator, string content, tempuri.org.SendType sendType, System.DateTime sendDate, int startIndex, int count) { SendBulkSmsToPostalCodeRequest inValue = new SendBulkSmsToPostalCodeRequest(); inValue.Body = new SendBulkSmsToPostalCodeRequestBody(); inValue.Body.username = username; inValue.Body.password = password; inValue.Body.postalcode = postalcode; inValue.Body.originator = originator; inValue.Body.content = content; inValue.Body.sendType = sendType; inValue.Body.sendDate = sendDate; inValue.Body.startIndex = startIndex; inValue.Body.count = count; SendBulkSmsToPostalCodeResponse retVal = ((IV2Soap)(this)).SendBulkSmsToPostalCode(inValue); return(retVal.Body.SendBulkSmsToPostalCodeResult); }