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

65 lines
1.0 KiB
PHP
Raw 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.tmc.user.cancel request
*
* @author auto create
* @since 1.0, 2024.01.05
*/
class TmcUserCancelRequest
{
/**
* 用户昵称
**/
private $nick;
/**
* 用户所属的平台类型tbUIC:淘宝用户; icbu: icbu用户;ae:ae用户
**/
private $userPlatform;
private $apiParas = array();
public function setNick($nick)
{
$this->nick = $nick;
$this->apiParas["nick"] = $nick;
}
public function getNick()
{
return $this->nick;
}
public function setUserPlatform($userPlatform)
{
$this->userPlatform = $userPlatform;
$this->apiParas["user_platform"] = $userPlatform;
}
public function getUserPlatform()
{
return $this->userPlatform;
}
public function getApiMethodName()
{
return "taobao.tmc.user.cancel";
}
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;
}
}