namespace CoreConnect.Commerce.Cart;
/// The add cart line items request.
public class AddCartLineItemsRequest : CartRequest
/// Gets or sets the line items.
public required IEnumerable<AddCartLineItemsRequestLineItem> LineItems { get; set; }
/// The add cart line items request.
public class AddCartLineItemsRequestLineItem
/// Gets or sets the product id.
public string? ProductId { get; set; }
/// Gets or sets the variant id.
public string? VariantId { get; set; }
/// Gets or sets the quantity.
public int? Quantity { get; set; }
/// inventory channel key
public string? ChannelKey { get; set; }
/// Contains any aditional information about a lineItem.
public Dictionary<string, string>? ExtraLineItemInfo { get; set; }
public DisplayData? DisplayData { get; set; }
/// Gets or sets the promotion identifier
public string? PromotionId { get; set; }
/// Target information of the digital product such as target customer, email and message
public DigitalProductTargetInformation? DigitalProductTargetInformation { get; set; }
public DisplayDataItem? Size { get; set; }
public DisplayDataItem? Colors { get; set; }
public class DisplayDataItem
public string? Label { get; set; }
public string? Value { get; set; }
public class DigitalProductTargetInformation
public string? Name { get; set; }
public string? Email { get; set; }
public string? Message { get; set; }