Table of Contents

Class CartReviewViewModel

Namespace
Dynamicweb.Frontend
Assembly
Dynamicweb.dll

Review model containing validation results and detailed information from cart operations. Used as part of CartResponseModel to provide comprehensive feedback on cart operations.

public class CartReviewViewModel : ViewModelBase
Inheritance
CartReviewViewModel
Inherited Members

Remarks

This model provides detailed validation results for both failed and successful products during cart operations. It contains comprehensive product information to help users understand and resolve any validation errors that occurred.

Properties

CartErrors

Gets or sets the overall cart-level error messages.

public IList<CartErrorType> CartErrors { get; }

Property Value

IList<CartErrorType>

CartSecret

Gets or sets the cart secret for the current cart session.

public string CartSecret { get; set; }

Property Value

string

FailedOrderlines

Gets or sets the list of orderlines that failed validation.

public IList<CartReviewOrderlineViewModel> FailedOrderlines { get; }

Property Value

IList<CartReviewOrderlineViewModel>

SuccessfulOrderlines

Gets or sets the list of orderlines that passed validation.

public IList<CartOrderlineViewModel> SuccessfulOrderlines { get; }

Property Value

IList<CartOrderlineViewModel>
To top