You are here

public function AuthorizeNet::getTransactionTypes in Ubercart 8.4

Returns the set of transaction types allowed by this payment method.

Return value

array An array with values UC_CREDIT_AUTH_ONLY, UC_CREDIT_PRIOR_AUTH_CAPTURE, UC_CREDIT_AUTH_CAPTURE, UC_CREDIT_REFERENCE_SET, UC_CREDIT_REFERENCE_TXN, UC_CREDIT_REFERENCE_REMOVE, UC_CREDIT_REFERENCE_CREDIT, UC_CREDIT_CREDIT and UC_CREDIT_VOID.

Overrides CreditCardPaymentMethodBase::getTransactionTypes

File

payment/uc_authorizenet/src/Plugin/Ubercart/PaymentMethod/AuthorizeNet.php, line 233

Class

AuthorizeNet
Defines the Authorize.net payment method.

Namespace

Drupal\uc_authorizenet\Plugin\Ubercart\PaymentMethod

Code

public function getTransactionTypes() {
  return [
    UC_CREDIT_AUTH_ONLY,
    UC_CREDIT_PRIOR_AUTH_CAPTURE,
    UC_CREDIT_AUTH_CAPTURE,
    UC_CREDIT_REFERENCE_SET,
    UC_CREDIT_REFERENCE_TXN,
  ];
}