File tree Expand file tree Collapse file tree
membersuite_api_client/organizations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,12 +3,9 @@ class Organization(object):
33 def __init__ (self , org ):
44 """Create an Organization model from MemberSuite Organization object
55 """
6- self .account_num = org ["ID" ]
7- self .id = self .account_num
8- self .membersuite_id = org ["LocalID" ]
9- self .local_id = self .membersuite_id
10- self .org_name = org ["Name" ]
11- self .name = self .org_name
6+ self .id = self .account_num = org ["ID" ]
7+ self .local_id = self .membersuite_id = org ["LocalID" ]
8+ self .name = self .org_name = org ["Name" ]
129 self .picklist_name = org ["SortName" ] or ''
1310
1411 self .address = org ["Mailing_Address" ]
@@ -42,6 +39,7 @@ def __init__(self, org_type):
4239 self .id = org_type ["ID" ]
4340 self .name = org_type ["Name" ]
4441
42+
4543STATUSES = {
4644 '6faf90e4-01f3-c54c-f01a-0b3bc87640ab' : 'Active' ,
4745 '6faf90e4-01f3-c0f1-4593-0b3c3ca7ff6c' : 'Deceased' ,
You can’t perform that action at this time.
0 commit comments