7 calls to CreditCard::getTypes() in Commerce Core 8.2
- CommercePaymentGateway::__construct in modules/
payment/ src/ Annotation/ CommercePaymentGateway.php - Constructs a new CommercePaymentGateway object.
- CreditCard::detectType in modules/
payment/ src/ CreditCard.php - Detects the credit card type based on the number.
- CreditCard::getType in modules/
payment/ src/ CreditCard.php - Gets the credit card type with the given ID.
- CreditCard::getTypeLabels in modules/
payment/ src/ CreditCard.php - Gets the labels of all available credit card types.
- CreditCardTest::testGetAvsResponseCodeMeanings in modules/
payment/ tests/ src/ Unit/ CreditCardTest.php - @covers ::getAvsResponseCodeMeanings
- CreditCardTest::testGetTypes in modules/
payment/ tests/ src/ Unit/ CreditCardTest.php - @covers ::getTypes
- PaymentGatewayBase::getCreditCardTypes in modules/
payment/ src/ Plugin/ Commerce/ PaymentGateway/ PaymentGatewayBase.php - Gets the credit card types handled by the gateway.