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/PicdetechAddRequest.php

73 lines
1.3 KiB

8 months ago
<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2020-6-10
*/
class PicdetechAddRequest extends SuningRequest{
/**
*
*/
private $dataId;
/**
*
*/
private $picUrl;
/**
*
*/
private $serviceCode;
public function getDataId() {
return $this->dataId;
}
public function setDataId($dataId) {
$this->dataId = $dataId;
$this->apiParams["dataId"] = $dataId;
}
public function getPicUrl() {
return $this->picUrl;
}
public function setPicUrl($picUrl) {
$this->picUrl = $picUrl;
$this->apiParams["picUrl"] = $picUrl;
}
public function getServiceCode() {
return $this->serviceCode;
}
public function setServiceCode($serviceCode) {
$this->serviceCode = $serviceCode;
$this->apiParams["serviceCode"] = $serviceCode;
}
public function getApiMethodName(){
return 'suning.custom.picdetech.add';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->dataId, 'dataId');
RequestCheckUtil::checkNotNull($this->picUrl, 'picUrl');
RequestCheckUtil::checkNotNull($this->serviceCode, 'serviceCode');
}
public function getBizName(){
return "addPicdetech";
}
}
?>