Direct and indirect price discrimination

What is the difference between direct and indirect price discrimination? How can firms use information regarding the "willingness to pay" of consumers to maximize their profits?