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

122 lines
2.2 KiB

<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2022-7-12
*/
class RejectsauthAddRequest 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.rejectsauth.add';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
}
public function getBizName(){
return "addRejectsAuth";
}
}
class Item {
private $apiParams = array();
private $authResult;
private $authTime;
private $processMode;
private $serialId;
private $supplierCode;
private $unRecallReason;
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;
}
}
?>