public function CreditCardPaymentMethodBase::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.
1 method overrides CreditCardPaymentMethodBase::getTransactionTypes()
- AuthorizeNet::getTransactionTypes in payment/
uc_authorizenet/ src/ Plugin/ Ubercart/ PaymentMethod/ AuthorizeNet.php - Returns the set of transaction types allowed by this payment method.
File
- payment/
uc_credit/ src/ CreditCardPaymentMethodBase.php, line 57
Class
- CreditCardPaymentMethodBase
- Defines a base credit card payment method plugin implementation.
Namespace
Drupal\uc_creditCode
public function getTransactionTypes() {
return [
UC_CREDIT_AUTH_CAPTURE,
UC_CREDIT_AUTH_ONLY,
];
}