| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 5 | class Location { |
||
| 6 | use \Nickcheek\Atdconnect\Traits\ApiTrait; |
||
| 7 | |||
| 8 | private $location; |
||
| 9 | private $wsdl; |
||
| 10 | |||
| 11 | public function __construct() |
||
| 16 | |||
| 17 | } |
||
| 18 | |||
| 19 | //************************************************ |
||
| 20 | // Location Service |
||
| 21 | //************************************************ |
||
| 22 | |||
| 23 | public function getLocationByCriteria() |
||
| 24 | { |
||
| 25 | return $this->apiCall('getLocationByCriteria','',$this->wsdl); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getLocationCutoffTimes() |
||
| 29 | { |
||
| 30 | return $this->apiCall('getLocationCutoffTimes',['location' => $this->location],$this->wsdl); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getDistributionCenter($dc = '059') |
||
| 36 | } |
||
| 37 | |||
| 38 | |||
| 40 | } |