示例#1
0
        public void GeteBayCancelReturn()
        {
            GeteBayCancelReturnRequest req = new GeteBayCancelReturnRequest
            {
                EbayTokenID = ""
            ,
                SiteID = 0
            ,
                DisputeID = "0"
            };
            eBayCancelT ebayCancel = null;

            try
            {
                ebayCancel = new PaymentService("http://gepapidev.gmarket.co.kr/api/Outbound_PaymentService").GeteBayCancelReturn(0,"0","");
            }
            catch (Exception ex)
            {
                System.Console.WriteLine(ex.ToString());
            }

            if (ebayCancel != null)
            {
                System.Console.WriteLine(string.Format("TransactionID : {0}, ItemID: {1}", ebayCancel.Order.TransactionId, ebayCancel.Order.ItemId));
            }
        }
示例#2
0
        public void SetDeliveryNo()
        {
            bool isSuccess = false;

            try
            {
                isSuccess = new PaymentService("http://gepapidev.gmarket.co.kr/api/Outbound_PaymentService").SetDeliveryNo("0","0","0",0,"0","");
            }
            catch (Exception ex)
            {
                System.Console.WriteLine(ex.ToString());
            }

            System.Console.WriteLine(string.Format("Ack : {0}", isSuccess));
        }
示例#3
0
        public void GeteBayOrder()
        {
            eBayOrderT ebayOrder = null;

            try
            {
                ebayOrder = new PaymentService("http://gepapidev.gmarket.co.kr/api/Outbound_PaymentService").GeteBayOrder("0", "0", "0", 0, "");
            }
            catch (Exception ex)
            {
                System.Console.WriteLine(ex.ToString());
            }

            if (ebayOrder != null)
            {
                System.Console.WriteLine(string.Format("TransactionID : {0}, ItemID: {1}", ebayOrder.TransactionId, ebayOrder.ItemId));
            }
        }