Interface
AgreementInterface
Magento\CheckoutAgreements\Api\Data\AgreementInterface
What it does
This interface defines the data structure for checkout agreements (terms and conditions) that customers must accept during checkout.
Developers use this interface to retrieve or modify agreement properties like content, checkbox text, display mode, and active status when working with checkout terms and conditions programmatically through repositories or services.
Public Methods
- getAgreementId()
- setAgreementId()
- getName()
- setName()
- getContent()
- setContent()
- getContentHeight()
- setContentHeight()
- getCheckboxText()
- setCheckboxText()
- getIsActive()
- setIsActive()
- getIsHtml()
- setIsHtml()
- getMode()
- setMode()
- getExtensionAttributes()
- setExtensionAttributes()