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

133 lines
2.6 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2022-7-12
*/
class AppealresultAddRequest extends SuningRequest{
/**
*
*/
private $appealList;
public function getAppealList() {
return $this->appealList;
}
public function setAppealList($appealList) {
$this->appealList = $appealList;
$arr = array();
foreach ($appealList as $temp){
array_push($arr,$temp->getApiParams());
}
$this->apiParams["appealList"] = $arr;
}
public function getApiMethodName(){
return 'suning.selfmarket.appealresult.add';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
}
public function getBizName(){
return "addAppealResult";
}
}
class AppealList {
private $apiParams = array();
private $appealResult;
private $authResult;
private $authTime;
private $processMode;
private $serialId;
private $supplierCode;
private $unRecallReason;
public function getAppealResult() {
return $this->appealResult;
}
public function setAppealResult($appealResult) {
$this->appealResult = $appealResult;
$this->apiParams["appealResult"] = $appealResult;
}
public function getAuthResult() {
return $this->authResult;
}
public function setAuthResult($authResult) {
$this->authResult = $authResult;
$this->apiParams["authResult"] = $authResult;
}
public function getAuthTime() {
return $this->authTime;
}
public function setAuthTime($authTime) {
$this->authTime = $authTime;
$this->apiParams["authTime"] = $authTime;
}
public function getProcessMode() {
return $this->processMode;
}
public function setProcessMode($processMode) {
$this->processMode = $processMode;
$this->apiParams["processMode"] = $processMode;
}
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 getUnRecallReason() {
return $this->unRecallReason;
}
public function setUnRecallReason($unRecallReason) {
$this->unRecallReason = $unRecallReason;
$this->apiParams["unRecallReason"] = $unRecallReason;
}
public function getApiParams(){
return $this->apiParams;
}
}
?>