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

49 lines
996 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: cainiao.cloudprint.isv.resources.get request
*
* @author auto create
* @since 1.0, 2024.03.14
*/
class CainiaoCloudprintIsvResourcesGetRequest
{
/**
* isv资源类型分为TEMPLATE表示模板PRINT_ITEM打印项CUSTOM_AREA预设自定义区
**/
private $isvResourceType;
private $apiParas = array();
public function setIsvResourceType($isvResourceType)
{
$this->isvResourceType = $isvResourceType;
$this->apiParas["isv_resource_type"] = $isvResourceType;
}
public function getIsvResourceType()
{
return $this->isvResourceType;
}
public function getApiMethodName()
{
return "cainiao.cloudprint.isv.resources.get";
}
public function getApiParas()
{
return $this->apiParas;
}
public function check()
{
RequestCheckUtil::checkNotNull($this->isvResourceType,"isvResourceType");
}
public function putOtherTextParam($key, $value) {
$this->apiParas[$key] = $value;
$this->$key = $value;
}
}