set transaction type enum definition