public GeteBayOrderResponse GeteBayOrder(GeteBayOrderRequest Request)
 {
     send_GeteBayOrder(Request);
     return recv_GeteBayOrder();
 }
 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 GeteBayOrderRequest();
     Request.Read(iprot);
       } else {
     TProtocolUtil.Skip(iprot, field.Type);
       }
       break;
     default:
       TProtocolUtil.Skip(iprot, field.Type);
       break;
       }
       iprot.ReadFieldEnd();
     }
     iprot.ReadStructEnd();
 }
Beispiel #3
0
        public eBayOrderT GeteBayOrder(string transactionId, string itemId, string orderId, int siteId, string eBayTokenId)
        {
            GeteBayOrderRequest req = new GeteBayOrderRequest
            {
                EbayTokenID = eBayTokenId,
                ItemID = itemId,
                OrderID = orderId,
                SiteID = siteId,
                TransactionID = transactionId
            };

            return ConvertToeBayOrderT(GeteBayOrder(req));
        }
 public void send_GeteBayOrder(GeteBayOrderRequest Request)
 {
     oprot_.WriteMessageBegin(new TMessage("GeteBayOrder", TMessageType.Call, seqid_));
     GeteBayOrder_args args = new GeteBayOrder_args();
     args.Request = Request;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }
Beispiel #5
0
 public GeteBayOrderResponse GeteBayOrder(GeteBayOrderRequest Request)
 {
     return GetClient().GeteBayOrder(Request);
 }