Gateway/Config/Config.php
public function getAvailableCardTypes() {
        $ccTypes = $this->getValue(
            self::KEY_CC_TYPES,
            $this->storeManager->getStore()
        );

        return ! empty($ccTypes) ? explode(',', $ccTypes) : [];
    }
public function getAvailableCardTypes() {
        $ccTypes = $this->getValue(
            self::KEY_CC_TYPES,
            $this->storeManager->getStore()
        );

        return ! empty($ccTypes) ? explode(',', $ccTypes) : [];
    }
public function getAvailableCardTypes ( ) { $ ccTypes = $ this -> getValue ( self :: KEY_CC_TYPES , $ this -> storeManager -> getStore ( ) ) ; return ! empty ( $ ccTypes ) ? explode ( ',' , $ ccTypes ) : [ ] ; }
Retrieve available credit card types.

@return array
Retrieve available credit card types .