function __construct()
 {
     $this->id = 'paygate_cup';
     $this->method = '113';
     $this->icon = '';
     $this->method_title = 'PayGate [cup]';
     $this->method_description = 'paygate_cup';
     $this->supported_currencies = array('RMB', 'USD');
     $this->notify_url = str_replace('https:', 'http:', add_query_arg('wc-api', strtolower(__CLASS__), home_url('/')));
     // Payment listener/API hook
     add_action('woocommerce_api_' . strtolower(__CLASS__), array($this, 'process_payment_response'));
     parent::__construct();
 }
 function __construct()
 {
     $this->id = 'paygate_bank';
     $this->method = '4';
     $this->icon = '';
     $this->method_title = 'PayGate [' . __('Realtime Bank Transfer', 'wc_korea_pack') . ']';
     $this->method_description = 'paygate_bank';
     $this->supported_currencies = array('KRW');
     $this->notify_url = str_replace('https:', 'http:', add_query_arg('wc-api', strtolower(__CLASS__), home_url('/')));
     //global $is_IE; IE 에서만 노출을 원하는 경우
     //if ( ! $is_IE ) $this->enabled = false;
     // Payment listener/API hook
     add_action('woocommerce_api_' . strtolower(__CLASS__), array($this, 'process_payment_response'));
     parent::__construct();
 }
 function __construct()
 {
     $this->id = 'paygate_card';
     $this->method = 'card';
     $this->icon = '';
     $this->method_title = 'PayGate [Card]';
     $this->method_description = 'paygate_card';
     $this->notify_url = str_replace('https:', 'http:', add_query_arg('wc-api', strtolower(__CLASS__), home_url('/')));
     $this->card_list = array('310' => '비씨(BC)카드', '410' => '신한(LG)카드', '510' => '삼성카드', '610' => '현대카드', '110' => '국민(KB)카드', '710' => '롯데카드', '210' => '외환카드', '912' => '농협(NH)카드', '923' => '씨티카드', '916' => '하나SK카드', '913' => '우리카드', '918' => '광주카드', '920' => '전북카드', '925' => '수협카드', '610' => '신협(현대)카드', '921' => '제주카드', '511' => '삼성올앳카드');
     // Payment listener/API hook
     add_action('woocommerce_api_' . strtolower(__CLASS__), array($this, 'process_payment_response'));
     add_filter('wc_korea_pack_paygate_card_args', array($this, 'paygate_card_args'));
     $this->paygate_currencies_args = apply_filters('wc_korea_pack_paygate_currencies_args_card', array('KRW' => array('goodcurrency' => 'WON', 'langcode' => 'KR'), 'USD' => array('goodcurrency' => 'USD', 'langcode' => 'US'), 'RMB' => array('goodcurrency' => 'CNY', 'langcode' => 'CN'), 'JPY' => array('goodcurrency' => 'JPY', 'langcode' => 'JP')));
     $this->supported_currencies = array_keys($this->paygate_currencies_args);
     parent::__construct();
 }