Woocommerce add multiple payment methods

I am trying to add multiple payment methods in WooCommerce through one class. Here is my function

function add_gateway_method( $  methods )  {         array('credit card','paypal','echeck');     $  methods[] = 'PaymentGateway';          return $  methods; } 

Can anyone help me how do I do this?

php