Interface
CodegeneratorInterface
Magento\SalesRule\Model\Coupon\CodegeneratorInterface
What it does
This interface defines the contract for generating coupon codes in Magento 2's sales rule system.
Developers implement this interface to create custom coupon code generation strategies, allowing control over code format and delimiter characters used in generated promotional codes.
Public Methods
- generateCode()
- getDelimiter()