Created
November 12, 2021 16:29
-
-
Save aswinrajeevofficial/5d09d76ae11a1dc78c7d1fc388ae0306 to your computer and use it in GitHub Desktop.
Using variables for KEY and PRIORITY in Custom Order Status Implementation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component( | |
property = { | |
"commerce.order.status.key=" + M4V7SchedulingCommerceOrderStatus.KEY, | |
"commerce.order.status.priority:Integer=" + M4V7SchedulingCommerceOrderStatus.PRIORITY | |
}, | |
service = CommerceOrderStatus.class | |
) | |
public class M4V7SchedulingCommerceOrderStatus implements CommerceOrderStatus { | |
public static final int KEY = 314159265; | |
public static final int PRIORITY = 40; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment