Payment Module

Api\Data\PaymentAdditionalInfoInterface

Interface

This interface defines a contract for storing additional payment information as key-value pairs in Magento 2. Developers use this to pass extra paymen...

Api\Data\PaymentMethodInterface

Interface

This interface defines the contract for payment method data objects in Magento 2's API layer. Developers use this interface when retrieving payment me...

Api\PaymentMethodListInterface

Interface

This interface defines the contract for retrieving payment methods in Magento 2. Developers use implementations of this interface to fetch all payment...

Api\PaymentVerificationInterface

Interface

This interface defines a contract for payment methods to provide verification codes like AVS (Address Verification System) or CVV codes from payment p...

Model\Cart\SalesModel\SalesModelInterface

Interface

This interface defines a standard contract for accessing sales-related data (like quotes or orders) in payment processing contexts. Developers impleme...

Model\Checks\SpecificationInterface

Interface

This interface defines a contract for payment method specification checks in Magento 2. Developers implement this interface to create custom validator...

Model\InfoInterface

Interface

This interface defines the contract for payment information objects in Magento 2. Developers use it to store, retrieve, and manage sensitive payment d...

Model\MethodInterface

Interface

This interface defines the contract for all payment methods in Magento 2. Developers implement this interface when creating custom payment methods, de...

Model\Method\ConfigInterface

Interface

This deprecated interface formerly defined the contract for payment method configuration in Magento 2. It extends the Payment Gateway ConfigInterface...

Model\Method\Online\GatewayInterface

Interface

This interface defines the contract for online payment gateway integrations in Magento 2. Developers implement this interface when creating custom pay...

Model\Method\SpecificationInterface

Interface

This interface defines a specification pattern for validating payment methods in Magento 2. Developers implement this interface to create custom rules...

Model\Method\TransparentInterface

Interface

This interface defines the contract for payment methods that support transparent redirect functionality, where customers are redirected to a payment g...

Model\SaleOperationInterface

Interface

This interface defines the contract for payment methods that support the 'sale' operation, which combines authorization and capture in a single transa...