Payment/Settings.php
final function applicableForQuoteByMinMaxTotal($option) {
		$a = df_quote()->getBaseGrandTotal(); /** @var float $a */
        $max = $this->v("$option/" . T::MAX_ORDER_TOTAL); /** @var float $max */
		$min = $this->v("$option/" . T::MIN_ORDER_TOTAL); /** @var float $min */
		return !($min && $a < $min || $max && $a > $max);
	}
final function applicableForQuoteByMinMaxTotal($option) {
		$a = df_quote()->getBaseGrandTotal(); /** @var float $a */
        $max = $this->v("$option/" . T::MAX_ORDER_TOTAL); /** @var float $max */
		$min = $this->v("$option/" . T::MIN_ORDER_TOTAL); /** @var float $min */
		return !($min && $a < $min || $max && $a > $max);
	}
final function applicableForQuoteByMinMaxTotal ( $ option ) { $ a = df_quote ( ) -> getBaseGrandTotal ( ) ; /** @var float $a */ $ max = $ this -> v ( "$option/" . T :: MAX_ORDER_TOTAL ) ; /** @var float $max */ $ min = $ this -> v ( "$option/" . T :: MIN_ORDER_TOTAL ) ; /** @var float $min */ return ! ( $ min && $ a < $ min || $ max && $ a > $ max ) ; }
2017-07-29
It is implemented by analogy with @see \Magento\Payment\Model\Checks\TotalMinMax::isApplicable()
@used-by \Dfe\AlphaCommerceHub\ConfigProvider::option()
@used-by \Dfe\Moip\ConfigProvider::config()
@param string $option
@return boolean
2017 - 07 - 29 It is implemented by analogy with