protected function PayPalPaymentsStandard::getEnabledTypes in Ubercart 8.4
Returns the set of card types which are used by this payment method.
Return value
array An array with keys as needed by the chargeCard() method and values that can be displayed to the customer.
1 call to PayPalPaymentsStandard::getEnabledTypes()
- PayPalPaymentsStandard::getDisplayLabel in payment/
uc_paypal/ src/ Plugin/ Ubercart/ PaymentMethod/ PayPalPaymentsStandard.php - Returns the payment method label with logo.
File
- payment/
uc_paypal/ src/ Plugin/ Ubercart/ PaymentMethod/ PayPalPaymentsStandard.php, line 27
Class
- PayPalPaymentsStandard
- Defines the PayPal Payments Standard payment method.
Namespace
Drupal\uc_paypal\Plugin\Ubercart\PaymentMethodCode
protected function getEnabledTypes() {
return [
'visa' => $this
->t('Visa'),
'mastercard' => $this
->t('MasterCard'),
'discover' => $this
->t('Discover'),
'amex' => $this
->t('American Express'),
'echeck' => $this
->t('eCheck'),
];
}