cancel
Showing results for 
Search instead for 
Did you mean: 

Why \Magento\Payment\Model\Method\AbstractMethod & \Magento\Payment\Model\Method\Cc depr

Why \Magento\Payment\Model\Method\AbstractMethod & \Magento\Payment\Model\Method\Cc depr

In payment methods

 \Magento\Payment\Model\Method\AbstractMethod &  \Magento\Payment\Model\Method\Cc

 both are deprecated.

In stead to extends both method now as per this link , we should implements

 

\Magento\Payment\Model\MethodInterface

 

Is there any specific reason for deprecated both class ? because if we implements interface we have to defined all methods in our child class, and its lots of  work added for payment gateway developers.

I am looking for brief explanations with reasons if any have idea about that.