Add getorderstatus method

This adds the getorderstatus method.