Log in
Model

Status

Magento\Sales\Model\ResourceModel\Order\Status

What it does

This resource model manages order status data in the database, including CRUD operations, status-to-state assignments, and store-specific labels.

Developers use this class when programmatically creating, updating, or querying order statuses, assigning statuses to order states, or managing multilingual status labels across different store views.

Public Methods

  • getStoreLabels()
  • assignState()
  • unassignState()
  • checkIsStateLast()
  • checkIsStatusUsed()