| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- <?php
- /**
- * TOP API: taobao.tbk.dg.cpa.activity.detail request
- *
- * @author auto create
- * @since 1.0, 2023.12.10
- */
- class TbkDgCpaActivityDetailRequest
- {
- /**
- * CPA活动ID
- **/
- private $eventId;
-
- /**
- * CPA活动奖励的统计口径,相关说明见文档:https://www.yuque.com/docs/share/7ecf8cf1-7f99-4633-a2ed-f9b6f8116af5?#
- **/
- private $indicatorAlias;
-
- /**
- * 页码
- **/
- private $pageNo;
-
- /**
- * 每页条数
- **/
- private $pageSize;
-
- /**
- * 明细类型,1:预估明细,2:结算明细
- **/
- private $queryType;
-
- /**
- * 指定数据批次号(时间戳)
- **/
- private $runtime;
-
- /**
- * 下一页开始查询的记录主键id
- **/
- private $startId;
-
- private $apiParas = array();
-
- public function setEventId($eventId)
- {
- $this->eventId = $eventId;
- $this->apiParas["event_id"] = $eventId;
- }
- public function getEventId()
- {
- return $this->eventId;
- }
- public function setIndicatorAlias($indicatorAlias)
- {
- $this->indicatorAlias = $indicatorAlias;
- $this->apiParas["indicator_alias"] = $indicatorAlias;
- }
- public function getIndicatorAlias()
- {
- return $this->indicatorAlias;
- }
- public function setPageNo($pageNo)
- {
- $this->pageNo = $pageNo;
- $this->apiParas["page_no"] = $pageNo;
- }
- public function getPageNo()
- {
- return $this->pageNo;
- }
- public function setPageSize($pageSize)
- {
- $this->pageSize = $pageSize;
- $this->apiParas["page_size"] = $pageSize;
- }
- public function getPageSize()
- {
- return $this->pageSize;
- }
- public function setQueryType($queryType)
- {
- $this->queryType = $queryType;
- $this->apiParas["query_type"] = $queryType;
- }
- public function getQueryType()
- {
- return $this->queryType;
- }
- public function setRuntime($runtime)
- {
- $this->runtime = $runtime;
- $this->apiParas["runtime"] = $runtime;
- }
- public function getRuntime()
- {
- return $this->runtime;
- }
- public function setStartId($startId)
- {
- $this->startId = $startId;
- $this->apiParas["start_id"] = $startId;
- }
- public function getStartId()
- {
- return $this->startId;
- }
- public function getApiMethodName()
- {
- return "taobao.tbk.dg.cpa.activity.detail";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->eventId,"eventId");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|