예제 #1
0
파일: Billing.php 프로젝트: aiesh/magento2
 /**
  * Check payment method model
  *
  * @param \Magento\Payment\Model\Method\AbstractMethod|null $method
  * @return bool
  */
 protected function _canUseMethod($method)
 {
     return $method && $this->paymentSpecification->isSatisfiedBy($method->getCode()) && parent::_canUseMethod($method);
 }