Log in
Model

EnteredOption

Magento\Quote\Model\Cart\Data\EnteredOption

What it does

This is a Data Transfer Object (DTO) that represents a custom option entered by a customer for a quote item, such as personalized text or a custom value.

Developers use this class to pass entered option data between different layers of the application, particularly when working with GraphQL or API implementations for shopping cart customization.

It provides a simple way to encapsulate the option's unique identifier and its corresponding value.

Public Methods

  • getUid()
  • getValue()