コード例 #1
0
 /**
  * Get Product Group handle by group number
  *
  * @param integer $no
  * @return object
  */
 public function getHandle($no)
 {
     if (is_object($no) and isset($no->Number)) {
         return $no;
     }
     return $this->client->ProductGroup_FindByNumber(['number' => $no])->ProductGroup_FindByNumberResult;
 }