Add enum for "member contact preference"
This commit is contained in:
		
							parent
							
								
									9ae1a04cad
								
							
						
					
					
						commit
						c29c18ec5c
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		| 
						 | 
					@ -79,3 +79,16 @@ HOUSE_COUPON_MINIMUM_TYPE = OrderedDict([
 | 
				
			||||||
    (HOUSE_COUPON_MINIMUM_TYPE_QTY_MORE_THAN,           "Quantity (more than)"),
 | 
					    (HOUSE_COUPON_MINIMUM_TYPE_QTY_MORE_THAN,           "Quantity (more than)"),
 | 
				
			||||||
    (HOUSE_COUPON_MINIMUM_TYPE_QTY_AT_LEAST,            "Quantity (at least)"),
 | 
					    (HOUSE_COUPON_MINIMUM_TYPE_QTY_AT_LEAST,            "Quantity (at least)"),
 | 
				
			||||||
])
 | 
					])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					MEMBER_CONTACT_PREFERENCE_NO_CONTACT                    = 0
 | 
				
			||||||
 | 
					MEMBER_CONTACT_PREFERENCE_POSTAL_MAIL_ONLY              = 1
 | 
				
			||||||
 | 
					MEMBER_CONTACT_PREFERENCE_EMAIL_ONLY                    = 2
 | 
				
			||||||
 | 
					MEMBER_CONTACT_PREFERENCE_BOTH                          = 3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					MEMBER_CONTACT_PREFERENCE = OrderedDict([
 | 
				
			||||||
 | 
					    (MEMBER_CONTACT_PREFERENCE_NO_CONTACT,              "no contact"),
 | 
				
			||||||
 | 
					    (MEMBER_CONTACT_PREFERENCE_POSTAL_MAIL_ONLY,        "postal mail only"),
 | 
				
			||||||
 | 
					    (MEMBER_CONTACT_PREFERENCE_EMAIL_ONLY,              "email only"),
 | 
				
			||||||
 | 
					    (MEMBER_CONTACT_PREFERENCE_BOTH,                    "both (postal mail and email)"),
 | 
				
			||||||
 | 
					])
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue