public function CreditCardType::getLabel in Commerce Core 8.2
Gets the credit card type label.
Return value
string The credit card type label.
File
- modules/
payment/ src/ CreditCardType.php, line 95
Class
- CreditCardType
- Represents a credit card type.
Namespace
Drupal\commerce_paymentCode
public function getLabel() : string {
return $this->label;
}