123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <?php
- /**
- * TOP API: taobao.tbk.sc.publisher.info.get request
- *
- * @author auto create
- * @since 1.0, 2019.04.19
- */
- class TbkScPublisherInfoGetRequest
- {
- /**
- * 类型,必选 1:渠道信息;2:会员信息
- **/
- private $infoType;
-
- /**
- * 第几页
- **/
- private $pageNo;
-
- /**
- * 每页大小
- **/
- private $pageSize;
-
- /**
- * 备案的场景:common(通用备案),etao(一淘备案),minietao(一淘小程序备案),offlineShop(线下门店备案),offlinePerson(线下个人备案)。如不填默认common。查询会员信息只需填写common即可
- **/
- private $relationApp;
-
- /**
- * 渠道独占 - 渠道关系ID
- **/
- private $relationId;
-
- /**
- * 会员独占 - 会员运营ID
- **/
- private $specialId;
-
- private $apiParas = array();
-
- public function setInfoType($infoType)
- {
- $this->infoType = $infoType;
- $this->apiParas["info_type"] = $infoType;
- }
- public function getInfoType()
- {
- return $this->infoType;
- }
- 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 setRelationApp($relationApp)
- {
- $this->relationApp = $relationApp;
- $this->apiParas["relation_app"] = $relationApp;
- }
- public function getRelationApp()
- {
- return $this->relationApp;
- }
- public function setRelationId($relationId)
- {
- $this->relationId = $relationId;
- $this->apiParas["relation_id"] = $relationId;
- }
- public function getRelationId()
- {
- return $this->relationId;
- }
- public function setSpecialId($specialId)
- {
- $this->specialId = $specialId;
- $this->apiParas["special_id"] = $specialId;
- }
- public function getSpecialId()
- {
- return $this->specialId;
- }
- public function getApiMethodName()
- {
- return "taobao.tbk.sc.publisher.info.get";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->infoType,"infoType");
- RequestCheckUtil::checkNotNull($this->relationApp,"relationApp");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|