1 | <?php |
||
12 | class AddTrackingNumber implements SubActionInterface, StaticActionInterface |
||
13 | { |
||
14 | |||
15 | const ACTION = 'Admin\Orders\Ship\AddTrackingNumber'; |
||
16 | |||
17 | const CARRIER_CUSTOM = 'custom'; |
||
18 | const CARRIER_DHL = 'dhl'; |
||
19 | const CARRIER_FEDEX = 'fedex'; |
||
20 | const CARRIER_UPS = 'ups'; |
||
21 | const CARRIER_USPS = 'usps'; |
||
22 | const CARRIER_DHLINT = 'dhlint'; |
||
23 | |||
24 | protected $carrier; |
||
25 | protected $title; |
||
26 | protected $number; |
||
27 | |||
28 | protected $theme; |
||
29 | protected $webDriver; |
||
30 | protected $testCase; |
||
31 | |||
32 | public function __construct( |
||
42 | |||
43 | /** |
||
44 | * @param mixed $carrier |
||
45 | */ |
||
46 | public function setCarrier($carrier) |
||
50 | |||
51 | /** |
||
52 | * @param mixed $number |
||
53 | */ |
||
54 | public function setNumber($number) |
||
58 | |||
59 | /** |
||
60 | * @param mixed $title |
||
61 | */ |
||
62 | public function setTitle($title) |
||
66 | |||
67 | public function execute() |
||
99 | |||
100 | } |