/**
  * Returns true if this gateway with its current configuration supports
  * pre-orders.  Requiring CSC for all transactions removes support for
  * pre-orders
  *
  * @since 1.0
  * @see SV_WC_Payment_Gateway::supports_pre_orders()
  * @return boolean true if the gateway supports pre-orders
  */
 public function supports_pre_orders()
 {
     return parent::supports_pre_orders() && !$this->csc_required();
 }
 /**
  * Initialize the gateway
  *
  * @since 1.0
  */
 public function __construct()
 {
     parent::__construct(WC_Intuit_QBMS::ECHECK_GATEWAY_ID, wc_intuit_qbms(), array('method_title' => __('Intuit QBMS eCheck', 'woocommerce-gateway-intuit-qbms'), 'method_description' => __('Allow customers to securely pay using their checking accounts with Intuit QBMS.', 'woocommerce-gateway-intuit-qbms'), 'supports' => array(self::FEATURE_PRODUCTS, self::FEATURE_TOKENIZATION), 'payment_type' => 'echeck', 'echeck_fields' => array('check_number', 'account_type'), 'environments' => array('production' => __('Production', 'woocommerce-gateway-intuit-qbms'), 'test' => __('Test', 'woocommerce-gateway-intuit-qbms')), 'shared_settings' => $this->shared_settings_names));
 }