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/netalliance/FavoritesQueryRequest.php

71 lines
1.2 KiB

8 months ago
<?php
/**
* 苏宁开放平台接口 -
*
* @author suning
* @date 2021-5-17
*/
class FavoritesQueryRequest extends SuningRequest{
/**
*
*/
private $favoritesid;
/**
*
*/
private $pageIndex;
/**
*
*/
private $size;
public function getFavoritesid() {
return $this->favoritesid;
}
public function setFavoritesid($favoritesid) {
$this->favoritesid = $favoritesid;
$this->apiParams["favoritesid"] = $favoritesid;
}
public function getPageIndex() {
return $this->pageIndex;
}
public function setPageIndex($pageIndex) {
$this->pageIndex = $pageIndex;
$this->apiParams["pageIndex"] = $pageIndex;
}
public function getSize() {
return $this->size;
}
public function setSize($size) {
$this->size = $size;
$this->apiParams["size"] = $size;
}
public function getApiMethodName(){
return 'suning.netalliance.favorites.query';
}
public function getApiParams(){
return $this->apiParams;
}
public function check(){
//非空校验
RequestCheckUtil::checkNotNull($this->favoritesid, 'favoritesid');
}
public function getBizName(){
return "queryFavorites";
}
}
?>