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 SetDeliveryNoRequest();
     Request.Read(iprot);
       } else {
     TProtocolUtil.Skip(iprot, field.Type);
       }
       break;
     default:
       TProtocolUtil.Skip(iprot, field.Type);
       break;
       }
       iprot.ReadFieldEnd();
     }
     iprot.ReadStructEnd();
 }
 public SetDeliveryNoResponse SetDeliveryNo(SetDeliveryNoRequest Request)
 {
     send_SetDeliveryNo(Request);
     return recv_SetDeliveryNo();
 }
Exemple #3
0
        public bool SetDeliveryNo(string transactionId, string itemId, string orderId, int siteId, string trackingNo, string eBayTokenId)
        {
            SetDeliveryNoRequest req = new SetDeliveryNoRequest
            {
                EbayTokenID = eBayTokenId,
                ItemID = itemId,
                OrderID = orderId,
                SiteID = siteId,
                TransactionID = transactionId,
                TrackingNumber = trackingNo
            };

            return (SetDeliveryNo(req).Ack == AckType.Success) ? true : false;
        }
 public void send_SetDeliveryNo(SetDeliveryNoRequest Request)
 {
     oprot_.WriteMessageBegin(new TMessage("SetDeliveryNo", TMessageType.Call, seqid_));
     SetDeliveryNo_args args = new SetDeliveryNo_args();
     args.Request = Request;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }
Exemple #5
0
 public SetDeliveryNoResponse SetDeliveryNo(SetDeliveryNoRequest Request)
 {
     return GetClient().SetDeliveryNo(Request);
 }