public CorrespondenceStatusHistoryResultEx GetCorrespondenceStatusHistory(GetCorrespondenceStatusHistoryShipment shipment) { SdpStatusInformation info = new SdpStatusInformation(); using (var client = GenerateProxy(shipment)) { OperationContext = _context + "GetcorrespondenceStatusHistory"; var result = client.GetCorrespondenceStatusHistoryEC(shipment.Password, shipment.Username, shipment.Request, out info); CorrespondenceStatusHistoryResultEx resultEx = new CorrespondenceStatusHistoryResultEx(result, info); return(resultEx); } }
public CorrespondenceStatusHistoryAecResult GetCorrespondenceStatusHistory(GetCorrespondenceStatusHistoryAecShipment shipment) { using (var client = GenerateProxy(shipment)) { SdpStatusInformation info = new SdpStatusInformation(); CorrespondenceStatusHistoryRequestExternalBE req = new CorrespondenceStatusHistoryRequestExternalBE(); req.CorrespondenceSendersReferences = shipment.Request; OperationContext = _context + "GetcorrespondenceStatusHistory"; var result = client.GetCorrespondenceStatusHistoryAEC(req.CorrespondenceSendersReferences, out info); return(new CorrespondenceStatusHistoryAecResult(result, info)); } }
public CorrespondenceStatusHistoryResultEx() { correspondenceStatusInformation = new CorrespondenceStatusInformation(); sdpStatusInformation = new SdpStatusInformation(); }