GiftMessage Module
Api\CartRepositoryInterface
This interface defines the contract for managing gift messages at the shopping cart level. Developers use this to retrieve existing gift messages for...
Api\Data\MessageInterface
This interface defines the data structure for gift messages that customers can attach to orders or individual items in Magento 2. Developers use this...
Api\GuestCartRepositoryInterface
This interface defines the contract for managing gift messages on guest shopping carts (carts for non-logged-in users). Developers use this to retriev...
Api\GuestItemRepositoryInterface
This interface defines API operations for managing gift messages on individual items in a guest user's shopping cart. Developers use this to retrieve...
Api\ItemRepositoryInterface
This interface defines the contract for managing gift messages attached to individual items in a shopping cart. Developers use this to retrieve existi...
Api\OrderItemRepositoryInterface
This interface defines methods for managing gift messages attached to individual items in an order. Developers use this repository to retrieve or save...
Api\OrderRepositoryInterface
This repository interface manages gift messages for entire orders in Magento 2. Developers use it to retrieve existing gift messages from orders or at...
CartRepository
This class manages gift messages for shopping carts. Developers use it to retrieve existing gift messages from a cart or save new gift messages to a c...
CompositeConfigProvider
This class aggregates configuration data from multiple gift message configuration providers during checkout. It implements the Composite design patter...
GiftMessageConfigProvider
This class provides configuration data for the gift message feature on the checkout page. It determines whether gift messages are enabled at order and...
GiftMessageManager
This class manages the creation, update, and deletion of gift messages for quotes, quote items, and addresses in the shopping cart. Developers use thi...
GuestCartRepository
This class manages gift messages for guest (non-logged-in) shopping carts in Magento 2. It acts as an adapter that converts masked cart IDs (used for...
GuestItemRepository
This class manages gift messages for individual items in a guest user's shopping cart. It acts as a wrapper around the standard ItemRepository, conver...
ItemRepository
This class manages gift messages for individual items in a shopping cart. Developers use it to retrieve existing gift messages attached to cart items...
Message
This class represents a gift message that can be attached to orders or individual items in Magento 2. Developers use it to create, retrieve, and manag...
Message
This helper class manages gift message functionality in Magento 2, determining when gift messages are allowed for orders, items, and addresses based o...
Model\ResourceModel\Message\Collection
This class represents a collection of gift message records in Magento 2. Developers use it to retrieve, filter, and manipulate multiple gift message e...
Model\TypeFactory
This factory class creates entity type objects that are allowed to have gift messages in Magento 2. Developers use it to instantiate the correct entit...
OrderItemRepository
This repository manages gift messages for individual items within an order. Developers use this class to retrieve, save, or validate gift messages att...
OrderRepository
This class manages gift messages for entire orders in Magento 2. Developers use it to retrieve existing gift messages from orders or attach new gift m...
ResourceModel\Message
This resource model handles database operations for gift messages in Magento 2. Developers use this class when they need to perform CRUD operations on...
Save
This class manages the saving and retrieval of gift messages for quotes, orders, and their items in Magento's admin interface. Developers use it to sa...