interface PaymentProcessorInterface in Commerce Authorize.Net 8
Interface to process payments.
Hierarchy
- interface \Drupal\commerce_authnet\PaymentProcessorInterface
Expanded class hierarchy of PaymentProcessorInterface
All classes that implement PaymentProcessorInterface
File
- src/
PaymentProcessorInterface.php, line 10
Namespace
Drupal\commerce_authnetView source
interface PaymentProcessorInterface {
/**
* Gets payments to process.
*
* @return \Drupal\commerce_payment\Entity\PaymentInterface[]
* An array of payments keyed by the entity id.
*/
public function getPayments();
/**
* Processes the payment.
*
* @param \Drupal\commerce_payment\Entity\PaymentInterface $payment
* The payment.
*/
public function processPayment(PaymentInterface $payment);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PaymentProcessorInterface:: |
public | function | Gets payments to process. | 1 |
PaymentProcessorInterface:: |
public | function | Processes the payment. | 1 |