Yes, you can repeat the code with a different string, although the best way would be to have multiple conditions in the one If statement...
I'm not sure at the moment if the OR part is "or" or "||" but assuming the latter, it might be something like...
if $method eq "type1" || $method eq "type2" || $method eq "type3"
|