Hello Technical People,
I am wondering when implementing an Interface in an Enum, if there is a way to have 1 value with no implementation?
The problem is whenever an Enum implements an interface then all the Enum’s values should have an implementation or a DefaultImplementation on the Enum level.
For example, in the below Enum I have the following values.
- “None”
- “Invoice”
- “Credit Memo”
- “Shipment”
- “Receipt”
The first value “None” should not have any interface implementation since it just means nothing is selected. Is there a way to accomplish that?
Or are we still missing this option in the “Implementation” syntax?