"Boarding" might not be the clearest parameter name here, since a transfer always connects an alight and board event. Could you just use "forward" or some other directional word?