Bank Shot

My playing partner hit a shot within inches of the hole (we thought it was going in). I hit next and had it going right at the flag. My ball hit his ball and it looked like it had kicked his in with mine ending up about 10 inches from the flag. When we got to the green, my ball was in the hole and his was next to it. We believe my ball hit his ball, kicked his ball into the flag and it deflected to 10 inches. My ball then trickled into the hole - like a cue ball scratch after hitting a ball into a pocket. My partner says it isn't a "real" hole in one because I hit his ball - I am counting it!