Log in
Model

ReorderOutput

Magento\Sales\Model\Reorder\Data\ReorderOutput

What it does

This class is a Data Transfer Object (DTO) that represents the result of a reorder operation in Magento 2.

Developers use this class to retrieve both the shopping cart created from a previous order and any errors that occurred during the reorder process.

It's typically returned by reorder services to provide structured output containing the new quote/cart and validation errors.

Public Methods

  • getCart()
  • getErrors()