Files
advertising/ShortMessage/top/request/TopatsResultGetRequest.php
Administrator 0e902893ca 1.0-version
2019-04-11 15:54:34 +08:00

49 lines
825 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* TOP API: taobao.topats.result.get request
*
* @author auto create
* @since 1.0, 2014.04.11
*/
class TopatsResultGetRequest
{
/**
* 任务id号创建任务时返回的task_id
**/
private $taskId;
private $apiParas = array();
public function setTaskId($taskId)
{
$this->taskId = $taskId;
$this->apiParas["task_id"] = $taskId;
}
public function getTaskId()
{
return $this->taskId;
}
public function getApiMethodName()
{
return "taobao.topats.result.get";
}
public function getApiParas()
{
return $this->apiParas;
}
public function check()
{
RequestCheckUtil::checkNotNull($this->taskId,"taskId");
}
public function putOtherTextParam($key, $value) {
$this->apiParas[$key] = $value;
$this->$key = $value;
}
}