public function getMethod($code)
    {
        return isset($this->methods[$code]) ? $this->methods[$code] : null;
    }
public function getMethod($code)
    {
        return isset($this->methods[$code]) ? $this->methods[$code] : null;
    }
public function getMethod ( $ code ) { return isset ( $ this -> methods [ $ code ] ) ? $ this -> methods [ $ code ] : null ; }
return a PaymentInterface Object.

@param string $code

@return PaymentInterface
return a PaymentInterface Object .