You are here

public function CreditCardType::getNumberLengths in Commerce Core 8.2

Gets the credit card type number lengths.

Return value

array The credit card type number lengths.

File

modules/payment/src/CreditCardType.php, line 115

Class

CreditCardType
Represents a credit card type.

Namespace

Drupal\commerce_payment

Code

public function getNumberLengths() : array {
  return $this->numberLengths;
}