Log in
Interface

ChangeQuoteControlInterface

Magento\Quote\Api\ChangeQuoteControlInterface

What it does

This interface defines a service contract for checking whether a user has permission to modify a quote (shopping cart).

Developers implement or use this interface when they need to enforce access control rules before allowing quote modifications, such as verifying if a customer can edit their cart or if a sales representative can modify a customer's quote.

Public Methods

  • isAllowed()