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)); } }
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)); }
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)); } }