/** * Class constructor */ function __construct() { $this->id = 'smartpost_estonia'; $this->method_title = __('Smartpost Estonia', 'wc-estonian-shipping-methods'); $this->country = 'EE'; parent::__construct(); // Add/merge form fields $this->add_form_fields(); }
/** * Class constructor */ function __construct() { $this->id = 'smartpost_courier'; $this->method_title = __('SmartCOURIER', 'wc-estonian-shipping-methods'); $this->country = 'EE'; // i18n $this->i18n_selected_terminal = __('Chosen SmartCOURIER time widnow', 'wc-estonian-shipping-methods'); parent::__construct(); // Add/merge form fields $this->add_form_fields(); }