You are here

public function CreditCardType::getId in Commerce Core 8.2

Gets the credit card type ID.

Return value

string The credit card type ID.

File

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

Class

CreditCardType
Represents a credit card type.

Namespace

Drupal\commerce_payment

Code

public function getId() : string {
  return $this->id;
}