public function __construct(Vindi_Settings $container)
 {
     $this->id = 'vindi-bank-slip';
     $this->method_title = __('Vindi - Boleto Bancário', VINDI_IDENTIFIER);
     $this->has_fields = true;
     $this->init_form_fields();
     $this->init_settings();
     add_action('woocommerce_thankyou_' . $this->id, array(&$this, 'thank_you_page'));
     parent::__construct($container);
 }
 public function __construct(Vindi_Settings $container)
 {
     $this->id = 'vindi-wc-creditcard';
     $this->method_title = __('Vindi - Cartão de Crédito', VINDI_IDENTIFIER);
     $this->has_fields = true;
     $this->init_form_fields();
     $this->init_settings();
     $this->smallest_installment = $this->get_option('smallest_installment');
     $this->installments = $this->get_option('installments');
     parent::__construct($container);
     add_action('wp_enqueue_scripts', array(&$this, 'checkout_script'));
 }