You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/extend/suning-sdk-php/request/custom/ItemparametersQueryRequest.php

61 lines
1.1 KiB

8 months ago
<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2023-9-15
*/
class ItemparametersQueryRequest extends SelectSuningRequest{
/**
*
*/
private $categoryCode;
/**
*
*/
private $targetChannel;
public function getCategoryCode() {
return $this->categoryCode;
}
public function setCategoryCode($categoryCode) {
$this->categoryCode = $categoryCode;
$this->apiParams["categoryCode"] = $categoryCode;
}
public function getTargetChannel() {
return $this->targetChannel;
}
public function setTargetChannel($targetChannel) {
$this->targetChannel = $targetChannel;
$this->apiParams["targetChannel"] = $targetChannel;
}
public function getApiMethodName(){
return 'suning.custom.itemparameters.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->categoryCode, 'categoryCode');
}
public function getBizName(){
return "itemParameters";
}
}
?>