| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 5 | class Product { |
||
| 6 | use \Nickcheek\Atdconnect\Traits\ApiTrait; |
||
| 7 | |||
| 8 | private $location; |
||
| 9 | private $wsdl; |
||
| 10 | |||
| 11 | public function __construct() |
||
| 16 | } |
||
| 17 | |||
| 18 | //************************************************ |
||
| 19 | // Products Service |
||
| 20 | //************************************************ |
||
| 21 | |||
| 22 | public function getProdBrand($product = null) |
||
| 23 | { |
||
| 24 | return $this->apiCall('getProdBrand',array('locationNumber' => $this->location,'productGroup' => $product),$this->wsdl); |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getProductByCriteria($search) |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getProductByKeyword($search) |
||
| 35 | } |
||
| 36 | |||
| 38 | } |