12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <?php
- /**
- * TOP API: taobao.tbk.tpwd.convert request
- *
- * @author auto create
- * @since 1.0, 2017.12.20
- */
- class TbkTpwdConvertRequest
- {
- /**
- * 广告位ID
- **/
- private $adzoneId;
-
- /**
- * 1表示商品转通用计划链接,其他值或不传表示优先转营销计划链接
- **/
- private $dx;
-
- /**
- * 需要解析的淘口令
- **/
- private $passwordContent;
-
- private $apiParas = array();
-
- public function setAdzoneId($adzoneId)
- {
- $this->adzoneId = $adzoneId;
- $this->apiParas["adzone_id"] = $adzoneId;
- }
- public function getAdzoneId()
- {
- return $this->adzoneId;
- }
- public function setDx($dx)
- {
- $this->dx = $dx;
- $this->apiParas["dx"] = $dx;
- }
- public function getDx()
- {
- return $this->dx;
- }
- public function setPasswordContent($passwordContent)
- {
- $this->passwordContent = $passwordContent;
- $this->apiParas["password_content"] = $passwordContent;
- }
- public function getPasswordContent()
- {
- return $this->passwordContent;
- }
- public function getApiMethodName()
- {
- return "taobao.tbk.tpwd.convert";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->adzoneId,"adzoneId");
- RequestCheckUtil::checkNotNull($this->passwordContent,"passwordContent");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|