示例#1
0
        /**
         *
         */
        public DoMobileCheckoutPaymentResponseType DoMobileCheckoutPayment(DoMobileCheckoutPaymentReq DoMobileCheckoutPaymentReq, string apiUsername)
        {
            setStandardParams(DoMobileCheckoutPaymentReq.DoMobileCheckoutPaymentRequest);
            string resp = call("DoMobileCheckoutPayment", DoMobileCheckoutPaymentReq.toXMLString(), apiUsername);

            return(new DoMobileCheckoutPaymentResponseType(resp));
        }
        /**
         * AUTO_GENERATED
         */
        public DoMobileCheckoutPaymentResponseType DoMobileCheckoutPayment(DoMobileCheckoutPaymentReq doMobileCheckoutPaymentReq, string apiUserName)
        {
            setStandardParams(doMobileCheckoutPaymentReq.DoMobileCheckoutPaymentRequest);
            string      response    = Call("DoMobileCheckoutPayment", doMobileCheckoutPaymentReq.ToXMLString(), apiUserName);
            XmlDocument xmlDocument = new XmlDocument();

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

            return(new DoMobileCheckoutPaymentResponseType(xmlNode));
        }
示例#3
0
 /// <remarks/>
 public void DoMobileCheckoutPaymentAsync(DoMobileCheckoutPaymentReq DoMobileCheckoutPaymentReq, object userState) {
     if ((this.DoMobileCheckoutPaymentOperationCompleted == null)) {
         this.DoMobileCheckoutPaymentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDoMobileCheckoutPaymentOperationCompleted);
     }
     this.InvokeAsync("DoMobileCheckoutPayment", new object[] {
                 DoMobileCheckoutPaymentReq}, this.DoMobileCheckoutPaymentOperationCompleted, userState);
 }
示例#4
0
 /// <remarks/>
 public void DoMobileCheckoutPaymentAsync(DoMobileCheckoutPaymentReq DoMobileCheckoutPaymentReq) {
     this.DoMobileCheckoutPaymentAsync(DoMobileCheckoutPaymentReq, null);
 }
示例#5
0
 public DoMobileCheckoutPaymentResponseType DoMobileCheckoutPayment(DoMobileCheckoutPaymentReq DoMobileCheckoutPaymentReq)
 {
     return(DoMobileCheckoutPayment(DoMobileCheckoutPaymentReq, null));
 }