/**
  * Return an instance of this class.
  *
  * @return object A single instance of this class.
  */
 public static function get_instance()
 {
     // If the single instance hasn't been set, set it now.
     if (null == self::$instance) {
         self::$instance = new self();
     }
     return self::$instance;
 }
 /**
  * Render the settings page for this plugin.
  *
  * @since  2.0.0
  *
  * @return string Settings page content.
  */
 public function display_plugin_admin_page()
 {
     $settings = get_option('woocommerce_payment_discounts');
     $payment_gateways = WC_Payment_Discounts::woocommerce_instance()->payment_gateways->payment_gateways();
     include_once plugin_dir_path(__FILE__) . 'views/admin.php';
 }