cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 + why \Magento\Payment\Model\Method\AbstractMethod & \Magento\Payment\Model\Method\Cc depr

Magento 2 + 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 base class, and its lots of other work added for payment gateway developers.

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