//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ // // 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。 // #pragma warning disable 1591 namespace TradeManageNew.RateWebReference { 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="RateBinding", Namespace="http://www.ups.com/WSDL/XOLTWS/Rate/v1.1")] public partial class RateService : System.Web.Services.Protocols.SoapHttpClientProtocol { private UPSSecurity uPSSecurityValueField; private System.Threading.SendOrPostCallback ProcessRateOperationCompleted; private bool useDefaultCredentialsSetExplicitly; /// public RateService() { this.Url = global::TradeManageNew.Properties.Settings.Default.TradeManageNew_RateWebReference_RateService; 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 ProcessRateCompletedEventHandler ProcessRateCompleted; /// [System.Web.Services.Protocols.SoapHeaderAttribute("UPSSecurityValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://onlinetools.ups.com/webservices/RateBinding/v1.1", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)] [return: System.Xml.Serialization.XmlElementAttribute("RateResponse", Namespace="http://www.ups.com/XMLSchema/XOLTWS/Rate/v1.1")] public RateResponse ProcessRate([System.Xml.Serialization.XmlElementAttribute(Namespace="http://www.ups.com/XMLSchema/XOLTWS/Rate/v1.1")] RateRequest RateRequest) { object[] results = this.Invoke("ProcessRate", new object[] { RateRequest}); return ((RateResponse)(results[0])); } /// public void ProcessRateAsync(RateRequest RateRequest) { this.ProcessRateAsync(RateRequest, null); } /// public void ProcessRateAsync(RateRequest RateRequest, object userState) { if ((this.ProcessRateOperationCompleted == null)) { this.ProcessRateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnProcessRateOperationCompleted); } this.InvokeAsync("ProcessRate", new object[] { RateRequest}, this.ProcessRateOperationCompleted, userState); } private void OnProcessRateOperationCompleted(object arg) { if ((this.ProcessRateCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ProcessRateCompleted(this, new ProcessRateCompletedEventArgs(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/Rate/v1.1")] public partial class EstimatedArrivalType { private PickupType arrivalField; private string businessDaysInTransitField; private PickupType pickupField; private string dayOfWeekField; private string customerCenterCutoffField; private string delayCountField; private string holidayCountField; private string restDaysField; private string totalTransitDaysField; /// public PickupType Arrival { get { return this.arrivalField; } set { this.arrivalField = value; } } /// public string BusinessDaysInTransit { get { return this.businessDaysInTransitField; } set { this.businessDaysInTransitField = value; } } /// public PickupType Pickup { get { return this.pickupField; } set { this.pickupField = value; } } /// public string DayOfWeek { get { return this.dayOfWeekField; } set { this.dayOfWeekField = value; } } /// public string CustomerCenterCutoff { get { return this.customerCenterCutoffField; } set { this.customerCenterCutoffField = value; } } /// public string DelayCount { get { return this.delayCountField; } set { this.delayCountField = value; } } /// public string HolidayCount { get { return this.holidayCountField; } set { this.holidayCountField = value; } } /// public string RestDays { get { return this.restDaysField; } set { this.restDaysField = value; } } /// public string TotalTransitDays { get { return this.totalTransitDaysField; } set { this.totalTransitDaysField = 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/Rate/v1.1")] public partial class PickupType { private string dateField; private string timeField; /// public string Date { get { return this.dateField; } set { this.dateField = value; } } /// public string Time { get { return this.timeField; } set { this.timeField = 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/Rate/v1.1")] public partial class ServiceSummaryType { private CodeDescriptionType serviceField; private EstimatedArrivalType estimatedArrivalField; private string guaranteedIndicatorField; private string disclaimerField; private string saturdayDeliveryField; private string saturdayDeliveryDisclaimerField; /// public CodeDescriptionType Service { get { return this.serviceField; } set { this.serviceField = value; } } /// public EstimatedArrivalType EstimatedArrival { get { return this.estimatedArrivalField; } set { this.estimatedArrivalField = value; } } /// public string GuaranteedIndicator { get { return this.guaranteedIndicatorField; } set { this.guaranteedIndicatorField = value; } } /// public string Disclaimer { get { return this.disclaimerField; } set { this.disclaimerField = value; } } /// public string SaturdayDelivery { get { return this.saturdayDeliveryField; } set { this.saturdayDeliveryField = value; } } /// public string SaturdayDeliveryDisclaimer { get { return this.saturdayDeliveryDisclaimerField; } set { this.saturdayDeliveryDisclaimerField = 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/Rate/v1.1")] 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/Rate/v1.1")] public partial class TimeInTransitResponseType { private string pickupDateField; private string documentsOnlyIndicatorField; private string packageBillTypeField; private string autoDutyCodeField; private string disclaimerField; private ServiceSummaryType serviceSummaryField; /// public string PickupDate { get { return this.pickupDateField; } set { this.pickupDateField = value; } } /// public string DocumentsOnlyIndicator { get { return this.documentsOnlyIndicatorField; } set { this.documentsOnlyIndicatorField = value; } } /// public string PackageBillType { get { return this.packageBillTypeField; } set { this.packageBillTypeField = value; } } /// public string AutoDutyCode { get { return this.autoDutyCodeField; } set { this.autoDutyCodeField = value; } } /// public string Disclaimer { get { return this.disclaimerField; } set { this.disclaimerField = value; } } /// public ServiceSummaryType ServiceSummary { get { return this.serviceSummaryField; } set { this.serviceSummaryField = 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/Rate/v1.1")] public partial class AccessorialType { 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/Rate/v1.1")] public partial class RatedPackageType { private ChargesType transportationChargesField; private ChargesType baseServiceChargeField; private ChargesType serviceOptionsChargesField; private ChargesType totalChargesField; private string weightField; private BillingWeightType billingWeightField; private AccessorialType[] accessorialField; private ChargesType[] itemizedChargesField; private ChargesType[] negotiatedChargesField; /// public ChargesType TransportationCharges { get { return this.transportationChargesField; } set { this.transportationChargesField = value; } } /// public ChargesType BaseServiceCharge { get { return this.baseServiceChargeField; } set { this.baseServiceChargeField = value; } } /// public ChargesType ServiceOptionsCharges { get { return this.serviceOptionsChargesField; } set { this.serviceOptionsChargesField = value; } } /// public ChargesType TotalCharges { get { return this.totalChargesField; } set { this.totalChargesField = value; } } /// public string Weight { get { return this.weightField; } set { this.weightField = value; } } /// public BillingWeightType BillingWeight { get { return this.billingWeightField; } set { this.billingWeightField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("Accessorial")] public AccessorialType[] Accessorial { get { return this.accessorialField; } set { this.accessorialField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("ItemizedCharges")] public ChargesType[] ItemizedCharges { get { return this.itemizedChargesField; } set { this.itemizedChargesField = value; } } /// [System.Xml.Serialization.XmlArrayItemAttribute("ItemizedCharges", IsNullable=false)] public ChargesType[] NegotiatedCharges { get { return this.negotiatedChargesField; } set { this.negotiatedChargesField = 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/Rate/v1.1")] public partial class ChargesType { private string codeField; private string descriptionField; private string currencyCodeField; private string monetaryValueField; private string subTypeField; /// public string Code { get { return this.codeField; } set { this.codeField = value; } } /// public string Description { get { return this.descriptionField; } set { this.descriptionField = value; } } /// public string CurrencyCode { get { return this.currencyCodeField; } set { this.currencyCodeField = value; } } /// public string MonetaryValue { get { return this.monetaryValueField; } set { this.monetaryValueField = value; } } /// public string SubType { get { return this.subTypeField; } set { this.subTypeField = 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/Rate/v1.1")] public partial class BillingWeightType { private CodeDescriptionType unitOfMeasurementField; private string weightField; /// public CodeDescriptionType UnitOfMeasurement { get { return this.unitOfMeasurementField; } set { this.unitOfMeasurementField = value; } } /// public string Weight { get { return this.weightField; } set { this.weightField = 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/Rate/v1.1")] public partial class GuaranteedDeliveryType { private string businessDaysInTransitField; private string deliveryByTimeField; /// public string BusinessDaysInTransit { get { return this.businessDaysInTransitField; } set { this.businessDaysInTransitField = value; } } /// public string DeliveryByTime { get { return this.deliveryByTimeField; } set { this.deliveryByTimeField = 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/Rate/v1.1")] public partial class TotalChargeType { private ChargesType[] itemizedChargesField; private TaxChargeType[] taxChargesField; private ChargesType totalChargeField; private ChargesType totalChargesWithTaxesField; /// [System.Xml.Serialization.XmlElementAttribute("ItemizedCharges")] public ChargesType[] ItemizedCharges { get { return this.itemizedChargesField; } set { this.itemizedChargesField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("TaxCharges")] public TaxChargeType[] TaxCharges { get { return this.taxChargesField; } set { this.taxChargesField = value; } } /// public ChargesType TotalCharge { get { return this.totalChargeField; } set { this.totalChargeField = value; } } /// public ChargesType TotalChargesWithTaxes { get { return this.totalChargesWithTaxesField; } set { this.totalChargesWithTaxesField = 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/Rate/v1.1")] public partial class TaxChargeType { private string typeField; private string monetaryValueField; /// public string Type { get { return this.typeField; } set { this.typeField = value; } } /// public string MonetaryValue { get { return this.monetaryValueField; } set { this.monetaryValueField = 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/Rate/v1.1")] public partial class HandlingUnitsResponseType { private string quantityField; private CodeDescriptionType typeField; private HandlingUnitsDimensionsType dimensionsField; private AdjustedHeightType adjustedHeightField; /// public string Quantity { get { return this.quantityField; } set { this.quantityField = value; } } /// public CodeDescriptionType Type { get { return this.typeField; } set { this.typeField = value; } } /// public HandlingUnitsDimensionsType Dimensions { get { return this.dimensionsField; } set { this.dimensionsField = value; } } /// public AdjustedHeightType AdjustedHeight { get { return this.adjustedHeightField; } set { this.adjustedHeightField = 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/Rate/v1.1")] public partial class HandlingUnitsDimensionsType { private CodeDescriptionType unitOfMeasurementField; private string lengthField; private string widthField; private string heightField; /// public CodeDescriptionType UnitOfMeasurement { get { return this.unitOfMeasurementField; } set { this.unitOfMeasurementField = value; } } /// public string Length { get { return this.lengthField; } set { this.lengthField = value; } } /// public string Width { get { return this.widthField; } set { this.widthField = value; } } /// public string Height { get { return this.heightField; } set { this.heightField = 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/Rate/v1.1")] public partial class AdjustedHeightType { private string valueField; private CodeDescriptionType unitOfMeasurementField; /// public string Value { get { return this.valueField; } set { this.valueField = value; } } /// public CodeDescriptionType UnitOfMeasurement { get { return this.unitOfMeasurementField; } set { this.unitOfMeasurementField = 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/Rate/v1.1")] public partial class FreightDensityRateType { private string densityField; private string totalCubicFeetField; /// public string Density { get { return this.densityField; } set { this.densityField = value; } } /// public string TotalCubicFeet { get { return this.totalCubicFeetField; } set { this.totalCubicFeetField = 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/Rate/v1.1")] public partial class TransportationChargesType { private ChargesType grossChargeField; private ChargesType discountAmountField; private string discountPercentageField; private ChargesType netChargeField; /// public ChargesType GrossCharge { get { return this.grossChargeField; } set { this.grossChargeField = value; } } /// public ChargesType DiscountAmount { get { return this.discountAmountField; } set { this.discountAmountField = value; } } /// public string DiscountPercentage { get { return this.discountPercentageField; } set { this.discountPercentageField = value; } } /// public ChargesType NetCharge { get { return this.netChargeField; } set { this.netChargeField = 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/Rate/v1.1")] public partial class FRSShipmentType { private TransportationChargesType transportationChargesField; private FreightDensityRateType freightDensityRateField; private HandlingUnitsResponseType[] handlingUnitsField; /// public TransportationChargesType TransportationCharges { get { return this.transportationChargesField; } set { this.transportationChargesField = value; } } /// public FreightDensityRateType FreightDensityRate { get { return this.freightDensityRateField; } set { this.freightDensityRateField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("HandlingUnits")] public HandlingUnitsResponseType[] HandlingUnits { get { return this.handlingUnitsField; } set { this.handlingUnitsField = 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/Rate/v1.1")] public partial class RatedShipmentInfoType { 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/Rate/v1.1")] public partial class DisclaimerType { 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/Rate/v1.1")] public partial class RatedShipmentType { private DisclaimerType[] disclaimerField; private CodeDescriptionType serviceField; private string rateChartField; private RatedShipmentInfoType[] ratedShipmentAlertField; private string billableWeightCalculationMethodField; private string ratingMethodField; private BillingWeightType billingWeightField; private ChargesType transportationChargesField; private ChargesType baseServiceChargeField; private ChargesType[] itemizedChargesField; private FRSShipmentType fRSShipmentDataField; private ChargesType serviceOptionsChargesField; private TaxChargeType[] taxChargesField; private ChargesType totalChargesField; private ChargesType totalChargesWithTaxesField; private TotalChargeType negotiatedRateChargesField; private GuaranteedDeliveryType guaranteedDeliveryField; private RatedPackageType[] ratedPackageField; private TimeInTransitResponseType timeInTransitField; /// [System.Xml.Serialization.XmlElementAttribute("Disclaimer")] public DisclaimerType[] Disclaimer { get { return this.disclaimerField; } set { this.disclaimerField = value; } } /// public CodeDescriptionType Service { get { return this.serviceField; } set { this.serviceField = value; } } /// public string RateChart { get { return this.rateChartField; } set { this.rateChartField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("RatedShipmentAlert")] public RatedShipmentInfoType[] RatedShipmentAlert { get { return this.ratedShipmentAlertField; } set { this.ratedShipmentAlertField = value; } } /// public string BillableWeightCalculationMethod { get { return this.billableWeightCalculationMethodField; } set { this.billableWeightCalculationMethodField = value; } } /// public string RatingMethod { get { return this.ratingMethodField; } set { this.ratingMethodField = value; } } /// public BillingWeightType BillingWeight { get { return this.billingWeightField; } set { this.billingWeightField = value; } } /// public ChargesType TransportationCharges { get { return this.transportationChargesField; } set { this.transportationChargesField = value; } } /// public ChargesType BaseServiceCharge { get { return this.baseServiceChargeField; } set { this.baseServiceChargeField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("ItemizedCharges")] public ChargesType[] ItemizedCharges { get { return this.itemizedChargesField; } set { this.itemizedChargesField = value; } } /// public FRSShipmentType FRSShipmentData { get { return this.fRSShipmentDataField; } set { this.fRSShipmentDataField = value; } } /// public ChargesType ServiceOptionsCharges { get { return this.serviceOptionsChargesField; } set { this.serviceOptionsChargesField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("TaxCharges")] public TaxChargeType[] TaxCharges { get { return this.taxChargesField; } set { this.taxChargesField = value; } } /// public ChargesType TotalCharges { get { return this.totalChargesField; } set { this.totalChargesField = value; } } /// public ChargesType TotalChargesWithTaxes { get { return this.totalChargesWithTaxesField; } set { this.totalChargesWithTaxesField = value; } } /// public TotalChargeType NegotiatedRateCharges { get { return this.negotiatedRateChargesField; } set { this.negotiatedRateChargesField = value; } } /// public GuaranteedDeliveryType GuaranteedDelivery { get { return this.guaranteedDeliveryField; } set { this.guaranteedDeliveryField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("RatedPackage")] public RatedPackageType[] RatedPackage { get { return this.ratedPackageField; } set { this.ratedPackageField = value; } } /// public TimeInTransitResponseType TimeInTransit { get { return this.timeInTransitField; } set { this.timeInTransitField = 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(TypeName="CodeDescriptionType", Namespace="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0")] public partial class CodeDescriptionType1 { 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 CodeDescriptionType1 responseStatusField; private CodeDescriptionType1[] alertField; private DetailType[] alertDetailField; private TransactionReferenceType transactionReferenceField; /// public CodeDescriptionType1 ResponseStatus { get { return this.responseStatusField; } set { this.responseStatusField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("Alert")] public CodeDescriptionType1[] 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/Rate/v1.1")] public partial class ReturnContractServicesType { 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/Rate/v1.1")] public partial class TimeInTransitRequestType { private string packageBillTypeField; private PickupType pickupField; private ReturnContractServicesType[] returnContractServicesField; /// public string PackageBillType { get { return this.packageBillTypeField; } set { this.packageBillTypeField = value; } } /// public PickupType Pickup { get { return this.pickupField; } set { this.pickupField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("ReturnContractServices")] public ReturnContractServicesType[] ReturnContractServices { get { return this.returnContractServicesField; } set { this.returnContractServicesField = 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/Rate/v1.1")] public partial class PromotionalDiscountInformationType { private string promoCodeField; private string promoAliasCodeField; /// public string PromoCode { get { return this.promoCodeField; } set { this.promoCodeField = value; } } /// public string PromoAliasCode { get { return this.promoAliasCodeField; } set { this.promoAliasCodeField = 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/Rate/v1.1")] public partial class InvoiceLineTotalType { private string currencyCodeField; private string monetaryValueField; /// public string CurrencyCode { get { return this.currencyCodeField; } set { this.currencyCodeField = value; } } /// public string MonetaryValue { get { return this.monetaryValueField; } set { this.monetaryValueField = 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/Rate/v1.1")] public partial class ShipmentRatingOptionsType { private string negotiatedRatesIndicatorField; private string fRSShipmentIndicatorField; private string rateChartIndicatorField; private string userLevelDiscountIndicatorField; /// public string NegotiatedRatesIndicator { get { return this.negotiatedRatesIndicatorField; } set { this.negotiatedRatesIndicatorField = value; } } /// public string FRSShipmentIndicator { get { return this.fRSShipmentIndicatorField; } set { this.fRSShipmentIndicatorField = value; } } /// public string RateChartIndicator { get { return this.rateChartIndicatorField; } set { this.rateChartIndicatorField = value; } } /// public string UserLevelDiscountIndicator { get { return this.userLevelDiscountIndicatorField; } set { this.userLevelDiscountIndicatorField = 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/Rate/v1.1")] public partial class ReturnServiceType { 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/Rate/v1.1")] public partial class ImportControlType { 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/Rate/v1.1")] public partial class RestrictedArticlesType { private string alcoholicBeveragesIndicatorField; private string diagnosticSpecimensIndicatorField; private string perishablesIndicatorField; private string plantsIndicatorField; private string seedsIndicatorField; private string specialExceptionsIndicatorField; private string tobaccoIndicatorField; /// public string AlcoholicBeveragesIndicator { get { return this.alcoholicBeveragesIndicatorField; } set { this.alcoholicBeveragesIndicatorField = value; } } /// public string DiagnosticSpecimensIndicator { get { return this.diagnosticSpecimensIndicatorField; } set { this.diagnosticSpecimensIndicatorField = value; } } /// public string PerishablesIndicator { get { return this.perishablesIndicatorField; } set { this.perishablesIndicatorField = value; } } /// public string PlantsIndicator { get { return this.plantsIndicatorField; } set { this.plantsIndicatorField = value; } } /// public string SeedsIndicator { get { return this.seedsIndicatorField; } set { this.seedsIndicatorField = value; } } /// public string SpecialExceptionsIndicator { get { return this.specialExceptionsIndicatorField; } set { this.specialExceptionsIndicatorField = value; } } /// public string TobaccoIndicator { get { return this.tobaccoIndicatorField; } set { this.tobaccoIndicatorField = 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/Rate/v1.1")] public partial class DeliveryOptionsType { private string liftGateAtDeliveryIndicatorField; private string dropOffAtUPSFacilityIndicatorField; /// public string LiftGateAtDeliveryIndicator { get { return this.liftGateAtDeliveryIndicatorField; } set { this.liftGateAtDeliveryIndicatorField = value; } } /// public string DropOffAtUPSFacilityIndicator { get { return this.dropOffAtUPSFacilityIndicatorField; } set { this.dropOffAtUPSFacilityIndicatorField = 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/Rate/v1.1")] public partial class PickupOptionsType { private string liftGateAtPickupIndicatorField; private string holdForPickupIndicatorField; /// public string LiftGateAtPickupIndicator { get { return this.liftGateAtPickupIndicatorField; } set { this.liftGateAtPickupIndicatorField = value; } } /// public string HoldForPickupIndicator { get { return this.holdForPickupIndicatorField; } set { this.holdForPickupIndicatorField = 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/Rate/v1.1")] public partial class ShipmentServiceOptionsAccessPointCODType { private string currencyCodeField; private string monetaryValueField; /// public string CurrencyCode { get { return this.currencyCodeField; } set { this.currencyCodeField = value; } } /// public string MonetaryValue { get { return this.monetaryValueField; } set { this.monetaryValueField = 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/Rate/v1.1")] public partial class ShipmentServiceOptionsType { private string saturdayPickupIndicatorField; private string saturdayDeliveryIndicatorField; private ShipmentServiceOptionsAccessPointCODType accessPointCODField; private string deliverToAddresseeOnlyIndicatorField; private string directDeliveryOnlyIndicatorField; private CODType cODField; private DeliveryConfirmationType deliveryConfirmationField; private string returnOfDocumentIndicatorField; private string uPScarbonneutralIndicatorField; private string certificateOfOriginIndicatorField; private PickupOptionsType pickupOptionsField; private DeliveryOptionsType deliveryOptionsField; private RestrictedArticlesType restrictedArticlesField; private string shipperExportDeclarationIndicatorField; private string commercialInvoiceRemovalIndicatorField; private ImportControlType importControlField; private ReturnServiceType returnServiceField; private string sDLShipmentIndicatorField; private string ePRAIndicatorField; private string insideDeliveryField; private string itemDisposalIndicatorField; /// public string SaturdayPickupIndicator { get { return this.saturdayPickupIndicatorField; } set { this.saturdayPickupIndicatorField = value; } } /// public string SaturdayDeliveryIndicator { get { return this.saturdayDeliveryIndicatorField; } set { this.saturdayDeliveryIndicatorField = value; } } /// public ShipmentServiceOptionsAccessPointCODType AccessPointCOD { get { return this.accessPointCODField; } set { this.accessPointCODField = value; } } /// public string DeliverToAddresseeOnlyIndicator { get { return this.deliverToAddresseeOnlyIndicatorField; } set { this.deliverToAddresseeOnlyIndicatorField = value; } } /// public string DirectDeliveryOnlyIndicator { get { return this.directDeliveryOnlyIndicatorField; } set { this.directDeliveryOnlyIndicatorField = value; } } /// public CODType COD { get { return this.cODField; } set { this.cODField = value; } } /// public DeliveryConfirmationType DeliveryConfirmation { get { return this.deliveryConfirmationField; } set { this.deliveryConfirmationField = value; } } /// public string ReturnOfDocumentIndicator { get { return this.returnOfDocumentIndicatorField; } set { this.returnOfDocumentIndicatorField = value; } } /// public string UPScarbonneutralIndicator { get { return this.uPScarbonneutralIndicatorField; } set { this.uPScarbonneutralIndicatorField = value; } } /// public string CertificateOfOriginIndicator { get { return this.certificateOfOriginIndicatorField; } set { this.certificateOfOriginIndicatorField = value; } } /// public PickupOptionsType PickupOptions { get { return this.pickupOptionsField; } set { this.pickupOptionsField = value; } } /// public DeliveryOptionsType DeliveryOptions { get { return this.deliveryOptionsField; } set { this.deliveryOptionsField = value; } } /// public RestrictedArticlesType RestrictedArticles { get { return this.restrictedArticlesField; } set { this.restrictedArticlesField = value; } } /// public string ShipperExportDeclarationIndicator { get { return this.shipperExportDeclarationIndicatorField; } set { this.shipperExportDeclarationIndicatorField = value; } } /// public string CommercialInvoiceRemovalIndicator { get { return this.commercialInvoiceRemovalIndicatorField; } set { this.commercialInvoiceRemovalIndicatorField = value; } } /// public ImportControlType ImportControl { get { return this.importControlField; } set { this.importControlField = value; } } /// public ReturnServiceType ReturnService { get { return this.returnServiceField; } set { this.returnServiceField = value; } } /// public string SDLShipmentIndicator { get { return this.sDLShipmentIndicatorField; } set { this.sDLShipmentIndicatorField = value; } } /// public string EPRAIndicator { get { return this.ePRAIndicatorField; } set { this.ePRAIndicatorField = value; } } /// public string InsideDelivery { get { return this.insideDeliveryField; } set { this.insideDeliveryField = value; } } /// public string ItemDisposalIndicator { get { return this.itemDisposalIndicatorField; } set { this.itemDisposalIndicatorField = 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/Rate/v1.1")] public partial class CODType { private string cODFundsCodeField; private CODAmountType cODAmountField; /// public string CODFundsCode { get { return this.cODFundsCodeField; } set { this.cODFundsCodeField = value; } } /// public CODAmountType CODAmount { get { return this.cODAmountField; } set { this.cODAmountField = 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/Rate/v1.1")] public partial class CODAmountType { private string currencyCodeField; private string monetaryValueField; /// public string CurrencyCode { get { return this.currencyCodeField; } set { this.currencyCodeField = value; } } /// public string MonetaryValue { get { return this.monetaryValueField; } set { this.monetaryValueField = 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/Rate/v1.1")] public partial class DeliveryConfirmationType { private string dCISTypeField; /// public string DCISType { get { return this.dCISTypeField; } set { this.dCISTypeField = 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/Rate/v1.1")] public partial class DryIceWeightType { private CodeDescriptionType unitOfMeasurementField; private string weightField; /// public CodeDescriptionType UnitOfMeasurement { get { return this.unitOfMeasurementField; } set { this.unitOfMeasurementField = value; } } /// public string Weight { get { return this.weightField; } set { this.weightField = 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/Rate/v1.1")] public partial class DryIceType { private string regulationSetField; private DryIceWeightType dryIceWeightField; private string medicalUseIndicatorField; private string auditRequiredField; /// public string RegulationSet { get { return this.regulationSetField; } set { this.regulationSetField = value; } } /// public DryIceWeightType DryIceWeight { get { return this.dryIceWeightField; } set { this.dryIceWeightField = value; } } /// public string MedicalUseIndicator { get { return this.medicalUseIndicatorField; } set { this.medicalUseIndicatorField = value; } } /// public string AuditRequired { get { return this.auditRequiredField; } set { this.auditRequiredField = 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/Rate/v1.1")] public partial class HazMatChemicalRecordType { private string chemicalRecordIdentifierField; private string classDivisionNumberField; private string iDNumberField; private string transportationModeField; private string regulationSetField; private string emergencyPhoneField; private string emergencyContactField; private string reportableQuantityField; private string subRiskClassField; private string packagingGroupTypeField; private string quantityField; private string uOMField; private string packagingInstructionCodeField; private string properShippingNameField; private string technicalNameField; private string additionalDescriptionField; private string packagingTypeField; private string hazardLabelRequiredField; private string packagingTypeQuantityField; private string commodityRegulatedLevelCodeField; private string transportCategoryField; private string tunnelRestrictionCodeField; /// public string ChemicalRecordIdentifier { get { return this.chemicalRecordIdentifierField; } set { this.chemicalRecordIdentifierField = value; } } /// public string ClassDivisionNumber { get { return this.classDivisionNumberField; } set { this.classDivisionNumberField = value; } } /// public string IDNumber { get { return this.iDNumberField; } set { this.iDNumberField = value; } } /// public string TransportationMode { get { return this.transportationModeField; } set { this.transportationModeField = value; } } /// public string RegulationSet { get { return this.regulationSetField; } set { this.regulationSetField = value; } } /// public string EmergencyPhone { get { return this.emergencyPhoneField; } set { this.emergencyPhoneField = value; } } /// public string EmergencyContact { get { return this.emergencyContactField; } set { this.emergencyContactField = value; } } /// public string ReportableQuantity { get { return this.reportableQuantityField; } set { this.reportableQuantityField = value; } } /// public string SubRiskClass { get { return this.subRiskClassField; } set { this.subRiskClassField = value; } } /// public string PackagingGroupType { get { return this.packagingGroupTypeField; } set { this.packagingGroupTypeField = value; } } /// public string Quantity { get { return this.quantityField; } set { this.quantityField = value; } } /// public string UOM { get { return this.uOMField; } set { this.uOMField = value; } } /// public string PackagingInstructionCode { get { return this.packagingInstructionCodeField; } set { this.packagingInstructionCodeField = value; } } /// public string ProperShippingName { get { return this.properShippingNameField; } set { this.properShippingNameField = value; } } /// public string TechnicalName { get { return this.technicalNameField; } set { this.technicalNameField = value; } } /// public string AdditionalDescription { get { return this.additionalDescriptionField; } set { this.additionalDescriptionField = value; } } /// public string PackagingType { get { return this.packagingTypeField; } set { this.packagingTypeField = value; } } /// public string HazardLabelRequired { get { return this.hazardLabelRequiredField; } set { this.hazardLabelRequiredField = value; } } /// public string PackagingTypeQuantity { get { return this.packagingTypeQuantityField; } set { this.packagingTypeQuantityField = value; } } /// public string CommodityRegulatedLevelCode { get { return this.commodityRegulatedLevelCodeField; } set { this.commodityRegulatedLevelCodeField = value; } } /// public string TransportCategory { get { return this.transportCategoryField; } set { this.transportCategoryField = value; } } /// public string TunnelRestrictionCode { get { return this.tunnelRestrictionCodeField; } set { this.tunnelRestrictionCodeField = 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/Rate/v1.1")] public partial class HazMatType { private string packageIdentifierField; private string qValueField; private string overPackedIndicatorField; private string allPackedInOneIndicatorField; private HazMatChemicalRecordType[] hazMatChemicalRecordField; /// public string PackageIdentifier { get { return this.packageIdentifierField; } set { this.packageIdentifierField = value; } } /// public string QValue { get { return this.qValueField; } set { this.qValueField = value; } } /// public string OverPackedIndicator { get { return this.overPackedIndicatorField; } set { this.overPackedIndicatorField = value; } } /// public string AllPackedInOneIndicator { get { return this.allPackedInOneIndicatorField; } set { this.allPackedInOneIndicatorField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("HazMatChemicalRecord")] public HazMatChemicalRecordType[] HazMatChemicalRecord { get { return this.hazMatChemicalRecordField; } set { this.hazMatChemicalRecordField = 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/Rate/v1.1")] public partial class InsuranceValueType { private string currencyCodeField; private string monetaryValueField; /// public string CurrencyCode { get { return this.currencyCodeField; } set { this.currencyCodeField = value; } } /// public string MonetaryValue { get { return this.monetaryValueField; } set { this.monetaryValueField = 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/Rate/v1.1")] public partial class InsuranceType { private InsuranceValueType basicFlexibleParcelIndicatorField; private InsuranceValueType extendedFlexibleParcelIndicatorField; private InsuranceValueType timeInTransitFlexibleParcelIndicatorField; /// public InsuranceValueType BasicFlexibleParcelIndicator { get { return this.basicFlexibleParcelIndicatorField; } set { this.basicFlexibleParcelIndicatorField = value; } } /// public InsuranceValueType ExtendedFlexibleParcelIndicator { get { return this.extendedFlexibleParcelIndicatorField; } set { this.extendedFlexibleParcelIndicatorField = value; } } /// public InsuranceValueType TimeInTransitFlexibleParcelIndicator { get { return this.timeInTransitFlexibleParcelIndicatorField; } set { this.timeInTransitFlexibleParcelIndicatorField = 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/Rate/v1.1")] public partial class ShipperDeclaredValueType { private string currencyCodeField; private string monetaryValueField; /// public string CurrencyCode { get { return this.currencyCodeField; } set { this.currencyCodeField = value; } } /// public string MonetaryValue { get { return this.monetaryValueField; } set { this.monetaryValueField = 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/Rate/v1.1")] public partial class InsuredValueType { private string currencyCodeField; private string monetaryValueField; /// public string CurrencyCode { get { return this.currencyCodeField; } set { this.currencyCodeField = value; } } /// public string MonetaryValue { get { return this.monetaryValueField; } set { this.monetaryValueField = 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/Rate/v1.1")] public partial class PackageServiceOptionsAccessPointCODType { private string currencyCodeField; private string monetaryValueField; /// public string CurrencyCode { get { return this.currencyCodeField; } set { this.currencyCodeField = value; } } /// public string MonetaryValue { get { return this.monetaryValueField; } set { this.monetaryValueField = 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/Rate/v1.1")] public partial class PackageServiceOptionsType { private DeliveryConfirmationType deliveryConfirmationField; private PackageServiceOptionsAccessPointCODType accessPointCODField; private CODType cODField; private InsuredValueType declaredValueField; private ShipperDeclaredValueType shipperDeclaredValueField; private string proactiveIndicatorField; private string refrigerationIndicatorField; private InsuranceType insuranceField; private string verbalConfirmationIndicatorField; private string uPSPremiumCareIndicatorField; private HazMatType hazMatField; private DryIceType dryIceField; /// public DeliveryConfirmationType DeliveryConfirmation { get { return this.deliveryConfirmationField; } set { this.deliveryConfirmationField = value; } } /// public PackageServiceOptionsAccessPointCODType AccessPointCOD { get { return this.accessPointCODField; } set { this.accessPointCODField = value; } } /// public CODType COD { get { return this.cODField; } set { this.cODField = value; } } /// public InsuredValueType DeclaredValue { get { return this.declaredValueField; } set { this.declaredValueField = value; } } /// public ShipperDeclaredValueType ShipperDeclaredValue { get { return this.shipperDeclaredValueField; } set { this.shipperDeclaredValueField = value; } } /// public string ProactiveIndicator { get { return this.proactiveIndicatorField; } set { this.proactiveIndicatorField = value; } } /// public string RefrigerationIndicator { get { return this.refrigerationIndicatorField; } set { this.refrigerationIndicatorField = value; } } /// public InsuranceType Insurance { get { return this.insuranceField; } set { this.insuranceField = value; } } /// public string VerbalConfirmationIndicator { get { return this.verbalConfirmationIndicatorField; } set { this.verbalConfirmationIndicatorField = value; } } /// public string UPSPremiumCareIndicator { get { return this.uPSPremiumCareIndicatorField; } set { this.uPSPremiumCareIndicatorField = value; } } /// public HazMatType HazMat { get { return this.hazMatField; } set { this.hazMatField = value; } } /// public DryIceType DryIce { get { return this.dryIceField; } set { this.dryIceField = 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/Rate/v1.1")] public partial class NMFCCommodityType { private string primeCodeField; private string subCodeField; /// public string PrimeCode { get { return this.primeCodeField; } set { this.primeCodeField = value; } } /// public string SubCode { get { return this.subCodeField; } set { this.subCodeField = 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/Rate/v1.1")] public partial class CommodityType { private string freightClassField; private NMFCCommodityType nMFCField; /// public string FreightClass { get { return this.freightClassField; } set { this.freightClassField = value; } } /// public NMFCCommodityType NMFC { get { return this.nMFCField; } set { this.nMFCField = 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/Rate/v1.1")] public partial class PackageWeightType { private CodeDescriptionType unitOfMeasurementField; private string weightField; /// public CodeDescriptionType UnitOfMeasurement { get { return this.unitOfMeasurementField; } set { this.unitOfMeasurementField = value; } } /// public string Weight { get { return this.weightField; } set { this.weightField = 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/Rate/v1.1")] public partial class DimensionsType { private CodeDescriptionType unitOfMeasurementField; private string lengthField; private string widthField; private string heightField; /// public CodeDescriptionType UnitOfMeasurement { get { return this.unitOfMeasurementField; } set { this.unitOfMeasurementField = value; } } /// public string Length { get { return this.lengthField; } set { this.lengthField = value; } } /// public string Width { get { return this.widthField; } set { this.widthField = value; } } /// public string Height { get { return this.heightField; } set { this.heightField = 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/Rate/v1.1")] public partial class PackageType { private CodeDescriptionType packagingTypeField; private DimensionsType dimensionsField; private PackageWeightType dimWeightField; private PackageWeightType packageWeightField; private CommodityType commodityField; private string largePackageIndicatorField; private PackageServiceOptionsType packageServiceOptionsField; private string additionalHandlingIndicatorField; /// public CodeDescriptionType PackagingType { get { return this.packagingTypeField; } set { this.packagingTypeField = value; } } /// public DimensionsType Dimensions { get { return this.dimensionsField; } set { this.dimensionsField = value; } } /// public PackageWeightType DimWeight { get { return this.dimWeightField; } set { this.dimWeightField = value; } } /// public PackageWeightType PackageWeight { get { return this.packageWeightField; } set { this.packageWeightField = value; } } /// public CommodityType Commodity { get { return this.commodityField; } set { this.commodityField = value; } } /// public string LargePackageIndicator { get { return this.largePackageIndicatorField; } set { this.largePackageIndicatorField = value; } } /// public PackageServiceOptionsType PackageServiceOptions { get { return this.packageServiceOptionsField; } set { this.packageServiceOptionsField = value; } } /// public string AdditionalHandlingIndicator { get { return this.additionalHandlingIndicatorField; } set { this.additionalHandlingIndicatorField = 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/Rate/v1.1")] public partial class ShipmentWeightType { private CodeDescriptionType unitOfMeasurementField; private string weightField; /// public CodeDescriptionType UnitOfMeasurement { get { return this.unitOfMeasurementField; } set { this.unitOfMeasurementField = value; } } /// public string Weight { get { return this.weightField; } set { this.weightField = 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/Rate/v1.1")] public partial class HandlingUnitsType { private string quantityField; private CodeDescriptionType typeField; private HandlingUnitsDimensionsType dimensionsField; /// public string Quantity { get { return this.quantityField; } set { this.quantityField = value; } } /// public CodeDescriptionType Type { get { return this.typeField; } set { this.typeField = value; } } /// public HandlingUnitsDimensionsType Dimensions { get { return this.dimensionsField; } set { this.dimensionsField = 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/Rate/v1.1")] public partial class FreightDensityInfoType { private string adjustedHeightIndicatorField; private AdjustedHeightType adjustedHeightField; private HandlingUnitsType[] handlingUnitsField; /// public string AdjustedHeightIndicator { get { return this.adjustedHeightIndicatorField; } set { this.adjustedHeightIndicatorField = value; } } /// public AdjustedHeightType AdjustedHeight { get { return this.adjustedHeightField; } set { this.adjustedHeightField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("HandlingUnits")] public HandlingUnitsType[] HandlingUnits { get { return this.handlingUnitsField; } set { this.handlingUnitsField = 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/Rate/v1.1")] public partial class FreightShipmentInformationType { private FreightDensityInfoType freightDensityInfoField; private string densityEligibleIndicatorField; /// public FreightDensityInfoType FreightDensityInfo { get { return this.freightDensityInfoField; } set { this.freightDensityInfoField = value; } } /// public string DensityEligibleIndicator { get { return this.densityEligibleIndicatorField; } set { this.densityEligibleIndicatorField = 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/Rate/v1.1")] public partial class PayerAddressType { private string postalCodeField; private string countryCodeField; /// public string PostalCode { get { return this.postalCodeField; } set { this.postalCodeField = value; } } /// public string CountryCode { get { return this.countryCodeField; } set { this.countryCodeField = 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/Rate/v1.1")] public partial class FRSPaymentInfoType { private CodeDescriptionType typeField; private string accountNumberField; private PayerAddressType addressField; /// public CodeDescriptionType Type { get { return this.typeField; } set { this.typeField = value; } } /// public string AccountNumber { get { return this.accountNumberField; } set { this.accountNumberField = value; } } /// public PayerAddressType Address { get { return this.addressField; } set { this.addressField = 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/Rate/v1.1")] public partial class BillThirdPartyChargeType { private string accountNumberField; private AddressType addressField; /// public string AccountNumber { get { return this.accountNumberField; } set { this.accountNumberField = value; } } /// public AddressType Address { get { return this.addressField; } set { this.addressField = value; } } } /// [System.Xml.Serialization.XmlIncludeAttribute(typeof(ShipAddressType))] [System.Xml.Serialization.XmlIncludeAttribute(typeof(ShipToAddressType))] [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/Rate/v1.1")] public partial class AddressType { private string[] addressLineField; private string cityField; private string stateProvinceCodeField; private string postalCodeField; private string countryCodeField; /// [System.Xml.Serialization.XmlElementAttribute("AddressLine")] public string[] AddressLine { get { return this.addressLineField; } set { this.addressLineField = value; } } /// public string City { get { return this.cityField; } set { this.cityField = value; } } /// public string StateProvinceCode { get { return this.stateProvinceCodeField; } set { this.stateProvinceCodeField = value; } } /// public string PostalCode { get { return this.postalCodeField; } set { this.postalCodeField = value; } } /// public string CountryCode { get { return this.countryCodeField; } set { this.countryCodeField = 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/Rate/v1.1")] public partial class ShipAddressType : AddressType { } /// [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/Rate/v1.1")] public partial class ShipToAddressType : AddressType { private string residentialAddressIndicatorField; /// public string ResidentialAddressIndicator { get { return this.residentialAddressIndicatorField; } set { this.residentialAddressIndicatorField = 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/Rate/v1.1")] public partial class BillReceiverAddressType { private string postalCodeField; /// public string PostalCode { get { return this.postalCodeField; } set { this.postalCodeField = 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/Rate/v1.1")] public partial class BillReceiverChargeType { private string accountNumberField; private BillReceiverAddressType addressField; /// public string AccountNumber { get { return this.accountNumberField; } set { this.accountNumberField = value; } } /// public BillReceiverAddressType Address { get { return this.addressField; } set { this.addressField = 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/Rate/v1.1")] public partial class BillShipperChargeType { private string accountNumberField; /// public string AccountNumber { get { return this.accountNumberField; } set { this.accountNumberField = 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/Rate/v1.1")] public partial class ShipmentChargeType { private string typeField; private BillShipperChargeType billShipperField; private BillReceiverChargeType billReceiverField; private BillThirdPartyChargeType billThirdPartyField; private string consigneeBilledIndicatorField; /// public string Type { get { return this.typeField; } set { this.typeField = value; } } /// public BillShipperChargeType BillShipper { get { return this.billShipperField; } set { this.billShipperField = value; } } /// public BillReceiverChargeType BillReceiver { get { return this.billReceiverField; } set { this.billReceiverField = value; } } /// public BillThirdPartyChargeType BillThirdParty { get { return this.billThirdPartyField; } set { this.billThirdPartyField = value; } } /// public string ConsigneeBilledIndicator { get { return this.consigneeBilledIndicatorField; } set { this.consigneeBilledIndicatorField = 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/Rate/v1.1")] public partial class PaymentDetailsType { private ShipmentChargeType[] shipmentChargeField; private string splitDutyVATIndicatorField; /// [System.Xml.Serialization.XmlElementAttribute("ShipmentCharge")] public ShipmentChargeType[] ShipmentCharge { get { return this.shipmentChargeField; } set { this.shipmentChargeField = value; } } /// public string SplitDutyVATIndicator { get { return this.splitDutyVATIndicatorField; } set { this.splitDutyVATIndicatorField = 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/Rate/v1.1")] public partial class IndicationType { 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/Rate/v1.1")] public partial class ADRType { private string[] addressLineField; private string cityField; private string stateProvinceCodeField; private string postalCodeField; private string countryCodeField; private string residentialAddressIndicatorField; private string pOBoxIndicatorField; /// [System.Xml.Serialization.XmlElementAttribute("AddressLine")] public string[] AddressLine { get { return this.addressLineField; } set { this.addressLineField = value; } } /// public string City { get { return this.cityField; } set { this.cityField = value; } } /// public string StateProvinceCode { get { return this.stateProvinceCodeField; } set { this.stateProvinceCodeField = value; } } /// public string PostalCode { get { return this.postalCodeField; } set { this.postalCodeField = value; } } /// public string CountryCode { get { return this.countryCodeField; } set { this.countryCodeField = value; } } /// public string ResidentialAddressIndicator { get { return this.residentialAddressIndicatorField; } set { this.residentialAddressIndicatorField = value; } } /// public string POBoxIndicator { get { return this.pOBoxIndicatorField; } set { this.pOBoxIndicatorField = 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/Rate/v1.1")] public partial class AlternateDeliveryAddressType { private string nameField; private ADRType addressField; /// public string Name { get { return this.nameField; } set { this.nameField = value; } } /// public ADRType Address { get { return this.addressField; } set { this.addressField = 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/Rate/v1.1")] public partial class ShipFromType { private string nameField; private string attentionNameField; private ShipAddressType addressField; /// public string Name { get { return this.nameField; } set { this.nameField = value; } } /// public string AttentionName { get { return this.attentionNameField; } set { this.attentionNameField = value; } } /// public ShipAddressType Address { get { return this.addressField; } set { this.addressField = 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/Rate/v1.1")] public partial class ShipToType { private string nameField; private string attentionNameField; private ShipToAddressType addressField; /// public string Name { get { return this.nameField; } set { this.nameField = value; } } /// public string AttentionName { get { return this.attentionNameField; } set { this.attentionNameField = value; } } /// public ShipToAddressType Address { get { return this.addressField; } set { this.addressField = 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/Rate/v1.1")] public partial class ShipperType { private string nameField; private string attentionNameField; private string shipperNumberField; private AddressType addressField; /// public string Name { get { return this.nameField; } set { this.nameField = value; } } /// public string AttentionName { get { return this.attentionNameField; } set { this.attentionNameField = value; } } /// public string ShipperNumber { get { return this.shipperNumberField; } set { this.shipperNumberField = value; } } /// public AddressType Address { get { return this.addressField; } set { this.addressField = 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/Rate/v1.1")] public partial class ShipmentType { private string originRecordTransactionTimestampField; private ShipperType shipperField; private ShipToType shipToField; private ShipFromType shipFromField; private AlternateDeliveryAddressType alternateDeliveryAddressField; private IndicationType[] shipmentIndicationTypeField; private PaymentDetailsType paymentDetailsField; private FRSPaymentInfoType fRSPaymentInformationField; private FreightShipmentInformationType freightShipmentInformationField; private string goodsNotInFreeCirculationIndicatorField; private CodeDescriptionType serviceField; private string numOfPiecesField; private ShipmentWeightType shipmentTotalWeightField; private string documentsOnlyIndicatorField; private PackageType[] packageField; private ShipmentServiceOptionsType shipmentServiceOptionsField; private ShipmentRatingOptionsType shipmentRatingOptionsField; private InvoiceLineTotalType invoiceLineTotalField; private string ratingMethodRequestedIndicatorField; private string taxInformationIndicatorField; private PromotionalDiscountInformationType promotionalDiscountInformationField; private TimeInTransitRequestType deliveryTimeInformationField; private string masterCartonIndicatorField; private string wWEShipmentIndicatorField; /// public string OriginRecordTransactionTimestamp { get { return this.originRecordTransactionTimestampField; } set { this.originRecordTransactionTimestampField = value; } } /// public ShipperType Shipper { get { return this.shipperField; } set { this.shipperField = value; } } /// public ShipToType ShipTo { get { return this.shipToField; } set { this.shipToField = value; } } /// public ShipFromType ShipFrom { get { return this.shipFromField; } set { this.shipFromField = value; } } /// public AlternateDeliveryAddressType AlternateDeliveryAddress { get { return this.alternateDeliveryAddressField; } set { this.alternateDeliveryAddressField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("ShipmentIndicationType")] public IndicationType[] ShipmentIndicationType { get { return this.shipmentIndicationTypeField; } set { this.shipmentIndicationTypeField = value; } } /// public PaymentDetailsType PaymentDetails { get { return this.paymentDetailsField; } set { this.paymentDetailsField = value; } } /// public FRSPaymentInfoType FRSPaymentInformation { get { return this.fRSPaymentInformationField; } set { this.fRSPaymentInformationField = value; } } /// public FreightShipmentInformationType FreightShipmentInformation { get { return this.freightShipmentInformationField; } set { this.freightShipmentInformationField = value; } } /// public string GoodsNotInFreeCirculationIndicator { get { return this.goodsNotInFreeCirculationIndicatorField; } set { this.goodsNotInFreeCirculationIndicatorField = value; } } /// public CodeDescriptionType Service { get { return this.serviceField; } set { this.serviceField = value; } } /// public string NumOfPieces { get { return this.numOfPiecesField; } set { this.numOfPiecesField = value; } } /// public ShipmentWeightType ShipmentTotalWeight { get { return this.shipmentTotalWeightField; } set { this.shipmentTotalWeightField = value; } } /// public string DocumentsOnlyIndicator { get { return this.documentsOnlyIndicatorField; } set { this.documentsOnlyIndicatorField = value; } } /// [System.Xml.Serialization.XmlElementAttribute("Package")] public PackageType[] Package { get { return this.packageField; } set { this.packageField = value; } } /// public ShipmentServiceOptionsType ShipmentServiceOptions { get { return this.shipmentServiceOptionsField; } set { this.shipmentServiceOptionsField = value; } } /// public ShipmentRatingOptionsType ShipmentRatingOptions { get { return this.shipmentRatingOptionsField; } set { this.shipmentRatingOptionsField = value; } } /// public InvoiceLineTotalType InvoiceLineTotal { get { return this.invoiceLineTotalField; } set { this.invoiceLineTotalField = value; } } /// public string RatingMethodRequestedIndicator { get { return this.ratingMethodRequestedIndicatorField; } set { this.ratingMethodRequestedIndicatorField = value; } } /// public string TaxInformationIndicator { get { return this.taxInformationIndicatorField; } set { this.taxInformationIndicatorField = value; } } /// public PromotionalDiscountInformationType PromotionalDiscountInformation { get { return this.promotionalDiscountInformationField; } set { this.promotionalDiscountInformationField = value; } } /// public TimeInTransitRequestType DeliveryTimeInformation { get { return this.deliveryTimeInformationField; } set { this.deliveryTimeInformationField = value; } } /// public string MasterCartonIndicator { get { return this.masterCartonIndicatorField; } set { this.masterCartonIndicatorField = value; } } /// public string WWEShipmentIndicator { get { return this.wWEShipmentIndicatorField; } set { this.wWEShipmentIndicatorField = 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/Rate/v1.1")] public partial class RateRequest { private RequestType requestField; private CodeDescriptionType pickupTypeField; private CodeDescriptionType customerClassificationField; private ShipmentType shipmentField; /// [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 CodeDescriptionType PickupType { get { return this.pickupTypeField; } set { this.pickupTypeField = value; } } /// public CodeDescriptionType CustomerClassification { get { return this.customerClassificationField; } set { this.customerClassificationField = value; } } /// public ShipmentType Shipment { get { return this.shipmentField; } set { this.shipmentField = 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/Rate/v1.1")] public partial class RateResponse { private ResponseType responseField; private RatedShipmentType[] ratedShipmentField; /// [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; } } /// [System.Xml.Serialization.XmlElementAttribute("RatedShipment")] public RatedShipmentType[] RatedShipment { get { return this.ratedShipmentField; } set { this.ratedShipmentField = value; } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] public delegate void ProcessRateCompletedEventHandler(object sender, ProcessRateCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class ProcessRateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal ProcessRateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public RateResponse Result { get { this.RaiseExceptionIfNecessary(); return ((RateResponse)(this.results[0])); } } } } #pragma warning restore 1591