diff --git a/corepos/enum.py b/corepos/enum.py index 62c16ac..f0860ea 100644 --- a/corepos/enum.py +++ b/corepos/enum.py @@ -92,3 +92,14 @@ MEMBER_CONTACT_PREFERENCE = OrderedDict([ (MEMBER_CONTACT_PREFERENCE_EMAIL_ONLY, "email only"), (MEMBER_CONTACT_PREFERENCE_BOTH, "both (postal mail and email)"), ]) + + +PRODUCT_PRICE_METHOD_DISABLED = 0 +PRODUCT_PRICE_METHOD_ALWAYS = 1 +PRODUCT_PRICE_METHOD_FULL_SETS = 2 + +PRODUCT_PRICE_METHOD = OrderedDict([ + (PRODUCT_PRICE_METHOD_DISABLED, "Disabled"), + (PRODUCT_PRICE_METHOD_ALWAYS, "Always use this price"), + (PRODUCT_PRICE_METHOD_FULL_SETS, "Use this price for full sets"), +])