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

80 lines
1.2 KiB
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.shop.update request
*
* @author auto create
* @since 1.0, 2022.07.13
*/
class ShopUpdateRequest
{
/**
* 店铺公告。不超过1024个字符
**/
private $bulletin;
/**
* 店铺描述。102000个字符以内
**/
private $desc;
/**
* 店铺标题。不超过30个字符过滤敏感词如淘咖啡、阿里巴巴等。title, bulletin和desc至少必须传一个
**/
private $title;
private $apiParas = array();
public function setBulletin($bulletin)
{
$this->bulletin = $bulletin;
$this->apiParas["bulletin"] = $bulletin;
}
public function getBulletin()
{
return $this->bulletin;
}
public function setDesc($desc)
{
$this->desc = $desc;
$this->apiParas["desc"] = $desc;
}
public function getDesc()
{
return $this->desc;
}
public function setTitle($title)
{
$this->title = $title;
$this->apiParas["title"] = $title;
}
public function getTitle()
{
return $this->title;
}
public function getApiMethodName()
{
return "taobao.shop.update";
}
public function getApiParas()
{
return $this->apiParas;
}
public function check()
{
}
public function putOtherTextParam($key, $value) {
$this->apiParas[$key] = $value;
$this->$key = $value;
}
}