public function shippingMethod(array $condition, array $data)
    {
        if (!isset($data['order']['shipping'])) {
            return false;
        }

        return $this->compare($data['order']['shipping'], $condition['value'], $condition['operator']);
    }
public function shippingMethod(array $condition, array $data)
    {
        if (!isset($data['order']['shipping'])) {
            return false;
        }

        return $this->compare($data['order']['shipping'], $condition['value'], $condition['operator']);
    }
public function shippingMethod ( array $ condition , array $ data ) { if ( ! isset ( $ data [ 'order' ] [ 'shipping' ] ) ) { return false ; } return $ this -> compare ( $ data [ 'order' ] [ 'shipping' ] , $ condition [ 'value' ] , $ condition [ 'operator' ] ) ; }
Whether the shipping service condition is met
@param array $condition
@param array $data
@return boolean
Whether the shipping service condition is met