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

49 lines
836 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.shop.seller.get request
*
* @author auto create
* @since 1.0, 2022.06.07
*/
class ShopSellerGetRequest
{
/**
* 需返回的字段列表。可选值Shop 结构中的所有字段;多个字段之间用逗号(,)分隔
**/
private $fields;
private $apiParas = array();
public function setFields($fields)
{
$this->fields = $fields;
$this->apiParas["fields"] = $fields;
}
public function getFields()
{
return $this->fields;
}
public function getApiMethodName()
{
return "taobao.shop.seller.get";
}
public function getApiParas()
{
return $this->apiParas;
}
public function check()
{
RequestCheckUtil::checkNotNull($this->fields,"fields");
}
public function putOtherTextParam($key, $value) {
$this->apiParas[$key] = $value;
$this->$key = $value;
}
}