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.
86 lines
1.5 KiB
86 lines
1.5 KiB
<?php
|
|
/**
|
|
* 苏宁开放平台接口 -
|
|
*
|
|
* @author suning
|
|
* @date 2020-8-4
|
|
*/
|
|
class ProductoperateDeleteRequest extends SuningRequest{
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $custNum;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $partnumber;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $shopId;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $snUnionId;
|
|
|
|
public function getCustNum() {
|
|
return $this->custNum;
|
|
}
|
|
|
|
public function setCustNum($custNum) {
|
|
$this->custNum = $custNum;
|
|
$this->apiParams["custNum"] = $custNum;
|
|
}
|
|
|
|
public function getPartnumber() {
|
|
return $this->partnumber;
|
|
}
|
|
|
|
public function setPartnumber($partnumber) {
|
|
$this->partnumber = $partnumber;
|
|
$this->apiParams["partnumber"] = $partnumber;
|
|
}
|
|
|
|
public function getShopId() {
|
|
return $this->shopId;
|
|
}
|
|
|
|
public function setShopId($shopId) {
|
|
$this->shopId = $shopId;
|
|
$this->apiParams["shopId"] = $shopId;
|
|
}
|
|
|
|
public function getSnUnionId() {
|
|
return $this->snUnionId;
|
|
}
|
|
|
|
public function setSnUnionId($snUnionId) {
|
|
$this->snUnionId = $snUnionId;
|
|
$this->apiParams["snUnionId"] = $snUnionId;
|
|
}
|
|
|
|
public function getApiMethodName(){
|
|
return 'suning.custom.productoperate.delete';
|
|
}
|
|
|
|
public function getApiParams(){
|
|
return $this->apiParams;
|
|
}
|
|
|
|
public function check(){
|
|
//非空校验
|
|
RequestCheckUtil::checkNotNull($this->partnumber, 'partnumber');
|
|
RequestCheckUtil::checkNotNull($this->shopId, 'shopId');
|
|
}
|
|
|
|
public function getBizName(){
|
|
return "deleteProductoperate";
|
|
}
|
|
|
|
}
|
|
|
|
?>
|