コード例 #1
0
 public function getSamples(array $fields = array(), array $params = array(), $pending = false)
 {
     $this->assureId();
     $param_types = array();
     $enums = array();
     $request = new ApiRequest($this->api, $this->data['id'], RequestInterface::METHOD_GET, '/samples', new ProductFeedUploadErrorSample(), 'EDGE', ProductFeedUploadErrorSample::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums));
     $request->addParams($params);
     $request->addFields($fields);
     return $pending ? $request : $request->execute();
 }
コード例 #2
0
 /**
  * @param array $fields
  * @param array $params
  * @return Cursor
  */
 public function getSamples(array $fields = array(), array $params = array())
 {
     return $this->getManyByConnection(ProductFeedUploadErrorSample::className(), $fields, $params, 'samples');
 }