public function getStatus()
    {
        if ($this->entity && $this->entity->getStatus()) {
            return new ApiOrderStatus($this->entity->getStatus(), $this->locale);
        } else {
            return null;
        }
    }
public function getStatus()
    {
        if ($this->entity && $this->entity->getStatus()) {
            return new ApiOrderStatus($this->entity->getStatus(), $this->locale);
        } else {
            return null;
        }
    }
public function getStatus ( ) { if ( $ this -> entity && $ this -> entity -> getStatus ( ) ) { return new ApiOrderStatus ( $ this -> entity -> getStatus ( ) , $ this -> locale ) ; } else { return null ; } }
Get order status

@VirtualProperty
@SerializedName("status")

@return ApiOrderStatus|null
Get order status