How to get Payment method settings in Drupal Commerce

Today we're going to see how we can retrieve the payment method settings when ever we required. The payment methods are used to accept the payments from user during Checkout process. More details on payment in Drupal Commerce can be found here.