REAPI/extend/sdk/taobao/top/request/SellercenterUserPermissionsGetRequest.php
2024-09-29 15:43:18 +08:00

49 lines
871 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.sellercenter.user.permissions.get request
*
* @author auto create
* @since 1.0, 2022.05.24
*/
class SellercenterUserPermissionsGetRequest
{
/**
* 用户标识次入参必须为子账号比如zhangsan:cool。如果只输入主账号zhangsan将报错。
**/
private $nick;
private $apiParas = array();
public function setNick($nick)
{
$this->nick = $nick;
$this->apiParas["nick"] = $nick;
}
public function getNick()
{
return $this->nick;
}
public function getApiMethodName()
{
return "taobao.sellercenter.user.permissions.get";
}
public function getApiParas()
{
return $this->apiParas;
}
public function check()
{
RequestCheckUtil::checkNotNull($this->nick,"nick");
}
public function putOtherTextParam($key, $value) {
$this->apiParas[$key] = $value;
$this->$key = $value;
}
}