remove the order_decorator from api and added the method in core order model