/** * Initialize Registered Letter. */ public function __construct() { $this->id = 'correios_registered_letter'; $this->method_title = __('Registered Letter', 'woocommerce-correios'); $this->more_link = 'http://www.correios.com.br/para-voce/correios-de-a-a-z/carta-comercial'; /** * 10014 - Registered Letter. */ $this->code = '10014'; parent::__construct(); }
/** * Initialize SEDEX 10. */ public function __construct() { $this->id = 'correios_sedex10'; $this->method_title = __('SEDEX 10', 'woocommerce-correios'); $this->more_link = 'http://www.correios.com.br/para-voce/correios-de-a-a-z/sedex-10'; /** * 40215 - SEDEX 10 without contract. */ $this->code = '40215'; parent::__construct(); }
/** * Initialize e-SEDEX. */ public function __construct() { $this->id = 'correios_esedex'; $this->method_title = __('e-SEDEX', 'woocommerce-correios'); $this->more_link = 'http://www.correios.com.br/para-voce/correios-de-a-a-z/e-sedex'; /** * 81019 - e-SEDEX with contract. */ $this->code = $this->is_corporate() ? '81019' : '-1'; parent::__construct(); }
/** * Initialize SEDEX. */ public function __construct() { $this->id = 'correios_sedex'; $this->method_title = __('SEDEX', 'woocommerce-correios'); $this->more_link = 'http://www.correios.com.br/para-voce/correios-de-a-a-z/sedex'; /** * 40010 - SEDEX without contract. * 40096 - SEDEX with contract. */ $this->code = $this->is_corporate() ? '40096' : '40010'; parent::__construct(); }
/** * Initialize PAC. */ public function __construct() { $this->id = 'correios_pac'; $this->method_title = __('PAC', 'woocommerce-correios'); $this->more_link = 'http://www.correios.com.br/para-voce/correios-de-a-a-z/pac-encomenda-economica'; /** * 41106 - PAC without contract. * 41068 - PAC with contract. */ $this->code = $this->is_corporate() ? '41068' : '41106'; parent::__construct(); }