/// <remarks/> public void WholesaleChangeServicePlansV2Async(WholesaleChangeServicePlansV2Type wholesaleChangeServicePlansV21, object userState) { if ((this.WholesaleChangeServicePlansV2OperationCompleted == null)) { this.WholesaleChangeServicePlansV2OperationCompleted = new System.Threading.SendOrPostCallback(this.OnWholesaleChangeServicePlansV2OperationCompleted); } this.InvokeAsync("WholesaleChangeServicePlansV2", new object[] { wholesaleChangeServicePlansV21 }, this.WholesaleChangeServicePlansV2OperationCompleted, userState); }
//changes price plan of the mdn to the new one given. public static string WholesaleChangeServicePlansV2(string mdn, string newPricePlan) { wsmsService.wsMessageHeader = getHeader(); SecurityHelper.prepareSoapContext(wsmsService.RequestSoapContext); WSM.WholesaleChangeServicePlansV2Type request = new WSM.WholesaleChangeServicePlansV2Type(); request.mdn = mdn; request.pricePlan = new WSM.ProductDeploymentType { serviceCode = newPricePlan, serviceEffectiveDate = DateTime.Now, serviceEffectiveDateSpecified = true }; var reply = wsmsService.WholesaleChangeServicePlansV2(request); return(reply.confirmMsg); }
/// <remarks/> public void WholesaleChangeServicePlansV2Async(WholesaleChangeServicePlansV2Type wholesaleChangeServicePlansV21) { this.WholesaleChangeServicePlansV2Async(wholesaleChangeServicePlansV21, null); }
public WholesaleChangeServicePlansV2RespnseType WholesaleChangeServicePlansV2([System.Xml.Serialization.XmlElementAttribute("wholesaleChangeServicePlansV2", Namespace = "http://integration.sprint.com/interfaces/wholesaleChangeServicePlans/v2/wholesale" + "ChangeServicePlansV2.xsd")] WholesaleChangeServicePlansV2Type wholesaleChangeServicePlansV21) { object[] results = this.Invoke("WholesaleChangeServicePlansV2", new object[] { wholesaleChangeServicePlansV21 }); return((WholesaleChangeServicePlansV2RespnseType)(results[0])); }