Model/Adapter/CcTypeAdapter.php
public function getFromGateway($type) {
        $mapper = $this->config->getCcTypesMapper();
        $type   = strtolower($type);

        if( array_key_exists($type, $mapper) ) {
            return $mapper[$type];
        }

        return 'OT';
    }
public function getFromGateway($type) {
        $mapper = $this->config->getCcTypesMapper();
        $type   = strtolower($type);

        if( array_key_exists($type, $mapper) ) {
            return $mapper[$type];
        }

        return 'OT';
    }
public function getFromGateway ( $ type ) { $ mapper = $ this -> config -> getCcTypesMapper ( ) ; $ type = strtolower ( $ type ) ; if ( array_key_exists ( $ type , $ mapper ) ) { return $ mapper [ $ type ] ; } return 'OT' ; }
Returns Credit Card type for a store.

@param string $type
@return string
Returns Credit Card type for a store .