public override byte[] GetXml() {
   AutoGen.DeliverOrderRequest Req = new AutoGen.DeliverOrderRequest();
   Req.googleordernumber = _OrderNo;
   if (_Carrier != null && _TrackingNo != null) {
     Req.trackingdata = new AutoGen.TrackingData();
     Req.trackingdata.carrier = _Carrier;
     Req.trackingdata.trackingnumber = _TrackingNo;
     Req.sendemail = _SendEmail;
     Req.sendemailSpecified = true;
   }
   return EncodeHelper.Serialize(Req);
 }
Exemple #2
0
 public override byte[] GetXml()
 {
     AutoGen.DeliverOrderRequest Req = new AutoGen.DeliverOrderRequest();
     Req.googleordernumber = _OrderNo;
     if (_Carrier != null && _TrackingNo != null)
     {
         Req.trackingdata                = new AutoGen.TrackingData();
         Req.trackingdata.carrier        = _Carrier;
         Req.trackingdata.trackingnumber = _TrackingNo;
         Req.sendemail          = _SendEmail;
         Req.sendemailSpecified = true;
     }
     return(EncodeHelper.Serialize(Req));
 }