49 lines
858 B
PHP
49 lines
858 B
PHP
<?php
|
|
/**
|
|
* TOP API: taobao.top.event.subscription.query request
|
|
*
|
|
* @author auto create
|
|
* @since 1.0, 2023.06.21
|
|
*/
|
|
class TopEventSubscriptionQueryRequest
|
|
{
|
|
/**
|
|
* 连接平台触发事件TriggerCode
|
|
**/
|
|
private $triggerCode;
|
|
|
|
private $apiParas = array();
|
|
|
|
public function setTriggerCode($triggerCode)
|
|
{
|
|
$this->triggerCode = $triggerCode;
|
|
$this->apiParas["trigger_code"] = $triggerCode;
|
|
}
|
|
|
|
public function getTriggerCode()
|
|
{
|
|
return $this->triggerCode;
|
|
}
|
|
|
|
public function getApiMethodName()
|
|
{
|
|
return "taobao.top.event.subscription.query";
|
|
}
|
|
|
|
public function getApiParas()
|
|
{
|
|
return $this->apiParas;
|
|
}
|
|
|
|
public function check()
|
|
{
|
|
|
|
RequestCheckUtil::checkNotNull($this->triggerCode,"triggerCode");
|
|
}
|
|
|
|
public function putOtherTextParam($key, $value) {
|
|
$this->apiParas[$key] = $value;
|
|
$this->$key = $value;
|
|
}
|
|
}
|