Wiring LG Pump Motor HELP!

I have to replace the pump in my washer. It is a LG Tromm WM2277HW. The pump has 2 black wires, a blue wire, and a brown wire. I was not around when the pump was taken out and I not sure which wires go where. Any information would be appreciated.