Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using variables for KEY and PRIORITY in Custom Order Status Implementation
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