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/selfmarket/RejectscheckAddRequest.php

111 lines
2.0 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2022-7-12
*/
class RejectscheckAddRequest extends SuningRequest{
/**
*
*/
private $item;
public function getItem() {
return $this->item;
}
public function setItem($item) {
$this->item = $item;
$arr = array();
foreach ($item as $temp){
array_push($arr,$temp->getApiParams());
}
$this->apiParams["item"] = $arr;
}
public function getApiMethodName(){
return 'suning.selfmarket.rejectscheck.add';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
}
public function getBizName(){
return "addRejectsCheck";
}
}
class Item {
private $apiParams = array();
private $checkResult;
private $checkTime;
private $remark;
private $serialId;
private $supplierCode;
public function getCheckResult() {
return $this->checkResult;
}
public function setCheckResult($checkResult) {
$this->checkResult = $checkResult;
$this->apiParams["checkResult"] = $checkResult;
}
public function getCheckTime() {
return $this->checkTime;
}
public function setCheckTime($checkTime) {
$this->checkTime = $checkTime;
$this->apiParams["checkTime"] = $checkTime;
}
public function getRemark() {
return $this->remark;
}
public function setRemark($remark) {
$this->remark = $remark;
$this->apiParams["remark"] = $remark;
}
public function getSerialId() {
return $this->serialId;
}
public function setSerialId($serialId) {
$this->serialId = $serialId;
$this->apiParams["serialId"] = $serialId;
}
public function getSupplierCode() {
return $this->supplierCode;
}
public function setSupplierCode($supplierCode) {
$this->supplierCode = $supplierCode;
$this->apiParams["supplierCode"] = $supplierCode;
}
public function getApiParams(){
return $this->apiParams;
}
}
?>