Webiant Logo Webiant Logo
  1. No results found.

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

ShipmentDetailsModel.cs

using Nop.Web.Framework.Models;

namespace Nop.Web.Models.Order;

public partial record ShipmentDetailsModel : BaseNopEntityModel
{
    public ShipmentDetailsModel()
    {
        ShipmentStatusEvents = new List();
        Items = new List();
    }

    public string TrackingNumber { get; set; }
    public string TrackingNumberUrl { get; set; }
    public DateTime? ShippedDate { get; set; }
    public DateTime? ReadyForPickupDate { get; set; }
    public DateTime? DeliveryDate { get; set; }
    public IList ShipmentStatusEvents { get; set; }
    public bool ShowSku { get; set; }
    public IList Items { get; set; }

    public OrderDetailsModel Order { get; set; }

    #region Nested Classes

    public partial record ShipmentItemModel : BaseNopEntityModel
    {
        public string Sku { get; set; }
        public int ProductId { get; set; }
        public string ProductName { get; set; }
        public string ProductSeName { get; set; }
        public string AttributeInfo { get; set; }
        public string RentalInfo { get; set; }

        public int QuantityOrdered { get; set; }
        public int QuantityShipped { get; set; }
    }

    public partial record ShipmentStatusEventModel : BaseNopModel
    {
        public string Status { get; set; }
        public string EventName { get; set; }
        public string Location { get; set; }
        public string Country { get; set; }
        public DateTime? Date { get; set; }
    }

    #endregion
}