public function canBeDispatchedBySeller()
    {
        switch ($this->getStatusCode())
        {
            case self::STATUS_ACCEPTED_BY_SELLER:
            case self::STATUS_IN_PICK_AT_SELLER:
            case self::STATUS_READY_FOR_DISPATCH_TO_HUB:

                return true;

            default:

                return false;
        }
    }
public function canBeDispatchedBySeller()
    {
        switch ($this->getStatusCode())
        {
            case self::STATUS_ACCEPTED_BY_SELLER:
            case self::STATUS_IN_PICK_AT_SELLER:
            case self::STATUS_READY_FOR_DISPATCH_TO_HUB:

                return true;

            default:

                return false;
        }
    }
public function canBeDispatchedBySeller ( ) { switch ( $ this -> getStatusCode ( ) ) { case self :: STATUS_ACCEPTED_BY_SELLER : case self :: STATUS_IN_PICK_AT_SELLER : case self :: STATUS_READY_FOR_DISPATCH_TO_HUB : return true ; default : return false ; } }
Can be dispatched by Seller

@author Tom Haskins-Vaughan <tom@harvestcloud.com>
@since  2012-05-14

@return bool
Can be dispatched by Seller