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.
104 lines
2.0 KiB
104 lines
2.0 KiB
<?php
|
|
/**
|
|
* 苏宁开放平台接口 -
|
|
*
|
|
* @author suning
|
|
* @date 2021-6-9
|
|
*/
|
|
class SupplierremarkModifyRequest extends SuningRequest{
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $modifyDatas;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private $supplierCode;
|
|
|
|
public function getModifyDatas() {
|
|
return $this->modifyDatas;
|
|
}
|
|
|
|
public function setModifyDatas($modifyDatas) {
|
|
$this->modifyDatas = $modifyDatas;
|
|
$arr = array();
|
|
foreach ($modifyDatas as $temp){
|
|
array_push($arr,$temp->getApiParams());
|
|
}
|
|
$this->apiParams["modifyDatas"] = $arr;
|
|
}
|
|
|
|
public function getSupplierCode() {
|
|
return $this->supplierCode;
|
|
}
|
|
|
|
public function setSupplierCode($supplierCode) {
|
|
$this->supplierCode = $supplierCode;
|
|
$this->apiParams["supplierCode"] = $supplierCode;
|
|
}
|
|
|
|
public function getApiMethodName(){
|
|
return 'suning.selfmarket.supplierremark.modify';
|
|
}
|
|
|
|
public function getApiParams(){
|
|
return $this->apiParams;
|
|
}
|
|
|
|
public function check(){
|
|
//非空校验
|
|
RequestCheckUtil::checkNotNull($this->supplierCode, 'supplierCode');
|
|
}
|
|
|
|
public function getBizName(){
|
|
return "modifySupplierremark";
|
|
}
|
|
|
|
}
|
|
|
|
class ModifyDatas {
|
|
|
|
private $apiParams = array();
|
|
|
|
private $orderCode;
|
|
|
|
private $remarkColorFlag;
|
|
|
|
private $supplierRemark;
|
|
|
|
public function getOrderCode() {
|
|
return $this->orderCode;
|
|
}
|
|
|
|
public function setOrderCode($orderCode) {
|
|
$this->orderCode = $orderCode;
|
|
$this->apiParams["orderCode"] = $orderCode;
|
|
}
|
|
|
|
public function getRemarkColorFlag() {
|
|
return $this->remarkColorFlag;
|
|
}
|
|
|
|
public function setRemarkColorFlag($remarkColorFlag) {
|
|
$this->remarkColorFlag = $remarkColorFlag;
|
|
$this->apiParams["remarkColorFlag"] = $remarkColorFlag;
|
|
}
|
|
|
|
public function getSupplierRemark() {
|
|
return $this->supplierRemark;
|
|
}
|
|
|
|
public function setSupplierRemark($supplierRemark) {
|
|
$this->supplierRemark = $supplierRemark;
|
|
$this->apiParams["supplierRemark"] = $supplierRemark;
|
|
}
|
|
|
|
public function getApiParams(){
|
|
return $this->apiParams;
|
|
}
|
|
|
|
}
|
|
|
|
?>
|