//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ // // 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。 // #pragma warning disable 1591 namespace TradeManageNew.LabelWebReference { using System; using System.Web.Services; using System.Diagnostics; using System.Web.Services.Protocols; using System.Xml.Serialization; using System.ComponentModel; /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="LabelRecoveryBinding", Namespace="http://www.ups.com/WSDL/XOLTWS/LBRecovery/v1.0")] public partial class LBRecovery : System.Web.Services.Protocols.SoapHttpClientProtocol { private UPSSecurity uPSSecurityValueField; private System.Threading.SendOrPostCallback ProcessLabelRecoveryOperationCompleted; private bool useDefaultCredentialsSetExplicitly; /// public LBRecovery() { this.Url = global::TradeManageNew.Properties.Settings.Default.TradeManageNew_LabelWebReference_LBRecovery; if ((this.IsLocalFileSystemWebService(this.Url) == true)) { this.UseDefaultCredentials = true; this.useDefaultCredentialsSetExplicitly = false; } else { this.useDefaultCredentialsSetExplicitly = true; } } public UPSSecurity UPSSecurityValue { get { return this.uPSSecurityValueField; } set { this.uPSSecurityValueField = value; } } public new string Url { get { return base.Url; } set { if ((((this.IsLocalFileSystemWebService(base.Url) == true) && (this.useDefaultCredentialsSetExplicitly == false)) && (this.IsLocalFileSystemWebService(value) == false))) { base.UseDefaultCredentials = false; } base.Url = value; } } public new bool UseDefaultCredentials { get { return base.UseDefaultCredentials; } set { base.UseDefaultCredentials = value; this.useDefaultCredentialsSetExplicitly = true; } } /// public event ProcessLabelRecoveryCompletedEventHandler ProcessLabelRecoveryCompleted; /// [System.Web.Services.Protocols.SoapHeaderAttribute("UPSSecurityValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://onlinetools.ups.com/webservices/ShipBinding/v1.1", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)] [return: System.Xml.Serialization.XmlElementAttribute("LabelRecoveryResponse", Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public LabelRecoveryResponse ProcessLabelRecovery([System.Xml.Serialization.XmlElementAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] LabelRecoveryRequest LabelRecoveryRequest) { object[] results = this.Invoke("ProcessLabelRecovery", new object[] { LabelRecoveryRequest}); return ((LabelRecoveryResponse)(results[0])); } /// public void ProcessLabelRecoveryAsync(LabelRecoveryRequest LabelRecoveryRequest) { this.ProcessLabelRecoveryAsync(LabelRecoveryRequest, null); } /// public void ProcessLabelRecoveryAsync(LabelRecoveryRequest LabelRecoveryRequest, object userState) { if ((this.ProcessLabelRecoveryOperationCompleted == null)) { this.ProcessLabelRecoveryOperationCompleted = new System.Threading.SendOrPostCallback(this.OnProcessLabelRecoveryOperationCompleted); } this.InvokeAsync("ProcessLabelRecovery", new object[] { LabelRecoveryRequest}, this.ProcessLabelRecoveryOperationCompleted, userState); } private void OnProcessLabelRecoveryOperationCompleted(object arg) { if ((this.ProcessLabelRecoveryCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ProcessLabelRecoveryCompleted(this, new ProcessLabelRecoveryCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// public new void CancelAsync(object userState) { base.CancelAsync(userState); } private bool IsLocalFileSystemWebService(string url) { if (((url == null) || (url == string.Empty))) { return false; } System.Uri wsUri = new System.Uri(url); if (((wsUri.Port >= 1024) && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) { return true; } return false; } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.ups.com/XMLSchema/XOLTWS/UPSS/v1.0")] [System.Xml.Serialization.XmlRootAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/UPSS/v1.0", IsNullable=false)] public partial class UPSSecurity : System.Web.Services.Protocols.SoapHeader { private UPSSecurityUsernameToken usernameTokenField; private UPSSecurityServiceAccessToken serviceAccessTokenField; /// public UPSSecurityUsernameToken UsernameToken { get { return this.usernameTokenField; } set { this.usernameTokenField = value; } } /// public UPSSecurityServiceAccessToken ServiceAccessToken { get { return this.serviceAccessTokenField; } set { this.serviceAccessTokenField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.ups.com/XMLSchema/XOLTWS/UPSS/v1.0")] public partial class UPSSecurityUsernameToken { private string usernameField; private string passwordField; /// public string Username { get { return this.usernameField; } set { this.usernameField = value; } } /// public string Password { get { return this.passwordField; } set { this.passwordField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class PickupDateRangeType { private string beginDateField; private string endDateField; /// public string BeginDate { get { return this.beginDateField; } set { this.beginDateField = value; } } /// public string EndDate { get { return this.endDateField; } set { this.endDateField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class TrackingCandidateType { private string trackingNumberField; private string destinationPostalCodeField; private string destinationCountryCodeField; private PickupDateRangeType pickupDateRangeField; /// public string TrackingNumber { get { return this.trackingNumberField; } set { this.trackingNumberField = value; } } /// public string DestinationPostalCode { get { return this.destinationPostalCodeField; } set { this.destinationPostalCodeField = value; } } /// public string DestinationCountryCode { get { return this.destinationCountryCodeField; } set { this.destinationCountryCodeField = value; } } /// public PickupDateRangeType PickupDateRange { get { return this.pickupDateRangeField; } set { this.pickupDateRangeField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class ImageType { private LabelImageFormatType imageFormatField; private string graphicImageField; /// public LabelImageFormatType ImageFormat { get { return this.imageFormatField; } set { this.imageFormatField = value; } } /// public string GraphicImage { get { return this.graphicImageField; } set { this.graphicImageField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class LabelImageFormatType { private string codeField; /// public string Code { get { return this.codeField; } set { this.codeField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class ReceiptType { private string hTMLImageField; private ImageType imageField; private string uRLField; /// public string HTMLImage { get { return this.hTMLImageField; } set { this.hTMLImageField = value; } } /// public ImageType Image { get { return this.imageField; } set { this.imageField = value; } } /// public string URL { get { return this.uRLField; } set { this.uRLField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class LabelImageType { private LabelImageFormatType labelImageFormatField; private string graphicImageField; private string hTMLImageField; private string pDF417Field; private string internationalSignatureGraphicImageField; private string uRLField; /// public LabelImageFormatType LabelImageFormat { get { return this.labelImageFormatField; } set { this.labelImageFormatField = value; } } /// public string GraphicImage { get { return this.graphicImageField; } set { this.graphicImageField = value; } } /// public string HTMLImage { get { return this.hTMLImageField; } set { this.hTMLImageField = value; } } /// public string PDF417 { get { return this.pDF417Field; } set { this.pDF417Field = value; } } /// public string InternationalSignatureGraphicImage { get { return this.internationalSignatureGraphicImageField; } set { this.internationalSignatureGraphicImageField = value; } } /// public string URL { get { return this.uRLField; } set { this.uRLField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class LabelResultsType { private string trackingNumberField; private LabelImageType labelImageField; private ReceiptType receiptField; private FormType formField; private string mailInnovationsTrackingNumberField; private LabelImageType mailInnovationsLabelImageField; /// public string TrackingNumber { get { return this.trackingNumberField; } set { this.trackingNumberField = value; } } /// public LabelImageType LabelImage { get { return this.labelImageField; } set { this.labelImageField = value; } } /// public ReceiptType Receipt { get { return this.receiptField; } set { this.receiptField = value; } } /// public FormType Form { get { return this.formField; } set { this.formField = value; } } /// public string MailInnovationsTrackingNumber { get { return this.mailInnovationsTrackingNumberField; } set { this.mailInnovationsTrackingNumberField = value; } } /// public LabelImageType MailInnovationsLabelImage { get { return this.mailInnovationsLabelImageField; } set { this.mailInnovationsLabelImageField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class FormType { private FormImageType imageField; /// public FormImageType Image { get { return this.imageField; } set { this.imageField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class FormImageType { private ImageFormatCodeType imageFormatField; private string graphicImageField; /// public ImageFormatCodeType ImageFormat { get { return this.imageFormatField; } set { this.imageFormatField = value; } } /// public string GraphicImage { get { return this.graphicImageField; } set { this.graphicImageField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class ImageFormatCodeType { private string codeField; private string descriptionField; /// public string Code { get { return this.codeField; } set { this.codeField = value; } } /// public string Description { get { return this.descriptionField; } set { this.descriptionField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class HVRImageType { private ImageFormatCodeType imageFormatField; private string graphicImageField; /// public ImageFormatCodeType ImageFormat { get { return this.imageFormatField; } set { this.imageFormatField = value; } } /// public string GraphicImage { get { return this.graphicImageField; } set { this.graphicImageField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class HighValueReportType { private HVRImageType imageField; /// public HVRImageType Image { get { return this.imageField; } set { this.imageField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class ResponseImageDetailType { private ImageFormatCodeType imageFormatField; private string graphicImageField; /// public ImageFormatCodeType ImageFormat { get { return this.imageFormatField; } set { this.imageFormatField = value; } } /// public string GraphicImage { get { return this.graphicImageField; } set { this.graphicImageField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class ResponseImageType { private ResponseImageDetailType imageField; /// public ResponseImageDetailType Image { get { return this.imageField; } set { this.imageField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0")] public partial class ElementIdentifierType { private string codeField; private string valueField; /// public string Code { get { return this.codeField; } set { this.codeField = value; } } /// public string Value { get { return this.valueField; } set { this.valueField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0")] public partial class ElementLevelInformationType { private string levelField; private ElementIdentifierType[] elementIdentifierField; /// public string Level { get { return this.levelField; } set { this.levelField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("ElementIdentifier")] public ElementIdentifierType[] ElementIdentifier { get { return this.elementIdentifierField; } set { this.elementIdentifierField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0")] public partial class DetailType { private string codeField; private string descriptionField; private ElementLevelInformationType elementLevelInformationField; /// public string Code { get { return this.codeField; } set { this.codeField = value; } } /// public string Description { get { return this.descriptionField; } set { this.descriptionField = value; } } /// public ElementLevelInformationType ElementLevelInformation { get { return this.elementLevelInformationField; } set { this.elementLevelInformationField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0")] public partial class CodeDescriptionType { private string codeField; private string descriptionField; /// public string Code { get { return this.codeField; } set { this.codeField = value; } } /// public string Description { get { return this.descriptionField; } set { this.descriptionField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0")] public partial class ResponseType { private CodeDescriptionType responseStatusField; private CodeDescriptionType[] alertField; private DetailType[] alertDetailField; private TransactionReferenceType transactionReferenceField; /// public CodeDescriptionType ResponseStatus { get { return this.responseStatusField; } set { this.responseStatusField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("Alert")] public CodeDescriptionType[] Alert { get { return this.alertField; } set { this.alertField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("AlertDetail")] public DetailType[] AlertDetail { get { return this.alertDetailField; } set { this.alertDetailField = value; } } /// public TransactionReferenceType TransactionReference { get { return this.transactionReferenceField; } set { this.transactionReferenceField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0")] public partial class TransactionReferenceType { private string customerContextField; private string transactionIdentifierField; /// public string CustomerContext { get { return this.customerContextField; } set { this.customerContextField = value; } } /// public string TransactionIdentifier { get { return this.transactionIdentifierField; } set { this.transactionIdentifierField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class LRUPSPremiumCareFormType { private string pageSizeField; private string printTypeField; /// public string PageSize { get { return this.pageSizeField; } set { this.pageSizeField = value; } } /// public string PrintType { get { return this.printTypeField; } set { this.printTypeField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class ReferenceNumberType { private string valueField; /// public string Value { get { return this.valueField; } set { this.valueField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class ReferenceValuesType { private ReferenceNumberType referenceNumberField; private string shipperNumberField; /// public ReferenceNumberType ReferenceNumber { get { return this.referenceNumberField; } set { this.referenceNumberField = value; } } /// public string ShipperNumber { get { return this.shipperNumberField; } set { this.shipperNumberField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class LabelDeliveryType { private string labelLinkIndicatorField; /// public string LabelLinkIndicator { get { return this.labelLinkIndicatorField; } set { this.labelLinkIndicatorField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class TranslateType { private string languageCodeField; private string dialectCodeField; private string codeField; /// public string LanguageCode { get { return this.languageCodeField; } set { this.languageCodeField = value; } } /// public string DialectCode { get { return this.dialectCodeField; } set { this.dialectCodeField = value; } } /// public string Code { get { return this.codeField; } set { this.codeField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class LabelStockSizeType { private string heightField; private string widthField; /// public string Height { get { return this.heightField; } set { this.heightField = value; } } /// public string Width { get { return this.widthField; } set { this.widthField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class LabelSpecificationType { private string hTTPUserAgentField; private LabelImageFormatType labelImageFormatField; private LabelStockSizeType labelStockSizeField; /// public string HTTPUserAgent { get { return this.hTTPUserAgentField; } set { this.hTTPUserAgentField = value; } } /// public LabelImageFormatType LabelImageFormat { get { return this.labelImageFormatField; } set { this.labelImageFormatField = value; } } /// public LabelStockSizeType LabelStockSize { get { return this.labelStockSizeField; } set { this.labelStockSizeField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0")] public partial class RequestType { private string[] requestOptionField; private string subVersionField; private TransactionReferenceType transactionReferenceField; /// [System.Xml.Serialization.XmlElementAttribute("RequestOption")] public string[] RequestOption { get { return this.requestOptionField; } set { this.requestOptionField = value; } } /// public string SubVersion { get { return this.subVersionField; } set { this.subVersionField = value; } } /// public TransactionReferenceType TransactionReference { get { return this.transactionReferenceField; } set { this.transactionReferenceField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.ups.com/XMLSchema/XOLTWS/UPSS/v1.0")] public partial class UPSSecurityServiceAccessToken { private string accessLicenseNumberField; /// public string AccessLicenseNumber { get { return this.accessLicenseNumberField; } set { this.accessLicenseNumberField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class LabelRecoveryRequest { private RequestType requestField; private LabelSpecificationType labelSpecificationField; private TranslateType translateField; private LabelDeliveryType labelDeliveryField; private string trackingNumberField; private string mailInnovationsTrackingNumberField; private ReferenceValuesType referenceValuesField; private LRUPSPremiumCareFormType uPSPremiumCareFormField; /// [System.Xml.Serialization.XmlElementAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0")] public RequestType Request { get { return this.requestField; } set { this.requestField = value; } } /// public LabelSpecificationType LabelSpecification { get { return this.labelSpecificationField; } set { this.labelSpecificationField = value; } } /// public TranslateType Translate { get { return this.translateField; } set { this.translateField = value; } } /// public LabelDeliveryType LabelDelivery { get { return this.labelDeliveryField; } set { this.labelDeliveryField = value; } } /// public string TrackingNumber { get { return this.trackingNumberField; } set { this.trackingNumberField = value; } } /// public string MailInnovationsTrackingNumber { get { return this.mailInnovationsTrackingNumberField; } set { this.mailInnovationsTrackingNumberField = value; } } /// public ReferenceValuesType ReferenceValues { get { return this.referenceValuesField; } set { this.referenceValuesField = value; } } /// public LRUPSPremiumCareFormType UPSPremiumCareForm { get { return this.uPSPremiumCareFormField; } set { this.uPSPremiumCareFormField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.ups.com/XMLSchema/XOLTWS/LBRecovery/v1.0")] public partial class LabelRecoveryResponse { private ResponseType responseField; private string shipmentIdentificationNumberField; private ResponseImageType cODTurnInPageField; private FormType formField; private HighValueReportType highValueReportField; private object[] itemsField; /// [System.Xml.Serialization.XmlElementAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0")] public ResponseType Response { get { return this.responseField; } set { this.responseField = value; } } /// public string ShipmentIdentificationNumber { get { return this.shipmentIdentificationNumberField; } set { this.shipmentIdentificationNumberField = value; } } /// public ResponseImageType CODTurnInPage { get { return this.cODTurnInPageField; } set { this.cODTurnInPageField = value; } } /// public FormType Form { get { return this.formField; } set { this.formField = value; } } /// public HighValueReportType HighValueReport { get { return this.highValueReportField; } set { this.highValueReportField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("LabelResults", typeof(LabelResultsType))] [System.Xml.Serialization.XmlElementAttribute("TrackingCandidate", typeof(TrackingCandidateType))] public object[] Items { get { return this.itemsField; } set { this.itemsField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] public delegate void ProcessLabelRecoveryCompletedEventHandler(object sender, ProcessLabelRecoveryCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class ProcessLabelRecoveryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal ProcessLabelRecoveryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public LabelRecoveryResponse Result { get { this.RaiseExceptionIfNecessary(); return ((LabelRecoveryResponse)(this.results[0])); } } } } #pragma warning restore 1591