Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

UPSDefaults.cs

using Nop.Core;

namespace Nop.Plugin.Shipping.UPS;

/// 
/// Represents plugin constants
/// 
public class UPSDefaults
{
    /// 
    /// Gets the plugin system name
    /// 
    public static string SystemName => "Shipping.UPS";

    /// 
    /// Gets a default period (in seconds) before the request times out
    /// 
    public static int RequestTimeout => 15;

    /// 
    /// Gets the user agent used to request third-party services
    /// 
    public static string UserAgent => $"nopCommerce-{NopVersion.CURRENT_VERSION}";

    /// 
    /// Gets the production API URL
    /// 
    public static string ApiUrl => "https://onlinetools.ups.com/api";
}