Webiant Logo Webiant Logo
  1. No results found.

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

IShipmentTracker.cs

using Nop.Core.Domain.Shipping;

namespace Nop.Services.Shipping.Tracking;

/// 
/// Represents a shipment tracker
/// 
public partial interface IShipmentTracker
{
    /// 
    /// Get URL for a page to show tracking info (third party tracking page)
    /// 
    /// The tracking number to track
    /// Shipment; pass null if the tracking number is not associated with a specific shipment
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the URL of a tracking page
    /// 
    Task GetUrlAsync(string trackingNumber, Shipment shipment = null);

    /// 
    /// Get all shipment events
    /// 
    /// The tracking number to track
    /// Shipment; pass null if the tracking number is not associated with a specific shipment
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the list of shipment events
    /// 
    Task> GetShipmentEventsAsync(string trackingNumber, Shipment shipment = null);
}