namespace TradeManageNew.APIClients.FedexAPI.Models.RatesAndTransitTimes { /// /// Indicate the details on how to calculate variable handling charges at the package level. If indicated, element rateLevelType is required. /// [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] public partial class VariableHandlingChargeDetail { /// /// The rate type indicates what type of rate request is being returned; account, preferred, incentive, etc. /// [Newtonsoft.Json.JsonProperty("rateType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public VariableHandlingChargeDetailRateType? RateType { get; set; } /// /// Indicate the variable handling percentage. Actual percentage (10 means 10%, which is a mutiplier of 0.1). /// [Newtonsoft.Json.JsonProperty("percentValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public double? PercentValue { get; set; } /// /// indicates whether or not the rating is being done at the package level, or if the packages are bundled together. At the package level, charges are applied based on the details of each individual package. If they are bundled, one package is chosen as the parent and charges are applied based on that one package. /// [Newtonsoft.Json.JsonProperty("rateLevelType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public VariableHandlingChargeDetailRateLevelType? RateLevelType { get; set; } /// /// Indicate the Fixed value. <br>If you choose FIXED_AMOUNT as the ChargeType, this element allows you to enter the fixed value of the handling charge. The element allows entry of 7 characters before the decimal and 2 characters following the decimal. <br>Example - 5.00. /// [Newtonsoft.Json.JsonProperty("fixedValue", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public Money FixedValue { get; set; } /// /// Indicate the rate charge on which, the variable handling amount is calculated. /// [Newtonsoft.Json.JsonProperty("rateElementBasis", Required = Newtonsoft.Json.Required.Always)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public VariableHandlingChargeDetailRateElementBasis RateElementBasis { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; [Newtonsoft.Json.JsonExtensionData] public System.Collections.Generic.IDictionary AdditionalProperties { get { return _additionalProperties ?? (_additionalProperties = new System.Collections.Generic.Dictionary()); } set { _additionalProperties = value; } } } }