コード例 #1
0
 public GeteBayOrderResponse GeteBayOrder(GeteBayOrderRequest Request)
 {
     send_GeteBayOrder(Request);
     return recv_GeteBayOrder();
 }
コード例 #2
0
 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();
 }
コード例 #3
0
ファイル: PaymentService.cs プロジェクト: tomochandv/Test
        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));
        }
コード例 #4
0
 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();
 }
コード例 #5
0
ファイル: PaymentService.cs プロジェクト: tomochandv/Test
 public GeteBayOrderResponse GeteBayOrder(GeteBayOrderRequest Request)
 {
     return GetClient().GeteBayOrder(Request);
 }