Gateway/Config/Config.php
public function getGooglePayAllowedNetworks() {
        $allowedNetworks = $this->scopeConfig->getValue(
            'payment/checkout_com_googlepay/allowed_card_networks',
            ScopeInterface::SCOPE_STORE
        ); 

        return (string) !empty($allowedNetworks) ? $allowedNetworks : 'VISA';
    }
public function getGooglePayAllowedNetworks() {
        $allowedNetworks = $this->scopeConfig->getValue(
            'payment/checkout_com_googlepay/allowed_card_networks',
            ScopeInterface::SCOPE_STORE
        ); 

        return (string) !empty($allowedNetworks) ? $allowedNetworks : 'VISA';
    }
public function getGooglePayAllowedNetworks ( ) { $ allowedNetworks = $ this -> scopeConfig -> getValue ( 'payment/checkout_com_googlepay/allowed_card_networks' , ScopeInterface :: SCOPE_STORE ) ; return ( string ) ! empty ( $ allowedNetworks ) ? $ allowedNetworks : 'VISA' ; }
Gets the Google Pay allowed networks.

@return string
Gets the Google Pay allowed networks .