Issue type
Brief description
submitOrder method return raw array of values, but it would be more convenient to receive Order model class.
Steps to reproduce
Call submitOrder method.
Additional Notes:
I think it could be simple fixed by replacing:
with
return new Order(orders[0]) || []