Interface
TotalsAdditionalDataInterface
Magento\Quote\Api\Data\TotalsAdditionalDataInterface
What it does
This interface defines a contract for passing additional data when calculating quote totals in Magento 2.
Developers use this when they need to provide extra information (like gift messages, shipping instructions, or custom data) during the totals collection process.
It extends CustomAttributesDataInterface to allow flexible data storage through extension attributes.
Public Methods
- getExtensionAttributes()
- setExtensionAttributes()