module HandleEnrollmentEvent
  class ProcessDependentAdd
    include Interactor::Organizer

    organize(
      HandleEnrollmentEvent::ExtractPolicyDetails,
      HandleEnrollmentEvent::ExtractMemberChanges,
      HandleEnrollmentEvent::VerifyDependentAddDetails,
      HandleEnrollmentEvent::UpdatePolicy,
      HandleEnrollmentEvent::TransmitShopChange,
      HandleEnrollmentEvent::TransformAndEmitMaintenance
    )
  end
end
