コード例 #1
0
ファイル: Agreement.php プロジェクト: pavelnovitsky/magento2
 /**
  * Cancel payment
  *
  * @param \Magento\Framework\Object|Payment $payment
  * @return $this
  */
 public function cancel(\Magento\Framework\Object $payment)
 {
     $this->_pro->cancel($payment);
     return $this;
 }
コード例 #2
0
 /**
  * Cancel payment
  *
  * @param \Magento\Framework\DataObject|InfoInterface|Payment $payment
  * @return $this
  */
 public function cancel(\Magento\Payment\Model\InfoInterface $payment)
 {
     $this->_pro->cancel($payment);
     return $this;
 }