using Nop.Core.Configuration; using Nop.Plugin.Shipping.UPS.Domain; namespace Nop.Plugin.Shipping.UPS; /// /// Represents settings of the UPS shipping plugin /// public class UPSSettings : ISettings { /// /// Gets or sets the account number /// public string AccountNumber { get; set; } /// /// Gets or sets the client ID /// public string ClientId { get; set; } /// /// Gets or sets the client secret /// public string ClientSecret { get; set; } /// /// Gets or sets a value indicating whether to use sandbox environment /// public bool UseSandbox { get; set; } /// /// Gets or sets an amount of the additional handling charge /// public decimal AdditionalHandlingCharge { get; set; } /// /// Gets or sets UPS customer classification /// public CustomerClassification CustomerClassification { get; set; } /// /// Gets or sets a pickup type /// public PickupType PickupType { get; set; } /// /// Gets or sets packaging type /// public PackagingType PackagingType { get; set; } /// /// Gets or sets offered carrier services /// public string CarrierServicesOffered { get; set; } /// /// Gets or sets a value indicating whether Saturday Delivery enabled /// public bool SaturdayDeliveryEnabled { get; set; } /// /// Gets or sets a value indicating whether to insure packages /// public bool InsurePackage { get; set; } /// /// Gets or sets a value indicating whether to pass package dimensions /// public bool PassDimensions { get; set; } /// /// Gets or sets the packing package volume /// public int PackingPackageVolume { get; set; } /// /// Gets or sets packing type /// public PackingType PackingType { get; set; } /// /// Gets or sets a value indicating whether to record plugin tracing in log /// public bool Tracing { get; set; } /// /// Gets or sets package weight type (LBS or KGS) /// public string WeightType { get; set; } /// /// Gets or sets package dimensions type (IN or CM) /// public string DimensionsType { get; set; } /// /// Gets or sets a period (in seconds) before the request times out /// public int? RequestTimeout { get; set; } }