Пример #1
0
        /**
         *
         */
        public SetMobileCheckoutResponseType SetMobileCheckout(SetMobileCheckoutReq SetMobileCheckoutReq, string apiUsername)
        {
            setStandardParams(SetMobileCheckoutReq.SetMobileCheckoutRequest);
            string resp = call("SetMobileCheckout", SetMobileCheckoutReq.toXMLString(), apiUsername);

            return(new SetMobileCheckoutResponseType(resp));
        }
        /**
         * AUTO_GENERATED
         */
        public SetMobileCheckoutResponseType SetMobileCheckout(SetMobileCheckoutReq setMobileCheckoutReq, string apiUserName)
        {
            setStandardParams(setMobileCheckoutReq.SetMobileCheckoutRequest);
            string      response    = Call("SetMobileCheckout", setMobileCheckoutReq.ToXMLString(), apiUserName);
            XmlDocument xmlDocument = new XmlDocument();

            xmlDocument.LoadXml(response);
            XmlNode xmlNode = xmlDocument.SelectSingleNode("*[local-name()='Envelope']/*[local-name()='Body']/*[local-name()='SetMobileCheckoutResponse']");

            return(new SetMobileCheckoutResponseType(xmlNode));
        }
Пример #3
0
 /// <remarks/>
 public void SetMobileCheckoutAsync(SetMobileCheckoutReq SetMobileCheckoutReq, object userState) {
     if ((this.SetMobileCheckoutOperationCompleted == null)) {
         this.SetMobileCheckoutOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetMobileCheckoutOperationCompleted);
     }
     this.InvokeAsync("SetMobileCheckout", new object[] {
                 SetMobileCheckoutReq}, this.SetMobileCheckoutOperationCompleted, userState);
 }
Пример #4
0
 /// <remarks/>
 public void SetMobileCheckoutAsync(SetMobileCheckoutReq SetMobileCheckoutReq) {
     this.SetMobileCheckoutAsync(SetMobileCheckoutReq, null);
 }
Пример #5
0
 public SetMobileCheckoutResponseType SetMobileCheckout(SetMobileCheckoutReq SetMobileCheckoutReq)
 {
     return(SetMobileCheckout(SetMobileCheckoutReq, null));
 }