Bright, dark and W-shaped solitons with extended nonlinear Schrödinger's equation for odd and even higher-order terms