'Returns the order state. Valid order states are:
* Order.State.INITIAL (the initial state).
* Order.State.SUBMITTED
* Order.State.ACCEPTED
* Order.State.CANCELED
* Order.State.PARTIALLY_FILLED
* Order.State.FILLED'

def getState(self):

    return self.__state
