public function isMatching()
    {
        $condition1 = $this->conditionValidator->variableOpComparison(
            $this->facade->getCartTotalTaxPrice(),
            $this->operators[self::CART_TOTAL],
            $this->values[self::CART_TOTAL]
        );

        if ($condition1) {
            $condition2 = $this->conditionValidator->variableOpComparison(
                $this->facade->getCheckoutCurrency(),
                $this->operators[self::CART_CURRENCY],
                $this->values[self::CART_CURRENCY]
            );

            if ($condition2) {
                return true;
            }
        }

        return false;
    }
public function isMatching()
    {
        $condition1 = $this->conditionValidator->variableOpComparison(
            $this->facade->getCartTotalTaxPrice(),
            $this->operators[self::CART_TOTAL],
            $this->values[self::CART_TOTAL]
        );

        if ($condition1) {
            $condition2 = $this->conditionValidator->variableOpComparison(
                $this->facade->getCheckoutCurrency(),
                $this->operators[self::CART_CURRENCY],
                $this->values[self::CART_CURRENCY]
            );

            if ($condition2) {
                return true;
            }
        }

        return false;
    }
public function isMatching ( ) { $ condition1 = $ this -> conditionValidator -> variableOpComparison ( $ this -> facade -> getCartTotalTaxPrice ( ) , $ this -> operators [ self :: CART_TOTAL ] , $ this -> values [ self :: CART_TOTAL ] ) ; if ( $ condition1 ) { $ condition2 = $ this -> conditionValidator -> variableOpComparison ( $ this -> facade -> getCheckoutCurrency ( ) , $ this -> operators [ self :: CART_CURRENCY ] , $ this -> values [ self :: CART_CURRENCY ] ) ; if ( $ condition2 ) { return true ; } } return false ; }
Test if Customer meets conditions

@return bool
Test if Customer meets conditions