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));
            }
        }
Exemple #2
0
        public eBayCancelT GeteBayCancelReturn(int siteId, string disputeId, string eBayTokenId)
        {
            GeteBayCancelReturnRequest req = new GeteBayCancelReturnRequest
            {
                EbayTokenID = eBayTokenId,
                SiteID = siteId,
                DisputeID = disputeId
            };

            return ConvertToeBayCancelT(GeteBayCancelReturn(req));
        }
 public GeteBayCancelReturnResponse GeteBayCancelReturn(GeteBayCancelReturnRequest Request)
 {
     send_GeteBayCancelReturn(Request);
     return recv_GeteBayCancelReturn();
 }
 public void Read(TProtocol iprot)
 {
     TField field;
     iprot.ReadStructBegin();
     while (true)
     {
       field = iprot.ReadFieldBegin();
       if (field.Type == TType.Stop) {
     break;
       }
       switch (field.ID)
       {
     case 1:
       if (field.Type == TType.Struct) {
     Request = new GeteBayCancelReturnRequest();
     Request.Read(iprot);
       } else {
     TProtocolUtil.Skip(iprot, field.Type);
       }
       break;
     default:
       TProtocolUtil.Skip(iprot, field.Type);
       break;
       }
       iprot.ReadFieldEnd();
     }
     iprot.ReadStructEnd();
 }
 public void send_GeteBayCancelReturn(GeteBayCancelReturnRequest Request)
 {
     oprot_.WriteMessageBegin(new TMessage("GeteBayCancelReturn", TMessageType.Call, seqid_));
     GeteBayCancelReturn_args args = new GeteBayCancelReturn_args();
     args.Request = Request;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }
Exemple #6
0
 public GeteBayCancelReturnResponse GeteBayCancelReturn(GeteBayCancelReturnRequest Request)
 {
     return GetClient().GeteBayCancelReturn(Request);
 }