yanzong/extend/suning-sdk-php/request/custom/StoregroupAddRequest.php

43 lines
742 B

8 months ago
<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2020-5-28
*/
class StoregroupAddRequest extends SuningRequest{
/**
*
*/
private $snUnionId;
public function getSnUnionId() {
return $this->snUnionId;
}
public function setSnUnionId($snUnionId) {
$this->snUnionId = $snUnionId;
$this->apiParams["snUnionId"] = $snUnionId;
}
public function getApiMethodName(){
return 'suning.custom.storegroup.add';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->snUnionId, 'snUnionId');
}
public function getBizName(){
return "addStoregroup";
}
}
?>