moved PartyCustomField setter logic to a constructor