using CoreConnect.Commerce.Core;
namespace CoreConnect.Commerce.Notifications;
public class Notification : Node
public required string Id { get; set; }
public long Version { get; set; }
public long SequenceNumber { get; set; }
public required string Type { get; set; }
public required string ResourceId { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime LastModifiedAt { get; set; }
public ReturnInfo? ReturnInfo { get; set; }
public InventoryInfo? InventoryInfo { get; set; }
public class InventoryInfo
public string? Sku { get; set; }
public long OldQuantityOnStock { get; set; }
public long NewQuantityOnStock { get; set; }
public long OldAvailableQuantity { get; set; }
public long NewAvailableQuantity { get; set; }
public IList<ReturnItem>? Items { get; set; }
public string? ReturnTrackingId { get; set; }
public DateTime? ReturnDate { get; set; }
public required string Id { get; set; }
public string? Key { get; set; }
public required long Quantity { get; set; }
public string? Type { get; set; }
public string? Comment { get; set; }
public string? ShipmentState { get; set; }
public string? PaymentState { get; set; }
public string? LineItemReturnItemId { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime LastModifiedAt { get; set; }